protonscr

"OpenGL GLX context is not using direct rendering" popping up again

steamclosed reviewed
ValveSoftware/steam-for-linux#3907 · opened 2015-06-25 by ghost · updated 2018-12-07 · 6 comments · github
?ghost 2015-06-25 github

Hi, I'm getting the eponymous issue again whenever I start up Steam on Linux. Can't run 3D games like Borderlands 2 or Civilization V. While I know it's not officially supported, I'm using Chakra Linux, 64-bit. I started getting the error again after a large update, bringing me to kernel 4.0.5 and fglrx 15.5.

Tried removing some libraries from the .local/share directories, didn't work this time around. What I'm getting from running Steam from a terminal emulator displays this.

"libGL error: open uki failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering"

Any help with this one? Thanks for your time.

Aagame-chakra 2015-07-04 github

I have the same problem with the same setup, I just opened a topic on chakraos forums. By the first explorations I have done, it seems to be a driver related problem. I will test more to narrow the causes but I am no linux guru so any help is welcome.
http://chakraos.org/forum/viewtopic.php?id=14081

ZZomtir 2015-11-21 github

You might try to add /usr/lib32/fglrx to the LD_LIBRARY_PATH in ~/.steam/steam.sh

Lines 709-710 should look like this afterwards:

# Need to add /usr/lib32 to the library path to pick up libvdpau_nvidia.so on Ubuntu 12.04
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH-}:/usr/lib32:/usr/lib32/fglrx"

The underlying issue seems to be libGL.so.1, which is not taken up from /usr/lib32/fglrx but /usr/lib/i386-linux-gnu/mesa instead. Therefor steam fails to use direct rendering when using the proprietary ATI drivers.

@Plagman Could this be taken into upstream as well?

ZZomtir 2015-11-25 github

The file steam.sh resets itself before execution, it worked the first time I tried though. As a workaround put this line into ~/.profile

export LD_LIBRARY_PATH="${LD_LIBRARY_PATH-}:/usr/lib32/fglrx"
Kkisak-valve maintainer 2018-11-02 github

Hello @agame-chakra, @Zomtir, are either of you still experiencing this issue with an up to date system?

ZZomtir 2018-11-02 github

This specific issue is resolved. Fglrx is no longer supported by AMD and Ubuntu. The default radeon drivers now work out of the box on my setup. Back then fglrx was almost mandatory.

I did not test the AMDGPU-PRO drivers, but if it failed, it would probably belong into a new bug report.

Kkisak-valve maintainer 2018-12-07 github

Thanks for the feedback @Zomtir, closing.

Nothing extracted yet.