On 9/14/24 10:07 AM, Peter Maffter via openSUSE Users wrote:
So now I am bit lost: how can the nVidia kernel module compile fail and then it is all coming up as if it was ok?
Yes and no, The warning -Wimplicit-function-declaration (now treated as an error by default) simply means the function was used before it was defined meaning something called ioremap_nocache in the code before the function definition for it was encountered. (the call isn't necessarily a problem for the driver) The gcc-14 patch disables the -Wimplicit-function-declaration warning removing the error (curiously with -Wno-implicit-function-declaration). Your error: make[4]: *** [/usr/src/linux-6.10.9-1/scripts/Makefile.build:245: /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv.o] Error 1 make[3]: *** [/usr/src/linux-6.10.9-1/Makefile:1957: /usr/src/kernel-modules/nvidia-390.157-default] Error 2 make[2]: *** [/usr/src/linux-6.10.9-1/Makefile:240: __sub-make] Error 2 make[2]: Leaving directory '/usr/src/linux-6.10.9-1-obj/x86_64/default' make[1]: *** [Makefile:240: __sub-make] Error 2 make[1]: Leaving directory '/usr/src/linux-6.10.9-1' make: *** [Makefile:81: modules] Error 2 Tells you the build FAILED. So check the kernel version you are running (uname -r) and check that you are actually using the nvidia driver (lsmod | grep nvidia) AHAH! I actually have drivers installed from: https://download.opensuse.org/repositories/home:/wkazubski:/G03/openSUSE_Tum... Now the openSUSE X11:Drivers build service shows the same patch-set with the gcc-14.patch being applied: https://build.opensuse.org/package/show/X11:Drivers:Video/nvidia-gfxG04 So I don't know why your build failed -- unless what is in the official openSUSE NVidia repo isn't built from the X11:Drivers:Video/nvidia-gfxG04 build service project. What does: rpm -qi x11-video-nvidiaG04-390.157 show as the Vendor? -- David C. Rankin, J.D.,P.E.