You are not logged in.

#61 2021-03-27 16:33:32

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,699

Re: [SOLVED] nvidia drivers - and more

You are right, the "old carrot" HL 1112 is only available in 386.deb  hmm

https://support.brother.com/g/b/downloa … dlang=true

Offline

#62 2021-03-27 17:39:15

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [SOLVED] nvidia drivers - and more

unklar wrote:

^^Now it is correct (you must read like this)  big_smile

...
Display: tty server: X.Org 1.20.4 driver: nvidia unloaded: fbdev,modesetting,nouveau,vesa alternate: nv 

driver: nvidia
unloaded: fbdev,modesetting,nouveau,vesa

the Xorg also says   lol

Yup ... but moving a window is "jerky" - 2GB RAM and not smooth.  sad

unklar wrote:

You are right, the "old carrot" HL 1112 is only available in 386.deb  hmm

https://support.brother.com/g/b/downloa … dlang=true

This I knew smile

@ damo, if you are still reading - and all

Why not run nvidia-settings  ?


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#63 2021-03-28 00:51:20

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,901

Re: [SOLVED] nvidia drivers - and more

Sector11 wrote:
DeepDayze wrote:

The nvidia driver is loaded:

driver: nvidia

You should disable the builtin graphics if you want to purely use the nvidia card, and plug in the monitor cable to the nvidia card. I have that same AMD chip in my system so I disabled onboard graphics via the BIOS.

That worked ... but I got three lines of errors at least 2 were BIOS ERRORS

I am on my: GeForce GT 710B card at the moment

How do I read the error logs of tty1 from tty2-7 ?

Because tty1 is my log in point.

Looks like "nouveau" is still there but "unloaded":

Graphics:  Device-1: NVIDIA GK208 [GeForce GT 710B] vendor: Gigabyte GK208B driver: nvidia v: 418.181.07 bus ID: 01:00.0 
           chip ID: 10de:128b 
           Display: tty server: X.Org 1.20.4 driver: nvidia unloaded: fbdev,modesetting,nouveau,vesa alternate: nv 
           compositor: compton resolution: 1920x1080~60Hz 
           OpenGL: renderer: GeForce GT 710/PCIe/SSE2 v: 4.6.0 NVIDIA 418.181.07 direct render: Yes 

Then I found this:
EDIT:  Just noticed that the code above from inxi says the "nouveau" driver is unloaded so this does not apply, but will leave it:

You need to unload the nouveau driver before you can load the nvidia driver. However, the nouveau driver is currently in use by the X-server, so it cannot be unloaded yet. You have to stop the X-server first (but don't just re-start it, as then it will use the nouveau driver again).

So in short:

  1. stop X-server: sudo service lightdm stop

  2. unload the nouveau driver: sudo rmmod nouveau

  3. load the nvidia driver: sudo modprobe nvidia

  4. start the X-server: sudo service lightdm start


You might be out-of-luck and the framebuffer for the console is locking the nouveau driver as well. In this case I haven't found a way to unload the driver at all...

Obviously 1 and 4 in my case can be eliminated.
Does everyone in the world use lightdm?

I get those same errors in BIOS as well but they are harmless on my setup and not interfering with system operation. Also you need to blacklist the nouveau driver like this:

Open “/etc/modprobe. d/blacklist. conf” in your favorite editor and add the following line to the end:

blacklist nouveau

Save and close the file. This will take effect on the next reboot.

Last edited by DeepDayze (2021-03-28 01:08:57)


Real Men Use Linux

Offline

#64 2021-03-28 02:34:07

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [SOLVED] nvidia drivers - and more

This already exists, I did not create it:

/etc/modprobe. d/nvidia-blacklist-nouveau.conf

# You need to run "update-initramfs -u" after editing this file.

# see #580894
blacklist nouveau

My guess, part of the nvidia-driver install process.


I have done at least 2 reboots already.

I find moving windows is very jerky.  sad


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#65 2021-03-28 10:38:48

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,699

Re: [SOLVED] nvidia drivers - and more

Sector11 wrote:

How do I read the error logs of tty1 from tty2-7 ?

For the future  smile

1.Debian has a rescue tool that is not very well known.  It comes with Systemd and is called debug-shell.service. It allows you to open a rescue shell on tty9 if you have problems with booting your system.  The service file is pre-installed but not activated.  So, to be able to use it when you need it. In this shell you are already root:

systemctl enable debug-shell.service

The system will set a symbolic link:

ln -s '/lib/systemd/system/debug-shell.service'
'/etc/systemd/system/sysinit.target.wants/debug-shell.service'

Please deactivate it again after work is done!

systemctl disable debug-shell.service

2. or, simply set it to tty1 and leave it open

sudo journalctl -af > ~/freeze.txt

Change to tty2, do the work and after logging in, logging out the log is in your ~/

Offline

#66 2021-03-28 11:41:32

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [SOLVED] nvidia drivers - and more

Ooooo  nice, thank you unklar.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#67 2021-04-06 20:19:50

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [SOLVED] nvidia drivers - and more

All done - up and running.

It was a process though

NOTE:  I do NOT have lightdm installed


IF you have i386 architecture" enabled on a 64 bit system.
And you can remove it for a while do so.
As I only needed it for my Brother Laser printer so:
1. went to root

sudo su -

2. I removed i386 programs:

apt-get purge ".*:i386"

3. I removed i386 architecture - will reinstall printer drivers later.

dpkg --remove-architecture i386

Now to get the update bug free version of "dkms" into Debian 10 Buster:
Because the dkms that comes with Buster is broken:

Parsing Found/Fixed information... Done
grave bugs of dkms (→ 2.6.1-4) <Resolved in some Version>
 b1 - #956245 - /etc/kernel/header_postinst.d/dkms: Error! You must be root to use this command. (Fixed: dkms/2.8.2-1 dkms/2.8.2-2)
Summary:
 dkms(1 bug)
Are you sure you want to install/upgrade the above packages? [Y/n/?/...] 

4. SO I grabbed

Debian SID: dkms (2.8.4-3)

5. And installed it locally:

 26 Mar 21 @ 11:24:08 ~
   $ sudo su -
[sudo] password for sector11: 
root@sector11:~# cd /media/10/DEBs/test-sid/
root@sector11:/media/10/DEBs/test-sid# sudo apt install ./dkms_2.8.4-3_all.deb

and that was in slick as a whistle!

Next:

6. [Ctrl]+[Alt]+[F2] to get to tty2

 06 Apr 21 @ 16:35:57 ~
   $ sudo su -
[sudo] password for sector11: 
root@sector11:~# apt install nvidia-driver

and let it do it's work work.

And as damo said, do NOT run nvidis-config

And here I am <- my desktop.

My heartfelt thanks to everyone that helped here!
You're all great!


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#68 2021-04-07 12:59:30

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,901

Re: [SOLVED] nvidia drivers - and more

Finally an end to quite an adventure. Now what happens when you re-enable i386 to reinstall your printer's driver?


Real Men Use Linux

Offline

#69 2021-04-07 15:37:44

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [SOLVED] nvidia drivers - and more

DeepDayze wrote:

Finally an end to quite an adventure. Now what happens when you re-enable i386 to reinstall your printer's driver?

lol  lol  lol  lol
My forgetter really is getting better, and ya had to point it out, didn't ya.  wink

Well as soon as the nvidia-driver was in and I did a reboot I added i386 architecture:

dpkg --add-architecture i386

Then:

 $ sudo su -
 $ cd /media/10/Brother_HL1110/
 $bash hl1110cupswrapper-3.0.1-1a.i386.deb
 $bash hl1110lpr-3.0.1-1a.i386.deb

Instructions on this page - just stop the download.

Worked perfect!

BUT When this one dies: HP no more i386 for me.

But have no fear there will be another Sector11 Linux Adventure in the future I'm sure.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#70 2021-04-07 19:07:44

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,901

Re: [SOLVED] nvidia drivers - and more

Sector11 wrote:
DeepDayze wrote:

Finally an end to quite an adventure. Now what happens when you re-enable i386 to reinstall your printer's driver?

lol  lol  lol  lol
My forgetter really is getting better, and ya had to point it out, didn't ya.  wink

Well as soon as the nvidia-driver was in and I did a reboot I added i386 architecture:

dpkg --add-architecture i386

Then:

 $ sudo su -
 $ cd /media/10/Brother_HL1110/
 $bash hl1110cupswrapper-3.0.1-1a.i386.deb
 $bash hl1110lpr-3.0.1-1a.i386.deb

Instructions on this page - just stop the download.

Worked perfect!

BUT When this one dies: HP no more i386 for me.

But have no fear there will be another Sector11 Linux Adventure in the future I'm sure.

Great to hear it all works now and yes HP's are worth getting as their drivers are quite robust compared to brother's. No i386 silliness for HP drivers smile

Once you move to Beryllium/Bullseye things should be working better with dkms.


Real Men Use Linux

Offline

#71 2021-04-08 16:23:42

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [SOLVED] nvidia drivers - and more

DeepDayze wrote:

Great to hear it all works now and yes HP's are worth getting as their drivers are quite robust compared to brother's. No i386 silliness for HP drivers smile

Once you move to Beryllium/Bullseye things should be working better with dkms.

I may not be the brightest bulb in the room but I'm not totally burntout yet.  smile

I struggle with a lot of things.  And 'usually' get things working.  I can do a lot on my own and when new things hit me, I try to find a fix.  If I can't I'm here.

Bullseye will have the proper  dkms, I'm running that version right now. Don't know why the Debian team can't bring it here as a bug fix?  Does not make sense.  BUT ...

I also read something about Bullseye and i386 architecture, forgot to bookmark it.  Seems they are trimming it back, so an HP printer might be a thing before the 'Brother' dies.

And then there is this: Debian 'Bullseye' enters final phase before release as team debates whether it will be last to work on i386 architecture

To i386 or not to i386 that is the question,
But to HP is a given.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#72 2021-04-08 16:39:41

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,901

Re: [SOLVED] nvidia drivers - and more

I think it will be that i386 architecture will still be offered but i386 install media will no longer be available and the i386 packages will still be in the repos. There may be a time when i386 will be completely dropped however, but that will be a ways off as things like Steam still depend on 32 bit libs.

Last edited by DeepDayze (2021-04-08 16:41:20)


Real Men Use Linux

Offline

#73 2021-04-09 12:22:27

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [SOLVED] nvidia drivers - and more

Hope for i386.
Hope for HP  smile


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

Board footer

Powered by FluxBB