mach: add a way for non-game apps to opt-out of linux gamemode support #441

Closed
opened 2022-07-28 11:17:52 +00:00 by emidoots · 0 comments
emidoots commented 2022-07-28 11:17:52 +00:00 (Migrated from github.com)

With #437 just merged, I realize now all Mach apps will enable Linux gamemode if present on the OS. This is not always ideal, as some Mach apps will be desktop apps.

We should make this a linux_gamemode option which defaults to true similar to how we have power_preference for GPUs: github.com/hexops/mach@6eaacde444/src/structs.zig (L46-L47)

With #437 just merged, I realize now all Mach apps will enable Linux gamemode if present on the OS. This is not always ideal, as some Mach apps will be desktop apps. We should make this a `linux_gamemode` option which defaults to `true` similar to how we have `power_preference` for GPUs: https://github.com/hexops/mach/blob/6eaacde4443cb25e17715d15778914ebf33ec066/src/structs.zig#L46-L47
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hexops/mach#441
No description provided.