Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use gamemode with this? #81

Closed
XxRiKxX opened this issue Apr 2, 2024 · 2 comments
Closed

how to use gamemode with this? #81

XxRiKxX opened this issue Apr 2, 2024 · 2 comments

Comments

@XxRiKxX
Copy link

XxRiKxX commented Apr 2, 2024

I tried with gamemoderun at the start of the command didnt worked. also tried it in between protonpath and the umu-run didnt worked either

@R1kaB3rN
Copy link
Member

R1kaB3rN commented Apr 3, 2024

Personally, I do not use gamemode. However, when you mean it didn't work, are you referring to this error:

ERROR: ld.so: object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

And assuming your command is in a similar form as:

WINEPREFIX= GAMEID= PROTONPATH= gamemoderun umu-run ~/foo.exe

If so, there's currently an open issue for this upstream.

Also, at a glance, it's not even clear to me whether it's even compatibility with Proton or has even been applied correctly. While I can observe it's being applied to the launcher itself, game mode's shared library will not be brought into the runtime platform so I'm uncertain that it will even be applied to wine or the launched game.

@R1kaB3rN
Copy link
Member

R1kaB3rN commented Apr 5, 2024

Closing as gamemode should be working correctly as long as you prepend gamemoderun before umu-run. You can verify this yourself with the command gamemoded -s while the launched game is running.

I have also confirmed that the relevant shared object libraries are correctly pulled within the runtime platform. For more details about this issue, please see FeralInteractive/gamemode#345 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants