[MPlayer-dev-eng] [PATCH] that xvidix radeon_vid.so works with atis fglrx drivers

Marcel Naziri zwobbl at zwobbl.de
Fri Jan 3 19:36:43 CET 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi,

> > here is a patch for the radeon xvidix driver. there are problems when
> > running the xserver with atis firegl drivers. only strange patterns
> > are shown. the fglrx driver seems to reserve the last part of video
> > memory for something, so mplayer interfere with it. so when the DGA
> > address is shifted some MB to the front, it plays fine. with this
> > patch the module figures out if fglrx is used by examining the xserver
> > extensionlist searching if two ati specific extensions are loaded. if
> > so, the DGA adress is shifted about 8MB. i hope the patch will be
> > useful... works fine on my box
>
> would you test if it works if you decrase the radeon_ram_size
> (instead the current way) ?

that also works, but think changing the radeon_ram_size will not be the best 
way, e.g. confusing users not showing full ram size of the card.

> and could you add a test if there will be some megs left if you shift
> it?

good point, but what is the min value of ram that must be left for the frames? 
seems that shifting 5MB is enough. so may be it would be the best when the 
shift is only applied if there are more than 8MB ram left.

> btw, isn't an another way for detecting? depending on X in a driver
> isn't a nice solution ;)

might be, but i have no other idea how to detect if fglrx is used for the 
xserver... :(

cheers
   zwobbl
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+FdhBMhKy9p2BrQQRAmO2AJ9csDimHDx6tmaiMB5v88iqdlg2pQCgs6AW
5KgHxKp+1hXjTj4oNRy81ec=
=DMpj
-----END PGP SIGNATURE-----



More information about the MPlayer-dev-eng mailing list