Skip to content

OpenGL GLX context is not using direct rendering, which may cause performance problems. #3280

Closed

Description

https://gist.github.com/gutigen/1906a47bc63bf82f4a8f

Files Steam fails to loads are all there (checked). Tried adding my user to video group.

Ubuntu 14.04 64bit with Oibaf PPA (have to use it for optimal performance).

It started happening after updating my system today (I do that manually every few days with dist-upgrade). Unigine Benchmarks and non-source games work like before.

EDIT:

I reverted back to stack from Ubuntu repo (with ppa-purge) and problem is gone, so I guess there is something wrong with packages from Oibaf PPA.

Activity

  1. gdrewb-valve commented on Apr 29, 2014

    @gdrewb-valve
    Contributor

    So this is closable as not a Steam issue?

  2. self-assigned this
    on Apr 29, 2014
  3. gdrewb-valve commented on Apr 29, 2014

    @gdrewb-valve
    Contributor

    OpenGL is not working properly on your system. This is a system configuration problem and not something that Steam needs to change for. What exactly the problem with OpenGL is is not as simple to say, you'd need to check with the people maintaining it.

  4. gdrewb-valve commented on Apr 30, 2014

    @gdrewb-valve
    Contributor

    I'm sorry you're unhappy but you're getting the same support as you would get on OSX or Windows. If you installed a new AMD/NVIDIA/Intel driver on your Windows box and it broke Steam you'd get the same advice: follow up with AMD/NVIDIA/Intel. They own the code that caused the problem and they're the best people to investigate the problem.

    Steam is a 32-bit app and the problem is likely some conflict between 32-bit OpenGL and 64-bit OpenGL components. 64-bit OpenGL apps will run fine, but if you get a 32-bit copy of glxinfo, for example, it will likely not have direct rendering either.

  5. Tele42 commented on Apr 30, 2014

    @Tele42

    For tracking purposes, duplicate of ValveSoftware/steam-runtime#13.

  6. brodock commented on May 3, 2014

    @brodock

    I have the same problem with xorg-edgers... and it's also impacting dota2:
    ValveSoftware/Dota-2#1320

  7. soltys7dc commented on May 5, 2014

    @soltys7dc

    After deleting libgcc_s.so.1 everything works fine, so please reopen this issue.

  8. gdrewb-valve commented on May 5, 2014

    @gdrewb-valve
    Contributor

    This is a duplicate. #3273 is open covering the problem.

  9. lecbee commented on May 14, 2014

    @lecbee
  10. MadeOfMagicAndWires commented on May 16, 2014

    @MadeOfMagicAndWires

    @gutigen and everyone else,

    The problem comes from the fact that the binaries provided by your PPA are built against a newer version of libgcc than the steam-runtime ships, which is automatically loaded before running Steam. removing or renaming the steam-runtime library makes it fall back to the system default.

    Now here's the thing, you're replacing key parts of your system with unstable git packages from an unofficial PPA. From that moment on you're no longer running standard Ubuntu, and Valve can't officially support your system anymore.
    Valve can't test every possible system and neither can whoever maintains the Oibaf PPA build against current Ubuntu libraries, as well as the steam-runtime, so when you install these sort of packages it's up to you to keep that in mind that breakage might occur. If that's too much trouble, or "have no idea what you're doing", stick to the packages provided by the official repo's, because that's what Valve tests against.

    File a bug report yeah, it's something the steam-runtime will have to deal with at some point anyway, but falling out against someone who, by the looks of it isn't even part of the actual Linux development team, isn't going to help out anyone.

    For future notice, the steam-runtime is easily disabled by adding the STEAM_RUNTIME=0 variable before the steam command, in either the terminal or adding it to the .desktop Exec argument, as such:

    $ STEAM_RUNTIME=0 steam
    

    It should be one of the first things to check if you notice any error messages containing libraries in the steam-runtime directory.

  11. 6 remaining items

  12. instantepiphany commented on Jun 26, 2014

    @instantepiphany

    @gdrewb-valve I won't go as far as @ainola in apologising for @gutigen 's .... interesting ... view on your responsibilities in supporting non-stock/supported operating systems, as no one but he is responsible for the things he has said. But I do agree with @ainola in the "Please don't let this case sour your feelings on Linux users." sentiment. Most Linux users I have talked to or seen online are more than willing to politely help debug an application, and don't assume to know more of developing than an actual dev.

  13. NothingMuchHereToSay commented on Jul 1, 2014

    @NothingMuchHereToSay

    Why is this closed? I needed this freakin' workaround just to launch Source games. Unfortunately I can't run Source mods. Synergy isn't working because I get an error with OpenGL context "glGetError" something. I don't know, it flickers too much for me to actually copy and paste the error. But I'll bring it to the attention to the Synergy modders.

  14. Half-Shot commented on Jul 1, 2014

    @Half-Shot

    I'm literally having to share around scripts to fix this issue because any person running mesa 10.2 and actually hacking the steam runtime script to delete certain files. I appreciate that you have to cater for everybody but this is getting ridiculous.

    #!/bin/bash
    DIR=$HOME/.local/share/Steam/
    
    echo "Removing libstd"
    find $DIR -iname "libstd*" -exec rm -rf {} \;
    
    echo "Removing libgcc"
    find $DIR -iname "libgcc*" -exec rm -rf {} \;
    
    echo "All Done"
    
  15. MadeOfMagicAndWires commented on Jul 1, 2014

    @MadeOfMagicAndWires

    @NothingMuchHereToSay @Half-Shot
    This issue was closed because it's a steam-runtime problem, not a Steam Client one. People will be actually able to help you over here.

  16. touqeershafi commented on Mar 17, 2015

    @touqeershafi

    I have intel Q33 Chipset, I've also installed the latest version of the display driver but every time when i run dota 2 it gives me same error "could not find required opengl entry point"
    What i'm doing wrong don't know

  17. RobLoach commented on May 9, 2015

    @RobLoach

    Switched to Ubuntu MATE, and was running into the r600 problem. The script @Half-Shot posted above fixed it, but I needed to run it a few times when Steam was updating itself.

  18. brodock commented on May 23, 2015

    @brodock

    As I still coming back here, I will share my solution, that survives steam updates:

    Edit the file (with sudo) /usr/share/applications/steam.desktop and change the line 4 to:

    Exec=env STEAM_RUNTIME=0 /usr/bin/steam %U
    
  19. francoisjacques commented on Nov 3, 2015

    @francoisjacques

    @Half-Shot clear and concise, thank you!

  20. syslogic commented on Nov 16, 2019

    @syslogic

    It seems the recent update of steam run-time reintroduced the issue - at least it worked all fine before.

    Running it with STEAM_RUNTIME = 0 gives me:

    You are missing the following 32-bit libraries, and Steam may not run:
    libva.so.2
    libbz2.so.1.0
    libva.so.2
    libva-x11.so.2
    

    libva-1.8.3-1.el7.i686.rpm does not contain any libva.so.2 ... libbz2.so.1.0 and libva-x11.so.2 do not exist on CentOS at all. Just not certain if libva.so.2 might be provided by the NVidia UNIX driver installer - and not the driver package (which was the only recent system change).

    When trying to revert to previous version:

    cd $HOME/.local/share/Steam/ubuntu12_32/
    mv steam-runtime ./steam-runtime.crap
    mv steam-runtime.old ./steam-runtime
    steam
    

    it will extract the archive again and then gives me:

    Forced use of runtime version for 32-bit libdbus-1.so.3. Host: 3.14.14 Runtime: 3.5.8
    Forced use of runtime version for 32-bit libcurl.so.4. Host: 4.3.0 Runtime: 4.2.0
    Forced use of runtime version for 32-bit libdbusmenu-glib.so.4. Host: 4.0.12 Runtime: 4.0.13
    Found newer runtime version for 32-bit libgmp.so.10. Host: 10.2.0 Runtime: 10.3.0
    Forced use of runtime version for 32-bit libgtk-x11-2.0.so.0. Host: 0.2400.31 Runtime: 0.2400.10
    Found newer runtime version for 32-bit libidn.so.11. Host: 11.6.11 Runtime: 11.6.15
    Found newer runtime version for 32-bit libogg.so.0. Host: 0.8.0 Runtime: 0.8.2
    Found newer runtime version for 32-bit libstdc++.so.6. Host: 6.0.19 Runtime: 6.0.21
    Found newer runtime version for 32-bit libvorbis.so.0. Host: 0.4.6 Runtime: 0.4.8
    Found newer runtime version for 32-bit libvorbisenc.so.2. Host: 2.0.9 Runtime: 2.0.11
    Found newer runtime version for 32-bit libvorbisfile.so.3. Host: 3.3.5 Runtime: 3.3.7
    Found newer runtime version for 64-bit libGLU.so.1. Host: 1.3.1 Runtime: 1.3.8004
    Forced use of runtime version for 64-bit libcurl.so.4. Host: 4.3.0 Runtime: 4.2.0
    Found newer runtime version for 64-bit libdbusmenu-glib.so.4. Host: 4.0.12 Runtime: 4.0.13
    Found newer runtime version for 64-bit libdbusmenu-gtk.so.4. Host: 4.0.12 Runtime: 4.0.13
    Found newer runtime version for 64-bit libgmp.so.10. Host: 10.2.0 Runtime: 10.3.0
    Found newer runtime version for 64-bit libidn.so.11. Host: 11.6.11 Runtime: 11.6.15
    Found newer runtime version for 64-bit libmpg123.so.0. Host: 0.44.5 Runtime: 0.44.8
    Found newer runtime version for 64-bit libogg.so.0. Host: 0.8.0 Runtime: 0.8.2
    Found newer runtime version for 64-bit libopus.so.0. Host: 0.5.2 Runtime: 0.7.0
    Found newer runtime version for 64-bit libstdc++.so.6. Host: 6.0.19 Runtime: 6.0.21
    Found newer runtime version for 64-bit libvorbis.so.0. Host: 0.4.6 Runtime: 0.4.8
    Found newer runtime version for 64-bit libvorbisenc.so.2. Host: 2.0.9 Runtime: 2.0.11
    Found newer runtime version for 64-bit libvorbisfile.so.3. Host: 3.3.5 Runtime: 3.3.7
    

    vainfo output:

    libva info: VA-API version 0.40.0
    libva info: va_getDriverName() returns 0
    libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
    libva info: Found init function __vaDriverInit_0_40
    libva info: va_openDriver() returns 0
    vainfo: VA-API version: 0.40 (libva )
    vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
    vainfo: Supported profile and entrypoints
    ...
    
  21. ecaferzade commented on Dec 13, 2020

    @ecaferzade
  22. locked and limited conversation to collaborators on Dec 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions