gamemode icon indicating copy to clipboard operation
gamemode copied to clipboard

GameMode does not work with Non-Steam games

Open TheDaftRick opened this issue 7 years ago • 6 comments

Describe the bug GameMode does not work when you add a Non-Steam game to Steam. %command% doesn't work for Non-Steam games

Workarounds attempted, but all failed Steam Launch Options: LD_PRELOAD="$LD_PRELOAD:/usr/$LIB/libgamemodeauto.so.0"

Steam Target set to: gamemoderun ./path/game /usr/bin/gamemoderun ./path/game gamemodrrun /path/game /usr/bin/gamemoderun /path/game

Steam Target set to: gamemoderun Steam Launch Options set to: /path/game

System Info (please complete the following information):

  • OS and version: SolusOS kernel-4.20.16
  • GameMode Version: git

TheDaftRick avatar Mar 17 '19 22:03 TheDaftRick

Cheers, we talked about this on discord. Should be something we can do to make it easier

mdiluz avatar Mar 17 '19 22:03 mdiluz

Cheers, we talked about this on discord. Should be something we can do to make it easier

hmmm i don't see any discord link maybe it's a private server?

ghost avatar Jun 28 '19 17:06 ghost

I forgot to update here, but I did have a look into this a while back and couldn't see an elegant way to handle the issue in gamemode itself. I'm going to suggest it'd be best to either work around the issue by adding a wrapper script as the external game, or to keep requesting Valve make the change needed.

The other alternative is to use the supervisor code and use:

-r[PID], --request=[PID] Toggle gamemode for process

mdiluz avatar Aug 23 '19 11:08 mdiluz

The other alternative is to use the supervisor code and use:

-r[PID], --request=[PID] Toggle gamemode for process

Thanks for trying. For the supervisor code, since it's run after the game has started, does it miss out on any features?

TheDaftRick avatar Aug 24 '19 08:08 TheDaftRick

If it does, I would consider that a bug at the moment - the idea is that you can reapply the optimisations at run time (say, when minimising, pausing, etc.). The current tests suit does also test for that.

mdiluz avatar Aug 24 '19 08:08 mdiluz

Thanks!

TheDaftRick avatar Aug 24 '19 09:08 TheDaftRick