ERROR: ld.so: object '/home/michael/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
On Apr 30, 2022, at 1:03 AM, Michael Lustfield <mic...@lustfield.net> wrote:
--
You received this message because you are subscribed to the Google Groups "VirtualGL User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to virtualgl-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/virtualgl-users/48ba534f-c3f0-4b27-8074-65aa05390177n%40googlegroups.com.
ERROR: ld.so: object '/home/michael/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.This error message is suspicious. It suggests that the 32-bit version of VGL is not working. Can you try 'vglrun /opt/VirtualGL/bin/glxspheres' (instead of glxspheres64) and see if you encounter any errors? Also try to run 'ldd /home/michael/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' and see if it is missing any dependencies.
Also, VirtualGL unfortunately doesn’t support Vulkan. If the game’s OpenGL mode uses 100% OpenGL, then it may work with VirtualGL, but if it is mixing Vulkan and OpenGL, it probably won’t work. :(
Also, you do need to make the tweak to LD_PRELOAD in the game settings as described here: https://github.com/ValveSoftware/steam-for-linux/issues/4630.
Also, you do need to make the tweak to LD_PRELOAD in the game settings as described here: https://github.com/ValveSoftware/steam-for-linux/issues/4630.
I followed this on a different game and this game works perfectly fine without any prompts, skips, or anything, but I still see the same error produced.
GameAction [AppID 1510, ActionID 1] : LaunchApp continues with user response "CreatingProcess"
/bin/sh\0-c\0LD_PRELOAD="${LD_PRELOAD#libdlfaker.so:libvglfaker.so:}:libdlfaker.so:libvglfaker.so" /home/michael/.steam/steam/ubuntu12_32/reaper SteamLaunch AppId=1510 -- '/home/michael/.steam/debian-installation/steamapps/common/Uplink/run_steam.sh'\0
Game process added : AppID 1510 "LD_PRELOAD="${LD_PRELOAD#libdlfaker.so:libvglfaker.so:}:libdlfaker.so:libvglfaker.so" /home/michael/.steam/steam/ubuntu12_32/reaper SteamLaunch AppId=1510 -- '/home/michael/.steam/debian-installation/steamapps/common/Uplink/run_steam.sh'", ProcID 23861, IP 0.0.0.0:0
chdir /home/michael/.steam/debian-installation/steamapps/common/Uplink
ERROR: ld.so: object '/home/michael/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 1510, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/michael/.steam/debian-installation/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/michael/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 1510, ActionID 1] : LaunchApp changed task to Completed with ""
ERROR: ld.so: object '/home/michael/.steam/debian-installation/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
I'm wondering if this is "just some steam thing" that I should just ignore, perhaps?
Yeah, Steam traditionally was 32-bit only, but it appears that it now has some 32-bit and some 64-bit components. It might be executing a script in order to load the games, and the script might invoke both 32-bit and 64-bit programs. That would explain the "wrong ELF class" errors and also why the games work despite those errors. If you are able to make the games work, then I wouldn't worry about the errors.