How to get nvidia-persistenced daemon to work properly?
I have some graphical issues on login when I'm using the intel gpu.
I checked the boot logs and it shows that the nvidia persistence service failed to load on the intel gpu. After running systemctl status nvidia-persistenced.service
I found that nvidia-persistenced tries to run the following command /usr/bin/nvidia-persistenced --user nvidia-persistenced --no-persistence-mode --verbose
but /usr/bin/nvidia-persistenced doesn't exist.
Does anyone know how to get nvidia-persistenced to run properly?
Solution 1:
At least for nvidia-375==375.66-0ubuntu0.16.04.1
sudo ln -s /usr/lib/nvidia-375/bin/nvidia-persistenced /usr/bin/nvidia-persistenced
looks like enough.
Please mark this bug as affecting you too: https://bugs.launchpad.net/ubuntu/+source/nvidia-persistenced/+bug/1693123
Solution 2:
The other answer is essentially correct, but it didn't work for me. Main problem is that nvidia-xxx
drivers are not simply better with increasing xxx
; they also correspond do different card models. Here's the list of all available drivers. You'll have to check out your card model before you install, or it simply does not work.
You can find that out with lspci
, which lists all devices connected to the PCI bus:
01:00.0 VGA compatible controller: NVIDIA Corporation G92 [GeForce GTS 250] (rev a2)
With my GeForce GTS250, I need to use the 340 driver. You will need to check out your card in that list, and install the appropriate driver.