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?

  • I have the same problem. If I boot on the intel GPU driver, nvidia-persistenced fails to boot. Also, if I try rebooting afterwards, the reboot process hangs and doesn't complete. However, if I boot on the nvidia GPU driver, I encounter none of the problems I mentioned. – Rififi Nov 10 '16 at 16:27
  • 1
    I tried several things and nothing works. I can get nvidia-persistenced running but when nvidia-persistenced works I can't start the nvidia gpu (it just crashes). Might be a problem with the kernel. I'm using 4.8 because it supports skylake but a lot of problems started to occur after upgrading. If I ever find a solution I'll post it here. – Akisame Nov 11 '16 at 9:51
  • Much appreciated. Kernel 4.4 doesn't support skylake ? – Rififi Nov 11 '16 at 13:24
  • it does but just barely. For example a lot of power saving options don't work on 4.4 with a skylake processor. – Akisame Nov 11 '16 at 15:16
  • I'm using 4.4 right now. Do you suggest upgrading to a more recent kernel ? – Rififi Nov 11 '16 at 15:17

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

  • But prime-select intel deletes /usr/bin/nvidia-persistenced – int_ua Nov 13 '17 at 10:07
  • sudo systemctl mask nvidia-persistenced.service it is for now. – int_ua Nov 13 '17 at 10:49

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.