nvidia-persistenced failed to initialize during Synaptic update.
by tnandy from LinuxQuestions.org on (#5AQ8Q)
It doesn't seem to be causing any major stopages, but....
While running Synaptic Package Manager => "Reload", "Mark All Upgrades", "Apply" I got the error below at the end of the Changes Applied Details popup.
Code:....
Setting up nvidia-persistenced (418.56-1) ...
Starting NVIDIA Persistence Daemon
nvidia-persistenced failed to initialize. Check syslog for more details.
invoke-rc.d: initscript nvidia-persistenced, action "start" failed.
dpkg: error processing package nvidia-persistenced (--configure):
installed nvidia-persistenced package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
nvidia-persistenced
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up nvidia-persistenced (418.56-1) ...
Starting NVIDIA Persistence Daemon
nvidia-persistenced failed to initialize. Check syslog for more details.
invoke-rc.d: initscript nvidia-persistenced, action "start" failed.
dpkg: error processing package nvidia-persistenced (--configure):
installed nvidia-persistenced package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
nvidia-persistencedsyslog says:
Code:(date time computer name) nvidia-persistenced: Failed to lock PID file: Resource temporarily unavailable
(date time computer name) nvidia-persistenced: Shutdown (20733)I installed nvidia-detect. Here are the results.
Code:$ nvidia-detect
Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM206 [GeForce GTX 960] [10de:1401] (rev a1)
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM206 [GeForce GTX 960] [10de:1401] (rev a1)
Checking card: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1)
Your card is supported by the default drivers and legacy driver series 390.
It is recommended to install the
nvidia-driver
package.
Checking card: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1)
Your card is supported by the default drivers and legacy driver series 390.
It is recommended to install the
nvidia-driver
package.System Monitor => System tab reports:
Code:(computer name)
"Devuan GNU/Linux"
Release 3 (beowulf) 64-bit
Kernel Linux 4.19.0-12-amd64 x86_64
Mate 1.20.4
Hardware
Memory: 15.6 GiB
Processor: Intel Core i5-6600K CPU @3.50GHz x 4
System Status
Available disk space 2.1 TiBWell, nvidia-driver 418.152.00-1 IS installed. As you can see, I have two SLI linked video cards. They are identical. I looked on the nvidia website and the driver search widget says my two video cards support "Driver Version: 455.45 - Release Date: Tue Nov 17, 2020", so I'm pretty sure the 418 driver in the non-free repository should work, too.
Back in the day my old computers used /etc/X11/xorg.conf to specify the nvidia driver over the open source driver. It's missing but a couple of websites I visited said it's no longer required. Do I need this config file to use the nvidia driver?
What's a PID file?


While running Synaptic Package Manager => "Reload", "Mark All Upgrades", "Apply" I got the error below at the end of the Changes Applied Details popup.
Code:....
Setting up nvidia-persistenced (418.56-1) ...
Starting NVIDIA Persistence Daemon
nvidia-persistenced failed to initialize. Check syslog for more details.
invoke-rc.d: initscript nvidia-persistenced, action "start" failed.
dpkg: error processing package nvidia-persistenced (--configure):
installed nvidia-persistenced package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
nvidia-persistenced
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up nvidia-persistenced (418.56-1) ...
Starting NVIDIA Persistence Daemon
nvidia-persistenced failed to initialize. Check syslog for more details.
invoke-rc.d: initscript nvidia-persistenced, action "start" failed.
dpkg: error processing package nvidia-persistenced (--configure):
installed nvidia-persistenced package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
nvidia-persistencedsyslog says:
Code:(date time computer name) nvidia-persistenced: Failed to lock PID file: Resource temporarily unavailable
(date time computer name) nvidia-persistenced: Shutdown (20733)I installed nvidia-detect. Here are the results.
Code:$ nvidia-detect
Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM206 [GeForce GTX 960] [10de:1401] (rev a1)
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM206 [GeForce GTX 960] [10de:1401] (rev a1)
Checking card: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1)
Your card is supported by the default drivers and legacy driver series 390.
It is recommended to install the
nvidia-driver
package.
Checking card: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1)
Your card is supported by the default drivers and legacy driver series 390.
It is recommended to install the
nvidia-driver
package.System Monitor => System tab reports:
Code:(computer name)
"Devuan GNU/Linux"
Release 3 (beowulf) 64-bit
Kernel Linux 4.19.0-12-amd64 x86_64
Mate 1.20.4
Hardware
Memory: 15.6 GiB
Processor: Intel Core i5-6600K CPU @3.50GHz x 4
System Status
Available disk space 2.1 TiBWell, nvidia-driver 418.152.00-1 IS installed. As you can see, I have two SLI linked video cards. They are identical. I looked on the nvidia website and the driver search widget says my two video cards support "Driver Version: 455.45 - Release Date: Tue Nov 17, 2020", so I'm pretty sure the 418 driver in the non-free repository should work, too.
Back in the day my old computers used /etc/X11/xorg.conf to specify the nvidia driver over the open source driver. It's missing but a couple of websites I visited said it's no longer required. Do I need this config file to use the nvidia driver?
What's a PID file?