Amigos,

Se eu chamo o mplayer usando o dga, como abaixo:
mplayer a.avi -vo dga
O MPlayer s� funciona se eu estiver usando a conta root.
Como fa�o para funcionar com qualquer usu�rio?

J� coloquei no final do arquivo XF86Config-4 (arquivo de configura��o
do X) as seguintes linhas (conforme recomendado) e reiniciei o X:

Section "DRI"
    Mode 0666
EndSection


Executando o MPlayer como usu�rio normal a mensagem
do programa � a seguinte:

AO: [oss] 22050Hz 2ch Signed 16-bit (Little-Endian)
Start playing...
VDec: vo config request - 320 x 240 (preferred csp: Planar YV12)
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local display)
vo_dga: Mode: depth=15, bpp=16, r=007c00, g=0003e0, b=00001f, conversion 
(slow), (-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, not supported 
:-(  (-bpp 24)
vo_dga: Mode: depth=24, bpp=32, r=ff0000, g=00ff00, b=0000ff, not supported 
:-(  (-bpp 32)
Movie-Aspect is undefined - no prescaling applied.
VO: [dga] 320x240 => 320x240 Planar YV12
vo_dga: DGA 2.0 available :-) Can switch resolution AND depth!
vo_dga: Selected hardware mode  640 x  480 @  60 Hz @ depth 16, bitspp 16.
vo_dga: Video parameters by codec: 320 x 240, depth 16, bitspp 16.
vo_dga: Framebuffer mapping failed!!!
FATAL: Cannot initialize video driver!

FATAL: Couldn't initialize video filters (-vop) or video output (-vo) !


Executando como root, a mensagem �:

AO: [oss] 22050Hz 2ch Signed 16-bit (Little-Endian)
Start playing...
VDec: vo config request - 320 x 240 (preferred csp: Planar YV12)
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local display)
vo_dga: Mode: depth=15, bpp=16, r=007c00, g=0003e0, b=00001f, conversion 
(slow), (-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, not supported 
:-(  (-bpp 24)
vo_dga: Mode: depth=24, bpp=32, r=ff0000, g=00ff00, b=0000ff, not supported 
:-(  (-bpp 32)
Movie-Aspect is undefined - no prescaling applied.
VO: [dga] 320x240 => 320x240 Planar YV12
vo_dga: DGA 2.0 available :-) Can switch resolution AND depth!
vo_dga: Selected hardware mode  640 x  480 @  60 Hz @ depth 16, bitspp 16.
vo_dga: Video parameters by codec: 320 x 240, depth 16, bitspp 16.
Using MMX2 for colorspace transform
vo_dga: Not enough memory for double buffering!
vo_dga: Clearing framebuffer (983040 bytes). If mplayer exits here, you 
haven't enough memory on your card.
vo_dga: Doublebuffering is disabled.
A:   1,2 V:   1,2 A-V:  0,019 ct:  0,003   37/ 37  16%  4%  1,3% 0 0 98%
Exiting... (Quit)


[]'s
    Edward Martin



Assinantes em 01/08/2002: 2220
Mensagens recebidas desde 07/01/1999: 177504
Historico e [des]cadastramento: http://linux-br.conectiva.com.br
Assuntos administrativos e problemas com a lista:
            mailto:[EMAIL PROTECTED]

Responder a