Open Nolan-O opened 7 years ago
Hello @Nolan-O, you may get better behavior by trying to run hl2.sh from the steam runtime with the convenience script. The location can vary by distro / steam package, but the default would be ~/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh ./hl2.sh -game <folder>
That gives me a new error:
/bin/bash: /valve/steam-runtime/bin/../runtime/amd64/lib/x86_64-linux-gnu/libtinfo.so.5: no version information available (required by /bin/bash)
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
I usually have to delete the opengl libs that are packaged with source engine games to get them to boot, could that be the same kind of error?
The common cause of these messages is that libstdc++ in the steam runtime is too old to be used with the system built variant of mesa.
For anyone reading this issue: find -type f -name libstdc++.so.* | sudo xargs rm
from the runtime folder fixed the issue, but it only works through run.sh.
Note, however, that this will prevent linking from working when you compile.
I managed to get hl2_linux
working again.
For anyone else running into the issue, if you take a look at tlhe steam runtime shellscript that @kisak-valve mentions, you'll notice that it adds the steam-runtime-library-paths
to your LD_LIBRARY_PATH
environment variable.
If you pass the --print-steam-runtime-library-paths
to run.sh
, it will print out the list of paths for you.
if [ "$1" = "--print-steam-runtime-library-paths" ]; then
echo "$steam_runtime_library_paths"
exit 0
fi
Copy that list and append the relevant bin
folder for the version of the SDK you're using. In my case, this is :"/your/path/to/steam/common/Source SDK Base 2013 Singleplayer/bin"
. Setting LD_LIBRARY_PATH
to that set of paths should do the trick.
You can then launch mods with ./hl2_linux -game <mod_root>
.
Lanching through steam still works, but the old method of
hl2.sh -game <folder>
yieldsInstead, I have to launch the game through steam's gui, which makes it nearly impossible to be able to debug, for example, a startup crash, or utilize console output.