Ubuntu SDK & QT Creator crash on start with error 'Failed to create OpenGL context'
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
add a comment |
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
add a comment |
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
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
qt ubuntu-sdk opengl
asked Sep 15 '15 at 19:24
Brian UBrian U
1113
1113
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
answered Sep 24 '15 at 9:10
asalicasalic
1411
1411
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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