negativo17 / nvidia-driver

NVIDIA's proprietary display driver for NVIDIA graphic cards
81 stars 25 forks source link

Unable to build kernel module for the 6.7.3 kernel. #149

Closed vpxyz closed 8 months ago

vpxyz commented 8 months ago

Hi, due to a bug in the common/inc/nv-linux.h file, it is not possible to compile the nvidia kernel module. Fortunately, there is a patch: https://github.com/gentoo/gentoo/blob/c64caf53/x11-drivers/nvidia-drivers/files/nvidia-drivers-470.223.02-gpl-pfn_valid.patch RPM Fusion has updated the akmod-nvidia package. More information here: https://forums.developer.nvidia.com/t/linux-6-7-3-545-29-06-550-40-07-error-modpost-gpl-incompatible-module-nvidia-ko-uses-gpl-only-symbol-rcu-read-lock/280908/29

Thanks

scaronni commented 8 months ago

Hi @vpxyz by the time you wrote the ticket the RPMs were already pushed (545.29.06-2) in the repositories (DKMS/akmod for both Fedora 38 and 39), but thanks for reporting!

scaronni commented 8 months ago

Let me know if it works, thanks.

vpxyz commented 8 months ago

It works! Thanks