Page 1 of 1

nvidia service not loading

Posted: Sun Apr 11, 2021 4:45 pm
by OrsPervIe
Tried beta version and I couldn't get it working. So I removed and reinstalled 7.6. I also have an Nvidia card. Since then foldingathome-nvidia.service will not load properly and folding will work but of course with no GPU. Also because xml demands GPU will not load properly.
Uninstalling and reinstalling has not helped. Only solution I have at the moment is stopping folding restarting foldingathome-nvidia.service and then starting folding. Everything then works.
Two solutions I can think of off hand. Delaying loading of folding until foldingathome-nvidia.service is loaded with a command I have no clue about.Disable both services at boot, create a script that will start the services when my desktop loads which I do not know how to put together although do know where to put and how to run it.

Re: [Solved] nvidia service not loading

Posted: Mon Apr 12, 2021 10:09 pm
by OrsPervIe
Finally found my answer!!!!
in /usr/lib/systemd/system/foldingathome.service
Changed

Code: Select all

After=foldingathome-nvidia.service
to

Code: Select all

Reqires=foldingathome-nvidia.service
For whatever reason the After command was not strong enough for making sure foldingathome-nvidia.service was running before starting itself.