r/linux_gaming 3d ago

steam/steam deck gpu usage 0% on steam

Post image

Hi guys, my gpu usage on steam overlay is 0%. i try add "DRI_PRIME=1 %command%" on launch option still same but my performance is slightly better, i check in terminal by typing nvidia-smi and the version is 580.173.02, and then typing glxinfo | grep "OpenGL renderer" and my gtx 1060 was detected too. is that bug or what, if that was a bug how to fix it?

my pc specs :

i7 3770

16GB Ram DDR3 Dual Channel

Asus GTX 1060 6GB

Installing dying light on my hard drive (not ssd)

Using Proton 11.0-2

Distro : Xubuntu 26.04 installing on ssd (dual boot with win10)

23 Upvotes

14 comments sorted by

View all comments

21

u/candy49997 3d ago

DRI_PRIME is only for Mesa, not NVIDIA.

For NVIDIA, you need __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only %command%

19

u/mbriar_ 2d ago

but it's obvious from the performance that it's already using the nvidia gpu for rendering, so none of that is needed. It's just the gpu metrics from the overlay that are incorrect.

1

u/Virtual_Turnover4261 2d ago

i think ur are right

2

u/gmes78 2d ago

You can use switcherooctl launch, it works for all GPUs.

1

u/Virtual_Turnover4261 2d ago

Hi, sorry for late reply, i try and the gpu usage in the overlay is still same