On 06/07/2022 13:07, Neal Becker wrote:
Speaking of nvidia and akmods, I just had an issue this morning. On my
server I'm using nvidia proprietary driver from rpmfusion. Apparently
it was updated (automatically) last night and when I tried to run
experiments on the gpu this morning I got the dreaded version mismatch
between the kernel driver and cuda library (or something).
I tried rebooting but that didn't fix the issue.
I tried running akmods manually but it didn't find anything to build.
The man page for akmods was unhelpful, and looking in /lib/modules
wasn't useful because you can't see the version numbers on the modules
to see that everything is updated.
Finally I tried rebooting a 2nd time on the theory that the akmod got
run and the driver built on the first reboot, but too late - the old
driver had already loaded.
Surprise, that worked. So what's going on? It looks like akmod is run
too late and 2 reboots are needed to get the new driver built and loaded?
I checked
sudo systemctl status akmods
● akmods.service - Builds and install new kmods from akmod packages
Loaded: loaded (/usr/lib/systemd/system/akmods.service; enabled;
vendor preset: enabled)
Active: active (exited) since Wed 2022-07-06 07:32:31 EDT; 28min ago
Process: 1166 ExecStart=/usr/sbin/akmods --from-init (code=exited,
status=0/SUCCESS)
Main PID: 1166 (code=exited, status=0/SUCCESS)
CPU: 215ms
Jul 06 07:32:29 nbecker8 systemd[1]: Starting Builds and install new
kmods from akmod packages...
Jul 06 07:32:31 nbecker8 akmods[1166]: Checking kmods exist for
5.18.9-100.fc35.x86_64[ OK ]
Jul 06 07:32:31 nbecker8 systemd[1]: Finished Builds and install new
kmods from akmod packages.
Any ideas?
Well, I'm still on Fedora 35 and the 470xx nvidia driver from rpmfusion.
Rebooting after a kernel upgrade is still giving nouveau and lower
screen resolution than expected. sudo depmod -ae, followed by sudo
systemctl reboot, has worked for me.
https://rpmfusion.org/CommonBugs
John P
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure