Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 626534 - app-emulation/virtualbox-5.0.40 3d acceleration no longer works
Summary: app-emulation/virtualbox-5.0.40 3d acceleration no longer works
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-29 15:21 UTC by David Flogeras
Modified: 2017-08-31 19:41 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Results of emerge --info (info.txt,6.09 KB, text/plain)
2017-07-30 19:44 UTC, Daniel E. Wilson
Details
Results of emerge --info (Kloepfer) (file_626534.txt,5.20 KB, text/plain)
2017-08-09 15:29 UTC, Gil Kloepfer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Flogeras 2017-07-29 15:21:14 UTC
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
Comment 1 Daniel E. Wilson 2017-07-30 19:44:04 UTC
Created attachment 487420 [details]
Results of emerge --info
Comment 2 Daniel E. Wilson 2017-07-30 19:45:44 UTC
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.
Comment 3 Gil Kloepfer 2017-08-09 15:27:20 UTC
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
Comment 4 Gil Kloepfer 2017-08-09 15:29:52 UTC
Created attachment 488462 [details]
Results of emerge --info (Kloepfer)
Comment 5 David Flogeras 2017-08-14 21:43:43 UTC
Upgrading to 5.1.26 fixed this for me (which was necessary to build against stable kernel 4.12.5)
Comment 6 Ben Kohler gentoo-dev 2017-08-31 19:41:50 UTC
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.