[MPlayer-users] Re: xvidix problem with atis firegl drivers solved

Alex Beregszaszi alex at naxine.org
Mon Dec 30 20:19:02 CET 2002


Hi,

> i was able to fix my playback problem with xvidix and xfree running with atis 
> firegl drivers (fglrx_drv).
> it seems that the driver reserves the last 5MB of video memory for something 
> else, which interferes with mplayer using this space for DGA, so that only 
> strange patterns are shown.
> I shifted the DGA adress for mplayer about 5MB. funny thing is: the more the 
> dga frame is outside the 5MB border, the more the movie is displayed 
> correctly.
> so the changes are:
> #define FIREGL_MEM_RESERVED 0x500000;
> 
> radeon_overlay_off = radeon_ram_size - info->frame_size*nfr - 
> 	FIREGL_MEM_RESERVED;
isn't it better if you decrase the radeon_ram_size with that value?

> maybe it's possible to add something like vidix/drivers/fglrx_vid.c to the 
> sourcetree with this patch leaving the radeon_vid.c untouched. (so I have not 
> to patch it every time a new mplayer version is realeased :))))
> 
> I could post the complete fglrx_vid.c to someone.... but whom?
send toe me complete .c

--
alex







More information about the MPlayer-users mailing list