Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
steam OpenGl GLX context is not using direct rendering
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
djdunn
l33t
l33t


Joined: 26 Dec 2004
Posts: 719
Location: Arrakis

PostPosted: Sat Feb 07, 2015 10:33 pm    Post subject: steam OpenGl GLX context is not using direct rendering Reply with quote

ok so i have direct rendering working on the system, this all used to work just fine

Code:
Running Steam on gentoo  64-bit
STEAM_RUNTIME is enabled automatically
[2015-02-07 17:16:12] Startup - updater built Jan 23 2015 13:46:31
Installing breakpad exception handler for appid(steam)/version(1422054110)
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
Installing breakpad exception handler for appid(steam)/version(1422054110)
[2015-02-07 17:16:12] Verifying installation...
[2015-02-07 17:16:12] Verification complete
Installing breakpad exception handler for appid(steamwebhelper)/version(20150123
134624)
Installing breakpad exception handler for appid(steamwebhelper)/version(14220207
84)
Installing breakpad exception handler for appid(steamwebhelper)/version(20150123
134624)
Installing breakpad exception handler for appid(steamwebhelper)/version(1422020784)
Installing breakpad exception handler for appid(steamwebhelper)/version(1422020784)
Installing breakpad exception handler for appid(steam)/version(1422054110)
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
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
Error: OpenGL GLX context is not using direct rendering, which may cause perform
ance problems.



system is ~amd64

using steam-launcher from gamerlay overlay

using opensource radeon drivers

i look this up and on the wiki https://wiki.gentoo.org/wiki/Steam#Client_Troubleshooting it suggests LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib32/opengl/ati/lib" ~/.local/share/Steam/steam.sh # for ATI

but those missing files radeonsi_dri.so and swrast_dri.so and all that are in /usr/lib32/dri and not /usr/lib32/opengl/ati/lib so i tried
Code:
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib32/dri" ~/.local/share/Steam/steam.sh
has the same exact error messages so im clueless, i tried downgrading eselect-opengl and it couldnt find an opengl implimentation

might be something with llvm and gcc-4.9 i donno trying to roll back to gcc-4.8.4
_________________
A process cannot be understood by stopping it. Understanding must move with the flow of the process, must join it and flow with it.

-The First Law of Mentat
Back to top
View user's profile Send private message
hansmaa
n00b
n00b


Joined: 11 Feb 2005
Posts: 69

PostPosted: Fri Feb 13, 2015 8:36 pm    Post subject: Reply with quote

Hi.
When upgrading your system, did you get a message regarding OPENGL and FONTS in your xorg.conf or /etc/X11/xorg.conf.d/ ?

If so, follow that advice! I just remembered it and edited my /etc/X11/xorg.conf.d/35-fonts.conf file, and now I've got glx up and running again :D
Back to top
View user's profile Send private message
antonlacon
Apprentice
Apprentice


Joined: 27 Jun 2004
Posts: 231

PostPosted: Wed Feb 18, 2015 6:03 am    Post subject: Reply with quote

The system libraries you've built mesa drivers against are ahead of the steam_runtime, throwing an error when steam tries to use them.

You can verify this by starting steam after
Code:
export LIBGL_DEBUG=verbose

and you'll get an error like "built with GLIBCXX_3.4.20 but expected GLIBCXX_3.4.18."

Head into the steam_runtime environment and change the libstdc++ link out into your system and it should function again.
Code:

cd ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu
ln -snf /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/32/libstdc++.so.6 libstdc++.so.6

May be a better way to do this, but it worked for me.
Back to top
View user's profile Send private message
Legodev
n00b
n00b


Joined: 22 Nov 2012
Posts: 3

PostPosted: Sun Feb 22, 2015 2:45 pm    Post subject: Reply with quote

I also need this command to start steam:

Naib wrote:
I might have a cleaner solution. the libGL is being dropped in different directories to where STEAM cannot find them ... (and for some reason the LDPATH data from 000opengl & ld.so isn't being used/valid)
STEAM is 32bit & if it cannot find the 32bit 3D accel libGL it will fall back to raster (ie sw/mesa)


Code:
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib32/opengl/nvidia/lib"   ~/.local/share/Steam/steam.sh




and it starts fine


found in this Post
Back to top
View user's profile Send private message
Zanfib
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jun 2004
Posts: 87
Location: France - Blotzheim

PostPosted: Fri May 08, 2015 9:21 am    Post subject: Reply with quote

Thanks antoniacon, your answer was the good choice for me ! ;)
Back to top
View user's profile Send private message
Letharion
Veteran
Veteran


Joined: 13 Jun 2005
Posts: 1269
Location: Sweden

PostPosted: Sat May 09, 2015 3:23 pm    Post subject: Reply with quote

antonlacon wrote:
The system libraries you've built mesa drivers against are ahead of the steam_runtime, throwing an error when steam tries to use them.

You can verify this by starting steam after
Code:
export LIBGL_DEBUG=verbose

and you'll get an error like "built with GLIBCXX_3.4.20 but expected GLIBCXX_3.4.18."

Head into the steam_runtime environment and change the libstdc++ link out into your system and it should function again.
Code:

cd ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu
ln -snf /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/32/libstdc++.so.6 libstdc++.so.6

May be a better way to do this, but it worked for me.


I come here specifically to report this as well, so help others, so I'll just give you a +1 for having posted this already. :)

What I did was slightly different though, in that I just moved libstdc++.so.6 out of the way. This makes steam automatically fall back to the system one, and you don't need to maintain that symlink yourself when you make a system update.

Steam tries to create a reasonably stable environment for themselves by shipping a lot of the libraries they need with the app.

The problem here seems to be that steam is build against libraries that are so much older than the ones gentoo provides, that they cannot load each other.
I guess there's no guarantees at all that it works to let steam fall back to the system ones, but in this particular case, it does seem to work.

The "real" solution would otherwise be to try to match steams versions in your own gentoo sys, which as long as the above works, is probably not worth the effort.
Back to top
View user's profile Send private message
wdna
n00b
n00b


Joined: 02 Jun 2015
Posts: 1

PostPosted: Tue Jun 02, 2015 5:55 pm    Post subject: Reply with quote

THANKS! worked for me as well.

antonlacon wrote:

Code:
export LIBGL_DEBUG=verbose

and you'll get an error like "built with GLIBCXX_3.4.20 but expected GLIBCXX_3.4.18."

Head into the steam_runtime environment and change the libstdc++ link out into your system and it should function again.
Code:

cd ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu
ln -snf /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/32/libstdc++.so.6 libstdc++.so.6

Back to top
View user's profile Send private message
Letharion
Veteran
Veteran


Joined: 13 Jun 2005
Posts: 1269
Location: Sweden

PostPosted: Fri Jun 26, 2015 6:05 am    Post subject: Reply with quote

Just wanted to note that I had to do this again after installing dota reborn (a dlc). Not sure exactly when steam decides to put it's own libraries in place again, but hopefully this helps someone.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum