I’m not able to use switcherooctl to choose my GPU in Steam (Flatpak):
/bin/sh: line 1: switcherooctl: command not found
How am I supposed to pick GPUs on the Flatpak version of steam?
I’m not able to use switcherooctl to choose my GPU in Steam (Flatpak):
/bin/sh: line 1: switcherooctl: command not found
How am I supposed to pick GPUs on the Flatpak version of steam?
It is the other way around, you need to call Steam via switcherooctl:
switcherooctl launch -g 1 "steam steam://rungameid/xxxxxxxx"
Adapt the command with GPU ID and Game ID.
I can’t get that command to work with the flatpak version, but if I do:
switcherooctl launch -g 0 "flatpak run com.valvesoftware.Steam -applaunch xxxxxxxx"
I can get the game to launch, but it seems to use the NVidia gpu reguardless of if I do g 0 or g 1.
@aspiringnobody what does the output from switcherooctl list
show?
Device: 0
Name: Advanced Micro Devices, Inc. [AMD®/ATI] Phoenix3
Default: yes
Environment: DRI_PRIME=pci-0000_06_00_0
Device: 1
Name: NVIDIA Corporation AD107M [GeForce RTX 4060 Max-Q / Mobile]
Default: no
Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only
@aspiringnobody so you want to start steam with the AMD gpu? If so use Flatseal to set the steam environment variable DRI_PRIME=pci-0000_06_00_0
I tried this but it still seemed to use the NV gpu. Do I need to restart the system?