After the last update of my system, Sheltered ran from Steam, wouldn't load. Which obviously left me devastated or at least very curious what the hell went wrong.
The error I got from running Steam from console was:
GameAction [AppID 356040, ActionID 2] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '~/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 356040, ActionID 2] : LaunchApp changed task to Completed with ""
But later, after running the game from its directory with
./Sheltered.x86_64
it transformed into:
Set current directory to ~/Steam/steamapps/common/Sheltered
Found path: ~/Steam/steamapps/common/Sheltered/Sheltered.x86_64
Mono path[0] = '~/Steam/steamapps/common/Sheltered/Sheltered_Data/Managed'
Mono path[1] = '~/Steam/steamapps/common/Sheltered/Sheltered_Data/Mono'
Mono config path = '~/Steam/steamapps/common/Sheltered/Sheltered_Data/Mono/etc'
displaymanager : xrandr version warning. 1.5
client has 4 screens
displaymanager screen (0)(eDP1): 1920 x 1080
Using libudev for joystick management
Importing game controller configs
Oddly enough, the game would run in I'm offline.
So the solution, turned out to be, starting it with:
./Sheltered.x86_64 LIBGL_ALWAYS_SOFTWARE=1
After which, the game started running also from Steam. Go figure.
In the meanwhile, I found this useful script for redirecting the errordump of Steam:
The error I got from running Steam from console was:
GameAction [AppID 356040, ActionID 2] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '~/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 356040, ActionID 2] : LaunchApp changed task to Completed with ""
But later, after running the game from its directory with
./Sheltered.x86_64
it transformed into:
Set current directory to ~/Steam/steamapps/common/Sheltered
Found path: ~/Steam/steamapps/common/Sheltered/Sheltered.x86_64
Mono path[0] = '~/Steam/steamapps/common/Sheltered/Sheltered_Data/Managed'
Mono path[1] = '~/Steam/steamapps/common/Sheltered/Sheltered_Data/Mono'
Mono config path = '~/Steam/steamapps/common/Sheltered/Sheltered_Data/Mono/etc'
displaymanager : xrandr version warning. 1.5
client has 4 screens
displaymanager screen (0)(eDP1): 1920 x 1080
Using libudev for joystick management
Importing game controller configs
Oddly enough, the game would run in I'm offline.
So the solution, turned out to be, starting it with:
./Sheltered.x86_64 LIBGL_ALWAYS_SOFTWARE=1
After which, the game started running also from Steam. Go figure.
In the meanwhile, I found this useful script for redirecting the errordump of Steam:
cd ~/.local/share/Steam/linux32 mv steamerrorreporter steamerrorreporter.bak echo "#!/bin/bash" >steamerrorreporter echo "exit 0" >>steamerrorreporter chmod a+x steamerrorreporter
source
And also, to speed up the game launch:
echo "" > /proc/sys/kernel/core_pattern
And also, note the great Arch Steam/Troubleshooting site.
Also oddly enough, KSP starts ok with:
vblank_mode=0 optirun -b primus %command%
even though the suggested is:
LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1 %command%_64 -force-gfx-direct
Other suggested options:LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1 optirun steam
or
find ~/.steam/root/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" \) -print -delete
or
Remove: .local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6 .local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1 .local/share/Steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libgcc_s.so.1 .local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libstdc++.so.6 .local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libxcb.so.1
or
rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6
I did those and also, I did a reset of Steam and that made Steam stop loading for quite a while, so be careful with those.
Location of the error dump:
/tmp/dumps
or
LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1 optirun steam