Skip to content

Support for Feral GameMode #622

Open

Description

@kakra

I'd like to see Feral GameMode automatically enabled for Proton-driven games if it's installed. Would it be easy to do?

It should be as simple as adjusting LD_PRELOAD if the library is somewhere in the search path:
https://github.com/FeralInteractive/gamemode/blob/master/README.md

Activity

  1. omicron-b commented on Aug 26, 2018

    @omicron-b

    Just curious: why not for all games, implemented in Steam for Linux client? I can guess not everyone wants higher power consumption on their laptop in any Steam game if somebody installed it just for one or two games, but Proton-driven game could be Quake or Ultimate Doom, not sure you are going to benefit from performance mode in those.

  2. dragonfly-lover commented on Aug 26, 2018

    @dragonfly-lover

    There should be a flag in per-game setting to set/unset game mode (both native and Proton) like there is for steam overlay. Some games like mekazoo, yooka & laylee (native) or Pes 2018 (Proton) suffer of microstuttering

  3. kakra commented on Aug 26, 2018

    @kakra
    ContributorAuthor

    The newer Feral Linux titles have this mode included. It will be used if the daemon is running, otherwise not. So you decide whether you want it by either installing and running the daemon or not. The daemon can have titles blacklisted that are known to not work with it.

    For titles that already include it natively, there's no point in having a per-game setting in Steam. OTOH, Proton titles probably cannot include it for technical reasons, so it makes sense to preload the lib from Steam by default.

    A per-game setting would only make sense if Steam could somehow interface with the daemon to turn it on or off during starting the game, at least when titles continue/adapt to load the gamemode library on their own.

    Proton-driven titles could need another tweak which is not yet in Proton: The wineserver process should run with high realtime priority. There's a staging patch which includes it and which I put into my own wine build. But I'm not sure which titles profit from Proton's esync, so I had no chance to check how this staging patch interacts with esync. Maybe with esync it isn't needed at all.

  4. kakra commented on Aug 26, 2018

    @kakra
    ContributorAuthor
  5. regulator-g commented on Jul 21, 2019

    @regulator-g

    Hi guys
    If the user has gamemode installed, enable it for all titles and maybe add a checkbox with the option to disable it under the games settings

    I have a feeling valve is working on their own version of gamemode..

  6. jqadev commented on Oct 19, 2021

    @jqadev

    @ivyl @smcv @kisak-valve @kakra do you know if GameMode will be used by default on Steam Deck to run games?

    CC @LiamDawe

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

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