Linux and nvidia 390.77: ubuntu update leads to errors

Message boards : Number crunching : Linux and nvidia 390.77: ubuntu update leads to errors
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile David Anderson (not *that* DA) Project Donor
Avatar

Send message
Joined: 5 Dec 09
Posts: 215
Credit: 74,008,558
RAC: 74
United States
Message 1962480 - Posted: 29 Oct 2018, 23:12:32 UTC

Ubuntu has some mistake. 18.04.
Did a normal update and now dmesg reports:


[515551.148450] NVRM: API mismatch: the client has the version 390.77, but
NVRM: this kernel module has the version 390.48. Please
NVRM: make sure that this kernel module and all NVIDIA driver
NVRM: components have the same version.
[515931.257453] NVRM: API mismatch: the client has the version 390.77, but
NVRM: this kernel module has the version 390.48. Please
NVRM: make sure that this kernel module and all NVIDIA driver
NVRM: components have the same version.

400+ gpu tasks errored off. Well, drat.

For now just no gpu on the machine, I hope uninstalling nvidia,
running nouveau briefly, and reinstall nvidia driver (and opencl part)
will make this annoyance go away. Nobody appears to have reported
this anywhere on askubuntu.
ID: 1962480 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 1962487 - Posted: 30 Oct 2018, 0:42:11 UTC - in response to Message 1962480.  

Something is confused. I would
sudo apt-get purge nvidia*
sudo apt-get autoremove

That will get you back to nouveau drivers. Then reinstall nvidia drivers.
sudo ubuntu-drivers autoinstall
sudo reboot

That will get you the standard package of drivers. If that doesn't pick up your Nvidia driver, then try
sudo apt-get install nvidia-driver-390

Hopefully that will get your proper 390 package.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 1962487 · Report as offensive
Profile David Anderson (not *that* DA) Project Donor
Avatar

Send message
Joined: 5 Dec 09
Posts: 215
Credit: 74,008,558
RAC: 74
United States
Message 1962503 - Posted: 30 Oct 2018, 2:57:52 UTC
Last modified: 30 Oct 2018, 3:02:14 UTC

Thanks Keith, I have been working toward that, and it seems to have succeeded.
No more worrying messages in dmesg output.
The sequence:
In additional drivers, select nouveau driver. Apply.
sudo apt-get purge 'nvidia*'
sudo reboot
sudo apt purge 'libnvidia*'
( similar sudo purge '*nvidia*'' did not work to remove libnvidia, it seems)
sudo apt autoremove (that removed a fair amount of old stuff!)
dpkg -l |grep -i nvidia (to be sure all nvidia gone before next step)
In additional drivers, selected 390, applied
sudo apt install ocl-icd-opencl-dev
reboot

Whew. We'll see if that's sufficient. Looks promising so far,
I have new GPU tasks, one running now. I'll watch the error count.
ID: 1962503 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 1962508 - Posted: 30 Oct 2018, 3:43:36 UTC - in response to Message 1962503.  

Sounds good. I rarely have issues getting the OpenCL component of the drivers. I think I had to install it manually only once. I do use the ppa however.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 1962508 · Report as offensive

Message boards : Number crunching : Linux and nvidia 390.77: ubuntu update leads to errors


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.