Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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:
Embargoed:

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.