FeralInteractive / gamemode

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

Another "object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file)" error #478

Open miranda opened 7 months ago

miranda commented 7 months ago

Trying to use DOSBox-X with game mode. it will not work.

gamemoderun /usr/bin/dosbox-x

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

systemd says it is running, checked while DOSBox-X is running to make sure it isn't lying...

● gamemoded.service - gamemoded
Loaded: loaded (/usr/lib/systemd/user/gamemoded.service; enabled; preset: enabled)
Active: active (running) since Mon 2024-04-22 22:32:43 CDT; 56min ago
Main PID: 11014 (gamemoded)
Status: "GameMode is ready to be activated."

I'm using Garuda Linux (arch) and have both gamemode and lib32-gamemode packages installed...

ls /usr/lib/libgamemode*
lrwxrwxrwx   - root 17 Jan 15:29  /usr/lib/libgamemode.so -> libgamemode.so.0
lrwxrwxrwx   - root 17 Jan 15:29  /usr/lib/libgamemode.so.0 -> libgamemode.so.0.0.0
.rwxr-xr-x 18k root 17 Jan 15:29  /usr/lib/libgamemode.so.0.0.0
lrwxrwxrwx   - root 17 Jan 15:29  /usr/lib/libgamemodeauto.so -> libgamemodeauto.so.0
lrwxrwxrwx   - root 17 Jan 15:29  /usr/lib/libgamemodeauto.so.0 -> libgamemodeauto.so.0.0.0
.rwxr-xr-x 18k root 17 Jan 15:29  /usr/lib/libgamemodeauto.so.0.0.0

ls /usr/lib32/libgamemode*
lrwxrwxrwx   - root 20 Dec  2023  /usr/lib32/libgamemode.so -> libgamemode.so.0
lrwxrwxrwx   - root 20 Dec  2023  /usr/lib32/libgamemode.so.0 -> libgamemode.so.0.0.0
.rwxr-xr-x 18k root 20 Dec  2023  /usr/lib32/libgamemode.so.0.0.0
lrwxrwxrwx   - root 20 Dec  2023  /usr/lib32/libgamemodeauto.so -> libgamemodeauto.so.0
lrwxrwxrwx   - root 20 Dec  2023  /usr/lib32/libgamemodeauto.so.0 -> libgamemodeauto.so.0.0.0
.rwxr-xr-x 18k root 20 Dec  2023  /usr/lib32/libgamemodeauto.so.0.0.0

Garuda Linux 6.8.7-zen1-1-zen KDE Plasma 6 / X11

Also I should mention that gamemode runs properly from RetroArch, which has it integrated.