Bug 760002 - 100% cpu when playing a video with vlc, without audio device
Summary: 100% cpu when playing a video with vlc, without audio device
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Gerd Hoffmann
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-05 07:43 UTC by Yonit Halperin
Modified: 2014-01-21 00:00 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-03 09:55:47 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Yonit Halperin 2011-12-05 07:43:52 UTC
Description of problem:
Windows 7 guest. 
When running qemu without an audio device, and trying to play a movie using vlc,
the host cpu usage is 100%, and the video play is v-e-r-y slow.
After disabling the audio track (via vlc menu), the cpu usage is < 50% and the video is viewable.
Windows media player works fine.
When starting qemu with an audio device there is no problem.
Tried it with and without spice and qxl - same problem.

My command line:
qemu-system-x86_64 -drive file=/images/win7_rhel6.qcow2 -m 1024 -enable-kvm -net tap,ifname=WINXP2,script=/local/scripts/lan-ifup -net nic,macaddr=00:1a:4a:01:00:e0,model=virtio -device virtio-serial -snapshot -no-shutdown -chardev spicevmc,id=vdagent,debug=0,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0


Version-Release number of selected component (if applicable):
qemu-kvm-0.12.1.2-2.209.el6

Comment 2 Dave Malcolm 2011-12-05 16:23:03 UTC
Not sure why this has "Component" set to "pytz" (was this a misclick?); reassigning "Component" to "qemu-kvm".

Comment 3 Dor Laor 2011-12-08 13:08:18 UTC
(In reply to comment #0)
> Description of problem:
> Windows 7 guest. 
> When running qemu without an audio device, and trying to play a movie using
> vlc,
> the host cpu usage is 100%, and the video play is v-e-r-y slow.
> After disabling the audio track (via vlc menu), the cpu usage is < 50% and the
> video is viewable.
> Windows media player works fine.
> When starting qemu with an audio device there is no problem.
> Tried it with and without spice and qxl - same problem.

Could it be a VLC issue?
Which audio device have you used?

Comment 4 Yonit Halperin 2011-12-11 06:04:04 UTC
(In reply to comment #3)
> (In reply to comment #0)
> > Description of problem:
> > Windows 7 guest. 
> > When running qemu without an audio device, and trying to play a movie using
> > vlc,
> > the host cpu usage is 100%, and the video play is v-e-r-y slow.
> > After disabling the audio track (via vlc menu), the cpu usage is < 50% and the
> > video is viewable.
> > Windows media player works fine.
> > When starting qemu with an audio device there is no problem.
> > Tried it with and without spice and qxl - same problem.
> 
> Could it be a VLC issue?
It might be
> Which audio device have you used?
without audio device

Comment 6 Ademar Reis 2012-03-22 18:03:21 UTC
Moving from 6.3.0 to 6.4.0. Yonit, please respond to Gerds' inquiry about cpu usage and other media players.

Comment 8 Gerd Hoffmann 2012-07-03 09:55:47 UTC
Sitting half a year in needinfo is enougth.


Note You need to log in before you can comment on or make changes to this bug.