Issues with NVIDIA GPU on openSUSE - Not Being Utilized

Hi everyone,

I’m having trouble getting my NVIDIA GPU to work on my openSUSE system. Although I followed the openSUSE documentation to install the GPU drivers, it seems that my desktop isn’t actually using the NVIDIA GPU.

Here are some outputs from my terminal:

Output of lspci | grep VGA:

00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] (rev a1)

Output of inxi -G:
Graphics:
Device-1: Intel CometLake-H GT2 [UHD Graphics] driver: i915 v: kernel
Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] driver: N/A
Device-3: Sonix USB2.0 HD UVC WebCam driver: uvcvideo type: USB
Display: x11 server: X.Org v: 21.1.12 with: Xwayland v: 24.1.1 driver: X:
loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915
resolution: 1920x1080~144Hz
API: EGL v: 1.5 drivers: iris,swrast platforms: x11,surfaceless,device
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.1.3
renderer: Mesa Intel UHD Graphics (CML GT2)
API: Vulkan v: 1.3.290 drivers: N/A surfaces: xcb,xlib

When I try to use gpustat, I get the following error:

gpustat
Error on querying NVIDIA devices. Use --debug flag to see more details.
Driver Not Loaded

It seems that the NVIDIA driver isn’t loaded, but I’m not sure how to fix this issue. I would greatly appreciate any guidance or suggestions on how to get my system to use the NVIDIA GPU.

Thank you!

@hawk Hi, this looks like a laptop setup, so need the following output inxi -GSaz

inxi -GSaz
System:
Kernel: 6.10.3-1-default arch: x86_64 bits: 64 compiler: gcc v: 13.3.0
clocksource: tsc avail: acpi_pm
parameters: BOOT_IMAGE=/boot/vmlinuz-6.10.3-1-default
root=UUID=bb372f0e-0c7c-4f86-9783-5f263af2e908 splash=silent
resume=/dev/disk/by-uuid/BE5B-C973 quiet security=apparmor
mitigations=auto
Desktop: KDE Plasma v: 6.1.3 tk: Qt v: N/A info: frameworks v: 6.4.0
wm: kwin_x11 tools: avail: i3lock,xscreensaver vt: 2 dm: SDDM
Distro: openSUSE Tumbleweed 20240807
Graphics:
Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: ASUSTeK driver: i915
v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
active: eDP-1 empty: none bus-ID: 00:02.0 chip-ID: 8086:9bc4
class-ID: 0300
Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: ASUSTeK
driver: N/A alternate: nouveau, nvidia_drm, nvidia non-free: 550.xx+
status: current (as of 2024-06; EOL~2026-12-xx) arch: Turing code: TUxxx
process: TSMC 12nm FF built: 2018-2022 pcie: gen: 3 speed: 8 GT/s
lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:1f99 class-ID: 0300
Device-3: Sonix USB2.0 HD UVC WebCam driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-7:4 chip-ID: 322e:202c
class-ID: 0e02
Display: x11 server: X.Org v: 21.1.12 with: Xwayland v: 24.1.1
compositor: kwin_x11 driver: X: loaded: modesetting unloaded: fbdev,vesa
alternate: intel dri: iris gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: eDP-1 model: Najing CEC Panda 0x004d built: 2019 res: 1920x1080
hz: 144 dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64")
diag: 395mm (15.5") ratio: 16:9 modes: 1920x1080
API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
device: 1 drv: swrast surfaceless: drv: iris x11: drv: iris
inactive: gbm,wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.1.3 glx-v: 1.4
direct-render: yes renderer: Mesa Intel UHD Graphics (CML GT2)
device-ID: 8086:9bc4 memory: 3.71 GiB unified: yes
API: Vulkan v: 1.3.290 layers: 2 device: 0 type: integrated-gpu name: Intel
UHD Graphics (CML GT2) driver: N/A device-ID: 8086:9bc4 surfaces: xcb,xlib

@hawk So, my suggestion is to look at using Prime Render Offload with the Nvidia GPU along with switcherooctl. Or are you wanting to attach a monitor as well?

Can you also confirm if the output from /sbin/modprobe -c | grep "blacklist nouveau" shows blacklist nouveau

I suspect that suse-prime is also installed currently on your system?

On this setup you also need to add the kernel command line options fbdev=1 nosimplefb=1 via YaST Bootloader and reboot.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.