VirtualBox

Opened 10 years ago

Closed 8 years ago

#13339 closed defect (obsolete)

libGL error: failed to load driver: vboxvideo

Reported by: FedericoEsteban Owned by:
Component: 3D support Version: VirtualBox 4.3.14
Keywords: Cc:
Guest type: other Host type: other

Description

I first got the error libGL error: failed to load driver: vboxvideo when trying to run a program that used OpenGL (I think).

I followed this issue https://www.virtualbox.org/ticket/12941 and saw that getting the newer versions of Guest Additions would suffice, so i did.

Now sometimes it crashes with this message:

libGL error: pci id for fd 5: 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

And sometimes it does not crash and gives this message:

libGL error: pci id for fd 5: 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: Assertion failed: obj, file /mnt/tinderbox/add-4.3/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj, file /mnt/tinderbox/add-4.3/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj, file /mnt/tinderbox/add-4.3/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj, file /mnt/tinderbox/add-4.3/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj, file /mnt/tinderbox/add-4.3/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj, file /mnt/tinderbox/add-4.3/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj, file /mnt/tinderbox/add-4.3/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj, file /mnt/tinderbox/add-4.3/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj, file /mnt/tinderbox/add-4.3/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210

Change History (8)

comment:1 by Michael Thayer, 10 years ago

Just a shot in the dark, but might the crashing be fixed by the test build from ticket 13335<1>? When it does not crash does 3D seem to work, disregarding the error messages?

<1> https://www.virtualbox.org/ticket/13335

comment:2 by mcaffee9, 10 years ago

Dear Community,

I can confirm this issue. My installation is:

Host

Archlinux x64
VirtualBox 4.3.14_OSE r95030 (4.3.13-4)
virtualbox-host-modules 4.3.14-5
Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) (rev 0c)
xf86-video-intel 2.99.914-4
xorg-server 1.16.0-6

glxinfo:

OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) 965GM 
OpenGL version string: 2.1 Mesa 10.2.6
OpenGL shading language version string: 1.20

Guest

Archlinux x64
virtualbox-guest-modules 4.3.14-5
virtualbox-guest-utils 4.3.14-4
Guest Additions: 4.3.14_OSE r95030

Xorg.0.log: glx loads fine

[     7.992] (II) VBoxVideo(0): Output VBOX0 connected
[     7.992] (II) VBoxVideo(0): Using exact sizes for initial modes
[     7.992] (II) VBoxVideo(0): Output VBOX0 using initial mode 1280x1024
[     7.992] (II) VBoxVideo(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[     7.992] (II) VBoxVideo(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[     7.779] (II) LoadModule: "glx"
[     7.792] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     7.887] (II) Module glx: vendor="X.Org Foundation"
[     7.887] 	compiled for 1.16.0, module version = 1.0.0
[     7.887] 	ABI class: X.Org Server Extension, version 8.0
[     7.887] (==) AIGLX enabled

though, glxinfo gives the following:

libGL error: pci id for fd 4: 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

glxgears is runnig at the same fps as the host, though complaining about vboxvideo failure:

libGL error: pci id for fd 4: 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
303 frames in 5.0 seconds = 60.476 FPS
300 frames in 5.0 seconds = 59.992 FPS

Is that an expected behavior?

PS: This is my first bug report ever, hope it's not too bad..

comment:3 by Michael Thayer, 10 years ago

mcaffee9: are you also getting crashes? The warnings and errors you listed are expected. If you are getting the crashes please try out the test build.

in reply to:  3 comment:4 by mcaffee9, 10 years ago

Replying to michael:

mcaffee9: are you also getting crashes? The warnings and errors you listed are expected. If you are getting the crashes please try out the test build.

Thank you for the quick reply,

My bad, what I told above was wrong -- Xorg is saying (a bit further):

[     7.524] (--) RandR disabled
[     7.585] (II) Next line is added to allow vboxvideo_drv.so to appear as whitelisted driver
[     7.585] (II) The file referenced, is *NOT* loaded
[     7.585] (II) Loading /usr/lib/xorg/modules/drivers//ati_drv.so
[     7.585] (EE) AIGLX error: vboxvideo does not export required DRI extension
[     7.585] (EE) AIGLX: reverting to software rendering
[     7.785] (II) AIGLX: Loaded and initialized swrast
[     7.785] (II) GLX: Initialized DRISWRAST GL provider for screen 0

So I still cannot figure out if the GL support is there or not. Chrome GPU report tells me, there is only the software rendering. Possibly, this behavior is expected though.

I've also tried to install the GA test build (via DMKS). The only difference is that vboxsf module fails to load. vboxvideo and vboxguest, on the other hand, load fine; but Xorg keeps complaining.

Last edited 10 years ago by mcaffee9 (previous) (diff)

comment:5 by Michael Thayer, 10 years ago

That error message in Xorg.*.log is bogus. We really do not export the DRI extensions, but we use other methods to hook into executables. Normally running glxinfo should tell you if 3D is supported: the renderer should be Humper/Chromium in that case. Do make sure that 3D is enabled in the machine settings.

comment:6 by FedericoEsteban, 10 years ago

Solution proposed in https://www.virtualbox.org/ticket/13335 was somehow helpful. I installed that build but the warning persists, though it does not crash anymore. At least for what I couldve tested so far.

EDIT: still the same after some more testing. Still crashing sometimes, and sometimes only warnings, just as first post.

Last edited 10 years ago by FedericoEsteban (previous) (diff)

in reply to:  5 comment:7 by mcaffee9, 10 years ago

Replying to michael:

That error message in Xorg.*.log is bogus. We really do not export the DRI extensions, but we use other methods to hook into executables. Normally running glxinfo should tell you if 3D is supported: the renderer should be Humper/Chromium in that case. Do make sure that 3D is enabled in the machine settings.

I see, this means everything is working as supposed..

comment:8 by aeichner, 8 years ago

Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use