Since upgrading from 5.0.32, I get the following messages when attempting to start a vm which had 3d acceleration enabled: VBoxHeadless -s ubuntu1404 Oracle VM VirtualBox Headless Interface 5.0.40_Gentoo (C) 2008-2017 Oracle Corporation All rights reserved. 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 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 X Error of failed request: GLXBadContext Major opcode of failed request: 154 (GLX) Minor opcode of failed request: 6 (X_GLXIsDirect) Serial number of failed request: 50 Current serial number in output stream: 49 Disabling 3d accel for the vm works around the issue. Reproducible: Always
Created attachment 487420 [details] Results of emerge --info
Have the same problem but using an ATI video card and had to disable all video acceleration (2D and 3D) to get Windows 7 to boot.
I have the exact same symptoms as Daniel E. Wilson. In addition, if I try to start the Windows 7 VM, the VM will fail to start (Result Code: NS_ERROR_FAILURE (0x80004005)). This is likely because the kernel driver isn't loading properly. Will attach emerge --info as well, although I'm not sure this will help much. I'm also noticing this in 'dmesg' related to this issue: (notably suspicious are the OpenGL and glibc segfaults) [ 29.842576] SUPR0GipMap: fGetGipCpu=0x3 [ 30.178052] vboxdrv: ffffffffa06c9020 VMMR0.r0 [ 30.310006] ShCrOpenGL[5244]: segfault at 0 ip 00007f35ca2e276b sp 00007f35caace010 error 4 in VBoxOGLrenderspu.so[7f35ca2d5000+24000] [ 69.740696] vboxdrv: ffffffffa07b8020 VMMR0.r0 [ 69.838755] vboxdrv: ffffffffa08a7020 VBoxDDR0.r0 [ 69.841221] vboxdrv: ffffffffa08c7020 VBoxDD2R0.r0 [ 69.879304] VBoxNetFlt: attached to 'eth0.3' / d4:be:d9:8a:1e:12 [ 69.889186] vboxdrv: ffffffffa08cb020 VBoxEhciR0.r0 [ 201.180581] vboxnetflt: 0 out of 1591 packets were not sent (directed to host) [ 208.935988] vboxdrv: ffffffffa08ce020 VMMR0.r0 [ 209.024422] vboxdrv: ffffffffa09bd020 VBoxDDR0.r0 [ 209.025496] vboxdrv: ffffffffa09dd020 VBoxDD2R0.r0 [ 209.056453] VBoxNetFlt: attached to 'eth0.3' / d4:be:d9:8a:1e:12 [ 209.065065] vboxdrv: ffffffffa09e1020 VBoxEhciR0.r0 [ 209.073406] device eth0.3 entered promiscuous mode [ 209.073407] device eth0 entered promiscuous mode [ 1067.878587] VirtualBox[5161]: segfault at 1a ip 00007f18a530e71a sp 00007ffddf2cdee0 error 4 in libc-2.23.so[7f18a5299000+195000] [ 1082.712363] device eth0.3 left promiscuous mode [ 1082.712365] device eth0 left promiscuous mode [ 1082.728207] vboxnetflt: 0 out of 673 packets were not sent (directed to host) [ 1093.161569] vboxdrv: ffffffffa09e4020 VMMR0.r0 [ 1093.242777] vboxdrv: ffffffffa0ad3020 VBoxDDR0.r0 [ 1093.243923] vboxdrv: ffffffffa0af3020 VBoxDD2R0.r0 [ 1093.277737] VBoxNetFlt: attached to 'eth0.3' / d4:be:d9:8a:1e:12 [ 1093.286583] vboxdrv: ffffffffa0af7020 VBoxEhciR0.r0
Created attachment 488462 [details] Results of emerge --info (Kloepfer)
Upgrading to 5.1.26 fixed this for me (which was necessary to build against stable kernel 4.12.5)
This looks like an xorg configuration problem on the host which wouldn't be a vbox bug at all, please reopen if you dont think that's the case.