Bug#470903: vlc: Heavy CPU usage when running in daemon mode with remote control interface

David wizzardx at gmail.com
Fri Mar 14 12:13:29 UTC 2008


Package: vlc
Version: 0.8.6.c-6
Severity: normal

Running VLC on my system (with a bunch of low quality FLVs downloaded
from YouTube) usually uses less than 10% CPU (in 'top' listing). But
when I run VLC with in Daemon mode with Remote Control interface
enabled, the CPU usage is over 90%.

Here is my command-line:

/usr/bin/vlc -L -I rc --rc-fake-tty --rc-show-pos --no-video-deco \
  --video-x 0 --video-y 0 --width 1024 --height 768 -v3 \
  -d --file-logging --logfile /tmp/vlc.log \
  --volume 450 --aout alsa /home/david/NO_BACKUP/downloads/youtube/

If I remove either the daemon mode "-d" or the remote control
"rc --rc-fake-tty --rc-show-pos" options then the CPU usage
is low. It's only when both sets of options are used that the
CPU usage is hight.

I am running KDE 5:48 (4:3.5.5) under X.Org 1:7.2-5 on Debian
Testing. The problem also occurs with IceWM on Debian
Etch systems.

My CPU details:

david at lnxdavid:~$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 3
model name      : Intel(R) Celeron(R) CPU 3.06GHz
stepping        : 4
cpu MHz         : 3067.663
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
constant_tsc up pni monitor ds_cpl cid xtpr
bogomips        : 6139.44
clflush size    : 64

My video card details:

david at lnxdavid:~$ /sbin/discover video
Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE
VGA Display Adapter

david at lnxdavid:~$ /sbin/discover video --xserver
XFree86

david at lnxdavid:~$ /sbin/discover video --xdriver
sis

Let me know if I can provide more information.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages vlc depends on:
ii  libaa1                 1.4p5-35          ascii art library
ii  libatk1.0-0            1.20.0-1          The ATK accessibility toolkit
ii  libc6                  2.7-6             GNU C Library: Shared libraries
ii  libcaca0               0.99.beta13b-4    colour ASCII art library
ii  libcairo2              1.5.8-0ubuntu1    The Cairo 2D vector graphics libra
ii  libcdio7               0.78.2+dfsg1-2    library to read and control CD-ROM
ii  libcucul0              0.99.beta13b-4    low-level Unicode character drawin
ii  libdbus-1-3            1.1.2-1           simple interprocess messaging syst
ii  libdbus-glib-1-2       0.74-1            simple interprocess messaging syst
ii  libfreetype6           2.3.5-1+b1        FreeType 2 font engine, shared lib
ii  libfribidi0            0.10.9-1          Free Implementation of the Unicode
ii  libgcc1                1:4.3.0~rc2-1     GCC support library
ii  libgl1-mesa-glx [libgl 7.0.3~rc2-1       A free implementation of the OpenG
ii  libglib2.0-0           2.15.6-0ubuntu2   The GLib library of C routines
ii  libglu1-mesa [libglu1] 7.0.3~rc2-1       The OpenGL utility library (GLU)
ii  libgtk2.0-0            2.12.5-2          The GTK+ graphical user interface
ii  libice6                2:1.0.4-1         X11 Inter-Client Exchange library
ii  libiso9660-5           0.78.2+dfsg1-2    library to work with ISO9660 files
ii  libjpeg62              6b-14             The Independent JPEG Group's JPEG
ii  libnotify1 [libnotify1 0.4.4-3           sends desktop notifications to a n
ii  libpango1.0-0          1.19.4-0ubuntu1   Layout and rendering of internatio
ii  libpng12-0             1.2.15~beta5-3    PNG library - runtime
ii  libsdl-image1.2        1.2.6-3           image loading library for Simple D
ii  libsdl1.2debian        1.2.13-2          Simple DirectMedia Layer
ii  libsm6                 2:1.0.3-1+b1      X11 Session Management library
ii  libstdc++6             4.3.0~rc2-1       The GNU Standard C++ Library v3
ii  libtar                 1.2.11-4          C library for manipulating tar arc
ii  libtiff4               3.8.2-7           Tag Image File Format (TIFF) libra
ii  libvcdinfo0            0.7.23-4          library to extract information fro
ii  libvlc0                0.8.6.c-6         multimedia player and streamer lib
ii  libwxbase2.6-0         2.6.3.2.2-2       wxBase library (runtime) - non-GUI
ii  libwxgtk2.6-0          2.6.3.2.2-2       wxWidgets Cross-platform C++ GUI t
ii  libx11-6               2:1.0.3-7         X11 client-side library
ii  libxext6               1:1.0.3-2         X11 miscellaneous extension librar
ii  libxinerama1           1:1.0.2-1         X11 Xinerama extension library
ii  libxosd2               2.2.14-1.5        X On-Screen Display library - runt
ii  libxv1                 1:1.0.3-1         X11 Video extension library
ii  ttf-dejavu-core        2.23-1            Vera font family derivate with add
ii  vlc-nox                0.8.6.c-6         multimedia player and streamer (wi
ii  zlib1g                 1:1.2.3.3.dfsg-11 compression library - runtime

vlc recommends no packages.

-- no debconf information





More information about the pkg-multimedia-maintainers mailing list