Open SpoodyTheOne opened 1 year ago
Adding GAMEMODERUNEXEC="env __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only"
to /etc/environment
fixed the issue
Nevermind, adding GAMEMODERUNEXEC="env __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only"
to /etc/environment
breaks picom for some reason
Gamemoderun does not make the program or game use the GPU in certain circumstances. I noticed this when i tried to play Factorio and Team Fortress 2, where mangohud reported 0% gpu utilization. Likewise DaVinci Resolve did not function until i switched from gamemoderun to prime-run. I suspected it might be because these 3 use OpenGL, so i tested glxgears with the command
mangohud gamemoderun glxgears
And sure enough, mangohud reported 0% gpu utilization. Runningmangohud prime-run glxgears
works as expected Running vkcube instead of glxgears shows the GPU being usedTo Reproduce Steps used to reproduce the behavior:
mangohud gamemoderun glxgears
Expected behavior Gamemoderun should provide gpu usage in the same manner as prime-run.
System Info:
Additional context
mangohud gamemoderun glxgears
mangohud prime-run glxgears
mangohud gamemoderun vkcube
Any help would be greatly appreciated