yuri Jul 11, 2024 @ 2:32am
Steam has issues launching with an AMD discrete graphics card on Ubuntu 24.04
Steam has issues launching with an AMD discrete graphics card on Ubuntu 24.04. :( The problem is so significant that even the laptop manufacturer has included a workaround in the official instructions. But Steam just needs to be fixed. https://github.com/FrameworkComputer/dri_prime1-detection/blob/main/README.md#steam-game-setup-instructions-for-ubuntu-22043-lts-long-term-support---one-nvme-drive

It would be great if Steam could automatically detect the dGPU and launch correctly with it (and, just in case, allow users to select which GPU to use in the settings, without requiring command line parameters for each game).

Workaround: To fix this, right-click on the Steam icon and select "Launch using integrated graphics card". Then, go to the launcher settings of the game you want to launch ('gear' (manage) -> properties in Steam) and add the following to the game's launch options: DRI_PRIME=1 %command%. After this, the game will launch using the AMD discrete graphics card correctly, even though Steam is running with integrated graphics. Hopefully, Valve will fix this problem, as it is currently reproducible even on the beta version of Steam with Ubuntu 24.04.
< >
Showing 1-1 of 1 comments
Omega Jul 11, 2024 @ 2:44am 
It is not really a Steam issue, it is just caused by I-GPUs being a bit iffy under Linux (Not that the Windows experience is much better).

For AMD and Intel hardware;

- Make sure vulkan-mesa-layers is installed. If it is you can use DRI_PRIME to select a specific card to run you application on.
- For the GUI to expose the "launch with X GPU" option switcheroo-control will have to installed and enabled.

DRI_PRIME can be set to either the Nth of the GPU, a device ID on the PCI-e bus or a vendor+device ID.

You can also use DRI_PRIME_DEBUG to figure out for which card it opted and why.
< >
Showing 1-1 of 1 comments
Per page: 1530 50

Date Posted: Jul 11, 2024 @ 2:32am
Posts: 1