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

Arpi arpi at thot.banki.hu
Sun Dec 29 17:08:03 CET 2002


Hi,

> 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.

great.
what about limiting vram memory used by Xserver (Option "RamSize" ...) ?
we'e using that with matrox cards to avoid conflicts of pixmap cache and
mga_vid

> so the changes are:
> #define FIREGL_MEM_RESERVED 0x500000;
> 
> radeon_overlay_off = radeon_ram_size - info->frame_size*nfr - 
> 	FIREGL_MEM_RESERVED;
> 
> 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 :))))

nonsense.
but you could make a patch to enable this 5mb reserving for cards with given
PCI IDs (pci ids of the firegl cards).


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu




More information about the MPlayer-users mailing list