[MPlayer-users] mplayer uses more cpu with new kernel
Carl Karsten
carl at personnelware.com
Sat Mar 13 09:49:41 CET 2004
I just upgraded from 2.6.0 to 2.6.4 and now mPlayer uses most (95-98%) of the
CPU instead of 70-80%. I am guessing I am missing a feature in my new kernel,
but I would think that I would see it in mplayer's display of what it found.
Oddly enough one of the reasons for messing with it was to get this working
Using Linux hardware RTC timing (1024Hz).
under 2.6.0 I get "Failed to open /dev/rtc: No such device. ... Using usleep()
timing" which I would think would take even more CPU.
I see 2.6.4 thinks that I have a 724.0 MHz CPU when I am pretty sure it is only
a 600.
So what is using up the extra CPU?
Also I think I lost the on screen display when I hit arrows to seek forward.
but that is the least of my worries till I get cpu issue figured out.
Carl K
mplayer on 2.6.0
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
MPlayer dev-CVS-040312-23:49-3.2.2 (C) 2000-2004 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 601.8 MHz (Family: 6,
Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or
directory
Reading config file /home/carl/.mplayer/config
Reading /home/carl/.mplayer/codecs.conf: Can't open
'/home/carl/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' 'dvd://1'
init_freetype
Font /usr/local/share/mplayer/font/cp1250/arial-14/font.desc loaded
successfully! (233 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Failed to open /dev/rtc: No such device (mplayer should be setuid root or
/dev/rtc should be readable by the user.)
Using usleep() timing
get_path('input.conf') -> '/home/carl/.mplayer/input.conf'
Parsing input config file /home/carl/.mplayer/input.conf
Input config file /home/carl/.mplayer/input.conf parsed: 53 binds
Setting up LIRC support...
get_path('1.conf') -> '/home/carl/.mplayer/1.conf'
Playing dvd://1.
get_path('DVDKeys') -> '/home/carl/.mplayer/DVDKeys'
Reading disc structure, please wait...
There are 35 titles on this DVD.
There are 29 chapters in this DVD title.
There are 2 angles in this DVD title.
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (5.1) language: en aid: 128
[open] audio stream: 1 audio format: ac3 (5.1) language: fr aid: 129
[open] audio stream: 2 audio format: dts (5.1) language: en aid: 138
[open] audio stream: 3 audio format: ac3 (stereo) language: en aid: 131
[open] number of audio channels on disk: 4.
[open] subtitle ( sid ): 0 language: en
[open] subtitle ( sid ): 1 language: es
[open] number of subtitles on disk: 2
DVD start cell: 0 pack: 0x0-0x29132
DVD start=0 end=2605040
Selected DVD audio channel: 128 language: en
CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0
Cache fill: 0.00% (0 bytes)
Cache fill: 0.00% (0 bytes)
Cache fill: 0.00% (0 bytes)
Cache fill: 8.20% (335872 bytes)
Cache fill: 17.40% (712704 bytes) Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x84fce40
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x84fce40
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x84fce40
Checking for REAL
DEMUXER: freeing demuxer at 0x84fce40
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x84fce40
DEMUXER: freeing demuxer at 0x84fd7e0
DEMUXER: freeing demuxer at 0x84fd7e0
Searching demuxer type for filename dvd://1 ext: (null)
Checking for MOV
DEMUXER: freeing demuxer at 0x84fd7e0
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x84fd7e0
DEMUXER: freeing demuxer at 0x84fd7e0
DEMUXER: freeing demuxer at 0x84fd7e0
DEMUXER: freeing demuxer at 0x84fd7e0
DEMUXER: freeing demuxer at 0x84fd7e0
DEMUXER: freeing demuxer at 0x84fd7e0
DEMUXER: freeing demuxer at 0x84fd7e0
Checking for PVA
DEMUXER: freeing demuxer at 0x84fd7e0
Checking for MPEG-TS...
TRIED UP TO POSITION 69492, FOUND 47, packet_size= 0, SEEMS A TS? 0
DEMUXER: freeing demuxer at 0x84fd7e0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851708
LMLM4 Stream Format not found
DEMUXER: freeing demuxer at 0x84fd7e0
system stream synced at 0xD (0)!
==> Found video stream: 0
MPEG-PS file format detected.
==> Found audio stream: 128
Searching for sequence header... OK!
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 7501.6 kbps (937.7 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334
get_path('sub/') -> '/home/carl/.mplayer/sub/'
get_path('default.sub') -> '/home/carl/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
using /dev/fb0
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter volume
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
ao2: 48000 Hz 2 chans Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed
16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags: 8/8 (8192 bytes/frag) free: 65536
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
==> Found audio stream: 129
==> Found audio stream: 138
==> Found audio stream: 131
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (720x480->640x360,flags=5,'MPlayer',0x32315659)
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 7 -> 6
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: BICUBIC scaler, from Planar YV12 to BGR 24-bit using MMX2
SwScaler: using 8-tap MMX scaler for horizontal luminance scaling
SwScaler: using 8-tap MMX scaler for horizontal chrominance scaling
SwScaler: using n-tap MMX scaler for vertical scaling (BGR)
SwScaler: using MMX2 YV12->BGR24 Converter
SwScaler: 720x480 -> 640x360
REQ: flags=0x403 req=0x0
VO: [fbdev] 640x360 => 640x360 BGR 24-bit [fs] [zoom]
VO: Description: Framebuffer Device
VO: Author: Szabolcs Berecz <szabi at inf.elte.hu>
Can't set graphics mode: Invalid argument
var info:
xres: 640
yres: 480
xres_virtual: 640
yres_virtual: 480
xoffset: 0
yoffset: 0
bits_per_pixel: 24
grayscale: 0
red: 16 8 0
green: 8 8 0
blue: 0 8 0
transp: 0 0 0
nonstd: 0
fix info:
framebuffer size: 4194304 bytes
type: 0
type_aux: 0
visual: 2
line_length: 1920 bytes
fb_bpp: 24
fb_pixel_size: 3 bytes
other:
in_width: 640
in_height: 360
out_width: 640
out_height: 480
first_row: 60
last_row: 420
pixel per line: 640
*** [scale] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
*** [scale] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
*** [vo] Allocating mp_image_t, 640x360x24bpp BGR packed, 691200 bytes
*** [scale] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
demux_mpg: 24fps progressive NTSC content detected, switching framerate.
Uninit audio filters...
[libaf] Removing filter volume
uninit audio: liba52
uninit video: libmpeg2
DEMUXER: freeing demuxer at 0x84fd7e0
DEMUXER: freeing sh_video at 0x85001e0
DEMUXER: freeing sh_audio at 0x850e428
DEMUXER: freeing sh_audio at 0x850e4f8
DEMUXER: freeing sh_audio at 0x850e648
DEMUXER: freeing sh_audio at 0x850e5a0
vo: x11 uninit called but X11 not inited..
Exiting... (Quit)
mplayer on 2.6.4
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
MPlayer dev-CVS-040312-23:49-3.2.2 (C) 2000-2004 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 724.0 MHz (Family: 6,
Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or
directory
Reading config file /home/carl/.mplayer/config
Reading /home/carl/.mplayer/codecs.conf: Can't open
'/home/carl/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' 'dvd://1'
init_freetype
Font /usr/local/share/mplayer/font/cp1250/arial-14/font.desc loaded
successfully! (233 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/carl/.mplayer/input.conf'
Parsing input config file /home/carl/.mplayer/input.conf
Input config file /home/carl/.mplayer/input.conf parsed: 53 binds
Setting up LIRC support...
get_path('1.conf') -> '/home/carl/.mplayer/1.conf'
Playing dvd://1.
get_path('DVDKeys') -> '/home/carl/.mplayer/DVDKeys'
Reading disc structure, please wait...
There are 35 titles on this DVD.
There are 29 chapters in this DVD title.
There are 2 angles in this DVD title.
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (5.1) language: en aid: 128
[open] audio stream: 1 audio format: ac3 (5.1) language: fr aid: 129
[open] audio stream: 2 audio format: dts (5.1) language: en aid: 138
[open] audio stream: 3 audio format: ac3 (stereo) language: en aid: 131
[open] number of audio channels on disk: 4.
[open] subtitle ( sid ): 0 language: en
[open] subtitle ( sid ): 1 language: es
[open] number of subtitles on disk: 2
DVD start cell: 0 pack: 0x0-0x29132
DVD start=0 end=2605040
Selected DVD audio channel: 128 language: en
CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0
Cache fill: 0.00% (0 bytes)
Cache fill: 1.00% (40960 bytes)
Cache fill: 8.20% (335872 bytes)
Cache fill: 19.00% (778240 bytes) Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x84fce50
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x84fce50
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x84fce50
Checking for REAL
DEMUXER: freeing demuxer at 0x84fce50
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x84fce50
DEMUXER: freeing demuxer at 0x84fd7f0
DEMUXER: freeing demuxer at 0x84fd7f0
Searching demuxer type for filename dvd://1 ext: (null)
Checking for MOV
DEMUXER: freeing demuxer at 0x84fd7f0
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x84fd7f0
DEMUXER: freeing demuxer at 0x84fd7f0
DEMUXER: freeing demuxer at 0x84fd7f0
DEMUXER: freeing demuxer at 0x84fd7f0
DEMUXER: freeing demuxer at 0x84fd7f0
DEMUXER: freeing demuxer at 0x84fd7f0
DEMUXER: freeing demuxer at 0x84fd7f0
Checking for PVA
DEMUXER: freeing demuxer at 0x84fd7f0
Checking for MPEG-TS...
TRIED UP TO POSITION 69492, FOUND 47, packet_size= 0, SEEMS A TS? 0
DEMUXER: freeing demuxer at 0x84fd7f0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851708
LMLM4 Stream Format not found
DEMUXER: freeing demuxer at 0x84fd7f0
system stream synced at 0xD (0)!
==> Found video stream: 0
MPEG-PS file format detected.
==> Found audio stream: 128
Searching for sequence header... OK!
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 7501.6 kbps (937.7 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334
get_path('sub/') -> '/home/carl/.mplayer/sub/'
get_path('default.sub') -> '/home/carl/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
using /dev/fb0
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter volume
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
ao2: 48000 Hz 2 chans Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed
16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags: 8/8 (8192 bytes/frag) free: 65536
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
==> Found audio stream: 129
==> Found audio stream: 138
==> Found audio stream: 131
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (720x480->640x360,flags=5,'MPlayer',0x32315659)
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 7 -> 6
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: BICUBIC scaler, from Planar YV12 to BGR 24-bit using MMX2
SwScaler: using 8-tap MMX scaler for horizontal luminance scaling
SwScaler: using 8-tap MMX scaler for horizontal chrominance scaling
SwScaler: using n-tap MMX scaler for vertical scaling (BGR)
SwScaler: using MMX2 YV12->BGR24 Converter
SwScaler: 720x480 -> 640x360
REQ: flags=0x403 req=0x0
VO: [fbdev] 640x360 => 640x360 BGR 24-bit [fs] [zoom]
VO: Description: Framebuffer Device
VO: Author: Szabolcs Berecz <szabi at inf.elte.hu>
Can't set graphics mode: Invalid argument
var info:
xres: 640
yres: 480
xres_virtual: 640
yres_virtual: 480
xoffset: 0
yoffset: 0
bits_per_pixel: 24
grayscale: 0
red: 16 8 0
green: 8 8 0
blue: 0 8 0
transp: 0 0 0
nonstd: 0
fix info:
framebuffer size: 4194304 bytes
type: 0
type_aux: 0
visual: 2
line_length: 1920 bytes
fb_bpp: 24
fb_pixel_size: 3 bytes
other:
in_width: 640
in_height: 360
out_width: 640
out_height: 480
first_row: 60
last_row: 420
pixel per line: 640
*** [scale] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
*** [scale] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
*** [vo] Allocating mp_image_t, 640x360x24bpp BGR packed, 691200 bytes
*** [scale] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
demux_mpg: 24fps progressive NTSC content detected, switching framerate.
Uninit audio filters...
[libaf] Removing filter volume
uninit audio: liba52
uninit video: libmpeg2
DEMUXER: freeing demuxer at 0x84fd7f0
DEMUXER: freeing sh_video at 0x85001f0
DEMUXER: freeing sh_audio at 0x850e438
DEMUXER: freeing sh_audio at 0x850e508
DEMUXER: freeing sh_audio at 0x850e658
DEMUXER: freeing sh_audio at 0x850e5b0
vo: x11 uninit called but X11 not inited..
Exiting... (Quit)
More information about the MPlayer-users
mailing list