> Yep.  The effect is called shearing or tearing.  The way to get rid of 
> shearing is to refresh the display on the vertical retrace - when the 
> monitor's electron beam finished scanning a frame and returns to the top of 
> the screen.  If you double-buffer, and tell the video card to switch buffers 
> during the vertical retrace, there will be no shearing.
> 
> Unfortunately, IIRC, there is no reliable way to get vertical retrace 
> information from the video card in X.  SDL can do this if you're running 
> straight from the console, without X.  IIRC, AdvanceMAME running in SDL 
> console mode can sync to vertical retrace and eliminate your problem.
> 
> So if you have nothing else to do, go bug the X.org developers and demand that 
> they implement a way to sync with vertical retrace in the next version of X.

So does the triple-buffering also do the vertical retrace syncing, and that's
actually the part that is useful, or is triple-buffering in itself going to do
anything to fix the problem?

[I was wondering about this before, when I saw that some emulators do triple
buffering, and I was confused as to how this could make any difference over
double-buffering..]


Sorry if this is getting a bit off-topic for the xmame list  :)


        Dave

Attachment: signature.asc
Description: Digital signature

Reply via email to