When 9.4 came out I updated tp 9.4, but there seems to be an issue with th NVIDIA diver. I’m attempting to use the rpmfusion non-free driver but it is refusing to load the driver during bootstrap:
# grep -i nvidia messages
May 14 07:29:33 arun kernel: Kernel command line: BOOT_IMAGE=(hd6,gpt2)/vmlinuz-5.14.0-427.13.1.el9_4.x86_64 root=/dev/mapper/almalinux-root ro rd.lvm.lv=almalinux/root intel_iommu=on rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M
May 14 07:29:33 arun kernel: Loaded X.509 cert 'Nvidia GPU OOT signing 001: 55e1cef88193e60419f0b0ec379c49f77545acf0'
May 14 07:29:33 arun dracut-cmdline[368]: Using kernel command line parameters: BOOT_IMAGE=(hd6,gpt2)/vmlinuz-5.14.0-427.13.1.el9_4.x86_64 root=/dev/mapper/almalinux-root ro rd.lvm.lv=almalinux/root intel_iommu=on rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M
May 14 07:29:44 arun kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input8
May 14 07:29:44 arun kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input9
May 14 07:29:44 arun kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input10
May 14 07:29:44 arun kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input11
May 14 07:29:58 arun akmods[1319]: Building and installing nvidia-470xx-kmod [FAILED]
May 14 07:29:58 arun akmods[1319]: Building rpms failed; see /var/cache/akmods/nvidia-470xx/470.223.02-1-for-5.14.0-427.13.1.el9_4.x86_64.failed.log for details
May 14 07:30:00 arun systemd[1]: Starting Fallback to nouveau as nvidia did not load...
May 14 07:30:00 arun kernel: nouveau 0000:01:00.0: NVIDIA GK106 (0e6000a1)
May 14 07:30:01 arun systemd[1]: Finished Fallback to nouveau as nvidia did not load.
May 14 07:30:46 arun /usr/libexec/gdm-x-session[10946]: Kernel command line: BOOT_IMAGE=(hd6,gpt2)/vmlinuz-5.14.0-427.13.1.el9_4.x86_64 root=/dev/mapper/almalinux-root ro rd.lvm.lv=almalinux/root intel_iommu=on rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M
May 14 07:30:47 arun /usr/libexec/gdm-x-session[10946]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event10)
May 14 07:30:47 arun /usr/libexec/gdm-x-session[10946]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event11)
May 14 07:30:47 arun /usr/libexec/gdm-x-session[10946]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event8)
May 14 07:30:47 arun /usr/libexec/gdm-x-session[10946]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event9)
It appears to be trying to build the driver, but whereas wen I installed the driver under 9.3 it looked after itself:
# view /var/cache/akmods/nvidia-470xx/470.223.02-1-for-5.14.0-427.13.1.el9_4.x86_64.failed.log
024/05/14 07:29:45 akmods: Building RPM using the command '/sbin/akmodsbuild --kernels 5.14.0-427.13.1.el9_4.x86_64 /usr/src/akmods/nvidia-470xx-kmod.latest'
...
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_unlock'
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_lock'
make[2]: *** [scripts/Makefile.modpost:134: /tmp/akmodsbuild.bl5PKFas/BUILD/nvidia-470xx-kmod-470.223.02/_kmod_build_5.14.0-427.13.1.el9_4.x86_64/Module.symvers] Error 1
make[2]: *** Deleting file '/tmp/akmodsbuild.bl5PKFas/BUILD/nvidia-470xx-kmod-470.223.02/_kmod_build_5.14.0-427.13.1.el9_4.x86_64/Module.symvers'
make[1]: *** [Makefile:1848: modules] Error 2
make[1]: Leaving directory '/usr/src/kernels/5.14.0-427.13.1.el9_4.x86_64'
make: *** [Makefile:80: modules] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.Rr5y3h (%build)
RPM build errors:
user mockbuild does not exist - using root
group mock does not exist - using root
user mockbuild does not exist - using root
group mock does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.Rr5y3h (%build)
Do I need to have a mock environment set up? It wasn’t needed for the installation after Christmas. Installed drivers:
# dnf list --installed \*nvidia\*
Installed Packages
akmod-nvidia-470xx.x86_64 3:470.223.02-1.el9 @rpmfusion-nonfree-updates
kmod-nvidia-470xx-5.14.0-362.el9_3.x86_64
3:470.223.02-1.el9 @rpmfusion-nonfree-updates
nvidia-settings-470xx.x86_64 3:470.223.02-1.el9 @rpmfusion-nonfree-updates
pcp-pmda-nvidia-gpu.x86_64 6.2.0-2.el9_4 @appstream
xorg-x11-drv-nvidia-470xx.x86_64 3:470.223.02-1.el9 @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-470xx-kmodsrc.x86_64
3:470.223.02-1.el9 @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-470xx-libs.x86_64
3:470.223.02-1.el9 @rpmfusion-nonfree-updates