I am playing a high quality (1080p) video using VLC inside a qemu-kvm virtual machine. The OS on my virtual machine is gentoo and the host OS is Ubuntu.
The video experience is very jerky : the video stops a lot, the verbose mode log has a lot of "PTS is out of range, dropping buffer" and "last picture skipped" messages.
The CPU utilization of the qemu process is nowhere close to 100%. Nor is the disk utilization. ( using Visual inspection of top
and iotop
).
What else could cause this problem ? What options could I try in vlc to figure out the problem ?
Answer
If possible, I would allocate more resources to the Virtual machine. Specifically, allocating more Cores and seeing if you can up the Video RAM. Virtual machines are not given access to 100% of the resources in your computer, just up to the maximum amount the Hypervisor (qemu-kvm in your case) allows. Keep in mind that your system is also using a virtualized graphics card as well so it is not as powerful as the graphics card as your host has access to - even if a Hypervisor allows advanced video features, there is till a performance penalty for the virtual devices emulation.
No comments:
Post a Comment