FeralInteractive / gamemode

Optimise Linux system performance on demand
BSD 3-Clause "New" or "Revised" License
4.69k stars 185 forks source link

Gamemode not working with Kubuntu 22.10, Lutris 5.12 #408

Closed michieal closed 1 year ago

michieal commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

It errors out; and for Lutris, it doesn't run when you hit play. (tested both cmd line and through lutris.)

To Reproduce Steps used to reproduce the behavior:

  1. Launch gamemod with -t
  2. Run game Overwatch2 (new install) in Lutris.
  3. View output of the logs, or if testing from CLI, the output inside of Konsole.
  4. See error

For Lutris: You get a file not found error when using gamemoderun [wine prefix] [executable]. However, if you remove "gamemoderun" from the settings in Lutris, [wine prefix] [executable] works perfectly.

For CLI: :~$ gamemoded -t : Loading config Loading config file [/usr/share/gamemode/gamemode.ini] : Running tests

ERROR: gamemode_query_status failed: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory! ERROR: is gamemode installed correctly?

Expected behavior A clear and concise description of what you expected to happen.

I expected for my game to launch. And in the CLI, I expected for the tests to pass, and it to say that it's working.

System Info (please complete the following information):

Additional context I tried compiling the git version, and that failed. Then, I installed the version in the package manager (apt) for my distro. That installed properly, but when I tested it, it fails the tests. Lutris doesn't work with the apt version in Kubuntu... (not that I know exactly what I am doing here...)

The package that I installed was gamemode-daemon if that helps any.

michieal commented 1 year ago

Never mind, this is clearly a USER=ID10T error. My bad. I just checked the the packages using apt search gamemode and apparently, the package that the commandline suggested was just the deamon. I installed gamemode and tested, and it appears to work.