VLC consumes 30% CPU when using PulseAudio

Bug #232297 reported by Scott Armitage on 2008-05-20
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
vlc (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: vlc

Version info:

uname -r: 2.6.24-17-generic
pulseaudio Version: 0.9.10-1ubuntu1
vlc : Version: 0.8.6.release.e+x264svn20071224+faad2.6.1-0ubuntu3
vlc-plugin-pulse : Version: 0.8.6.release.e+x264svn20071224+faad2.6.1-0ubuntu3

After changing from Gutsy7.10 to Hardy8.04 (and thus changing to PulseAudio), VLC consumes far too many CPU resources when outputting audio to PulseAudio. Symptoms are 30% CPU usage by `vlc' process when playing video with audio, and 10% CPU when playing audio only.

Steps to reproduce for video+audio:
1) Kill all instances of VLC
2) Open VLC
3) Play a video file with audio
4) Notice that VLC is consuming ~30% CPU
5) Stop video
6) Under Settings->Preferences->Audio, disable the audio output
7) Play same video file
8) Notice that VLC is now consuming <10% CPU (with no audio)

From this, it would seem that playing audio along with video consumes ~20% CPU. Note that playing the same video file in Totem or MPlayer results in ~10% CPU usage, both with and without audio enabled, indicating that this problem is specific to VLC.

Steps to reproduce for audio-only:
1) Kill all instances of VLC
2) Open VLC
3) Play an audio file (tested file types are: mp3, flac, wav, vorbis, m4a)
4) Notice that VLC is consuming ~10% CPU just to play a song

This is outrageously high; MPD can achieve the same thing (playing of the audio file) through PulseAudio with <1% CPU usage.

JB VideoLAN (jb-videolan) wrote :

Can you check again in 0.9.x ?

Changed in vlc:
status: New → Incomplete
Jonathan Thomas (echidnaman) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in vlc:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers