CachyOS / CachyOS-Settings

Settings used for CachyOS
GNU General Public License v3.0
98 stars 23 forks source link

Add helper script to set powerprofiles to performance #69

Closed ptr1337 closed 4 months ago

ptr1337 commented 4 months ago

CachyOS does not use Gamemode as default, which makes it a bit harder to switch to the performance governor.

Lets provide a script, which simply utilizes power-profiles-daemon to switch to the performance mode.

User can add to the Game Launch Options:

game-performance %command%

todo:

Make it maybe reset, when game does stop

vnepogodin commented 4 months ago

User can add to the Game Launch Options: game-performance %command%

For that to work you need to run something like here

vnepogodin commented 4 months ago

Also the todo is essential imho

vnepogodin commented 4 months ago

User can add to the Game Launch Options: game-performance %command%

For that to work you need to run something like here

like that:

#!/bin/bash
# Helper script to enable the performance gov with proton or others

# set perf
powerprofilesctl set performance

# launch what was passed as arguments
exec "$@"