nvidia service not loading

Moderators: Site Moderators, FAHC Science Team

Post Reply
OrsPervIe
Posts: 12
Joined: Mon Jun 24, 2019 1:30 pm

nvidia service not loading

Post 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.
OrsPervIe
Posts: 12
Joined: Mon Jun 24, 2019 1:30 pm

Re: [Solved] nvidia service not loading

Post 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.
Post Reply