External graphics card not working with heroic games launcher

I can't get games to work with heroic games launcher anymore. "Shadow of the Tomb Raider" : No Display Adapter Installed "Death Stranding": An Access Violation has occured "GTA V": No DirectX 10 or 11 adapter or runtime found.
17 Replies
Chaosdave34
Chaosdave34OP8mo ago
nvidia-smi
Fri May 17 14:31:54 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.78 Driver Version: 550.78 CUDA Version: 12.4 |
|-----------------------------------------+------------------------+----------------------+
| 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 GTX 1660 Ti Off | 00000000:01:00.0 Off | N/A |
| N/A 49C P8 1W / 80W | 1MiB / 6144MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| No running processes found |
+-----------------------------------------------------------------------------------------+
Fri May 17 14:31:54 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.78 Driver Version: 550.78 CUDA Version: 12.4 |
|-----------------------------------------+------------------------+----------------------+
| 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 GTX 1660 Ti Off | 00000000:01:00.0 Off | N/A |
| N/A 49C P8 1W / 80W | 1MiB / 6144MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| No running processes found |
+-----------------------------------------------------------------------------------------+
wolfyreload
wolfyreload8mo ago
Could you please run switcherooctl list? I suspect that it's trying to launch with integrated graphics rather than your GPU
Chaosdave34
Chaosdave34OP8mo ago
Device: 0
Name: Advanced Micro Devices, Inc. [AMD®/ATI] Renoir [Radeon RX Vega 6 (Ryzen 4000/5000 Mobile Series)]
Default: yes
Discrete: no
Environment: DRI_PRIME=pci-0000_05_00_0

Device: 1
Name: NVIDIA Corporation TU116M [GeForce GTX 1660 Ti Mobile]
Default: no
Discrete: yes
Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only
Device: 0
Name: Advanced Micro Devices, Inc. [AMD®/ATI] Renoir [Radeon RX Vega 6 (Ryzen 4000/5000 Mobile Series)]
Default: yes
Discrete: no
Environment: DRI_PRIME=pci-0000_05_00_0

Device: 1
Name: NVIDIA Corporation TU116M [GeForce GTX 1660 Ti Mobile]
Default: no
Discrete: yes
Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only
wolfyreload
wolfyreload8mo ago
Can you confirm that this setting is checked under Other settings for your game? If that doesn't work try force these environment variables "GLX_VENDOR_LIBRARY_NAME=nvidia NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only", in advanced settings
Chaosdave34
Chaosdave34OP8mo ago
update: without having changed anything, all of the mentioned games suddenly started to work flawlessly, I really dont know what fixed that update 2: after restarting my laptop, the errors are back again although all games report an error with the gpu or report the gpu as missing, nvidia-smi still listes the games as using the external gpu
wolfyreload
wolfyreload8mo ago
what happens if you export the games to run in steam? same issue in lutris?
Chaosdave34
Chaosdave34OP8mo ago
steam games running on proton work fine, have no game installed in lutris i have figured out the following 1. reboot laptop 2. games from heroic do not work 3. start a steam game 4. games from heroic start to work 5. after reboot: games from heroic broken again ...
wolfyreload
wolfyreload8mo ago
That is very interesting... I wonder if steam is adding some environment variable that persists after steam is closed Let me see if I can reproduce on my side
Chaosdave34
Chaosdave34OP8mo ago
I checked env variables before and after launching a steam game, I could not find any changes or additions
wolfyreload
wolfyreload8mo ago
That's really weird but glad that you found a work around at least
Chaosdave34
Chaosdave34OP8mo ago
Another thing i figured out, launching all 3 games still lists them in nvidia-smi although they report, that a graphics card is missing another update: I just need to have launched steam, not even start a game at it works
wolfyreload
wolfyreload8mo ago
Hmmm, what version of Bazzite are you on? You can run rpm-ostree status to get this information
Chaosdave34
Chaosdave34OP8mo ago
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-asus-nvidia:stable
Digest: sha256:80ed77b653d10f0c34bb05eacc7e3024e3ae44c055cf625175ca700ae14dfa15
Version: 40.20240517.0 (2024-05-17T17:12:00Z)
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-asus-nvidia:stable
Digest: sha256:80ed77b653d10f0c34bb05eacc7e3024e3ae44c055cf625175ca700ae14dfa15
Version: 40.20240517.0 (2024-05-17T17:12:00Z)
wolfyreload
wolfyreload8mo ago
One other thing, are you in X11 or Wayland? Bottom left hand corner of the log in screen. If you on Wayland, try X11 and see if you get the same issues
Chaosdave34
Chaosdave34OP8mo ago
wayland
wolfyreload
wolfyreload8mo ago
Try x11 and see if you have the same issues.
Chaosdave34
Chaosdave34OP8mo ago
it works with x11
Want results from more Discord servers?
Add your server