Stefan Dirsch changed bug 1215981
What Removed Added
Flags needinfo?(petr.vorel@suse.com)  

Comment # 24 on bug 1215981 from Stefan Dirsch
(In reply to Petr Vorel from comment #23)
> TL;DR: Probably problem in my setup, we can probably close this. The rest is
> a description if you find something which I do obviously wrong or if there
> is something what can be improved.

Thanks for the detailed report. Very much appreciated!

> I wonder how can happen that 2 driver versions can coexist together?
> (kernel-firmware-nvidia-gsp-G06-525.116 vs.
> kernel-firmware-nvidia-gspx-G06-535 and
> nvidia-open-driver-G06-signed-kmp-default-535 and
> nvidia-open-driver-G06-signed-kmp-default-545):
> 
> $ rpm -qa |grep -i nvidia | sort
> kernel-firmware-nvidia-20231107-1.1.noarch
> kernel-firmware-nvidia-gsp-G06-525.116.04-2.1.x86_64
> kernel-firmware-nvidia-gsp-G06-535.54.03-1.1.x86_64
> kernel-firmware-nvidia-gspx-G06-535.113.01-1.1.x86_64
> kernel-firmware-nvidia-gspx-G06-535.129.03-1.1.x86_64
> kernel-firmware-nvidia-gspx-G06-535.129.03-11.1.x86_64
> kernel-firmware-nvidia-gspx-G06-535.129.03-12.1.x86_64
> kernel-firmware-nvidia-gspx-G06-545.29.02-13.1.x86_64
> libnvidia-egl-wayland1-1.1.12-1.2.x86_64
> libva-nvidia-driver-0.0.10-1.1.x86_64
> nvidia-compute-G06-32bit-535.129.03-15.1.x86_64
> nvidia-compute-G06-535.129.03-15.1.x86_64
> nvidia-gl-G06-32bit-535.129.03-15.1.x86_64
> nvidia-gl-G06-535.129.03-15.1.x86_64
> nvidia-open-driver-G06-signed-kmp-default-535.129.03_k6.6.1_1-1.2.x86_64
> nvidia-open-driver-G06-signed-kmp-default-545.29.02_k6.5.9_1-57.1.x86_64
> nvidia-video-G06-32bit-535.129.03-15.1.x86_64
> nvidia-video-G06-535.129.03-15.1.x86_64
> 
> 
> $ rpm -qi kernel-firmware-nvidia-gspx-G06-545.29.02-13.1.x86_64
> Name        : kernel-firmware-nvidia-gspx-G06
> Version     : 545.29.02
> Release     : 13.1
> Architecture: x86_64
> Install Date: Út 14. listopadu 2023, 09:27:44
> Group       : System/Kernel
> Size        : 64294720
> License     : GPL-2.0-only AND SUSE-Firmware AND GPL-2.0-or-later AND MIT
> Signature   : RSA/SHA256, Po 13. listopadu 2023, 16:53:44, Key ID
> 590401a1e38fb563
> Source RPM  : kernel-firmware-nvidia-gspx-G06-545.29.02-13.1.nosrc.rpm
> Build Date  : Po 13. listopadu 2023, 16:53:25
> Build Host  : i04-ch2a
> Vendor      : obs://build.opensuse.org/X11:Drivers:Video
> URL         : https://www.nvidia.com/en-us/drivers/unix/
> Summary     : Kernel firmware file for open NVIDIA kernel module driver G06
> Description :
> This package contains the versioned kernel firmware file "gsp.bin" for
> the OpenSource NVIDIA kernel module driver G06.
> Distribution: X11:Drivers:Video:Redesign / openSUSE_Tumbleweed
> 
> $ rpm -qi kernel-firmware-nvidia-gspx-G06-535.129.03-1.1.x86_64
> Name        : kernel-firmware-nvidia-gspx-G06
> Version     : 535.129.03
> Release     : 1.1
> Architecture: x86_64
> Install Date: Pá 10. listopadu 2023, 07:23:53
> Group       : System/Kernel
> Size        : 61824832
> License     : GPL-2.0-only AND SUSE-Firmware AND GPL-2.0-or-later AND MIT
> Signature   : RSA/SHA512, Čt 2. listopadu 2023, 20:48:50, Key ID
> 35a2f86e29b700a4
> Source RPM  : kernel-firmware-nvidia-gspx-G06-535.129.03-1.1.nosrc.rpm
> Build Date  : Čt 2. listopadu 2023, 20:48:26
> Build Host  : i04-ch1b
> Packager    : https://bugs.opensuse.org
> Vendor      : openSUSE
> URL         : https://www.nvidia.com/en-us/drivers/unix/
> Summary     : Kernel firmware file for open NVIDIA kernel module driver G06
> Description :
> This package contains the versioned kernel firmware file "gsp.bin" for
> the OpenSource NVIDIA kernel module driver G06.
> Distribution: openSUSE Tumbleweed
> 
> I suppose this is due multiversion = provides:multiversion(kernel), right?

Yes, this is exactly the reason.

> Because I see that both nvidia-open-driver devel [1] and factory [2] have
> the same newer version, the same applies to kernel-firmware-nvidia-gspx-G06
> [3] [4] I removed obs://build.opensuse.org/X11:Drivers:Video and removed
> packages and install only the latest version.

Yes, you no longer need the devel projects, since the driver+firmware is now
included in our products. So better remove these.

> After this, the default value ("options nvidia-drm modeset=1 fbdev=1" and
> *not* set NVreg_OpenRMEnableSupporteGpus=1) was working for xorg. 

Thanks for confirmation.

> After
> installation the still was not working even I run dracut, I needed to ssh to
> the system, rerun dracut and reboot to get it working. Let's assume I did
> something wrong, that's why I needed to rerun dracut via ssh. But sway did
> not work.

Yeah. You need to reboot now after changing kernel modules config. You no
longer can easily unload the driver when option "fbdev=1" is et which
eventually added a Linux console with this driver.

> Removing "fbdev=1" made no difference (working xorg, broken sway).
> 
> Adding NVreg_OpenRMEnableSupporteGpus=1 is the option which breaks booting.

Interesting that having this option still set breaks things. I think it should
be removed from the driver.

> For sway are also needed nvidia-video-G06 (otherwise sway startup freezes)
> and nvidia-gl-G06 (sway startup fails) from the proprietary NVIDIA
> repository.
> 
> i.e. both kernel open driver
> nvidia-open-driver-G06-signed-kmp-default-545.29.02_k6.6.1_1-1.1.x86_64 and
> GPU 
> and proprietary NVIDIA OpenGL libraries are needed for sway (while this
> might be obvious from the blog post [5] it was new for me, because sway
> claims "don't use nvidia proprietary").

Ok. Good to know this. Maybe sway just doesn't work with Mesa's software
fallback driver, no matter which KMS driver is in use.


You are receiving this mail because: