Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Problem with nvidia drivers

Need help with peripherals or devices?
Post Reply
Message
Author
NiIvSo
Posts: 3
Joined: 2020-09-21 20:09

Problem with nvidia drivers

#1 Post by NiIvSo »

Hi! I have a problem with nvidia drivers. Yesterday i turned on my pc and got this message on boot -- "Failed to start NVIDIA Persistence Daemon" and then boot freeze on loading gnome display manager. Then i switch with ctrl+alt+f2, log in and trying to delete drivers (i have nvidia gt600) and install other drivers versions, but nothing happens. Then i'd deleted gnome display manager and installed lightdm. I reboot pc and got this message again, but lightdm loaded and log in. After logging in i just delete all that relating with nvidia by

Code: Select all

apt purge nvidia*
and install nvidia-legacy-390xx-driver, but got errors, and i just decide to use

Code: Select all

apt install -f
and got this message:

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up nvidia-legacy-390xx-kernel-dkms (390.138-1~deb10u1) ...
Removing old nvidia-legacy-390xx-390.138 DKMS files...

------------------------------
Deleting module version: 390.138
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-legacy-390xx-390.138 DKMS files...
Building for 4.19.0-10-rt-amd64
Building initial module for 4.19.0-10-rt-amd64
Error! Bad return status for module build on kernel: 4.19.0-10-rt-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-legacy-390xx/390.138/build/make.log for more information.
dpkg: error processing package nvidia-legacy-390xx-kernel-dkms (--configure):
 installed nvidia-legacy-390xx-kernel-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-legacy-390xx-driver:
 nvidia-legacy-390xx-driver depends on nvidia-legacy-390xx-kernel-dkms (= 390.138-1~deb10u1) | nvidia-legacy-390xx-kernel-390.138; however:
  Package nvidia-legacy-390xx-kernel-dkms is not configured yet.
  Package nvidia-legacy-390xx-kernel-390.138 is not installed.
  Package nvidia-legacy-390xx-kernel-dkms which provides nvidia-legacy-390xx-kernel-390.138 is not configured yet.

dpkg: error processing package nvidia-legacy-390xx-driver (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 nvidia-legacy-390xx-kernel-dkms
 nvidia-legacy-390xx-driver
E: Sub-process /usr/bin/dpkg returned an error code (1)
Now error "Failed to start NVIDIA Persistence Daemon" still appears on boot. I found nothing in Google, I asking for your help
Sorry for my english

User avatar
sunrat
Administrator
Administrator
Posts: 6463
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 473 times

Re: Problem with nvidia drivers

#2 Post by sunrat »

Code: Select all

Error! Bad return status for module build on kernel: 4.19.0-10-rt-amd64 (x86_64)
You can't run nvidia drivers on a standard RT kernel. Try another kernel.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

NiIvSo
Posts: 3
Joined: 2020-09-21 20:09

Re: Problem with nvidia drivers

#3 Post by NiIvSo »

I boot with 4.19.0-9-amd64 and driver still still not working and i've got this message about persistence daemon again

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Problem with nvidia drivers

#4 Post by stevepusser »

If you still have the rt kernel installed, the driver may be still be trying to build on it and failing, bringing the process to a halt. Try fully removing the rt kernel.

The easiest installation of a low-latency kernel that I know will work with Nvidia drivers is the Liquorix kernel, though if you just go and install their latest 5.8 kernel, your standard Buster 390xx legacy driver also will fail to build. You'll need a backport of that driver from upstream Debian, and I don't know if buster-backports has done that yet, since the 5.8 kernel hasn't made to backports yet, either. Perhaps the 5.7 Liquorix kernel plus backports drivers would work, though.

The same deal applies to many other non-kernel Linux drivers, such as for virtualbox or for broadcom-sta-dkms.
MX Linux packager and developer

User avatar
sunrat
Administrator
Administrator
Posts: 6463
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 473 times

Re: Problem with nvidia drivers

#5 Post by sunrat »

stevepusser wrote:The easiest installation of a low-latency kernel that I know will work with Nvidia drivers is the Liquorix kernel, though if you just go and install their latest 5.8 kernel, your standard Buster 390xx legacy driver also will fail to build.
I upgraded Liquorix on my audio production system about a week ago. Nvidia did not build on 5.8 then.
Perhaps the 5.7 Liquorix kernel plus backports drivers would work, though.
Can confirm that works and is my current setup.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Problem with nvidia drivers

#6 Post by stevepusser »

Yes, the set of Nvidia drivers from upstream Debian have to be backported to build on a 5.8 kernel, like we have done for the MX test repository. They should make it into buster-backports when a 5.8 kernel is backported there.

The Liquorix repository still offers quite a choice of kernel versions, but the older ones probably have more security vulnerabilities, since they don't get security updates. https://liquorix.net/debian/pool/main/l/linux-liquorix/
MX Linux packager and developer

NiIvSo
Posts: 3
Joined: 2020-09-21 20:09

Re: Problem with nvidia drivers

#7 Post by NiIvSo »

All now works with Liquorix kernel! Thank you all very much!

User avatar
sunrat
Administrator
Administrator
Posts: 6463
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 473 times

Re: Problem with nvidia drivers

#8 Post by sunrat »

NiIvSo wrote:All now works with Liquorix kernel! Thank you all very much!
Which Liquorix kernel?
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Post Reply