Skip to content

Host/Linux: Implement GameMode#14246

Open
kamfretoz wants to merge 3 commits intoPCSX2:masterfrom
kamfretoz:gamemode-test
Open

Host/Linux: Implement GameMode#14246
kamfretoz wants to merge 3 commits intoPCSX2:masterfrom
kamfretoz:gamemode-test

Conversation

@kamfretoz
Copy link
Copy Markdown
Contributor

@kamfretoz kamfretoz commented Apr 3, 2026

Description of Changes

This PR implements support for Feral Interactive's GameMode. (Only for Linux)

GameMode is a daemon/lib combo for Linux that allows games to request a set of optimisations be temporarily applied to the host OS and/or a game process.

GameMode was designed primarily as a stop-gap solution to problems with the Intel and AMD CPU powersave or ondemand governors, but is now host to a range of optimisation features and configurations.

For more information, check out the Arch Linux Wiki.

You can find the settings on Settings -> Emulation -> Enable Feral GameMode

Note: You will need to have the actual gamemode's daemon itself installed on your system, otherwise PCSX2 will not do anything on its own.

PCSX2 will also detects if you have the daemon available and will automatically hide the setting if its not available on the running system.

NOTE 2: You have to enable advanced settings as well for the setting to show up. If this is too restrictive, further discussion are welcome.

2026-04-03.20-18-37.mp4
Screenshot_20260403_204418 Screenshot_20260403_205134

Rationale behind Changes

Hopefully better performance for those who needs it.

Closes #13237

Suggested Testing Steps

-1. Use Linux
0. Make sure GameMode is installed on your system

  1. Open PCSX2 and open the log window, this is to check for gamemode related logs
  2. Run any game (or the bios)
  3. Check the logs and see if gamemode are properly kickstarted (search for "GameMode" string)

Also make sure nothing is broken on Windows and macOS side.

Did you use AI to help find, test, or implement this issue or feature?

Nop

Copy link
Copy Markdown
Member

@chaoticgd chaoticgd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found some problems, haven't benchmarked it.

Copy link
Copy Markdown
Member

@chaoticgd chaoticgd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should add the new game mode setting to the FSUI settings page too.

@kamfretoz
Copy link
Copy Markdown
Contributor Author

You should add the new game mode setting to the FSUI settings page too.

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request]: Linux GameMode

3 participants