VirtualBox

Opened 7 years ago

Last modified 7 years ago

#16693 closed defect

GL libraries not detected and none ending process. — at Version 3

Reported by: Steve Moyes Owned by:
Component: 3D support Version: VirtualBox 5.1.20
Keywords: Cc:
Guest type: Windows Host type: Linux

Description (last modified by Frank Mehnert)

Hi, Windows guest is unable to start with 3D acceleration enabled. Having only 2D enabled results in Windows booting to a black screen.

First symptom: Starting virtualbox on the cli gets:

$ virtualbox
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

Second symptom: Closing the GUI window does not always end the process (also experienced on a Windows host). CTRL-C has to be used.

Third symptom: Trying to start a VM with 3D acceleration gets the error:

Failed to open a session for the virtual machine win10.
The VM session was aborted.
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: SessionMachine
Interface: ISession {7844aa05-b02e-4cdd-a04f-ade4a762e6b7}

Downgrading to version 5.1.18 resolves all of the above.

Change History (4)

by Steve Moyes, 7 years ago

Log viewer

comment:1 by Erik Zeek, 7 years ago

I get the same results with the r600 driver:

LIBGL_DEBUG=verbose VirtualBox 
libGL: pci id for fd 13: 1002:68b8, driver r600
libGL: OpenDriver: trying /usr/lib64/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/r600_dri.so
libGL: dlopen /usr/lib64/dri/r600_dri.so failed ((null))
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL: pci id for fd 13: 1002:68b8, driver r600
libGL: OpenDriver: trying /usr/lib64/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/r600_dri.so
libGL: dlopen /usr/lib64/dri/r600_dri.so failed ((null))
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so
libGL: dlopen /usr/lib64/dri/swrast_dri.so failed ((null))
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
[18660.270984] ShCrOpenGL[18597]: segfault at 0 ip 00007f0eed57539b sp 00007f0eee0e4020 error 4 in VBoxOGLrenderspu.so[7f0eed568000+27000]
> glxinfo | grep string
server glx vendor string: SGI
server glx version string: 1.4
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD JUNIPER (DRM 2.49.0 / 4.10.12-gentoo, LLVM 4.0.0)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 17.0.4
OpenGL core profile shading language version string: 3.30
OpenGL version string: 3.0 Mesa 17.0.4
OpenGL shading language version string: 1.30
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 17.0.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00

comment:2 by -DvD-, 7 years ago

Same here. It is not dependent by the guest as I have the very same problem with a Linux guest. It is also happening with dry run using modesetting drivers and with optirun using nvidia drivers.

I am using gentoo multilib Linux version 4.10.11-gentoo-ck-dvd (root@gentoo-seitan) (gcc version 5.4.0 (Gentoo 5.4.0-r3 p1.3, pie-0.6.5) ) #1 SMP Sat Apr 22 18:29:30 CEST 2017

Installed packages with version
emerge --info
lshw
glxinfo
kernel .config
Xorg.0.log

comment:3 by Frank Mehnert, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use