I'm having a problem which I think I've narrowed down to the nvidia persistence daemon.
Issue: I have my HTPC connected to my Onkyo receiver. When I turn off the receiver and turn it back on, I have no signal from the HTPC. I can press Ctrl + Alt + F1 and run sudo stop lightdm then sudo start lightdm. Once I do this I'm back to the regular screen. This is not a long-term solution though as
- it's a pain
- I will have other users who want to watch TV and will not know what to do.
Through my googlefu I found that I need to set persistence-mode to on, though this will be going away. I have tried this method with sudo "nvidia-smi -pm 1" and it will set it to on, but it doesn't appear to work as the issue will re-occur.
I have also tried running sudo nvidia-persistenced --user [user] --persistence-mode and I can see a process start. When I turn my receiver off though, the same thing occurs.
The syslog has the following:
... nvidia-persistenced: Failed to open PID file: File exists
... nvidia-persistenced: Shutdown (5232)
I have made sure the user I have nvidia-persistenced running as is part of the nvidia-persistenced group. I have also set permissions on the /var/run/nvidia-persistencd/ folder to 777.
I'm going crazy trying to resolve this. I want to be able to turn my receiver off and when I turn it back on have the screen where I left off.
- Running Ubuntu 14.04 (Mythbuntu install)
- Video card is Nvidia GT 730 using driver 352.63
Also, once I get the nvidia-persistenced daemon working, I need to set it up to start at system startup. How would I go about doing that?
Any help is greatly appreciated. Thanks in advance.