ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.25k stars 175 forks source link

How to use intel gpu for the client. #11478

Open alexzk1 opened 21 hours ago

alexzk1 commented 21 hours ago

Your system information

Steam Beta Branch: Steam Beta Update Steam Version: 1731716808 Steam Client Build Date: Sat, Nov 16 00:15 UTC -08:00 Steam Web Build Date: Sat, Nov 16 02:11 UTC -08:00 Steam API Version: SteamClient021 Arch linux GPU: Intel + NVIDIA

Not so long ago steam GUI client started to use NVIDIA gpu (which I see by hardware led ON). GPU intensive games start to lag 10-20 mins heavy. Before that I had ALL GUI apps running on Intel and games only were using nvidia prime. So question is how to revert this back and enforce this fancy store to use Intel GPU ? I tried things like

PrefersNonDefaultGPU=false
X-KDE-RunOnDiscreteGpu=false

And it didn't work. P.S. would be great if steam completely unloads it's GUI when game is started as I could do 2 years ago.

alexzk1 commented 20 hours ago

This script releases nvidia GPU (led is immediately off):

NAME=steamwebhelper
HELPER=/home/alex/.local/share/Steam/ubuntu12_64/$NAME

chmod -x $HELPER
killall -9 $NAME

Reverse script turns it back on. So it seems webhelper enumerates GPUs and keeps it ON. This is bad. Because it is extra electricity for nothing, if I forgot to turn off steam before sleep, it will be full game price during the 1 month.

alexzk1 commented 19 hours ago

Probably we need more tests, but I just run "TESO" for a hour, usually it was stuttering in 20-30 mins last couple weeks. Once I killed steam by script above, all is perfect as it was before. Please, revise how you use GPUs. It is critical on laptops and/or on GPUs with low memory like 4Gbs.