On Sat, 30 Mar 2024 10:55:35 -0600 Joe Zeff wrote:
On 03/30/2024 10:43 AM, Francis.Montagnac@inria.fr wrote:
Have you wait for akmods to compile the nvidia kernel modules before rebooting ?
Unless things have changed considerably since I used those drivers,
Probably not.
the akmod module runs at boot, and checks to see if it needs to do anything. If it does, it rebuilds the kmod; if not, it simply exits.
Right, but it also runs asynchonously to the dnf transaction, before the reboot.
The check at boot is incomplete: it only checks that the kmod-nvidia-KVER rpm is installed, but this rpm does a mandatory "depmod" in postinstall and this "depmod" may have been killed during shutdown.
I made a proposal to prevent that:
kmod failed to load after upgrade Fedora using dnf system-upgrade https://bugzilla.redhat.com/show_bug.cgi?id=2011120
still waiting for approval:
Running it after an update and before reboot is just making sure it gets done and can be skipped if you don't mind the extra few seconds during boot.
Not only. AFAIK, the nvidia kernel module is mandatory at boot otherwise Xorg may fail since it loads the nvidia_drv.so driver from xorg-x11-drv-nvidia.that has to have the exact version as the kernel module.
Also, on some machines, nvidia-drm.modeset=1 is mandatory in the kernel command line.
I never bothered and never had any problems letting them do their jobs as they were designed to do.
IMO you were lucky.