[MPlayer-dev-eng] [PATCH] Improved DGA vertical retrace sync

Arpi arpi at thot.banki.hu
Tue Sep 24 12:45:58 CEST 2002


Hi,

> (I can find this function in the avifile-0.6 CVS in mga_vid driver itself
> but not as a separate driver?)

yes he made it inside mga_vid

> mplayer's version of mga_vid driver doesn't have this "read waits for
> vsync" function and instead returns some config stuff on read().

yes, as mga cards don't need it at all, they can do buffer switching by
hardware, without any help by driver or sw. just program the chip to switch
to buffer N. at next vsync, and it will do that.

avifile is multithreaded, and it has a separate thread for displaying frame,
so it can use such thing for busy waiting. we don't need it.

> So there is some drifting apart of the two versions?

yes, not only some.
there is at least 3 different forks of mga_vid out there...
not even mentioning syncfb, which is an earlier fork with different api.


A'rpi / Astral & ESP-team

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



More information about the MPlayer-dev-eng mailing list