qtcreator 3.5.1(Qt 5.5.1)在 Ubuntu 14.04 上崩溃,VritualBox 无法初始化 GLX 中止(核心转储)

qtcreator 3.5.1(Qt 5.5.1)在 Ubuntu 14.04 上崩溃,VritualBox 无法初始化 GLX 中止(核心转储)

我刚刚在 VirtualBox 5.0.14 下的 Ubuntu 14.04LTS 上安装了 Qt 5.5.1。我无法运行 Qt Creator,因为它在最后打印了一长串警告

无法初始化 GLX 已中止(核心已转储)

这是完整的输出

libGL error: pci id for fd 21: 80ee:beef, driver (null)
OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table
OpenGL Warning: glVertexArrayRangeNV not found in mesa table
OpenGL Warning: glCombinerInputNV not found in mesa table
OpenGL Warning: glCombinerOutputNV not found in mesa table
OpenGL Warning: glCombinerParameterfNV not found in mesa table
OpenGL Warning: glCombinerParameterfvNV not found in mesa table
OpenGL Warning: glCombinerParameteriNV not found in mesa table
OpenGL Warning: glCombinerParameterivNV not found in mesa table
OpenGL Warning: glFinalCombinerInputNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glDeleteFencesNV not found in mesa table
OpenGL Warning: glFinishFenceNV not found in mesa table
OpenGL Warning: glGenFencesNV not found in mesa table
OpenGL Warning: glGetFenceivNV not found in mesa table
OpenGL Warning: glIsFenceNV not found in mesa table
OpenGL Warning: glSetFenceNV not found in mesa table
OpenGL Warning: glTestFenceNV not found in mesa table
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0ab24b48
OpenGL Warning: Retry with 0x8002 returned 0 visuals
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0ab24b48
OpenGL Warning: Retry with 0x8002 returned 0 visuals
OpenGL Warning: glXGetFBConfigAttrib for 0ab24b48, failed to get XVisualInfo
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0ab24b48
OpenGL Warning: Retry with 0x8002 returned 0 visuals
OpenGL Warning: glXGetFBConfigAttrib for 0ab24b48, failed to get XVisualInfo
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0ab24b48
OpenGL Warning: Retry with 0x8002 returned 0 visuals
OpenGL Warning: glXGetFBConfigAttrib for 0ab24b48, failed to get XVisualInfo
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0ab24b48
OpenGL Warning: Retry with 0x8002 returned 0 visuals
OpenGL Warning: glXGetFBConfigAttrib for 0ab24b48, failed to get XVisualInfo
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0ab24b48
OpenGL Warning: Retry with 0x8002 returned 0 visuals
OpenGL Warning: glXGetFBConfigAttrib for 0ab24b48, failed to get XVisualInfo
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0ab24b48
OpenGL Warning: Retry with 0x8002 returned 0 visuals
OpenGL Warning: glXGetFBConfigAttrib for 0ab24b48, failed to get XVisualInfo
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0ab24b48
OpenGL Warning: Retry with 0x8002 returned 0 visuals
OpenGL Warning: glXGetFBConfigAttrib for 0ab24b48, failed to get XVisualInfo
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0ab24b48
OpenGL Warning: Retry with 0x8002 returned 0 visuals
OpenGL Warning: glXGetFBConfigAttrib for 0ab24b48, failed to get XVisualInfo
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0ab24b48
OpenGL Warning: Retry with 0x8002 returned 0 visuals
Could not initialize GLX
Aborted (core dumped)

答案1

我遇到了同样的问题。virtualbox 5.0.4 下的 ubuntu 14.04LTS

https://stackoverflow.com/questions/34654638/qt-creator-doesnt-launch-in-linux-mint-for-qt-5-5-1 对我来说,关闭 VirtualBox 中的 3D 加速显示是有效的。

问候

答案2

这不是真正的解决方案,更像是一种变通方法。除了禁用 3D 加速之外,我还必须安装 QtCreator 的存储库版本。

sudo apt-get install qtcreator

相关内容