Opened 10 years ago
Last modified 9 years ago
#13648 new defect
VirtualBox 4.3.20 Could Not Initialize GLX
Reported by: | amclain | Owned by: | |
---|---|---|---|
Component: | guest additions | Version: | VirtualBox 4.3.20 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Windows |
Description
After upgrading from VirtualBox 4.3.12 to 4.3.20, attempting to run a QML application results in the error: "Could not initialize GLX". There appears to be a problem with OpenGL in the guest extensions.
System Info:
Host: Windows 7 Professional 64-bit SP1 AMD Phenom II N950 Quad-Core ATI Mobility Radeon HD5650 VirtualBox v4.3.20 r96997 Extension Pack v4.3.20 r96996 Guest: Xubuntu lsb_release: Ubuntu 14.04.1 LTS uname: Linux 3.13.0-40-generic #69-Ubuntu SMP Thu Nov 13 17:53:56 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Relevant Packages: mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev
Output:
$ qmlscene test.qml --resize-to-root libGL error: pci id for fd 10: 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 0000000001acf250 OpenGL Warning: Retry with 0x8002 returned 0 visuals OpenGL Warning: XGetVisualInfo returned 0 visuals for 0000000001acf250 OpenGL Warning: Retry with 0x8002 returned 0 visuals OpenGL Warning: XGetVisualInfo returned 0 visuals for 0000000001acf250 OpenGL Warning: Retry with 0x8002 returned 0 visuals OpenGL Warning: glXGetFBConfigAttrib for 0000000001acf250, failed to get XVisualInfo OpenGL Warning: XGetVisualInfo returned 0 visuals for 0000000001acf250 OpenGL Warning: Retry with 0x8002 returned 0 visuals OpenGL Warning: glXGetFBConfigAttrib for 0000000001acf250, failed to get XVisualInfo OpenGL Warning: XGetVisualInfo returned 0 visuals for 0000000001acf250 OpenGL Warning: Retry with 0x8002 returned 0 visuals OpenGL Warning: glXGetFBConfigAttrib for 0000000001acf250, failed to get XVisualInfo OpenGL Warning: XGetVisualInfo returned 0 visuals for 0000000001acf250 OpenGL Warning: Retry with 0x8002 returned 0 visuals OpenGL Warning: glXGetFBConfigAttrib for 0000000001acf250, failed to get XVisualInfo OpenGL Warning: XGetVisualInfo returned 0 visuals for 0000000001acf250 OpenGL Warning: Retry with 0x8002 returned 0 visuals OpenGL Warning: glXGetFBConfigAttrib for 0000000001acf250, failed to get XVisualInfo OpenGL Warning: XGetVisualInfo returned 0 visuals for 0000000001acf250 OpenGL Warning: Retry with 0x8002 returned 0 visuals OpenGL Warning: glXGetFBConfigAttrib for 0000000001acf250, failed to get XVisualInfo OpenGL Warning: XGetVisualInfo returned 0 visuals for 0000000001acf250 OpenGL Warning: Retry with 0x8002 returned 0 visuals OpenGL Warning: glXGetFBConfigAttrib for 0000000001acf250, failed to get XVisualInfo OpenGL Warning: XGetVisualInfo returned 0 visuals for 0000000001acf250 OpenGL Warning: Retry with 0x8002 returned 0 visuals OpenGL Warning: glXGetFBConfigAttrib for 0000000001acf250, failed to get XVisualInfo OpenGL Warning: XGetVisualInfo returned 0 visuals for 0000000001acf250 OpenGL Warning: Retry with 0x8002 returned 0 visuals Could not initialize GLX Aborted (core dumped)
Sample Code:
import QtQuick 2.2 Rectangle { width: 640 height: 480 color: 'black' }
Qt Download: http://www.qt.io/download-open-source/
Change History (8)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Hi,
I have been experiencing a similar problem so tried installing the VBoxAdditions that you attached.
I am running Ubuntu 14.04LTS 64-bit in the VM, hosted by Windows 7 64-bit.
The problem I am experiencing with the v4.3.20 VBoxAdditions shows up if I try to run P4V (a perforce client). The output is as follows:
libGL error: pci id for fd 10: 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 0000000003790850 OpenGL Warning: Retry with 0x8002 returned 0 visuals OpenGL Warning: XGetVisualInfo returned 0 visuals for 0000000003790850 OpenGL Warning: Retry with 0x8002 returned 0 visuals OpenGL Warning: XGetVisualInfo returned 0 visuals for 0000000003790850 OpenGL Warning: Retry with 0x8002 returned 0 visuals OpenGL Warning: glXGetFBConfigAttrib for 0000000003790850, failed to get XVisualInfo OpenGL Warning: XGetVisualInfo returned 0 visuals for 0000000003790850 OpenGL Warning: Retry with 0x8002 returned 0 visuals OpenGL Warning: glXGetFBConfigAttrib for 0000000003790850, failed to get XVisualInfo OpenGL Warning: XGetVisualInfo returned 0 visuals for 0000000003790850 OpenGL Warning: Retry with 0x8002 returned 0 visuals OpenGL Warning: glXGetFBConfigAttrib for 0000000003790850, failed to get XVisualInfo OpenGL Warning: XGetVisualInfo returned 0 visuals for 0000000003790850 OpenGL Warning: Retry with 0x8002 returned 0 visuals OpenGL Warning: glXGetFBConfigAttrib for 0000000003790850, failed to get XVisualInfo OpenGL Warning: XGetVisualInfo returned 0 visuals for 0000000003790850 OpenGL Warning: Retry with 0x8002 returned 0 visuals OpenGL Warning: glXGetFBConfigAttrib for 0000000003790850, failed to get XVisualInfo OpenGL Warning: XGetVisualInfo returned 0 visuals for 0000000003790850 OpenGL Warning: Retry with 0x8002 returned 0 visuals OpenGL Warning: glXGetFBConfigAttrib for 0000000003790850, failed to get XVisualInfo OpenGL Warning: XGetVisualInfo returned 0 visuals for 0000000003790850 OpenGL Warning: Retry with 0x8002 returned 0 visuals OpenGL Warning: glXGetFBConfigAttrib for 0000000003790850, failed to get XVisualInfo OpenGL Warning: XGetVisualInfo returned 0 visuals for 0000000003790850 OpenGL Warning: Retry with 0x8002 returned 0 visuals OpenGL Warning: glXGetFBConfigAttrib for 0000000003790850, failed to get XVisualInfo
The first thing I get after installing your version of the guest additions is that apport reports that /usr/lib/libgnome-descktop-3-7/check_gl_texture_size crashes with signal 5 in rtThreadGet().
Then if I try to run 4v this also crashes:
chris@chriso-VirtualBox:~$ libGL error: pci id for fd 10: 80ee:beef, driver (null) !!Assertion Failed!! Expression: <none> Location : /home/michael/vbox/branches/VBox-4.3/src/VBox/Runtime/common/misc/thread.cpp(553) RTTHREADINT* rtThreadGet(RTTHREADINT*) Thread=0000000002639250
Don't know if that gets us anywhere? Thanks Chris
comment:3 by , 10 years ago
Please try again with this build:
https://www.215389.xyz/download/testcase/VBoxGuestAdditions.zip
Thanks!
comment:4 by , 10 years ago
With that version, behaviour seems the same as with the 4.3.20 released version. Could you give more detailed instructions on installing debugging symbols and obtaining a backtrace? I don't know how to do either of these things. Thanks Chris
comment:5 by , 10 years ago
I'm afraid I can't tell you where to get symbols for P4V, I assume it is not from the Ubuntu repositories. You can get a back-trace by running your application under gdb:
$ gdb --args <application command line> [...] (gdb) run [...] [The application encountered a segmentation fault at...] (gdb) backtrace
comment:7 by , 9 years ago
Hello,
I see the same issues. I've tried many combinations of vritualbox version, guest addition versions, and qt5 versions, but I always get this error: libGL error: failed to load driver: vboxvideo Is anyone familiar with a combination which works with openGL 3D?
Thank you, Ran
comment:8 by , 9 years ago
As I have stated before, the test of whether 3D pass-through is working is to run glxinfo and see whether the strings contain "Humper" and "Chromium". If so, basic pass-through is working, although many 3D applications will probably not (those applications will usually work, slowly, if 3D pass-through is not working). And if it is working, there are generally lots of confusing errors and warnings.
If you are interested in trying the latest development code (which is still far from fully working), you could try installing these Additions:
https://www.215389.xyz/download/testcase/VBoxGuestAdditions_5.0.51-105168.iso
Development code, so there is always a risk that you may need to repair your virtual machine afterwards, or better: take a snapshot first.
I was unable to reproduce this locally with my first attempts. Would you be able to install debugging symbols for the relevant Ubuntu system libraries and a copy of the 4.3.21 Additions with debugging symbols<1> (you will need to manually execute the .run file on the ISO image) and get a back-trace? Thanks!
<1> https://www.215389.xyz/download/testcase/VBoxGuestAdditions.zip