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
nvidia-smi
Could you please run
switcherooctl list
? I suspect that it's trying to launch with integrated graphics rather than your GPUCan 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
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
what happens if you export the games to run in steam? same issue in lutris?
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
...
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
I checked env variables before and after launching a steam game, I could not find any changes or additions
That's really weird but glad that you found a work around at least
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
Hmmm, what version of Bazzite are you on? You can run
rpm-ostree status
to get this informationOne 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
wayland
Try x11 and see if you have the same issues.
it works with x11