Doesn't actually use secondary GPU by default when PrefersNonDefaultGPU=true
Hi! I've Steam installed from Flathub, and it has PrefersNonDefaultGPU=true
set in its .desktop file. But when I start it by simply clicking on the application icon — it runs on the default integrated GPU. There is an option named "Launch using Integrated Graphics Card" in the right-click menu, which actually starts it on a discrete GPU. At the same time, other applications run on iGPU by default and dGPU if I click "Launch using Discrete Graphics Card".
Output of switcherooctl
:
Device: 0
Name: Intel® HD Graphics 520
Default: yes
Environment: DRI_PRIME=pci-0000_00_02_0
Device: 1
Name: NVIDIA Corporation GM108M [GeForce 940MX]
Default: no
Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1