doc: gaming on void command

This commit is contained in:
hesam-init 2024-03-28 17:10:27 +03:30
parent b753acc669
commit 76ad99f8d5

View file

@ -1,4 +1,4 @@
# Gaming Guide with GameMode and MangoHud on Void Linux
# Gaming guide with GameMode and MangoHud on void linux
## Prerequisites
@ -12,7 +12,7 @@
- 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
## Setup Ps4 controller via bluetooth
The bluez and bluetoothd service need to setup.
@ -25,12 +25,7 @@ sudo usermod -aG bluetooth,input hesam
Inside this file : /etc/bluetooth/main.conf
edit ControllerMode to bredr
## Run SteamDeck or SteamOs
```bash
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
## 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:
@ -38,12 +33,12 @@ Modify the game's launch options on Steam to use the created script. Right-click
```gamemoderun %command%```
- Enable MangoHud :
- ```env MANGOHUD=1 %command%```
- ```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%```
- with gamemode and manoghud : ```MANGOHUD=1 gamescope -e -f -F fsr -- gamemoderun %command%```
- downscale resolution :
- ```gamescope -e -f -F fsr -w 1980 -h 1080 -W 1600 -H 900 -- %command%```
@ -53,8 +48,8 @@ Modify the game's launch options on Steam to use the created script. Right-click
- fps cap : ```gamescope -e -f -F fsr -r 30 -- %command%```
## Disable Fps Cap on Valve Game
## Example command
```bash
gamemoderun mangohud %command% +fps_max 0
MANGOHUD=1 gamescope -s 0.6 -e -f -F fsr -r 75 -- gamemoderun %command%
```