On 11/16/23 10:20, Peter Maffter via openSUSE Users wrote:
Here we go again.
openSUSE Tumbleweed 20231108-0 -> 20231114-0 Compilation of the nVidia modules fails with
CC [M] /usr/src/kernel-modules/nvidia-390.157-default/nvidia-drm/nvidia-drm-encoder.o /usr/src/kernel-modules/nvidia-390.157-default/nvidia-drm/nvidia-drm-drv.c:708:31: error: ‘drm_gem_prime_handle_to_fd’ undeclared here (not in a function) 708 | .prime_handle_to_fd = drm_gem_prime_handle_to_fd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: *** [/usr/src/linux-6.6.1-1/scripts/Makefile.build:244: /usr/src/kernel-modules/nvidia-390.157-default/nvidia-drm/nvidia-drm-drv.o] Error 1
No X11 with 20231114-0, only cmd. Had to go back to 6.5.9-1-default (20231108)
Maybe I am too early again.
BR
See patch: https://aur.archlinux.org/packages/nvidia-390xx-utils works fine. Same as: https://paste.opensuse.org/pastes/d0b21ec8d3d4
Am 07/03/2023 um 09:23 schrieb David C. Rankin:
On 3/5/23 17:57, Patrick Shanahan wrote:
* Peter Maffter <petermaffter@yahoo.de> [03-05-23 17:33]:
System was working till todays zypper dup.
Now again: no graphic system with kernel-default-6.2.1-1.1 .
zypper update nvidia-gfxG04-kmp of course does not help.
This time at least the old system with 6.1.12-1-default is working so that I can write this email and on the 20230304-0 system I could try to compile the NVIDIA-Linux-x86_64-390.157.run But I do remember that this does not help.
I read: "create /etc/ld.so.conf.d/nvidia and include /usr/lib/tls" Was this the solution to this problem?
off-list
you might try (I have not yet but they have worked for me in the past),
https://download.opensuse.org/repositories/home:/wkazubski:/G03/openSUSE_Tum...
changelog states: * Thu Mar 02 2023 Stefan Dirsch <sndirsch@suse.com> - and now apply the patch 'kernel-6.2.patch' for real
Nvidia packages, all
The 6.2 kernel brings a couple of build failures in the nvidia-390xx module (openSUSE's G04 driver). The AUR package has a patch that addresses the issue. May save somebody a bit of time chasing it down:
-- David C. Rankin, J.D.,P.E.