[MPlayer-users] [HELP] How to enable dga?

Chung-Hung Chen alone at mis.mgt.ncu.edu.tw
Sun Feb 24 08:44:01 CET 2002


I've found MPlayer can use -vo dga in my sysstem. But I got an error
message and couldn't use it. Below is the Message:

------------------------------------------------------------------------
MPlayer CVS-020223-13:00-3.0.2 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 2)
extended cpuid-level: 6
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx
Reading /home/alone/.mplayer/codecs.conf: can't open
'/home/alone/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 29 audio & 79 video codecs
font: can't open file: /home/alone/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206
chars)
Using usleep() timing
Can't open input config file /home/alone/.mplayer/input.conf : No such
file or directory
Falling back on default (hardcoded) config
Playing VOY102_NEW.MPG
Not an URL!
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0
Cache fill:  0.00% (0 bytes)    header block 1 size: 0
Detected MPEG-PS file format!
VIDEO:  MPEG1  352x240  (aspect 12)  29.97 fps  1437.5 kbps (179.7
kbyte/s)
[V] filefmt:2  fourcc:0x10000001  size:352x240  fps:29.97  ftime:=0.0334
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 2)
extended cpuid-level: 6
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using 3DNow!Ex optimized decore!
MPEG 1.0, Layer II, 44100 Hz 224 kbit Stereo, BPF: 731
Channels: 2, copyright: Yes, original: Yes, CRC: No, emphasis: 0
AUDIO: srate=44100  chans=2  bps=2  sfmt=0x10  ratio: 28000->176400
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
vo: X11 running at 1024x768 with depth 16 and 16 bits/pixel (":0.0" =>
local display)
vo_dga: Mode: depth=15, bpp=16, r=007c00, g=0003e0, b=00001f, native
(fast),     (-bpp 15)
vo_dga: Mode: depth=16, bpp=16, r=00f800, g=0007e0, b=00001f, native
(fast),     (-bpp 16)
vo_dga: Mode: depth=24, bpp=24, r=ff0000, g=00ff00, b=0000ff, conversion
(slow), (-bpp 24)
vo_dga: Mode: depth=24, bpp=32, r=ff0000, g=00ff00, b=0000ff, native
(fast),     (-bpp 32)
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [dga] 352x240 => 352x264 Planar YV12
vo_dga: DGA 2.0 available :-) Can switch resolution AND depth!
vo_dga: Selected hardware mode 1024 x  768 @  84 Hz @ depth 16, bitspp 16.
vo_dga: Video parameters by codec: 352 x 240, depth 16, bitspp 16.
vo_dga: Framebuffer mapping failed!!!
FATAL: Cannot initialize video driver!

*** free_stream() called ***

Exiting... (End of file)
---------------------------------------------------------------------------
Here is my setings:

	RedHat 7.2 upgrade to rawhide. Kernel-2.4.17-0.1 + XFree86-4.1.0.
	nVidia TNT2 AGP 32M + nVidia offical Driver(With Xv & OpenGL).
	FrameBuffer is enabled in kernel config.

Is these setings enough to use dga? The nVidia Driver + AMD Althon CPU may
hang my system because kernel VM problem. So I try to find another way
that I can use MPlayer to a better fullscreen without nVidia offical
Driver. FrameBuffer's fullscreen makes my eyes tired. :(


        Live Long and Prosper

	Chung-Hung Chen
	loneeagle at cle.linux.org.tw




More information about the MPlayer-users mailing list