On 8/22/06, Richard Cooper <[EMAIL PROTECTED]> wrote:
On Mon, 21 Aug 2006 16:27:30 -0400, Grzegorz Adam Hankiewicz
<[EMAIL PROTECTED]> wrote:
> I don't think the former is a problem under Linux. For the
> latter, there are other real reasons why things don't progress.
> For instance, do you know why it is impossible to make flicker free
> page flipping applications with the kernel's framebuffer at least
> in 2.2/2.4 (and I believe this won't ever be solved in 2.6 or later)?
Yes, I know. I've done graphics in Linux, as I've said. That's why I
know it sucks.
It is hackishly possible in 2.6 kernels to sync to vertical retrace.
Using the new HZ=1000 allows a timer to be set to signal the program
somewhat near the time when the vertical retrace will occur, and using
"realtime" priority will nearly guarantee that the process is executed at
that moment, leaving the graphics software to sit in a busy loop waiting
out the remainder of the time until the vertical retrace occurs, which
wastes about 6% of the CPU (regardless of CPU speed, because it's the
inaccuracy of the timer that causes the waste), but is ultimately better
than the situation with 2.4 kernels where the HZ=100 made it impossible to
do any better than wasting all available CPU time.
You can do vsync with dri/drm right?
--
things i hate about my linux pc:
1. it takes more than a second to boot up
2. keeps asking about filenames and directories
3. does not remember what i was working on yesterday
4. does not remember all the changes i have ever made
5.cannot figure out necessary settings by itself
_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)