Repository navigation
Description
After a graphics drivers and llvm update (mesa git 2014.04.26, compiled with llvm 3.5; llvm 3.5 svn 207303) I have experienced the following problem:
libGL error: dlopen /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so failed (/home/jose/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.18' not found (required by /usr/lib/i386-linux-gnu/libLLVM-3.5.0.so.1)) libGL error: dlopen ${ORIGIN}/dri/radeonsi_dri.so failed (${ORIGIN}/dri/radeonsi_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio) libGL error: dlopen /usr/lib/dri/radeonsi_dri.so failed (/usr/lib/dri/radeonsi_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio) 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/lib/i386-linux-gnu/dri/swrast_dri.so failed (/home/jose/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6: versionGLIBCXX_3.4.18' not found (required by /usr/lib/i386-linux-gnu/libLLVM-3.5.0.so.1))
libGL error: dlopen ${ORIGIN}/dri/swrast_dri.so failed (${ORIGIN}/dri/swrast_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio)
libGL error: dlopen /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
ExecCommandLine: "/home/jose/.local/share/Steam/ubuntu12_32/steam"
System startup time: 8,15 seconds
libGL error: dlopen /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so failed (/home/jose/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.18' not found (required by /usr/lib/i386-linux-gnu/libLLVM-3.5.0.so.1)) libGL error: dlopen ${ORIGIN}/dri/radeonsi_dri.so failed (${ORIGIN}/dri/radeonsi_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio) libGL error: dlopen /usr/lib/dri/radeonsi_dri.so failed (/usr/lib/dri/radeonsi_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio) 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/lib/i386-linux-gnu/dri/swrast_dri.so failed (/home/jose/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6: versionGLIBCXX_3.4.18' not found (required by /usr/lib/i386-linux-gnu/libLLVM-3.5.0.so.1))
libGL error: dlopen ${ORIGIN}/dri/swrast_dri.so failed (${ORIGIN}/dri/swrast_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio)
libGL error: dlopen /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
Running Steam on ubuntu 14.04 64-bit
However the command strings /home/jose/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6 | grep GLIB did show version 3.4.18.
Removing the libstdc++.so.6 libstdc++.so.6.0.16 files solved the issue and now steam starts with direct GPU acceleration.
Activity
jsa1983 commentedon Apr 26, 2014
By the way, the system's lib is 4.8.2-19ubuntu1 (libstdc++.so.6.0.19), using Ubuntu 14.04 as indicated in the log.
jsa1983 commentedon Apr 26, 2014
Sorry, my bad... the bundled library only provides the following versions, among which is not 3.4.18:
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
So it seems the bundled lib must be updated.
jsa1983 commentedon May 4, 2014
Now it's the same with libgcc_s.so.1 as stated in bug #3280
Running Steam on ubuntu 14.04 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1398287272_client)
libGL error: dlopen /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so failed (/home/jose/.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/lib/i386-linux-gnu/dri/radeonsi_dri.so)) libGL error: dlopen ${ORIGIN}/dri/radeonsi_dri.so failed (${ORIGIN}/dri/radeonsi_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio) libGL error: dlopen /usr/lib/dri/radeonsi_dri.so failed (/usr/lib/dri/radeonsi_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio) 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/lib/i386-linux-gnu/dri/swrast_dri.so failed (/home/jose/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1: versionGCC_4.7.0' not found (required by /usr/lib/i386-linux-gnu/dri/swrast_dri.so))libGL error: dlopen ${ORIGIN}/dri/swrast_dri.so failed (${ORIGIN}/dri/swrast_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio)
libGL error: dlopen /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
Installing breakpad exception handler for appid(steam)/version(1398287272_client)
Installing breakpad exception handler for appid(steam)/version(1398287272_client)
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
[0504/205725:WARNING:proxy_service.cc(958)] PAC support disabled because there is no system implementation
libGL error: dlopen /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so failed (/home/jose/.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/lib/i386-linux-gnu/dri/radeonsi_dri.so)) libGL error: dlopen ${ORIGIN}/dri/radeonsi_dri.so failed (${ORIGIN}/dri/radeonsi_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio) libGL error: dlopen /usr/lib/dri/radeonsi_dri.so failed (/usr/lib/dri/radeonsi_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio) 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/lib/i386-linux-gnu/dri/swrast_dri.so failed (/home/jose/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1: versionGCC_4.7.0' not found (required by /usr/lib/i386-linux-gnu/dri/swrast_dri.so))libGL error: dlopen ${ORIGIN}/dri/swrast_dri.so failed (${ORIGIN}/dri/swrast_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio)
libGL error: dlopen /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
Error: OpenGL GLX context is not using direct rendering, which may cause performance problems.
For more information visit https://support.steampowered.com/kb_article.php?ref=9938-EYZB-7457.
tomtomme commentedon May 12, 2014
deleting libgcc_s.so.1 of steam-runtime helped in my case #3291
AsureDawn commentedon May 26, 2014
I couldn't get the console output because this issue was causing the xserver to crash for me.
After
mv libstdc++.so.6{,.bak} && mv libgcc_s.so.1{,.bak}everything works fine now.Well, there's this weird (infinitely repeating) bell sound when the "Connecting Steam Account" window is focused and the "Steam Guard" window is in the background...is it supposed to be modal? Probably a separate issue.
Almost forgot: on ArchLinux, (multilib-)testing and mesa-git enabled.
scottlu commentedon May 27, 2014
Thanks for the bug report; we are aware of it and are working out the best
way to fix it.
On Mon, May 26, 2014 at 2:08 PM, Benjamin Blanco
[email protected]:
sylware commentedon May 30, 2014
It's a bit of a mess, the library preloader must be able to figure the right libgcc and libstd++ from the same major version but with different dependencies!
NotMrFlibble commentedon Jun 19, 2014
Putting these libraries in their own directory in the Steam runtime and using them only if needed (a simple test binary, linked against libGL, is probably enough to determine this), along with requiring that these are only distributed via Steam runtime (which will require a lot of game updates!), perhaps?
These are system libraries; it's just plain wrong for games to be distributing them.
sylware commentedon Jun 19, 2014
On Thu, Jun 19, 2014 at 09:44:25AM -0700, NotMrFlibble wrote:
Wrong. They are a lot of gnu/linux systems out there which decide
what is "their" system (I don't have c++ on some systems for
instance, which is a good thing since this language/runtime is
more toxic and damaging than plain C, but this is not the topic
here).
It should depend on a minimum set of system libs, the elf loader,
and those linked to the hardware, like GL libs, pulseaudio/alsa
libs. Valve is narrowing down those requirements even so they
could not care at all, since they could base steam on the system
libs from GNU/Linux debian7 (steamOS) and send all the others to
Hell...
Is that what you want?
Sylvain
scottlu commentedon Jun 21, 2014
Here are the things we are looking at right now...
Thanks,
Scott
NotMrFlibble commentedon Jun 21, 2014
I found that Witcher 2 with Mesa 10.2 built against llvm 3.4.1 and using radeonsi would fail with a register-related error; but building Mesa against an llvm 3.5 snapshot (Debian unstable) ends up with it requiring libc6 2.19 etc. However, so that the game runs fine, that's what I've done.
llibgl1-mesa-dri Depends: libc6 (>= 2.17), … , libgcc1 (>= 1:4.7), libllvm3.5, libstdc++6 (>= 4.6)
llibllvm3.5 Depends: libc6 (>= 2.15), …, libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.8), …
So if the Steam runtime decides that a libstdc++ older than 4.8 can be used, it's going to break things here.
My understanding is that it's always safe to use newer libc6, libstdc++6 and libgcc1 (for libc.so.6, libstdc++.so.6 and libgcc_s.so.1, respectively) – and if not, it's a library bug.
sylware commentedon Jun 22, 2014
On Sat, Jun 21, 2014 at 11:44:46AM -0700, Scott Ludwig wrote:
The runtime should rely only on the ELF loader. Everything else
should be bundled except the libs which contains system/hardware
specific "ultra stable over time" interfaces like GL and alsa.
The runtime should be able to "cherry pick" all its dependencies.
That would help making the steam-runtime run on most GNU/Linux
distros. Additionnaly, carefull of compilers and their
run-times: Do not assume you have specific compilers with their
run-times on all distros with the "right" version... with
clang/gcc/tinycc/open64/glibc/musl/eglibc/dietlibc... bundle those
you use in the steam run-time... only rely on the ELF loader, and the
really necessary system libs (compilers runtimes should not be
part of this really necessary system set of libs).
That should make the steam runtime work on nearly all GNU/Linux
distros and be able to troubleshoot in a fine way all system
dependency issues.
Oh! I forgot... plz! 64 bits native builds! ;). Namely steam
should be able to differenciate 32bits/64bits like the OS
(windows/marcOS/linux(steamOS)) for games. Hardware
manufacturers seem to go multi-arch support. For instance (see
AMD), power hungry speed cores using x86_64 and power efficient
but quite slower ARM cores may exist in the not too distant
futur.
best regards,
Sylvain
sylware commentedon Jun 23, 2014
I stand corrected by myself:
It may be a very good idea to bundle the ELF loader in the steam runtime and rely only on the library paths in /etc/ld.so.conf and /etc/ld.so.conf.d/ in order to locate x11/GL(wayland?) and alsalib.
ELF is supposed to be a strict and stable binary interface, even better than GL and alsalib.
62 remaining items
evhfiftyone50 commentedon Sep 15, 2016
@tfhavingfun Could you please elaborate where you put the code into steam.sh? The way I have tried it still resulted in the same error. But then again I am quite new to this and probably messed something up.
Thanks!
pavlos256 commentedon Sep 15, 2016
@evhfiftyone50 What I did was create a tiny shell script and start steam with it:
tfhavingfun commentedon Sep 17, 2016
@evhfiftyone50 I don't recommend editing steam.sh directly. Instead just create a shell script as suggested by @pavlos256 and use a custom desktop file for Steam within which you can then refer to the shell script. That way you can just click the Steam icon (be it on your Desktop or Dash/Dock) to start it as you would normally do. Here is a video I made demonstrating how to do that: https://www.youtube.com/watch?v=gdM1S39mjgY
HarlemSquirrel commentedon Sep 24, 2016
I made a desktop file I made by copying the original desktop file and modifying
NameandEXECto use the line from @pavlos256I also made it executable and refreshed my GNOME desktop so I could find it and click on it.
zygimantus commentedon Nov 2, 2016
In ArchLinux the solution for me was:
rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/lib*Swyter commentedon Nov 2, 2016
Arch Linux now has a
steam-native-runtimemeta-package in the Community/Multilib repository with all the needed Steam dependencies. So this shouldn't be a problem any longer.Just install that and launch
steam-nativeinstead ofsteam.Boom! You are done, no more deletions.
sylware commentedon Nov 3, 2016
Just updated my custom gnu/linux distro.
32 bits libs are a massive pain to build/setup, since you must use a multi-lib gcc.
It's not reasonable to try to split cleanly 32 bits and 64 bits infrastructures.
I do really think, it's time to provide a clean 64 bits client on gnu/linux.
(big picture?)
I can try to help (I'm humble), even though I'm an open source fan and c++
hater (for very good reasons). I'm currently available.
LotosikRa commentedon Dec 30, 2016
@Swyter How to install this kind of package?
mikefaille commentedon Dec 30, 2016
@LotosikRa In which Linux Distro ?
LotosikRa commentedon Dec 30, 2016
@mikefaille Ubuntu 16.10
mikefaille commentedon Dec 30, 2016
@LotosikRa You don't need this on Ubuntu. You already have "steam native" libs where native platform = Ubuntu/Debian. Just install steam from "Ubuntu Software".
LotosikRa commentedon Dec 30, 2016
@mikefaille Did You mean that Ubuntu's
steampackage have all what I need? What doesmean?
mikefaille commentedon Dec 30, 2016
@LotosikRa
My bad, just check my edited post. #13 (comment)
mmstick commentedon Dec 30, 2016
You'll still have the same problem with the steam runtime because Ubuntu is not actually an officially supported platform, even though it is claimed to be officially supported. You will need to apply the same fixes as other distributions to get working drivers in Steam games for Ubuntu 16.10. The same solution for Arch Linux applies to Ubuntu -- deleting the conflicting libs. I'm not aware of any PPAs providing a native runtime for Ubuntu.