For some reason I had "*** SPAM ***" in thunderbird for your article. Removed that from the Subject line. X-Spam-Level: ****** X-Spam Yes Junk Filter from thunderbird seems to be running wrong. Am 14/09/2024 um 20:44 schrieb David C. Rankin:
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)
Thanks, I know, what an implicit declaration is. ;-)
The gcc-14 patch disables the -Wimplicit-function-declaration warning removing the error (curiously with -Wno-implicit-function-declaration).
It removes the warning/error, but I guess the implicit declaration is still there?
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)
uname -r 6.10.9-1-default This is the current kernel for update 20240912-0. That is, what puzzles me, that the build fails and still X11 and nVidia drivers are working. I can only imagine, that after the build some installation of nVidia rpm drivers from nVidia replaces the non existing nVidia drivers.
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?
rpm -qi x11-video-nvidiaG04-390.157 Name : x11-video-nvidiaG04 Version : 390.157 Release : 45.1 Architecture: x86_64 Install Date: Sat 14 Sep 2024 16:08:26 CEST Group : System/Libraries Size : 62639332 License : SUSE-NonFree Signature : RSA/SHA512, Mon 09 Sep 2024 18:31:27 CEST, Key ID b1d0d788db27fd5a Source RPM : x11-video-nvidiaG04-390.157-45.1.nosrc.rpm Build Date : Wed 03 Jul 2024 12:45:03 CEST Build Host : reproducible Vendor : obs://build.suse.de/Proprietary:X11:Drivers URL : https://www.nvidia.com/object/unix.html Summary : NVIDIA graphics driver for GeForce 400 series and newer Description : This package provides the closed-source NVIDIA graphics driver for GeForce 400 series and newer GPUs. Distribution: Proprietary:X11:Drivers / openSUSE_Tumbleweed "Build Date : Wed 03 Jul 2024 12:45:03 CEST" worries me a bit. Thx in advance.