Video accelleration possible?

This is for discussing general topics about how to use VirtualBox.
Post Reply
kupetky
Posts: 2
Joined: 5. Jan 2012, 18:38
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux 3.x

Video accelleration possible?

Post 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.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Video accelleration possible?

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
kupetky
Posts: 2
Joined: 5. Jan 2012, 18:38
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux 3.x

Re: Video accelleration possible?

Post 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?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Video accelleration possible?

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply