I have found a new problem when using vblank_mode. I have 2 applications:
One of them draws some GL_QUADS and have a usleep in order to get around 
27FPS with vblank_mode=0,
and the other draws GL_QUADS all the time, getting around 27FPS with 
vblank_mode=0.

If I set vblank_mode=3, the fist one gets 20 FPS (VertRefresh=60) but 
the second one remains at 27 FPS.

I think both of them should get 20 FPS with vblank_mode=3... ¿Is it 
correct? ¿Where is the error?

Thanks in advance


Agustin Rubio Mingorance wrote:

>It works perfectly now.
>
>Thanks.
>
>Dave Airlie wrote:
>
>  
>
>>>I want to sync glutSwapBuffers with vblank. I have developed an
>>>application with double buffering that uses glutSwapBuffer to refresh
>>>the screen. The application is getting 132 FPS and I notice some tearing
>>>on the screen. I want to sync swapBuffer with vblank in order to get 75
>>>FPS and avoid tearing. What should I do?
>>>
>>>I'm using xorg 7.0 + mesa 6.5 + latest i915 driver from DRI.
>>>      
>>>
>>I'm not sure if vblank support is in Mesa 6.5.. it is in CVS alright..
>>
>>you need to sest the env variable  vblank_mode=3 to force vblank
>>
>>Dave.
>>
>>    
>>
>
>
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>_______________________________________________
>Mesa3d-dev mailing list
>Mesa3d-dev@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
>
>  
>


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to