[MPlayer-dev-eng] Pink screen for xvidix with Radeon M6 LY

Svante Signell svante.signell at telia.com
Sat Aug 24 23:39:57 CEST 2002


No replies on mplayer-users, maybe mplayer-devel isthe forum  for this subject!!

Reading a recent thread on this subject, here is the change made
between versions 1.45 and 1.44 of radeon_vid.c:

Index: vidix/drivers/radeon_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/vidix/drivers/radeon_vid.c,v
retrieving revision 1.45
retrieving revision 1.44
diff -r1.45 -r1.44
662c662
<   besr.ckey_cntl = VIDEO_KEY_FN_TRUE|GRAPHIC_KEY_FN_TRUE|CMP_MIX_AND;
---
>   besr.ckey_cntl = GRAPHIC_KEY_FN_NE;
891c891
<       to->flags = VID_CAP_EXPAND | VID_CAP_SHRINK | VID_CAP_COLORKEY;
---
>       to->flags = VID_CAP_EXPAND | VID_CAP_SHRINK/* | VID_CAP_COLORKEY*/;
1486,1487c1486,1487
<       besr.graphics_key_msk = besr.graphics_key_clr;
<       besr.ckey_cntl = VIDEO_KEY_FN_TRUE|GRAPHIC_KEY_FN_EQ|CMP_MIX_AND;
---
>       besr.graphics_key_msk = 0xFF000000|besr.graphics_key_clr;
>       besr.ckey_cntl = 0x20;
1494c1494
<       besr.ckey_cntl = VIDEO_KEY_FN_TRUE|GRAPHIC_KEY_FN_TRUE|CMP_MIX_AND;
---
>       besr.ckey_cntl = GRAPHIC_KEY_FN_NE;
1496d1495
<     radeon_fifo_wait(3);

srs writes:
 > Hello,
 > 
 > I'm trying to get mplayer work for the vidix driver for a Dell
 > Inspiron 4100, equipped a Radeon Mobility M6 graphics card. The
 > versions tried are Debian versions 0.90pre6-0.1 and 0.90-1 (compiled
 > from CVS-2002-08-21, i.e. today). Both versions give a pink
 > screen. Everything else is working OK. Also e.g. the xv and dga
 > drivers are OK.
 > 
 > I have tried with both the Debian pre-releases of X (4.2.0-0pre1v?),
 > both with and without the gatos drivers, ati.2 with the corresponding
 > drm-kernel module, radeon.o. Same results as before. On a box with a G400
 > DH the vidix driver is OK. As a side notice, the vidix driver for xine
 > is OK. Whats up?
 > 
 > Another observation is that the screen does not seem to be restored
 > correctly: 
 > mplayer -vo xvidix file.mpg -> pink screen
 > mplayer -vo xv file.mpg -> green screen 
 > But: 
 > mplayer -vo xvidix file.mpg -> pink screen 
 > xine -V vidix file.mpg -> OK
 > mplayer -vo xv file.mpg -> OK
 > 
 > Please Cc:, since I'm not subscribed to the list.
 > 
 > mplayer-686 (0.90pre6-0.1) :
 > ...
 > No vidix driver name provided, probing available ones!
 > [mga] No supported cards found
 > Radeon_vid: Found chip: Radeon Mobility M6 LY
 > Radeon_vid: Video memory = 16Mb
 > Radeon_vid: Set write-combining type of video memory
 > VIDIX: Description: BES driver for radeon cards
 > VIDIX: Author: Nick Kurshev
 > ==========================================================================
 > Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
 > VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)  
 > Couldn't find matching colorspace - retrying with -vop scale...
 > Opening video filter: [scale]
 > Sorry, selected video_out device is incompatible with this codec.
 > VDecoder init failed :(
 > Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
 > libmpeg2: Using MMX for IDCT transform
 > libmpeg2: Using MMX for motion compensation
 > VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)  
 > Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
 > VO: [xvidix] 720x576 => 768x576 Planar YV12 
 > vo: X11 running at 1400x1050 with depth 16 and 16 bpp (":0" => local display)
 > Detected video codec: [mpeg12] vfm:1 (MPEG 1 or 2)
 > ==========================================================================
 > 
 > mplayer (0.90-1, from CVS)
 > same as asbove, except that MMXEXT is output instead of MMX
 > 
 > All the best,
 > Svante



More information about the MPlayer-dev-eng mailing list