hyprland-dots/guides/gaming-void.md
2024-03-17 17:29:56 +03:30

2 KiB

Gaming Guide with GameMode and MangoHud on Void Linux

Prerequisites

  • Steam : steam
  • Lutris : lutris
  • Gamehub : gamehub
  • Heroic Games Launcher : "heroic"
  • Emulation apps : rpcs3 - rpcsx2
  • Steam Libs : libgcc-32bit libstdc++-32bit libdrm-32bit libglvnd-32bit mesa-dri-32bit
  • GameMode : gamemode gamescope
  • MangoHud : MangoHud MangoHud-32bit
  • Vulkan Libs : Vulkan-Headers Vulkan-Tools Vulkan-ValidationLayers-32bit mesa-vulkan-radeon mesa-vulkan-radeon-32bit vulkan-loader vulkan-loader-32bit libspa-vulkan libspa-vulkan-32bit amdvlk

Setup Ps4 Controller via Bluetooth

The bluez and bluetoothd service need to setup.

Add current user to input,bluetooth group.

sudo usermod -aG bluetooth,input hesam

Inside this file : /etc/bluetooth/main.conf edit ControllerMode to bredr

Run SteamDeck or SteamOs

STEAM_MULTIPLE_XWAYLANDS=1 gamescope -W 1600 -H 900 -r 75 -e --xwayland-count 2 --adaptive-sync -- steam -gamepadui -steamdeck

Run Steam games with GameMode and MangoHud and GameScope

Modify the game's launch options on Steam to use the created script. Right-click on the game in your Steam Library, choose "Properties," and under the "General" tab, click on "Set Launch Options." Enter the following command:

  • Enable GameMode : gamemoderun %command%

  • Enable MangoHud :

    • env MANGOHUD=1 %command%
    • mangohud %command%
  • Enable GameScope :

    • with fsr : gamescope -e -f -F fsr -- %command%

    • with gamemode and manoghud : gamescope -e -f -F fsr -- gamemoderun mangohud %command%

    • downscale resolution :

      • gamescope -e -f -F fsr -w 1980 -h 1080 -W 1600 -H 900 -- %command%
      • gamescope -e -f -F fsr -w 3440 -h 1440 -W 1600 -H 900 -- %command%
    • upscale resolution : gamescope -e -f -F fsr -w 1280 -h 720 -W 1600 -H 900 -S integer -- %command%

    • fps cap : gamescope -e -f -F fsr -r 30 -- %command%

Disable Fps Cap on Valve Game

gamemoderun mangohud %command% +fps_max 0