GhostSquad57 / Steam-Installer-for-Wheezy

Re-write of Valve's deb package. (Orphaned)
193 stars 20 forks source link

Some games fail to launch with gameoverlayrenderer.so and/or glibc errors #37

Closed johnmlang closed 10 years ago

johnmlang commented 10 years ago

Many games are failing to launch using steam-debian. Examples include: "Starbound", "The Swapper", and "You Have to Win the Game" (this game is free).

This error is from trying to launch "You Have to Win the Game":

Game update: AppID 286100 "You Have to Win the Game", ProcID 6601, IP 0.0.0.0:0
ERROR: ld.so: object '/home/strider/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/home/strider/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/home/strider/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
./TheGame_NFML: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by ./TheGame_NFML)
./TheGame_NFML: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by ./TheGame_NFML)
./TheGame_NFML: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /home/strider/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so)
./TheGame_NFML: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by ./libsteam_api.so)
Game removed: AppID 286100 "You Have to Win the Game", ProcID 6601 

(steam:6375): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6375): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6375): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent

For some games the GLIBC_2.1x errors are not present, but the game still fails to launch. Other games work without issues. Full log here: http://pastebin.com/6Tiq1rgb

I'm running Debian Wheezy 7.5 on AMD64 and steam-debian 1.0.0.47-4.

Please let me know if I can provide any other information that will help in troubleshooting.

Thanks!

GhostSquad57 commented 10 years ago

@johnmlang steam --reset usually fixes the LD_PRELOAD problem.

As for:

GLIBC_2.14' not found

I'll have to look into this. Usually games downloaded via Steam include the necessary libs with them and shouldn't try to read from the users' lib environment.

johnmlang commented 10 years ago

@GhostSquad57: The LD_PRELOAD and GLIBC errors are still present after a steam --reset :(

Thanks for looking into this. Let me know if you want me to try anything.

GhostSquad57 commented 10 years ago

@johnmlang Hmm... can you confirm 3D Acceleration is working properly?

glxgears is a great testing tool.

TacoDelPaco commented 10 years ago

Do you have the 32bit libraries? I'm on Wheezy 64 and that was my only issue.

GhostSquad57 commented 10 years ago

@johnmlang OK. I've noticed with "You Have to Win The Game" that the launch script Launch.bat from ~/.local/share/Steam/SteamApps/common/You Have to Win the Game reads:

LD_LIBRARY_PATH=. export LD_LIBRARY_PATH ./TheGame_NFML

I'm thinking this is overwriting the LD_LIBRARY_PATH set from steam-debian.

So here's what we can try: Open "$HOME/.local/share/Steam/SteamApps/common/You Have to Win the Game/Launch.bat" with a text editor, and change it to look like this:

LD_LIBRARY_PATH=.:/usr/lib/steam/i386-linux-gnu/:/usr/lib/steam/x86_64-linux-gnu/ export LD_LIBRARY_PATH ./TheGame_NFML

Save the file and let me know if there's any changes.

johnmlang commented 10 years ago

@GhostSquad57: Yes, I believe 3D acceleration is working. glxgears/glxspheres/glxinfo all report direct, accelerated rendering. Most games are working fine (Portal, Half-Life, Osmos, Don't Starve) but some aren't.

I edited the LD_LIBRARY_PATH for "You Have to Win The Game" and that fixed the issue! "The Swapper" had a similar shell script and fix. I wasn't able to find a similar solution for "Starbound".

I'm glad you found a partial workaround. I hope it can be made permanent ;-).

@TacoDelPaco: Thanks for the suggestion. libgl1-mesa-glx:i386 is installed (I have an Intel GPU). Is there another 32-bit library I should install?

GhostSquad57 commented 10 years ago

@johnmlang Glad that modifying the launch scripts work... somewhat :p

Does Starbound have the same output as YHtWTG? i.e. "Glibc 2.14 not found"

johnmlang commented 10 years ago

@GhostSquad57: No, the GLIBC error is not present, but there still an issue with gameoverlayrenderer.so. Sorry for not being clear.

ERROR: ld.so: object '/home/strider/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.

Full log: http://pastebin.com/KX3hD29B

GhostSquad57 commented 10 years ago

@johnmlang Hmm, how odd. I don't believe gameoverlayrenderer.so is the cause for the issue, but I could be wrong. Have you tried re-installing the game?

johnmlang commented 10 years ago

@GhostSquad57 Reinstalling doesn't help. I also tried disabling the Steam Overlay while in-game, but that didn't help either.

GhostSquad57 commented 10 years ago

@johnmlang I don't own Starbound, so I'm not quite sure where any type of launch script would be; try right-clicking the game in your library: Properties>LOCAL FILES>BROWSE LOCAL FILES...

Could you please tell me which directory this opens?

johnmlang commented 10 years ago

@GhostSquad57 This opens the directory /home/strider/.local/share/Steam/SteamApps/common/Starbound. Here is the full directory listing: http://pastebin.com/Wwsa1ix7

"Star Conflict" (free) also has the gameoverlayrenderer.so error, but it also has some errors related to my GPU drivers, so I don't think its a good test case for me. But maybe it could be a good test case for you? The full log, hope it helps: http://pastebin.com/xn4QKWxX

GhostSquad57 commented 10 years ago

@johnmlang With Star Conflict, try launching it in windowed mode. Usually a GLXBadRequest or BadRequest can be fixed by simply changing the game resolution settings to match your desktop's.

GhostSquad57 commented 10 years ago

@johnmlang OH, I forgot to mention you can change between windowed and fullscreen through the config file: $HOME/.local/share/starconflict/user_config.xml

I'm still investigating the problem with Starbound. I should get back to you in an hour or so.

GhostSquad57 commented 10 years ago

@johnmlang So I purchased Starbound and guess what? Doesn't launch, at least not straight from Steam. Seems to run fine by executing the 32-binary.

Could you please try executing $HOME/.local/share/Steam/SteamApps/common/Starbound/linux32/starbound

Let me know if that works.

johnmlang commented 10 years ago

@GhostSquad57 Haha, I've been trying to figure out how to change the resolution for Star Conlfict. Unfortunately, that file doesn't exist on my system. I suspect it won't work anyway because of my video hardware.

I am also able to start Starbound by executing the binary (32- and 64-bit) directly. I was trying to figure out the best way to get you a copy of Starbound... you're really showing your dedication!

At this point, I feel like you've found workarounds for all of my issues, and it's not clear to me that my issues are related to your installer! I am more than happy to help continue troubleshooting (although I admit I haven't done much), but I completely understand if you want to close this bug. In any case, thanks for the help!

GhostSquad57 commented 10 years ago

@johnmlang I wish I could help out more, but a lot of these problems are game specific and not related to the installer.

You've done a fantastic job on helping this issue get closed.

Let's try once last time with Star Conflict: Download my config from here and place it into $HOME/.local/share/starconflict/

Edit the file to match your desktop's resolution. Setting "r_fullscreen val="2" to "1" or "0" should be windowed mode.

johnmlang commented 10 years ago

@GhostSquad57 I tried your config file with r_fullscreen val set to 0, 1 and 2 and it didn't work. The same error messages were logged. :( I'm pretty sure the issue is my video hardware. The 'gameoverlayrenderer.so' error is a red herring for Star Conflict.

Thanks for trying.

GhostSquad57 commented 10 years ago

@johnmlang Thought for sure that would work :(

Did you set "r_3dheight", "r_3dwidth", "r_width", and "r_height" to match your desktop's resolution?

Sorry if I'm a little persistent, I just feel like I should know how to fix this :-|

johnmlang commented 10 years ago

@GhostSquad57 Yep, I changed both pairs of variables to match my resolution.

So more details on my configuration: Thinkpad T420 Laptop with integrated Intel HD 3000 and discrete Nvidia NVS 4200M. X run on the integrated GPU and particular programs will run on the discrete GPU using Bumblebee (optirun). I can't get Star Conflict to run on either GPU. But in the end, I don't think any of this has to do with this bug report anymore :P.

GhostSquad57 commented 10 years ago

@johnmlang Yeah, I'm kinda dragging this bug report out :P

Anyway, I hope you're able to find a solution. You've done a fantastic job on providing the necessary debug info.

BUG CLOSED!

johnmlang commented 10 years ago

@GhostSquad57 Thanks so much for the help! You really showed your dedication.

MajorLunaC commented 9 years ago

Possible Starbound fix for Steam (green post is Best Answer):

http://community.playstarbound.com/index.php?threads/solved-needs-dev-attention-winter-update-broke-gameunder-linux.89493/