Ubuntu SDK & QT Creator crash on start with error 'Failed to create OpenGL context'












2















I just did a fresh install of Ubuntu 15.04, and followed the instructions for installing the Ubuntu SDK located here: https://developer.ubuntu.com/en/start/ubuntu-sdk/installing-the-sdk/



On launching the SDK (or QT Creator), I receive the following error:



Welcome Mode Error:




Failed to create OpenGL context for format QSurfaceFormat(version 2.0,options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0).




In case it was related to me having an NVidia card, I tried switching over to the proprietary NVidia drivers, but am still receiving the error.



I found a post where somebody suggested that a fix for this in QT Creator is to go into the 'help > about plugins' menu in the application and disable the welcome screen, however both QT creator and the Ubuntu SDK hang before I can get to the option through the GUI.



Since I can't get that fix to work, and the official documentation just assumes everything works, I'm somewhat at a loss. If anybody could suggest anything to check, or any packages I need to install that weren't in the documentation, I'd greatly appreciate it.










share|improve this question



























    2















    I just did a fresh install of Ubuntu 15.04, and followed the instructions for installing the Ubuntu SDK located here: https://developer.ubuntu.com/en/start/ubuntu-sdk/installing-the-sdk/



    On launching the SDK (or QT Creator), I receive the following error:



    Welcome Mode Error:




    Failed to create OpenGL context for format QSurfaceFormat(version 2.0,options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0).




    In case it was related to me having an NVidia card, I tried switching over to the proprietary NVidia drivers, but am still receiving the error.



    I found a post where somebody suggested that a fix for this in QT Creator is to go into the 'help > about plugins' menu in the application and disable the welcome screen, however both QT creator and the Ubuntu SDK hang before I can get to the option through the GUI.



    Since I can't get that fix to work, and the official documentation just assumes everything works, I'm somewhat at a loss. If anybody could suggest anything to check, or any packages I need to install that weren't in the documentation, I'd greatly appreciate it.










    share|improve this question

























      2












      2








      2








      I just did a fresh install of Ubuntu 15.04, and followed the instructions for installing the Ubuntu SDK located here: https://developer.ubuntu.com/en/start/ubuntu-sdk/installing-the-sdk/



      On launching the SDK (or QT Creator), I receive the following error:



      Welcome Mode Error:




      Failed to create OpenGL context for format QSurfaceFormat(version 2.0,options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0).




      In case it was related to me having an NVidia card, I tried switching over to the proprietary NVidia drivers, but am still receiving the error.



      I found a post where somebody suggested that a fix for this in QT Creator is to go into the 'help > about plugins' menu in the application and disable the welcome screen, however both QT creator and the Ubuntu SDK hang before I can get to the option through the GUI.



      Since I can't get that fix to work, and the official documentation just assumes everything works, I'm somewhat at a loss. If anybody could suggest anything to check, or any packages I need to install that weren't in the documentation, I'd greatly appreciate it.










      share|improve this question














      I just did a fresh install of Ubuntu 15.04, and followed the instructions for installing the Ubuntu SDK located here: https://developer.ubuntu.com/en/start/ubuntu-sdk/installing-the-sdk/



      On launching the SDK (or QT Creator), I receive the following error:



      Welcome Mode Error:




      Failed to create OpenGL context for format QSurfaceFormat(version 2.0,options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0).




      In case it was related to me having an NVidia card, I tried switching over to the proprietary NVidia drivers, but am still receiving the error.



      I found a post where somebody suggested that a fix for this in QT Creator is to go into the 'help > about plugins' menu in the application and disable the welcome screen, however both QT creator and the Ubuntu SDK hang before I can get to the option through the GUI.



      Since I can't get that fix to work, and the official documentation just assumes everything works, I'm somewhat at a loss. If anybody could suggest anything to check, or any packages I need to install that weren't in the documentation, I'd greatly appreciate it.







      qt ubuntu-sdk opengl






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Sep 15 '15 at 19:24









      Brian UBrian U

      1113




      1113






















          1 Answer
          1






          active

          oldest

          votes


















          4














          I have the same problem, but I am using Qt Creator with ssh X11 forwarding . I hope that my solution will help those that try to run the program locally and those try remotely.



          The solution:





          • launch Creator (in my case on Linux, with the exec being <qt_install_dir>/Tools/QtCreator/bin/qtcreator) with the following parameters:



            -noload Welcome -noload QmlDesigner -noload QmlProfiler



          • it may give you an error about not finding <qt_install_dir>/qtcreator; Ignore it and press OK

          • go to Help->About Plugins... and uncheck "Qt Creator->Welcome" (I also deactivated QmlDesigner and QmlProfiler)


          • exit Creator and start it normally without any command line arguments



            This may work on Windows too. If anyone has tried it, please let us know.








          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%2f674558%2fubuntu-sdk-qt-creator-crash-on-start-with-error-failed-to-create-opengl-conte%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









            4














            I have the same problem, but I am using Qt Creator with ssh X11 forwarding . I hope that my solution will help those that try to run the program locally and those try remotely.



            The solution:





            • launch Creator (in my case on Linux, with the exec being <qt_install_dir>/Tools/QtCreator/bin/qtcreator) with the following parameters:



              -noload Welcome -noload QmlDesigner -noload QmlProfiler



            • it may give you an error about not finding <qt_install_dir>/qtcreator; Ignore it and press OK

            • go to Help->About Plugins... and uncheck "Qt Creator->Welcome" (I also deactivated QmlDesigner and QmlProfiler)


            • exit Creator and start it normally without any command line arguments



              This may work on Windows too. If anyone has tried it, please let us know.








            share|improve this answer




























              4














              I have the same problem, but I am using Qt Creator with ssh X11 forwarding . I hope that my solution will help those that try to run the program locally and those try remotely.



              The solution:





              • launch Creator (in my case on Linux, with the exec being <qt_install_dir>/Tools/QtCreator/bin/qtcreator) with the following parameters:



                -noload Welcome -noload QmlDesigner -noload QmlProfiler



              • it may give you an error about not finding <qt_install_dir>/qtcreator; Ignore it and press OK

              • go to Help->About Plugins... and uncheck "Qt Creator->Welcome" (I also deactivated QmlDesigner and QmlProfiler)


              • exit Creator and start it normally without any command line arguments



                This may work on Windows too. If anyone has tried it, please let us know.








              share|improve this answer


























                4












                4








                4







                I have the same problem, but I am using Qt Creator with ssh X11 forwarding . I hope that my solution will help those that try to run the program locally and those try remotely.



                The solution:





                • launch Creator (in my case on Linux, with the exec being <qt_install_dir>/Tools/QtCreator/bin/qtcreator) with the following parameters:



                  -noload Welcome -noload QmlDesigner -noload QmlProfiler



                • it may give you an error about not finding <qt_install_dir>/qtcreator; Ignore it and press OK

                • go to Help->About Plugins... and uncheck "Qt Creator->Welcome" (I also deactivated QmlDesigner and QmlProfiler)


                • exit Creator and start it normally without any command line arguments



                  This may work on Windows too. If anyone has tried it, please let us know.








                share|improve this answer













                I have the same problem, but I am using Qt Creator with ssh X11 forwarding . I hope that my solution will help those that try to run the program locally and those try remotely.



                The solution:





                • launch Creator (in my case on Linux, with the exec being <qt_install_dir>/Tools/QtCreator/bin/qtcreator) with the following parameters:



                  -noload Welcome -noload QmlDesigner -noload QmlProfiler



                • it may give you an error about not finding <qt_install_dir>/qtcreator; Ignore it and press OK

                • go to Help->About Plugins... and uncheck "Qt Creator->Welcome" (I also deactivated QmlDesigner and QmlProfiler)


                • exit Creator and start it normally without any command line arguments



                  This may work on Windows too. If anyone has tried it, please let us know.









                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Sep 24 '15 at 9:10









                asalicasalic

                1411




                1411






























                    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%2f674558%2fubuntu-sdk-qt-creator-crash-on-start-with-error-failed-to-create-opengl-conte%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

                    數位音樂下載

                    When can things happen in Etherscan, such as the picture below?

                    格利澤436b