Skip to content

Make game-performance wrapper script also consider tuned-ppd #127

@Laertes87

Description

@Laertes87

Currently the script only consideres powerprofilesctl to switch power profiles. If you instead use tuned-ppd, the script actually fails without starting the game/command it is supposed to start.

So it would be nice if the script either doesn't fail and instead just runs the command without switching the power profile, or (which would be even nicer) the script automatically consideres tuned-ppd (via tuned-adm) to switch to the power profile "throughput-performance".

Background for this:
When using CachyOS-Settings with a distribution like Fedora, the script runs into a "powerprofilesctl not found" error. This is due to Fedora using tuned-ppd over power-profiles-daemon by default. So in the worst case using this wrapper script should simply have no effect in my opinion.

Is this something worth considering?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions