Hi,

I'm writting a 2D-app with double buffering. I use the env variable 
vblank_mode=3
for syncing to vblank and avoiding tearing. The monitor VertRefresh is 
set at 60 Hz.

I'm using Xorg 7.1.1 + mesa 6.51 + i810 1.7.2

I have noticed a strange behaviour:
- In a light app where  more than 60 FPS are achieved, the app syncs to 
vblank (getting 60FPS) and
    there is not tearing.

- If I insert some sleep in the applications to get less than 60FPS, it 
syncs to 30Hz, 15Hz and so on. Perfect.

- In a heavy app where less than 60 FPS are achieved, setting 
vblank_mode=3 doesn't sync with
    VertRefresh (ie: getting 37FPS) and tearing appears.

¿Is it normal?
¿Maybe pending interrupts are not being handled properly?

Thanks in advance


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to