Extreme TLDR: How can I make the Steam Launcher run on integrated graphics if I have “export KWIN_DRM_DEVICES=/dev/dri/card1:/dev/dri/card0” in my /etc/profile/?
Since switching to Linux on my gaming laptop I have had non-stop issues getting games running the way they should, but to make a long story short:
-
I first started on Wayland and couldn’t find a way to make games run with dedicated graphics, so I switched to X11
-
On X11 I used Optimus Manager which worked, but then I tried to get VSync
-
I turned on Force Full Composition Pipeline to get VSync which for some reason gave unbearable input lag in games, turning it off made desktop stuttery and after a while of trying other things I switched back to Wayland when I found nvidia-prime
-
Once back on Wayland, nvidia-prime environment variables worked partially, the games would switch to using my dedicated GPU but for some reason whenever a game was in fullscreen it the VSync changed to half my refresh rate and in some games there was extreme input lag
-
After that I put “export KWIN_DRM_DEVICES=/dev/dri/card1:/dev/dri/card0” in my /etc/profile/ after reading online that this would make the entire session run on NVIDIA, which it did and games like Minecraft now ran without any of those half-refresh rate problems and with no input-lag.
-
However now whenever I open a Steam game it crashes shortly afterward, I read somewhere else online that this behavior happens when Steam itself is being run off the dedicated GPU instead of the integrated graphics and have been trying to make just Steam run off the iGPU since
If anybody could help me find a potential solution to these problems (preferably a way to make the Steam Runtime just open in iGPU mode) it would be much appreciated, since then I would have no more problems running EndeavourOS
In-case it’s relevant my laptop specs are:
CPU: i7-7700HQ
iGPU: Intel HD Graphics 630
dGPU: NVIDIA GeForce GTX 1050 Ti Mobile
Thank you!!