Bug 760002

Summary: 100% cpu when playing a video with vlc, without audio device
Product: Red Hat Enterprise Linux 6 Reporter: Yonit Halperin <yhalperi>
Component: qemu-kvmAssignee: Gerd Hoffmann <kraxel>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2CC: acathrow, areis, bsarathy, dblechte, juzhang, mkenneth, tburke, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-03 09:55:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.