Oracle VM VirtualBox: Ticket #4789: "vboxvideo does not export required DRI extension"https://www.virtualbox.org/ticket/4789
<p>
KDE4.3 is unable to enable its effects because Composite is not accessible in X. In X logs, these errors occured:
</p>
<pre class="wiki">(EE) AIGLX error: vboxvideo does not export required DRI extension
(EE) AIGLX: reverting to software rendering
</pre><p>
I will attach complete logs of my (still running) virtual machine, which is running on PUEL 3.0.4, with matching PUEL Guest Additions.
</p>
en-usOracle VM VirtualBox/graphics/vbox_logo2_gradient.pnghttps://www.virtualbox.org/ticket/4789
Trac 0.12javaJakeSun, 16 Aug 2009 16:16:08 GMTattachment sethttps://www.virtualbox.org/ticket/4789
https://www.virtualbox.org/ticket/4789
<ul>
<li><strong>attachment</strong>
set to <em>Xorg.0.log</em>
</li>
</ul>
<p>
Xorg.0.log of a still-running X session.
</p>
TicketjavaJakeSun, 16 Aug 2009 16:16:50 GMTattachment sethttps://www.virtualbox.org/ticket/4789
https://www.virtualbox.org/ticket/4789
<ul>
<li><strong>attachment</strong>
set to <em>VBox.log</em>
</li>
</ul>
<p>
Still-running virtual machine's log
</p>
TicketmichaelWed, 02 Sep 2009 13:11:54 GMThttps://www.virtualbox.org/ticket/4789#comment:1
https://www.virtualbox.org/ticket/4789#comment:1
<p>
Our DRI support is still not done properly, and fails in a number of cases. This will be fixed at some point, but of course I can't say exactly when.
</p>
TicketdterraheTue, 09 Mar 2010 16:33:35 GMThttps://www.virtualbox.org/ticket/4789#comment:2
https://www.virtualbox.org/ticket/4789#comment:2
<p>
This looks very similar to what I've been struggling with over a whole range of vbox versions. I eventually concluded something must have got messed up in my Vista 32-bits installation, but even on a fresh Windows 7 64-bits install with 3.1.4 and a fresh Fedora virtual machine (versus Debian previously) I had the exact same problem. The host has an nVidia 8600M GT and drivers 195.62 (but a long list of previous drivers "worked" identical).
</p>
<p>
The vboxvideo drivers seems to happily initialise DRI, but then switches to DRISWRAST anyway.
</p>
<p>
One difference in the log file is that I have a line
</p>
<pre class="wiki">(II) AIGLX: Screen 0 is not DRI2 capable
</pre><p>
a little bit before the
</p>
<pre class="wiki">(EE) AIGLX error: vboxvideo does not export required DRI extension
</pre><p>
It happily drmOpenDevice s /dev/dri/card0 in between though.
</p>
<p>
Is this something I could help with? If not all cases are handled correctly, could I try skipping a test that now fails to see if there are any further problems? Not sure which source file I would have to look in though. I assume it is in Guest Additions, since the host log file doesn't show anything suspicious.
</p>
TicketmlakerFri, 25 Jun 2010 18:55:14 GMThttps://www.virtualbox.org/ticket/4789#comment:3
https://www.virtualbox.org/ticket/4789#comment:3
<p>
I have the same problem as dterrahe, along with generally sluggish screen updates. I'd be pleased to help if there were any tests I could run.
</p>
TicketleonidMon, 28 Jun 2010 09:12:08 GMThttps://www.virtualbox.org/ticket/4789#comment:4
https://www.virtualbox.org/ticket/4789#comment:4
<p>
The error message is expected, it's done specifically to disable loading of vbox fake dri driver by aiglx as it's not working quite fine with it yet.
</p>
TicketdterraheMon, 28 Jun 2010 09:15:29 GMThttps://www.virtualbox.org/ticket/4789#comment:5
https://www.virtualbox.org/ticket/4789#comment:5
<p>
Then what should I do to get 3d acceleration working? I understand it should work on Win7-64/nVidia host hardware?
</p>
<p>
Should aiglx be disabled? How?
</p>
TicketleonidMon, 28 Jun 2010 09:30:02 GMThttps://www.virtualbox.org/ticket/4789#comment:6
https://www.virtualbox.org/ticket/4789#comment:6
<p>
It wouldn't work with KDE's Kwin manager yet if you have same problem as it was stated in ticket description.
Overwise, please provide host log, and run your app on the quest with CR_DEBUG_FILE=crlog.txt and provide that file as well.
</p>
TicketdterraheMon, 05 Jul 2010 11:51:13 GMThttps://www.virtualbox.org/ticket/4789#comment:7
https://www.virtualbox.org/ticket/4789#comment:7
<p>
I disabled aiglx using
</p>
<p>
Section "ServerFlags"
</p>
<blockquote>
<p>
Option "AIGLX" "Off"
</p>
</blockquote>
<p>
EndSection
</p>
<p>
which made the (EE) error lines in the log disappear, but it still loads the DRISWRAST driver.
</p>
<p>
Obviously, if the xorg log shows that no hardware acceleration is available, then neither kwin compositing, nor compiz nor glxgears will be accelerated?
Which still leaves me wondering if this ever works for anybody with an nvidia host and what settings (xorg.conf or otherwise) are required.
</p>
<p>
Not sure how to get CR_DEBUG_FILE=crlog.txt to work. It seems no log file is generated when I put this in front of the glxgears command.
</p>
TicketleonidMon, 05 Jul 2010 12:11:50 GMThttps://www.virtualbox.org/ticket/4789#comment:8
https://www.virtualbox.org/ticket/4789#comment:8
<p>
You should *NOT* disable AIGLX... that's why you don't see logfile.
</p>
<p>
"Obviously, if the xorg log shows that no hardware acceleration is available, then neither kwin compositing, nor compiz nor glxgears will be accelerated?" That's wrong.
</p>
<p>
Kwin would *NOT* work regardless.
</p>
TicketleonidMon, 05 Jul 2010 12:19:01 GMThttps://www.virtualbox.org/ticket/4789#comment:9
https://www.virtualbox.org/ticket/4789#comment:9
<p>
Also...you're using fedora which might be the problem. Try some fresh guest ubuntu install to see if it's related to your host or not. You'd see exactly same error in the X log, but compiz/glxgears/glxinfo should work fine there.
</p>
TicketdterraheTue, 06 Jul 2010 10:28:46 GMThttps://www.virtualbox.org/ticket/4789#comment:10
https://www.virtualbox.org/ticket/4789#comment:10
<p>
Many thanks. I know that kdm will not work, which is why I was testing with glxgears and the test was with AIGLX reenabled. I found it very counter-intuitive that with the errors in the log file and the explicit mention that a software rasteriser is loaded, that there would still be accelerated 3D. My main install is actually debian unstable, but since it has seen many config changes I also tested with ubuntu and fedora in the past. This never gave me working 3d acceleration, but I now did a fresh ubuntu 10.04 64bit install, added guest-additions and mesa-utils and now glxgears is accelerated, for the very first time! It seems recent (since the last time I used ubuntu to test) changes have improved the situation for my system.
</p>
<p>
I'm attaching the xorg.log of this session for those who are struggling with the same problem and to make it clear again, this is from a session with working 3d and the errors are therefore no cause for concern.
</p>
<p>
I will now try to figure out how to fix my debian setup. I'm also using it in a dual-boot configuration with the nvidia drivers to access the hardware directly. nVidia is doing some diverting of lib files, meaning I have to explicitly instruct xorg to load its modules from /usr/lib/nvidia (where the original mesa files have been moved to). The confusing error messages in the log kept me looking in the wrong direction when the real remaining problem was apparently caused by glxgears loading the wrong libGL.
</p>
TicketdterraheTue, 06 Jul 2010 10:29:49 GMTattachment sethttps://www.virtualbox.org/ticket/4789
https://www.virtualbox.org/ticket/4789
<ul>
<li><strong>attachment</strong>
set to <em>Xorg.0.working.log</em>
</li>
</ul>
<p>
Xorg log from fresh ubuntu 10.04 install with working 3d acceleration.
</p>
Ticket