PDA

View Full Version : ATI Cards stop refreshing screen at high framerate?



JoshKlint
04-09-2014, 09:31 AM
I have a strange problem with ATI cards on Ubuntu 12.04 LTS and 13.10.

It appears that when the framerate gets above about 80, the screen actually stops refreshing...so while the FPS reading remains high, the screen appears to be quite laggy, with pauses of half a second or so. Has anyone experience anything like this?

I also noticed that if I simply call glXSwapBuffers(), without attempting to mess with vsync at all, the default behavior seems to be to have vsync turned off. I would have expected vsync to be enabled, unless I specified otherwise.

JoshKlint
04-09-2014, 12:35 PM
The problem goes away if I log out and switch to the Ubuntu2D desktop.

malexander
04-09-2014, 05:07 PM
You can use the glXSwapInterval(0) function defined by the GLX_SGI_swap_control extension to disable vsync for your application.