I’m brand new to openSUSE; I just installed it yesterday. I’ve been troubleshooting for hours but I can’t get any graphics drivers to run whatsoever. I’m stuck on the generic driver, which really is not a great experience.
For context, I’m using a Lenovo Slim Pro 7 laptop that has Nvidia discrete graphics and AMD integrated graphics. Even though I have drivers for both installed, I cannot get either of them to actually load. I followed the installation steps at SDB:NVIDIA drivers - openSUSE Wiki, including the Secure Boot steps.
I did use nomodeset when running the openSUSE installer, which I’m thinking might have messed something up, but I really didn’t have a choice — the installer wouldn’t load otherwise.
And did you remove the nomodeset option from the boot command line after the first reboot? If not so, start YasT2-Bootloader, go to the Kernel Parameters tab, cancel “nomodeset” in the first line, hit “OK”.
Thanks for reminding me of this! It turns out this was the problem. I thought I had looked to see if nomodeset was still specified, but apparently I missed it the first time around. I’m at least able to load the AMD drivers now, though I’m still having trouble with Nvidia.
I’ve gotten the AMD drivers to load now, but still can’t seem to get the Nvidia drivers to load. Switcheroo does not show any Nvidia card, and lsmod | grep nvidia returns nothing.
I did notice some compilation errors when installing the Nvidia drivers, but I’m not sure how to fix them.
nvidia/nv-acpi.c:26:10: fatal error: os-interface.h: No such file or directory
26 | #include "os-interface.h"
| ^~~~~~~~~~~~~~~~
compilation terminated.
CC [M] nvidia/nv-mmap.o
nvidia/nv-cray.c:26:10: fatal error: os-interface.h: No such file or directory
26 | #include "os-interface.h"
| ^~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-6.16.5-1/scripts/Makefile.build:288: nvidia/nv-acpi.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [/usr/src/linux-6.16.5-1/scripts/Makefile.build:288: nvidia/nv-cray.o] Error 1
CC [M] nvidia/nv-p2p.o
nvidia/nv-dma.c:26:10: fatal error: os-interface.h: No such file or directory
26 | #include "os-interface.h"
| ^~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-6.16.5-1/scripts/Makefile.build:288: nvidia/nv-dma.o] Error 1
nvidia/nv-mmap.c:26:10: fatal error: os-interface.h: No such file or directory
26 | #include "os-interface.h"
| ^~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-6.16.5-1/scripts/Makefile.build:288: nvidia/nv-mmap.o] Error 1
nvidia/nv-p2p.c:26:10: fatal error: os-interface.h: No such file or directory
26 | #include "os-interface.h"
| ^~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-6.16.5-1/scripts/Makefile.build:288: nvidia/nv-p2p.o] Error 1
nvidia/nv-nano-timer.c:30:10: fatal error: os-interface.h: No such file or directory
30 | #include "os-interface.h"
| ^~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-6.16.5-1/scripts/Makefile.build:288: nvidia/nv-nano-timer.o] Error 1
nvidia/nv.c:30:10: fatal error: nv-firmware.h: No such file or directory
30 | #include "nv-firmware.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-6.16.5-1/scripts/Makefile.build:288: nvidia/nv.o] Error 1
nvidia/nv-dmabuf.c:24:10: fatal error: nv-dmabuf.h: No such file or directory
24 | #include "nv-dmabuf.h"
| ^~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-6.16.5-1/scripts/Makefile.build:288: nvidia/nv-dmabuf.o] Error 1
nvidia/nv-pci.c:25:10: fatal error: nv-pci-types.h: No such file or directory
25 | #include "nv-pci-types.h"
| ^~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-6.16.5-1/scripts/Makefile.build:288: nvidia/nv-pci.o] Error 1
nvidia/nv-i2c.c:28:10: fatal error: os-interface.h: No such file or directory
28 | #include "os-interface.h"
| ^~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-6.16.5-1/scripts/Makefile.build:288: nvidia/nv-i2c.o] Error 1
make[3]: *** [/usr/src/linux-6.16.5-1/Makefile:2026: .] Error 2
make[2]: *** [/usr/src/linux-6.16.5-1/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/usr/src/kernel-modules/nvidia-550.144.03-default'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-6.16.5-1'
make: *** [Makefile:115: modules] Error 2
/
install: cannot stat '/usr/src/kernel-modules/nvidia-550.144.03-default/nvidia*.ko': No such file or directory
/usr/src/kernel-modules/nvidia-550.144.03-default /
rm -f -r conftest
make[1]: Entering directory '/usr/src/linux-6.16.5-1'
make[2]: Entering directory '/usr/src/kernel-modules/nvidia-550.144.03-default'
CLEAN .
CLEAN Module.symvers
make[2]: Leaving directory '/usr/src/kernel-modules/nvidia-550.144.03-default'
make[1]: Leaving directory '/usr/src/linux-6.16.5-1'
/
.+........+.+........+............+.+.....+....+.....+......+..........+...+...........+.+...+.........+++++++++++++++++++++++++++++++++++++++*............+.....+.......+++++++++++++++++++++++++++++++++++++++*.+.....+.+...+...........+.+...+.....+..................+...+.+......+.....+.......+...........................+.....+......+...+...............+.+......+...+......+.....+.+..+.+............+..+.......+...+..+....+.....+......+........................+.+........+.+......+...+............+......+........+............+...+....+..+.+...+...........+.+..+................+......+...+......+...........+...+.+...........+......+....+...+...+..++++++
...+....+......+...+......+..+....+........+++++++++++++++++++++++++++++++++++++++*..+......+...+.+..+...+.+++++++++++++++++++++++++++++++++++++++*............+...+...+..+...............+...+.+...+......+.....+.+........+.......+......+...+..+...+...............+....+....................................+......+......+.....+...+......+....+...........+...+.+..+....+...+.....+...+....+.........+..+..........+...+..+.............+..+...+.......+...+.........+..+....+...........+.+...+.....+......+...+.......+......+.....+...+............+.......+.....+.+.....+.+......+..+......+.+......+..+.+............+...+.....+.+...+.................+.............+............+...+..+...+...+....+.........+..+..........+..............+...+.......+...+..+...+...+..........+.....+........................+...+.+.....+.......+...+............+...+.....+......+....+.....+....+...........+.+.....+....+...........+.+..+.......+...+.....+...+.......+........+...+....+.....+.......+........+......+.+........+.............+.................+.+..+.........................+...+......+......+...+............+...+.....+.+........+...+...+...............+....+..+...+...+...............+....+.........+....................+.+.....+....+.....+....+.................+....+..+...+.........+...+............+...+...+............+....+...+..+.+...+...........+...+.......+...+...............+..+.+...+...........+.+.................+.+........................+..+...+.+......++++++
-----
At main.c:302:
- SSL error:FFFFFFFF80000002:system library::No such file or directory: crypto/bio/bss_file.c:67
- SSL error:10000080:BIO routines::no such file: crypto/bio/bss_file.c:75
sign-file: /lib/modules/6.16.5-1-default/updates/nvidia*.ko
update-alternatives: using /usr/lib/nvidia/alternate-install-present-default to provide /usr/lib/nvidia/alternate-install-present (alternate-install-present) in auto mode
Modprobe blacklist files have been created at /usr/lib/modprobe.d to prevent Nouveau from loading. This can be reverted by deleting /usr/lib/modprobe.d/nvidia-*.conf.
*** Reboot your computer and verify that the NVIDIA graphics driver can be loaded. ***
warning: %triggerin(nvidia-driver-G06-kmp-default-550.144.03_k6.12.9_1-30.2.x86_64) scriptlet failed, exit status 1
Thanks everyone! It’s infuriating that zypper install-new-recommends gave the wrong versions in the first place, but I was able to get the Nvidia drivers working by uninstalling them then manually specifying the packages to reinstall.