What I have:

Matrox G400, 1.2 Ghz CPU, 700+ MB RAM
Vanilla Kernel 2.6.7 (Mandrake 10)
DirectFB 0.9.21
MPlayer dev-CVS-040813-01:00-3.3.2

My Problem:

When I play dvd, I get good quality picture, and audio, however, the
video is not smooth, it plays like frame by frame.

Some information:

[EMAIL PROTECTED] root]# fbset -i

mode "640x480-75"
   # D: 31.499 MHz, H: 37.499 kHz, V: 74.998 Hz
   geometry 640 480 640 960 16
   timings 31747 120 16 16 1 64 3
   rgba 5/11,6/5,5/0,0/0
endmode

Frame buffer device information:
   Name        : MATROX
   Address     : 0xd4000000
   Size        : 16777216
   Type        : PACKED PIXELS
   Visual      : TRUECOLOR
   XPanStep    : 8
   YPanStep    : 1
   YWrapStep   : 0
   LineLength  : 1280
   MMIO Address: 0xd6000000
   MMIO Size   : 16384
   Accelerator : Matrox G400

[EMAIL PROTECTED] root]# cat /proc/mtrr
reg00: base=0x00000000 (   0MB), size= 512MB: write-back, count=1
reg01: base=0x20000000 ( 512MB), size= 256MB: write-back, count=1
reg02: base=0xd4000000 (3392MB), size=  32MB: write-combining, count=1
reg03: base=0xd9000000 (3472MB), size=   1MB: uncachable, count=1
reg05: base=0xf0000000 (3840MB), size=  64MB: write-combining, count=1

#mplayer dvd:// -benchmark -vo dfbmga -ao alsa
MPlayer dev-CVS-040813-01:00-3.3.2 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon Thunderbird 1200 MHz (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file
or directory
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Can't open
'/root/.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.
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using Linux hardware RTC timing (1024Hz).
Input config file /root/.mplayer/input.conf parsed: 53 binds

Playing dvd://.
Reading disc structure, please wait...
There are 1 titles on this DVD.
There are 41 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  9800.0 kbps (1225.0 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using 3DNowEx optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
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)
==========================================================================
(*) DirectFB/Config: Parsing config file '/etc/directfbrc'.

      ---------------------- DirectFB v0.9.21 ---------------------
            (c) 2000-2002  convergence integrated media GmbH
            (c) 2002-2004  convergence GmbH
       -----------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (with MMX support)
(2004-08-22 00:56)
(*) Direct/Memcpy: Using linux kernel memcpy()
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 32440)...
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 32442)...
(*) DirectFB/Input: IMPS/2 Mouse (1) 0.9 (convergence integrated media GmbH)
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 32443)...
(*) DirectFB/Input: IMPS/2 Mouse (2) 0.9 (convergence integrated media GmbH)
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 32444)...
(*) DirectFB/Input: IMPS/2 Mouse (3) 0.9 (convergence integrated media GmbH)
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 32446)...
(*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: Matrox G400 0.7 (convergence integrated media GmbH)
(*) DirectFB/WM: Default 0.1 (Convergence GmbH)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: got device=0, subdevice=0
alsa-init: 1 soundcard found, using: default
alsa: 48000 Hz/2 channels/4 bpf/32768 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [dfbmga] 720x480 => 854x480 Planar YV12
vo_dfbmga: Video surface 720x480 YV12
vo_dfbmga: Field parity set to: Don't care
aspect: Warning: no suitable new res found!
vo_dfbmga: CRTC2 using triple buffering
vo_dfbmga: CRTC2 surface 720x480 YV12
vo_dfbmga: Sub-picture layer using triple buffering
vo_dfbmga: Sub-picture surface 720x480 ALUT44 (Sub-picture layer)
alsa-space: xrun of at least 176.990 msecs. resetting stream0.0% 0 0 0%
New_Face failed. Maybe the font path is wrong.  2   0%  0%  0.0% 1 0 0%
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
A:   0.7 V:   0.7 A-V: -0.001 ct:  0.033   16/ 13   0%  0%  0.0% 1 0 0%
demux_mpg: 24fps progressive NTSC content detected, switching framerate.

[EMAIL PROTECTED] mplayer]# cat /etc/fb.modes
#
#   DirectFB video modes, should be placed into "/etc"
#

mode "640x480 75Hz 16bit"
   # D: 31.50 MHz, H: 37.500 kHz, V: 75.00 Hz
   geometry 640 480 640 480 16
   timings 31747 120 16 16 1 64 3
endmode

mode "800x600 75Hz 16bit"
   # D: 49.50 MHz, H: 46.875 kHz, V: 75.00 Hz
   geometry 800 600 800 600 16
   timings 20203 160 16 21 1 80 3
   hsync high
   vsync high
endmode
mode "320x200 85Hz 16bit"
   geometry 320 200 320 200 16
   timings 60440 32 32 20 4 48 1
   double true
endmode

[EMAIL PROTECTED] mplayer]# cat /etc/directfbrc
matrox-crtc2
matrox-tv-standard=ntsc
primary-layer=02

[EMAIL PROTECTED] mplayer]# lsmod
Module                  Size  Used by
i2c_matroxfb            5056  0
nls_iso8859_1           4096  3
udf                    91652  0
tsdev                   7424  0
joydev                 10048  0
evdev                   9600  0
usbkbd                  7424  0
usbmouse                5696  0
usbhid                 44928  0
isofs                  35384  0
zlib_inflate           22720  1 isofs
em8300                 58596  8
bt865                   6180  0
adv717x                 7124  0
dvb_bt8xx               7940  13
dst                    14924  1
bt878                  11632  2 dvb_bt8xx,dst
v4l1_compat            14276  0
dvb_core               86568  15 dvb_bt8xx,dst
tuner                  18572  0
bttv                  154028  3 dvb_bt8xx,bt878
video_buf              20676  1 bttv
v4l2_common             6272  1 bttv
btcx_risc               4808  1 bttv
videodev                9856  1 bttv
ndiswrapper            73984  0
lirc_serial            12896  1
lirc_dev               13320  2 lirc_serial
nfsd                  199872  8
exportfs                6272  1 nfsd
ipv6                  245088  14
snd_seq_oss            33792  0
snd_seq_midi_event      7808  1 snd_seq_oss
snd_seq                51728  4 snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            54440  0
snd_mixer_oss          19584  1 snd_pcm_oss
snd_ice1724            39076  0
snd_ice17xx_ak4xxx      4416  1 snd_ice1724
snd_ac97_codec         69060  1 snd_ice1724
snd_pcm                95652  2 snd_pcm_oss,snd_ice1724
snd_page_alloc         11784  1 snd_pcm
snd_timer              24900  2 snd_seq,snd_pcm
snd_ak4xxx_adda         6336  2 snd_ice1724,snd_ice17xx_ak4xxx
snd_mpu401_uart         7680  1 snd_ice1724
snd_rawmidi            24768  1 snd_mpu401_uart
snd_seq_device          8328  3 snd_seq_oss,snd_seq,snd_rawmidi
snd                    55780  13
snd_seq_oss,snd_seq_midi_event,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_ice1724,snd_ac97_codec,snd_pcm,snd_timer,snd_ak4xxx_adda,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore               9824  3 em8300,bttv,snd
af_packet              21576  4
raw                     8448  1
ide_floppy             19328  0
ide_tape               36688  0
ide_cd                 42884  0
cdrom                  39840  1 ide_cd
floppy                 60564  0
ohci_hcd               21188  0
usbcore               112224  6 usbkbd,usbmouse,usbhid,ohci_hcd
rtc                    11960  0
ext3                  124392  2
jbd                    57048  1 ext3


Reply via email to