Steam for Linux

Steam for Linux

gameoverlayrenderer.so from LD_PRELOAD cannot be preloaded
Hi,

I've got a working Steam on Fedora 64 bit linux. Everything is OK, except make screenshot with F12 key. Thats because steam cannot load gameoverlayrenderer.so.
This is the problem:
ERROR: ld.so: object '/home/player/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

lets check ldd on 64 bit gameoverlayrenderer:
[player@traveller2 ubuntu12_64]$ ldd gameoverlayrenderer.so
linux-vdso.so.1 => (0x00007ffeb51bc000)
libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007fa482c32000)
librt.so.1 => /usr/lib64/librt.so.1 (0x00007fa482a2a000)
libm.so.6 => /usr/lib64/libm.so.6 (0x00007fa482721000)
libdl.so.2 => /usr/lib64/libdl.so.2 (0x00007fa48251d000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fa48220e000)
libpthread.so.0 => /usr/lib64/libpthread.so.0 (0x00007fa481ff1000)
/lib64/ld-linux-x86-64.so.2 (0x0000003cfac00000)
libc.so.6 => /usr/lib64/libc.so.6 (0x00007fa481c34000)
libnvidia-tls.so.358.09 => /usr/lib64/tls/libnvidia-tls.so.358.09 (0x00007fa481a30000)
libnvidia-glcore.so.358.09 => /usr/lib64/libnvidia-glcore.so.358.09 (0x00007fa47fdce000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fa47fa8b000)
libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007fa47f879000)
libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007fa47f661000)
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fa47f43f000)
libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fa47f23a000)

and ldd on 32 bit gameoverlayrenderer:
[player@traveller2 ubuntu12_32]$ ldd gameoverlayrenderer.so
linux-gate.so.1 => (0xf7712000)
libGL.so.1 => /usr/lib/libGL.so.1 (0xf759a000)
librt.so.1 => /usr/lib/librt.so.1 (0xf7591000)
libdl.so.2 => /usr/lib/libdl.so.2 (0xf758c000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf7492000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0xf7476000)
/lib/ld-linux.so.2 (0x48aad000)
libc.so.6 => /usr/lib/libc.so.6 (0xf72aa000)
libnvidia-tls.so.358.09 => /usr/lib/tls/libnvidia-tls.so.358.09 (0xf72a5000)
libnvidia-glcore.so.358.09 => /usr/lib/libnvidia-glcore.so.358.09 (0xf504f000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xf4f0b000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xf4ef7000)
libm.so.6 => /usr/lib/libm.so.6 (0xf4eaa000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xf4e8c000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xf4e67000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xf4e63000)

It seems everything is fine. So, how can I load gameoverlayrenderer.so and make screenshots, or use overlay menu in Steam ?
Thanks,
G:
< >
1-5 / 5 のコメントを表示
Steam simply preloads both version of the gameoverlayrenderer.so, so the game itself will grap the correct one and rejects the wrong one.

In this case you are starting a 64bit game and the 32bit one gets rejected, which is absolutely normal.
I dont think Steamworld Dig, Bishock Infinite, Kingdom Rush, or Defense Grid 2 are 64 bit games....
Bioshock Infinite does ship with 64bit related files, according to steamdb. Check their executables with file, then you know it for sure.

The error message really only appears when a programm using the 64bit linker tries to load a 32bit library. If it's the other way around, it should complain about ELFCLASS64 instead.
Then why screenshot option (F12 or redefined) not working ex. Steamworld Dig or Bioshock Infinite? When I press shift-tab there is no steam overlay menu.

Maybe there is 64bit related files, but for me in steam there is only 32bit binary file, like bioshock.i386. Thats why I'm sure its 32 bit.
最近の変更はRGeri77 (Fedora Gamer)が行いました; 2015年10月21日 10時31分
Because there's a lot more than can go wrong. gameoverlayrenderer.so is responsible for the whole Steam Overlay aswell, an error upon loading it would mean that the Overlay wouldn't work at all.

Might as well be a bug, eventually Beta related. Last time I wanted to use this feature with Payday 2 on Windows a few months ago it didn't work, either - but the Overlay worked fine.

Note: anything in between the game and Steam can trigger this error message. This includes a shell that's being used to execute the game, because that one will definitely be 64bit.
最近の変更はLetalis Sonusが行いました; 2015年10月21日 10時37分
< >
1-5 / 5 のコメントを表示
ページ毎: 1530 50

投稿日: 2015年10月20日 23時23分
投稿数: 5