Page 1 of 1

Video accelleration possible?

Posted: 5. Jan 2012, 19:44
by kupetky
Hello there!

I'm trying to play MPEG2 videos at DVD resolution inside a virtualbox guest. the guest is linux. (linux3.1.6, fluxbox on archlinux)

since im getting the infamous error:

Code: Select all

[    71.037] (EE) AIGLX error: vboxvideo does not export required DRI extension
[    71.039] (EE) AIGLX: reverting to software rendering
[    71.433] (II) AIGLX: Loaded and initialized swrast
I suppose OpenGL acceleration is not available (glxgears also only reaches 60FPS) here.

So the question is, what other acceleration methods do work inside virtualbox? (Xv doesnt seem to work neither)

any help is appreciated.

Re: Video accelleration possible?

Posted: 27. Jan 2012, 01:23
by Sasquatch
kupetky wrote:glxgears also only reaches 60FPS
Try disabling vsync and it will be higher.

What you're confusing here is video decoding vs 3D acceleration. Xv playback output has little to do with OpenGL rendering. What you're talking about that you want to achieve is 2D acceleration for video playback and that is only supported on Windows Guests, as you can read in the User Manual, and in the warning message that you get when you try to enable it.

If you read the log you snipped here carefully, you will see that you need to ignore the entries. Else you may need an additional package to get a better result with DRI.

Re: Video accelleration possible?

Posted: 30. Jan 2012, 17:25
by kupetky
Hello and thanks for your reply!

Yes, I found that out after reading the manual.. But shouldnt it be possible to use OpenGL for video acceleration. At least players like xine and MPlayer offer that as video driver. Or is that also excluded from video-acceleration on non-windows guests?

Re: Video accelleration possible?

Posted: 30. Jan 2012, 20:40
by Sasquatch
You can use OpenGL as video output in the VM, but keep in mind that it has overlay issues. You'll notice when you use it.