Ubuntu 16.04: Steam - “libGL error: failed to load driver: swrast”












0















Having installed nvidia-375, Steam didn't work, so I reinstalled, to no effect. When I try to open Steam, I get the following error (with LIBGL_DEBUG=verbose):



Running Steam on ubuntu 16.04 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for
appid(steam)/version(1493162727)
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib/i386-linux-
gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/swrast_dri.so
libGL: Can't open configuration file /home/benedict/.drirc: No such
file or directory.
libGL: Can't open configuration file /home/benedict/.drirc: No such
file or directory.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast


Other answers have suggested I remove libstdc++.so.6, which I have done, so now my ~/.steam/steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu contains these:



libfreetype.so.6      libxcb.so.1        libXinerama.so.1.0.0
libfreetype.so.6.8.0 libxcb.so.1.1.0 libXrandr.so.2
libstdc++.so.6.0.21 libXdmcp.so.6 libXrandr.so.2.2.0
libX11.so.6 libXdmcp.so.6.0.0 libXrender.so.1
libX11.so.6.3.0 libXext.so.6 libXrender.so.1.3.0
libXau.so.6 libXext.so.6.4.0
libXau.so.6.0.0 libXinerama.so.1


I have an Nvidia Geforce 820M.










share|improve this question
















bumped to the homepage by Community 8 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    0















    Having installed nvidia-375, Steam didn't work, so I reinstalled, to no effect. When I try to open Steam, I get the following error (with LIBGL_DEBUG=verbose):



    Running Steam on ubuntu 16.04 64-bit
    STEAM_RUNTIME is enabled automatically
    Installing breakpad exception handler for
    appid(steam)/version(1493162727)
    libGL: screen 0 does not appear to be DRI2 capable
    libGL: OpenDriver: trying /usr/lib/i386-linux-
    gnu/dri/tls/swrast_dri.so
    libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/swrast_dri.so
    libGL: Can't open configuration file /home/benedict/.drirc: No such
    file or directory.
    libGL: Can't open configuration file /home/benedict/.drirc: No such
    file or directory.
    libGL error: No matching fbConfigs or visuals found
    libGL error: failed to load driver: swrast


    Other answers have suggested I remove libstdc++.so.6, which I have done, so now my ~/.steam/steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu contains these:



    libfreetype.so.6      libxcb.so.1        libXinerama.so.1.0.0
    libfreetype.so.6.8.0 libxcb.so.1.1.0 libXrandr.so.2
    libstdc++.so.6.0.21 libXdmcp.so.6 libXrandr.so.2.2.0
    libX11.so.6 libXdmcp.so.6.0.0 libXrender.so.1
    libX11.so.6.3.0 libXext.so.6 libXrender.so.1.3.0
    libXau.so.6 libXext.so.6.4.0
    libXau.so.6.0.0 libXinerama.so.1


    I have an Nvidia Geforce 820M.










    share|improve this question
















    bumped to the homepage by Community 8 hours ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      0












      0








      0








      Having installed nvidia-375, Steam didn't work, so I reinstalled, to no effect. When I try to open Steam, I get the following error (with LIBGL_DEBUG=verbose):



      Running Steam on ubuntu 16.04 64-bit
      STEAM_RUNTIME is enabled automatically
      Installing breakpad exception handler for
      appid(steam)/version(1493162727)
      libGL: screen 0 does not appear to be DRI2 capable
      libGL: OpenDriver: trying /usr/lib/i386-linux-
      gnu/dri/tls/swrast_dri.so
      libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/swrast_dri.so
      libGL: Can't open configuration file /home/benedict/.drirc: No such
      file or directory.
      libGL: Can't open configuration file /home/benedict/.drirc: No such
      file or directory.
      libGL error: No matching fbConfigs or visuals found
      libGL error: failed to load driver: swrast


      Other answers have suggested I remove libstdc++.so.6, which I have done, so now my ~/.steam/steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu contains these:



      libfreetype.so.6      libxcb.so.1        libXinerama.so.1.0.0
      libfreetype.so.6.8.0 libxcb.so.1.1.0 libXrandr.so.2
      libstdc++.so.6.0.21 libXdmcp.so.6 libXrandr.so.2.2.0
      libX11.so.6 libXdmcp.so.6.0.0 libXrender.so.1
      libX11.so.6.3.0 libXext.so.6 libXrender.so.1.3.0
      libXau.so.6 libXext.so.6.4.0
      libXau.so.6.0.0 libXinerama.so.1


      I have an Nvidia Geforce 820M.










      share|improve this question
















      Having installed nvidia-375, Steam didn't work, so I reinstalled, to no effect. When I try to open Steam, I get the following error (with LIBGL_DEBUG=verbose):



      Running Steam on ubuntu 16.04 64-bit
      STEAM_RUNTIME is enabled automatically
      Installing breakpad exception handler for
      appid(steam)/version(1493162727)
      libGL: screen 0 does not appear to be DRI2 capable
      libGL: OpenDriver: trying /usr/lib/i386-linux-
      gnu/dri/tls/swrast_dri.so
      libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/swrast_dri.so
      libGL: Can't open configuration file /home/benedict/.drirc: No such
      file or directory.
      libGL: Can't open configuration file /home/benedict/.drirc: No such
      file or directory.
      libGL error: No matching fbConfigs or visuals found
      libGL error: failed to load driver: swrast


      Other answers have suggested I remove libstdc++.so.6, which I have done, so now my ~/.steam/steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu contains these:



      libfreetype.so.6      libxcb.so.1        libXinerama.so.1.0.0
      libfreetype.so.6.8.0 libxcb.so.1.1.0 libXrandr.so.2
      libstdc++.so.6.0.21 libXdmcp.so.6 libXrandr.so.2.2.0
      libX11.so.6 libXdmcp.so.6.0.0 libXrender.so.1
      libX11.so.6.3.0 libXext.so.6 libXrender.so.1.3.0
      libXau.so.6 libXext.so.6.4.0
      libXau.so.6.0.0 libXinerama.so.1


      I have an Nvidia Geforce 820M.







      16.04 steam






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 1 '17 at 15:37







      Benedict Randall Shaw

















      asked Apr 30 '17 at 21:34









      Benedict Randall ShawBenedict Randall Shaw

      13529




      13529





      bumped to the homepage by Community 8 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 8 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Just give it a try, run it with docker container, based on my dockerfile
          https://github.com/allenyllee/server_setup/blob/master/nvidia_docker/Dockerfile_cuda80



          This dockerfile is based on official cuda image, modified to run all cuda samples with OpenGL, you should use nvidia-docker to build & run it.



          This solves my similar problem while running windows program via WINE.






          share|improve this answer

























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f910591%2fubuntu-16-04-steam-libgl-error-failed-to-load-driver-swrast%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Just give it a try, run it with docker container, based on my dockerfile
            https://github.com/allenyllee/server_setup/blob/master/nvidia_docker/Dockerfile_cuda80



            This dockerfile is based on official cuda image, modified to run all cuda samples with OpenGL, you should use nvidia-docker to build & run it.



            This solves my similar problem while running windows program via WINE.






            share|improve this answer






























              0














              Just give it a try, run it with docker container, based on my dockerfile
              https://github.com/allenyllee/server_setup/blob/master/nvidia_docker/Dockerfile_cuda80



              This dockerfile is based on official cuda image, modified to run all cuda samples with OpenGL, you should use nvidia-docker to build & run it.



              This solves my similar problem while running windows program via WINE.






              share|improve this answer




























                0












                0








                0







                Just give it a try, run it with docker container, based on my dockerfile
                https://github.com/allenyllee/server_setup/blob/master/nvidia_docker/Dockerfile_cuda80



                This dockerfile is based on official cuda image, modified to run all cuda samples with OpenGL, you should use nvidia-docker to build & run it.



                This solves my similar problem while running windows program via WINE.






                share|improve this answer















                Just give it a try, run it with docker container, based on my dockerfile
                https://github.com/allenyllee/server_setup/blob/master/nvidia_docker/Dockerfile_cuda80



                This dockerfile is based on official cuda image, modified to run all cuda samples with OpenGL, you should use nvidia-docker to build & run it.



                This solves my similar problem while running windows program via WINE.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Oct 31 '17 at 9:46

























                answered Oct 31 '17 at 9:09









                allenylleeallenyllee

                234




                234






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f910591%2fubuntu-16-04-steam-libgl-error-failed-to-load-driver-swrast%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    How did Captain America manage to do this?

                    迪纳利

                    南乌拉尔铁路局