Steam for Linux

Steam for Linux

Xenophobe 11 SEP a las 6:14 p. m.
gamemode error I can't figure out
Linux Mint 21.3, kernel 6.8.0-40
i7-11700K
32GB DDR4 @3200
RX 6950 XT, Mesa 24.2.2 - kisak-mesa PPA
2TB NVMe SSD Gen4x4

Running gamemode from Software Manager, apt version 1.6.1-1 build 2.

When launching any steam game from a cli/terminal session by exiting steam and using:
steam steam://rungameid/{SteamGameID#}
I was getting the following 2 errors in the terminal output:

ERROR: ld.so: object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.

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

I got rid of the 'wrong ELF class' error by installing the i386 gamemode libs using synaptic package manager, but I can't figure out how to get rid of the other error.

Has anyone had and solved this error by chance?
< >
Mostrando 1-6 de 6 comentarios
Vulcanus 11 SEP a las 10:31 p. m. 
dpkg --list | grep gamemode

Check if both are really installed, typically happens when the game you're trying to run is a 32-bit application, but the preloaded gamemode library is for 64-bit.
Xenophobe 12 SEP a las 7:26 a. m. 
Thanks for the response. I had already installed the i386 libs, which resolved the wrong ELF class error ... but here's the dpkg --list, and the gamemoded test showing everything passes ...
-----------------------------------------------------------
$ dpkg --list | grep gamemode
ii gamemode 1.6.1-1build2 amd64 Optimise Linux system performance on demand
ii gamemode-daemon 1.6.1-1build2 amd64 Optimise Linux system performance on demand (daemon)
ii libgamemode0:amd64 1.6.1-1build2 amd64 Optimise Linux system performance on demand (host library)
ii libgamemode0:i386 1.6.1-1build2 i386 Optimise Linux system performance on demand (host library)
ii libgamemodeauto0:amd64 1.6.1-1build2 amd64 Optimise Linux system performance on demand (client library)
ii libgamemodeauto0:i386 1.6.1-1build2 i386 Optimise Linux system performance on demand (client library)
-----------------------------------------------------------
$ gamemoded -t
: Loading config
Loading config file [/usr/share/gamemode/gamemode.ini]
: Running tests

:: Basic client tests
:: Passed

:: Dual client tests
gamemode request succeeded and is active
Quitting by request...
:: Passed

:: Gamemoderun and reaper thread tests
...Waiting for child to quit...
...Waiting for reaper thread (reaper_frequency set to 5 seconds)...
:: Passed

:: Supervisor tests
:: Passed

:: Feature tests
::: Verifying CPU governor setting
::: Passed
::: Verifying Scripts
::: Passed (no scripts configured to run)
::: Verifying GPU Optimisations
::: Passed (gpu optimisations not configured to run)
::: Verifying renice
::: Passed (no renice configured)
::: Verifying ioprio
::: Passed
:: Passed

: All Tests Passed!
-----------------------------------------------------------
Not sure if this error is benign, or something I need to resolve ... though when I see ERROR I am compelled to defeat it.
Long 12 SEP a las 10:23 a. m. 
did you download and install the 32-bit gamemode library?
Xenophobe 12 SEP a las 11:06 a. m. 
Publicado originalmente por Long:
did you download and install the 32-bit gamemode library?
Yes, as stated in both of my posts above the i386 libs for gamemode are installed.
Última edición por Xenophobe; 12 SEP a las 11:07 a. m.
Vulcanus 15 SEP a las 3:42 a. m. 
Did you verify, does it work in-game? As test seems to pass and if it works, i would just ignore it atm:) The error seems to refer that dynbamic linker is not found or something.

PS! IF any game crashes, first thing is to try running without gamemode.
Xenophobe 15 SEP a las 8:20 a. m. 
Publicado originalmente por Vulcanus:
Did you verify, does it work in-game? As test seems to pass and if it works, i would just ignore it atm:) The error seems to refer that dynbamic linker is not found or something.

PS! IF any game crashes, first thing is to try running without gamemode.
not had any problems with games crashing, I checked gamemode while a game is active (alt-tabbed) and it's working:
~$ gamemoded -s gamemode is active
so I'm guessing it's a benign error that simply means it can't be preloaded, but it will run on demand ... at least that's my current theory.
< >
Mostrando 1-6 de 6 comentarios
Por página: 1530 50