Can't run Dota 2 due to GPU isn't discovered properly(my guess)

Hi, i get an error when try to launch a game named Dota 2 on steam. I added
switcherooctl launch -g 1 also to run it directly on my discrete GPU, but the most strange part, is that is may launch and may not. Basically it can throw me this error endlessly while trying to run it, or start from 1 try. And this behaviour may change if some time passes by, for me it seems like random behaviour. Help me debug the issue please!

inxi -SGaz
System:
  Kernel: 6.17.5-1-default arch: x86_64 bits: 64 compiler: gcc v: 15.2.1
    clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.17.5-1-default
    root=/dev/mapper/system-root splash=silent resume=/dev/system/swap quiet
    security=apparmor mitigations=auto rd.driver.blacklist=nouveau
  Desktop: KDE Plasma v: 6.5.0 tk: Qt v: N/A info: frameworks v: 6.19.0
    wm: kwin_wayland tools: avail: xscreensaver vt: 2 dm: SDDM Distro: openSUSE
    Tumbleweed 20251027
Graphics:
  Device-1: Intel Raptor Lake-S UHD Graphics vendor: Dell driver: i915
    v: kernel alternate: xe arch: Xe process: Intel 10nm built: 2020-21 ports:
    active: DP-1,eDP-1 empty: none bus-ID: 0000:00:02.0 chip-ID: 8086:a78b
    class-ID: 0300
  Device-2: NVIDIA GA107BM / GN20-P0-R-K2 [GeForce RTX 3050 6GB Laptop GPU]
    vendor: Dell driver: nvidia v: 580.95.05 alternate: nouveau,nvidia_drm
    non-free: 550-580.xx+ status: current (as of 2025-08; EOL~2026-12-xx)
    arch: Ampere code: GAxxx process: TSMC n7 (7nm) built: 2020-2023 ports:
    active: HDMI-A-1 empty: none bus-ID: 0000:01:00.0 chip-ID: 10de:25ec
    class-ID: 0300
  Device-3: Realtek Integrated_Webcam_HD driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3:2 chip-ID: 0bda:567e
    class-ID: 0e02 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.8
    compositor: kwin_wayland driver: X: loaded: nvidia
    gpu: i915,nv_platform,nvidia,nvidia-nvswitch d-rect: 5760x1200
    display-ID: 0
  Monitor-1: DP-1 pos: right model: Dell U2412M serial: <filter> built: 2012
    res: mode: 1920x1200 hz: 60 scale: 100% (1) dpi: 94 gamma: 1.2
    size: 518x324mm (20.39x12.76") diag: 611mm (24.1") ratio: 16:10 modes:
    max: 1920x1200 min: 720x400
  Monitor-2: HDMI-A-1 pos: primary,left model: Dell P2419H serial: <filter>
    built: 2020 res: mode: 1920x1080 hz: 60 scale: 100% (1) dpi: 93 gamma: 1.2
    size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9 modes:
    max: 1920x1080 min: 640x480
  Monitor-3: eDP-1 pos: center model: ChiMei InnoLux 0x1522 built: 2020 res:
    mode: 1920x1080 hz: 120 scale: 100% (1) dpi: 142 gamma: 1.2
    size: 344x193mm (13.54x7.6") diag: 394mm (15.5") ratio: 16:9
    modes: 1920x1080
  API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
    drv: nvidia device: 2 drv: iris device: 3 drv: swrast gbm: drv: nvidia
    surfaceless: drv: nvidia wayland: drv: iris x11: drv: iris
    inactive: device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 25.2.5 glx-v: 1.4
    direct-render: yes renderer: Mesa Intel Graphics (RPL-S)
    device-ID: 8086:a78b memory: 30.3 GiB unified: yes display-ID: :0.0
  API: Vulkan v: 1.4.328 layers: 11 device: 0 type: integrated-gpu
    name: Intel Graphics (RPL-S) driver: mesa intel v: 25.2.5
    device-ID: 8086:a78b surfaces: N/A device: 1 type: discrete-gpu
    name: NVIDIA GeForce RTX 3050 6GB Laptop GPU driver: nvidia v: 580.95.05
    device-ID: 10de:25ec surfaces: N/A device: 2 type: discrete-gpu
    name: NVIDIA GeForce RTX 3050 6GB Laptop GPU driver: nvidia v: 580.95.05
    device-ID: 10de:25ec surfaces: N/A device: 3 type: cpu name: llvmpipe
    (LLVM 21.1.3 256 bits) driver: mesa llvmpipe v: 25.2.5 (LLVM 21.1.3)
    device-ID: 10005:0000 surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi
    wl: wayland-info x11: xdpyinfo, xprop, xrandr
switcherooctl
Device: 0
  Name:        Intel Corporation Raptor Lake-S UHD Graphics
  Default:     yes
  Environment: DRI_PRIME=pci-0000_00_02_0

Device: 1
  Name:        NVIDIA Corporation GA107BM / GN20-P0-R-K2 [GeForce RTX 3050 6GB Laptop GPU]
  Default:     no
  Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only
nvidia-smi
Fri Oct 31 12:15:12 2025       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.95.05              Driver Version: 580.95.05      CUDA Version: 13.0     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 3050 ...    On  |   00000000:01:00.0  On |                  N/A |
| N/A   48C    P8              4W /   80W |     118MiB /   6144MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A            2418      G   /usr/bin/kwin_wayland                     1MiB |
|    0   N/A  N/A           10530      G   ...share/Steam/ubuntu12_32/steam          2MiB |
|    0   N/A  N/A           10710      G   ./steamwebhelper                         33MiB |
|    0   N/A  N/A           10742    C+G   ...am/ubuntu12_64/steamwebhelper          5MiB |
+-----------------------------------------------------------------------------------------+
zypper se -si nvidia
Loading repository data...
Reading installed packages...

S  | Name                                      | Type    | Version                 | Arch   | Repository
---+-------------------------------------------+---------+-------------------------+--------+-----------
i  | kernel-firmware-nvidia                    | package | 20251018-1.1            | noarch | repo-oss
i  | libnvidia-egl-gbm1                        | package | 1.1.2-7.15              | x86_64 | nvidia
i  | libnvidia-egl-gbm1-32bit                  | package | 1.1.2-7.10              | x86_64 | nvidia
i  | libnvidia-egl-wayland1                    | package | 1.1.20-52.1             | x86_64 | nvidia
i  | libnvidia-egl-wayland1-32bit              | package | 1.1.20-52.1             | x86_64 | nvidia
i  | libnvidia-egl-x111                        | package | 1.0.3-21.2              | x86_64 | nvidia
i  | libnvidia-egl-x111-32bit                  | package | 1.0.3-21.2              | x86_64 | nvidia
i  | libnvidia-gpucomp                         | package | 580.95.05-41.1          | x86_64 | nvidia
i  | libnvidia-gpucomp-32bit                   | package | 580.95.05-41.1          | x86_64 | nvidia
i+ | nvidia-common-G06                         | package | 580.95.05-41.1          | x86_64 | nvidia
i+ | nvidia-compute-G06                        | package | 580.95.05-41.1          | x86_64 | nvidia
i+ | nvidia-compute-G06-32bit                  | package | 580.95.05-41.1          | x86_64 | nvidia
i+ | nvidia-compute-utils-G06                  | package | 580.95.05-41.1          | x86_64 | nvidia
i  | nvidia-gl-G06                             | package | 580.95.05-41.1          | x86_64 | nvidia
i  | nvidia-gl-G06-32bit                       | package | 580.95.05-41.1          | x86_64 | nvidia
i  | nvidia-modprobe                           | package | 580.95.05-19.1          | x86_64 | nvidia
i+ | nvidia-open-driver-G06-signed-kmp-default | package | 580.95.05_k6.17.3_1-3.2 | x86_64 | repo-oss
i  | nvidia-persistenced                       | package | 580.95.05-2.1           | x86_64 | nvidia
i+ | nvidia-userspace-meta-G06                 | package | 580.95.05-17.1          | noarch | nvidia
i+ | nvidia-userspace-meta-G06                 | package | 580.95.05-17.1          | noarch | nvidia
i  | nvidia-video-G06                          | package | 580.95.05-41.1          | x86_64 | nvidia
i  | nvidia-video-G06-32bit                    | package | 580.95.05-41.1          | x86_64 | nvidia

Here is error message:

@emberman Hi set the vulkan device via adding a /etc/environment file, in that file add in your case MESA_VK_DEVICE_SELECT="10de:25ec" save, reboot and check inxi -GSaz and should see the first Vulkan device as the Nvidia GPU.

Hi, thanks for suggestion. I did as you said, but problem still persists. I suppose you meant that this will make my Nvidia GPU a Device-1, correct?

vladik@localhost:~> inxi -GSaz
System:
  Kernel: 6.17.5-1-default arch: x86_64 bits: 64 compiler: gcc v: 15.2.1
    clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.17.5-1-default
    root=/dev/mapper/system-root splash=silent resume=/dev/system/swap quiet
    security=apparmor mitigations=auto rd.driver.blacklist=nouveau
  Desktop: KDE Plasma v: 6.5.0 tk: Qt v: N/A info: frameworks v: 6.19.0
    wm: kwin_wayland tools: avail: xscreensaver vt: 2 dm: SDDM Distro: openSUSE
    Tumbleweed 20251027
Graphics:
  Device-1: Intel Raptor Lake-S UHD Graphics vendor: Dell driver: i915
    v: kernel alternate: xe arch: Xe process: Intel 10nm built: 2020-21 ports:
    active: DP-1,eDP-1 empty: none bus-ID: 0000:00:02.0 chip-ID: 8086:a78b
    class-ID: 0300
  Device-2: NVIDIA GA107BM / GN20-P0-R-K2 [GeForce RTX 3050 6GB Laptop GPU]
    vendor: Dell driver: nvidia v: 580.95.05 alternate: nouveau,nvidia_drm
    non-free: 550-580.xx+ status: current (as of 2025-08; EOL~2026-12-xx)
    arch: Ampere code: GAxxx process: TSMC n7 (7nm) built: 2020-2023 ports:
    active: HDMI-A-1 empty: none bus-ID: 0000:01:00.0 chip-ID: 10de:25ec
    class-ID: 0300
  Device-3: Realtek Integrated_Webcam_HD driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3:2 chip-ID: 0bda:567e
    class-ID: 0e02 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.8
    compositor: kwin_wayland driver: X: loaded: nvidia
    gpu: i915,nv_platform,nvidia,nvidia-nvswitch d-rect: 4864x1080
    display-ID: 0
  Monitor-1: DP-1 pos: right res: mode: 1024x768 hz: 60 scale: 100% (1)
    size: N/A modes: max: 640x480 min: 848x480
  Monitor-2: HDMI-A-1 pos: primary,left model: Dell P2419H serial: <filter>
    built: 2020 res: mode: 1920x1080 hz: 60 scale: 100% (1) dpi: 93 gamma: 1.2
    size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9 modes:
    max: 1920x1080 min: 640x480
  Monitor-3: eDP-1 pos: center model: ChiMei InnoLux 0x1522 built: 2020 res:
    mode: 1920x1080 hz: 120 scale: 100% (1) dpi: 142 gamma: 1.2
    size: 344x193mm (13.54x7.6") diag: 394mm (15.5") ratio: 16:9
    modes: 1920x1080
  API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
    drv: nvidia device: 2 drv: iris device: 3 drv: swrast gbm: drv: nvidia
    surfaceless: drv: nvidia wayland: drv: iris x11: drv: iris
    inactive: device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 25.2.5 glx-v: 1.4
    direct-render: yes renderer: Mesa Intel Graphics (RPL-S)
    device-ID: 8086:a78b memory: 30.3 GiB unified: yes display-ID: :0.0
  API: Vulkan v: 1.4.328 layers: 11 device: 0 type: discrete-gpu name: NVIDIA
    GeForce RTX 3050 6GB Laptop GPU driver: nvidia v: 580.95.05
    device-ID: 10de:25ec surfaces: N/A device: 1 type: discrete-gpu
    name: NVIDIA GeForce RTX 3050 6GB Laptop GPU driver: nvidia v: 580.95.05
    device-ID: 10de:25ec surfaces: N/A device: 2 type: integrated-gpu
    name: Intel Graphics (RPL-S) driver: mesa intel v: 25.2.5
    device-ID: 8086:a78b surfaces: N/A device: 3 type: cpu name: llvmpipe
    (LLVM 21.1.3 256 bits) driver: mesa llvmpipe v: 25.2.5 (LLVM 21.1.3)
    device-ID: 10005:0000 surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi
    wl: wayland-info x11: xdpyinfo, xprop, xrandr

Also i found strange that i have 2 GPUs in this output

vladik@localhost:~> MESA_VK_DEVICE_SELECT=list vulkaninfo
WARNING: [Loader Message] Code 0 : Path to given binary /usr/lib64/libGLX_nvidia.so.580.95.05 was found to differ from OS loaded path /lib64/libGLX_nvidia.so.0
selectable devices:
  GPU 0: 10de:25ec "NVIDIA GeForce RTX 3050 6GB Laptop GPU" discrete GPU 0000:01:00.0
  GPU 1: 10de:25ec "NVIDIA GeForce RTX 3050 6GB Laptop GPU" discrete GPU 0000:01:00.0
  GPU 2: 8086:a78b "Intel(R) Graphics (RPL-S)" integrated GPU 0000:00:02.0
  GPU 3: 10005:0 "llvmpipe (LLVM 21.1.3, 256 bits)" CPU 0000:00:00.0

Hi
Yes, to force it to be the default device. Looks like it didn’t make a difference… You could try removing libvulkan_intel and see if that makes a difference.

I don’t use steam or the Nvidia rpms on my Tumbleweed setup, so not really sure…

I think i found solution for my problem. I should run steam with these environment variables: DRI_PRIME=10de:25ec DRI_PRIME_DEBUG=1 steam. Then steam properly selects my gpu, without trying to do this automatically

1 Like

Haha, as if it would fix my problem. Today after PC restart it don’t work anymore. SO it was that “random” working session. Will investigate further.

@emberman kernel updated as I see you were on 6.17.5 earlier? Nvidia driver updated to 580.105.08…