Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Is it possible to use mplayer inside kvm/qemu configuration?

What video driver should I use?

The only driver that worked was sdl and it was super slow.

EDIT: I just found out that VirtualBox works fine with gl driver (when 3D acceleration is turned on).

share|improve this question
add comment

2 Answers 2

up vote 0 down vote accepted

If you must use kvm/qemu, then you will find that the performance is not going to be great. (In the future, please post more details, like distro and kvm version, it might help) Edit: forgot to add that if your qemu/kvm supports spice then you should probably try that. Also, you should try all the video drivers to see which one gives you the best performance as seen from the guest (best fps using glxgears for example):

-vga [std|cirrus|vmware|qxl|xenfb|none]

Your best bet for guest performance under Linux is probably cirrus, qxl or vmware. IIRC, spice uses qxl.

Alternatively, you can try to forward a graphical application to the host over the network using:

  • Virtual GL - somewhat painful to setup but the 3D will be rendered on the host (so it can take advantage of your graphics card to do the work)
  • Xpra - much easier but not as fast..
  • NX, VNC, etc.. They all use the network to forward the display as the video driver in qemu/kvm simply does not support 3d/gl/xv acceleration..
share|improve this answer
add comment

You can install qxl driver,and connect vm by spice. Spice has better performace than SDL.

You also can use vlc to play movies. You can use the stream function of vlc,to redirect video from vm to host.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.