One made at least three attempts with fresh installs to get Nvidia drivers working with Fedora 37 on this laptop, including what i would presume is the authoritative source, in the absence of anything similar from Red Hat: Nvidia. The problem is that there’s no ownership of this issue. My machine arrived with Windows 11 Home installed - which I didn’t really want - but everything was installed correctly and proved to be working before it was shipped. I accept that I’m going to have to do more work to get an operational Linux-based system, but so far with Nvidia drivers on two machines and two different distros (at least) I have failed to get working Nvidia drivers with Nvidia 3050-level GPUs. In the absence of a definitive guide I, and everyone else, am stuck with googling random Linux how-to websites for the solution.
I made another attempt at getting working Nvidia drivers on the Fedora installation on my Alder Lake 12900 desktop last night (it’s currently using nouveau, as was this laptop after I’d initially installed Fedora 37, except that installation doesn’t produce abrt bug reports when I log in, whereas the laptop is/was). Following the Nvidia guidelines I fell at the first or second hurdle because the kernel-headers that match the kernel that I got when I upgraded to Fedora 36 - 6.0.12-200 - don’t exist in the Red Hat repo via dnf (yet, I suppose).
It seems that there’s just never a repo that’s properly matched with Nvidia drivers and if you do get a working system it’s more down to luck than design, and it may not continue to work across version updates of the kernel or OS - this is what happened to me yesterday even with the rpmfusion bits.
I may attempt another Debian install just because it’s more stable and staid (LTS, now 16 months old, with minor version updates) although I’ve not managed to get working Nvidia drivers in the past with that system either. The reason I went to Fedora was that I wanted a more up-to-date toolchain, but it’s at the cost of getting a stable system with working Nvidia drivers.
Overall I’m enjoying Fedora 37 on this laptop (using it now) but - as ever! - the Nvidia driver experience leaves a huge amount to be desired. I realize this is not Red Hat’s problem. I would however appreciate a thoroughly tested and foolproof guide to getting working Nvidia drivers with Fedora repos. I imagine there are many thousands who would, and who don’t relish the idea of constantly running the gauntlet with Nvidia every time there’s a new kernel or OS version release.
Thanks.
ETA: As a new user I’m barred from reponding any more time to this thread(!) I did try dnf upgrade --refresh with these current bits and got the following:
cuda-fedora36-x86_64 18 kB/s | 3.5 kB 00:00
Fedora 37 - x86_64 24 kB/s | 22 kB 00:00
Fedora 37 openh264 (From Cisco) - x86_64 1.9 kB/s | 989 B 00:00
Fedora Modular 37 - x86_64 40 kB/s | 22 kB 00:00
Fedora 37 - x86_64 - Updates 59 kB/s | 24 kB 00:00
Fedora Modular 37 - x86_64 - Updates 59 kB/s | 23 kB 00:00
google-chrome 6.0 kB/s | 1.3 kB 00:00
RPM Fusion for Fedora 37 - Free 4.8 kB/s | 3.4 kB 00:00
RPM Fusion for Fedora 37 - Free - Updates 11 kB/s | 3.2 kB 00:00
RPM Fusion for Fedora 37 - Nonfree 14 kB/s | 4.0 kB 00:00
RPM Fusion for Fedora 37 - Nonfree - Updates 13 kB/s | 3.7 kB 00:00
Dependencies resolved.
Problem 1: package xorg-x11-drv-nvidia-power-3:525.60.11-1.fc37.x86_64 requires xorg-x11-drv-nvidia(x86-64) = 3:525.60.11, but none of the providers can be installed
- cannot install the best update candidate for package xorg-x11-drv-nvidia-power-3:520.56.06-1.fc37.x86_64
- package xorg-x11-drv-nvidia-3:525.60.11-1.fc37.x86_64 is filtered out by modular filtering
Problem 2: cannot install both nvidia-persistenced-3:525.60.13-1.fc36.x86_64 and nvidia-persistenced-3:520.56.06-1.fc37.x86_64
- package xorg-x11-drv-nvidia-cuda-3:520.56.06-1.fc37.x86_64 requires nvidia-persistenced(x86-64) = 3:520.56.06, but none of the providers can be installed
- cannot install the best update candidate for package nvidia-persistenced-3:520.56.06-1.fc37.x86_64
- problem with installed package xorg-x11-drv-nvidia-cuda-3:520.56.06-1.fc37.x86_64
- package nvidia-persistenced-3:520.56.06-1.fc37.x86_64 is filtered out by modular filtering
Problem 3: problem with installed package xorg-x11-drv-nvidia-power-3:520.56.06-1.fc37.x86_64
- package xorg-x11-drv-nvidia-power-3:520.56.06-1.fc37.x86_64 requires xorg-x11-drv-nvidia(x86-64) = 3:520.56.06, but none of the providers can be installed
- package nvidia-driver-3:525.60.13-1.fc36.x86_64 conflicts with xorg-x11-drv-nvidia provided by xorg-x11-drv-nvidia-3:520.56.06-1.fc37.x86_64
- package nvidia-driver-3:525.60.13-1.fc36.x86_64 obsoletes xorg-x11-drv-nvidia provided by xorg-x11-drv-nvidia-3:520.56.06-1.fc37.x86_64
- package xorg-x11-drv-nvidia-power-3:525.60.11-1.fc37.x86_64 requires xorg-x11-drv-nvidia(x86-64) = 3:525.60.11, but none of the providers can be installed
- cannot install the best update candidate for package xorg-x11-drv-nvidia-3:520.56.06-1.fc37.x86_64
- package xorg-x11-drv-nvidia-3:520.56.06-1.fc37.x86_64 is filtered out by modular filtering
- package xorg-x11-drv-nvidia-3:525.60.11-1.fc37.x86_64 is filtered out by modular filtering
So already, after a clean install, with the supposedly preferred bits, I’ve got myself in “driver hell”. Is it any wonder the driver stopped working/was not loaded after a system update via Discover yesterday?