3D Acceleration with Gentoo guest
Posted: 20. Aug 2014, 10:26
I've installed Gentoo as a VirtualBox guest but am having problems getting hardware graphics acceleration to work. I've emerged X and virtualbox-guest-additions, and added virtualbox-guest-additions to my default runlevel.
When I disable hardware acceleration in VirtualBox, I get around 800fps in glxgears. When hardware acceleration is enabled, I only get 5 fps (?!?!?). Running "glxinfo | grep rendering" tells me that direct rendering is working. The only hint of something being wrong is the following in Xorg.log after all of the VBoxVideo output:
I have no idea how that makes things over a hundred times slower only when the VM has hardware acceleration enabled though. Can anybody help me figure out what's going on here?
My Xorg.log is at pastebin dot com slash B9vUv8W0 (sorry, can't post links) and I have no Xorg.conf. Thanks!
When I disable hardware acceleration in VirtualBox, I get around 800fps in glxgears. When hardware acceleration is enabled, I only get 5 fps (?!?!?). Running "glxinfo | grep rendering" tells me that direct rendering is working. The only hint of something being wrong is the following in Xorg.log after all of the VBoxVideo output:
Code: Select all
[ 19.188] (II) AIGLX: Screen 0 is not DRI2 capable
[ 19.188] (EE) AIGLX: reverting to software renderingMy Xorg.log is at pastebin dot com slash B9vUv8W0 (sorry, can't post links) and I have no Xorg.conf. Thanks!