Failed to create OpenGL context for format QSurfaceFormat #333

Open
opened 2017-02-10 20:23:57 +01:00 by trenkert · 3 comments
trenkert commented 2017-02-10 20:23:57 +01:00 (Migrated from github.com)

When I try to install cool retro term, I get the following message:

QObject::connect: No such slot Konsole::TerminalDisplay_QML_41::close()
loadAllColorSchemes
Both point size and pixel size set. Using pixel size.
Session::run() - program: "/bin/bash"
Session::run() - arguments: ("")
started!
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile  0) 
cancel

I've installed all dependencies. Any idea what could be the reason for this?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/41900796-failed-to-create-opengl-context-for-format-qsurfaceformat?utm_campaign=plugin&utm_content=tracker%2F479407&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F479407&utm_medium=issues&utm_source=github).
When I try to install cool retro term, I get the following message: ``` QObject::connect: No such slot Konsole::TerminalDisplay_QML_41::close() loadAllColorSchemes Both point size and pixel size set. Using pixel size. Session::run() - program: "/bin/bash" Session::run() - arguments: ("") started! QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0) cancel ``` I've installed all dependencies. Any idea what could be the reason for this? <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/41900796-failed-to-create-opengl-context-for-format-qsurfaceformat?utm_campaign=plugin&utm_content=tracker%2F479407&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F479407&utm_medium=issues&utm_source=github). </bountysource-plugin>
kpuljek commented 2017-02-15 17:54:10 +01:00 (Migrated from github.com)

Same here, but I've had it installed for a while and it used to work. Something broke it.

My error is slightly different, though:

default KB_LAYOUT_DIR: "/usr/lib/x86_64-linux-gnu/qt5/qml/QMLTermWidget/kb-layouts" QObject::connect: No such slot Konsole::TerminalDisplay_QML_53::close() loadAllColorSchemes Session::run() - program: "/bin/bash" Session::run() - arguments: ("") started! Both point size and pixel size set. Using pixel size. Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0) Aborted (core dumped)

Same here, but I've had it installed for a while and it used to work. Something broke it. My error is slightly different, though: `default KB_LAYOUT_DIR: "/usr/lib/x86_64-linux-gnu/qt5/qml/QMLTermWidget/kb-layouts" QObject::connect: No such slot Konsole::TerminalDisplay_QML_53::close() loadAllColorSchemes Session::run() - program: "/bin/bash" Session::run() - arguments: ("") started! Both point size and pixel size set. Using pixel size. Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0) Aborted (core dumped) `
amoghpj commented 2017-06-29 18:03:11 +02:00 (Migrated from github.com)

I get the same error as @trenkert . Any suggestions?

I get the same error as @trenkert . Any suggestions?
adelbordbari commented 2019-07-10 01:47:10 +02:00 (Migrated from github.com)

same error with a slight difference:

QGLXContext: Failed to create dummy context
Using an unsupported variable-width font in the terminal.  This may produce display errors.
default KB_LAYOUT_DIR:  "/usr/lib/x86_64-linux-gnu/qt5/qml/QMLTermWidget/kb-layouts"
QObject::connect: No such slot Konsole::TerminalDisplay_QML_41::close()
loadAllColorSchemes
Session::run() - program: "/usr/bin/zsh"
Session::run() - arguments: ("")
started!
Both point size and pixel size set. Using pixel size.
Using an unsupported variable-width font in the terminal.  This may produce display errors.
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, profile  QSurfaceFormat::OpenGLContextProfile(NoProfile)) 
[1]    4322 abort (core dumped)  cool-retro-term

There's also a quick flash of screen and it then quits.

same error with a slight difference: ``` QGLXContext: Failed to create dummy context Using an unsupported variable-width font in the terminal. This may produce display errors. default KB_LAYOUT_DIR: "/usr/lib/x86_64-linux-gnu/qt5/qml/QMLTermWidget/kb-layouts" QObject::connect: No such slot Konsole::TerminalDisplay_QML_41::close() loadAllColorSchemes Session::run() - program: "/usr/bin/zsh" Session::run() - arguments: ("") started! Both point size and pixel size set. Using pixel size. Using an unsupported variable-width font in the terminal. This may produce display errors. Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, profile QSurfaceFormat::OpenGLContextProfile(NoProfile)) [1] 4322 abort (core dumped) cool-retro-term ``` There's also a quick flash of screen and it then quits.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seeseemelk/cool-retro-term#333
No description provided.