On Die, 2002-09-17 at 20:14, Leif Delgass wrote:
> Don't you want to wait for the vblank _after_ the flip ioctl?  That way
> you won't draw on the buffer being currently scanned until the vblank
> indicates the buffers toggled.

That may be true if the flip only occurs on vertical blank, which isn't
the case in the radeon driver to allow insanely high framerates.

> BTW, with the current Radeon page flipping code without interrupts, how
> does it avoid flickering?

Not at all, the flip occurs immediately.


While it would be better to defer the flips until vertical blank and
sleep afterwards until the vertical blank, that would require a
mechanism to switch flipping behaviour. I'm afraid the kernel can't
access environment variables? If not I can't think of a solution without
another ioctl.


> [...] framerate is capped to the vertical refresh (e.g. 
> glxgears maxes out at the vertical refresh).  It seems like the main 
> problem affecting the frame rate is the wait for idle in step 1.

You can't have framerates higher than the vertical refresh when syncing
to vertical blanks, or how would you expect that to work?


-- 
Earthling Michel D�nzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast



-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to