Problem with nvidia drivers

Getting your soundcard to work, using Debian on non-i386 hardware, etc

Problem with nvidia drivers

Postby NiIvSo » 2020-09-22 11:41

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
NiIvSo
 
Posts: 3
Joined: 2020-09-21 20:09

Re: Problem with nvidia drivers

Postby sunrat » 2020-09-22 12:12

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!
User avatar
sunrat
 
Posts: 3244
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Problem with nvidia drivers

Postby NiIvSo » 2020-09-22 18:21

I boot with 4.19.0-9-amd64 and driver still still not working and i've got this message about persistence daemon again
NiIvSo
 
Posts: 3
Joined: 2020-09-21 20:09

Re: Problem with nvidia drivers

Postby stevepusser » 2020-09-22 19:06

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
stevepusser
 
Posts: 12083
Joined: 2009-10-06 05:53

Re: Problem with nvidia drivers

Postby sunrat » 2020-09-22 21:29

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
sunrat
 
Posts: 3244
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Problem with nvidia drivers

Postby stevepusser » 2020-09-22 23:31

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
User avatar
stevepusser
 
Posts: 12083
Joined: 2009-10-06 05:53

Re: Problem with nvidia drivers

Postby NiIvSo » 2020-09-23 07:54

All now works with Liquorix kernel! Thank you all very much!
NiIvSo
 
Posts: 3
Joined: 2020-09-21 20:09

Re: Problem with nvidia drivers

Postby sunrat » 2020-09-23 08:02

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!
User avatar
sunrat
 
Posts: 3244
Joined: 2006-08-29 09:12
Location: Melbourne, Australia


Return to Hardware

Who is online

Users browsing this forum: No registered users and 11 guests

fashionable