Steam for Linux

Steam for Linux

Doom (2016) just wont use the dGPU instead of iGPU.
These are my launch options:
gamemoderun PROTON_ENABLE_NVAPI=1 PROTON_HIDE_NVIDIA_GPU=0 __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only mangohud MANGOHUD_DLSYM=1 %command% +com_skipIntroVideo 1

I am on a laptop with integrated and dedicated gpu, despite all of my efforts, the game refuses to use the dGPU.

Help would be appreciated, as I am already borderline insane because the nvidia drivers decided to shoot themselves earlier breaking the whole system and that shenanigan took up half of my day but I finally got it fixed by updating to kernel 6.15.7 and reinstalling the drivers and akmod-nvidia and a bunch of other kernel stuff, so THANKS NVIDIA! NEXT TIME I BUY A PC, I AM GOING TEAM RED :steamsalty:
< >
Showing 1-7 of 7 comments
What do you see in the console when launching vkcube with those PRIME variables? Is the system able to actually use the dGPU?
Ice9 25 Jul @ 3:04pm 
Originally posted by thetargos:
What do you see in the console when launching vkcube with those PRIME variables? Is the system able to actually use the dGPU?
Yup, vkcube is able to use the discrete GPU just fine. Even system monitor shows dGPU being utilized properly.
Interesting... I deduce you have Fedora or a Fedora based distro, I run Fedora WS. I am in the process of installing the game on my laptop (Zephyrus G14 2021 with a 3060m).

I can usually launch games without any parameters and they use the dGPU from Steam. Will report back.
Last edited by thetargos; 25 Jul @ 3:54pm
Maybe throw a DRI_PRIME=1 in there for good measure? That might be AMD-only (and also shouldn't be necessary with Vulkan), but it doesn't hurt to try.
Just tested, it indeed uses the dGPU, but I see texture corruption in Vulkan, but not in OpenGL:

OpengGL
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3534634418

Vulkan
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3534635141

BTW: Indeed, I did not have to set any launch parameters for the computer to use the dGPU. The game does have much better performance in Vulkan Vs OpenGL (60 Vs 201 FPS in that screenshot, but probably due to the texture corruption issue)
Last edited by thetargos; 25 Jul @ 3:55pm
Yoth 25 Jul @ 6:33pm 
Did you try deleting the shader cache? Might fix your corruption.
Last edited by Yoth; 25 Jul @ 6:34pm
thetargos 25 Jul @ 10:03pm 
Originally posted by Yoth:
Did you try deleting the shader cache? Might fix your corruption.
Was a fresh install
< >
Showing 1-7 of 7 comments
Per page: 1530 50