-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mesa does not work with STEAM_RUNTIME=1 #102
Comments
Looks like he's prefering the libgcc_s.so.1 from the steam runtime instead of using the system library which /usr/lib32/dri/radeonsi_dri.so is linked against. What does a |
It happens when mesa is compiled with gcc 4.9. It crashes my X. |
|
@Nowaker To be fair it happens with every gcc version other than 4.7.0 (see also this part of the error: "version `GCC_4.7.0' not found"). This is most likely cause Ubuntu and SteamOS are compiled with that version. Anyway, your LD_PRELOAD trick seems to work even if the path seems to be wrong. I had to use: [EDIT] @anyc I know this is from r600g and not radeonsi but beside that the problem is exactly the same, so I hope this helps:
|
Hey, I was hoping to play don't starve with open source drivers but could not and found out this thread. I have the same issue than you V10lator :
I'm on archlinux |
This is a known issue with the steam runtime and is being tracked at ValveSoftware/steam-runtime#13 / ValveSoftware/steam-runtime#14. Newer mesa is using symbols that do not exist in the steam-runtime version of gcc. |
We could adapt
(from ValveSoftware/steam-runtime#13 (comment)) to something suitable in /usr/bin/steam for this scenario. It'd not be ideal, but it would not be worse than what most Arch users experience. I'm thinking a patch on /usr/bin/steam adding
then in the last section
NOTE: this is probably the wrong syntax, I'm just pondering. |
Agree, it's incredibly annoying having to LD_PRELOAD tons of libs every time (Arch). |
Actually, when you put symbolic links to the path the correspond to multilib on Debian like
then the steam runtime will detect the newer libraries on the system and remove the older versions from the run-time. |
Fwiw, since STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1 was added as the default, steam plus mesa does run with STEAM_RUNTIME=1, but we either need to LD_PRELOAD libstdc++.so.6 and have LIBGL_DRI3_DISABLE=1 set on first run, or delete libstdc++ and libxcb from the bootstrapper runtime, then it doesn't need other workarounds as long as steam doesn't do a reset. |
libGL error: dlopen /usr/lib32/dri/radeonsi_dri.so failed (/home/niko/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1: version
GCC_4.7.0' not found (required by /usr/lib32/dri/radeonsi_dri.so)) libGL error: unable to load driver: radeonsi_dri.so libGL error: driver pointer missing libGL error: failed to load driver: radeonsi libGL error: dlopen /usr/lib32/dri/swrast_dri.so failed (/home/niko/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1: version
GCC_4.7.0' not found (required by /usr/lib32/dri/swrast_dri.so))libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
ExecCommandLine: "/home/niko/.local/share/Steam/ubuntu12_32/steam"
System startup time: 15,89 seconds
libGL error: dlopen /usr/lib32/dri/radeonsi_dri.so failed (/home/niko/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1: version
GCC_4.7.0' not found (required by /usr/lib32/dri/radeonsi_dri.so)) libGL error: unable to load driver: radeonsi_dri.so libGL error: driver pointer missing libGL error: failed to load driver: radeonsi libGL error: dlopen /usr/lib32/dri/swrast_dri.so failed (/home/niko/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1: version
GCC_4.7.0' not found (required by /usr/lib32/dri/swrast_dri.so))libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
The text was updated successfully, but these errors were encountered: