[ltp] OpenGl slow or fast depending on user

Henrique de Moraes Holschuh linux-thinkpad@linux-thinkpad.org
Thu, 20 Sep 2012 17:10:00 -0300


On Thu, 20 Sep 2012, Florian Dorpmueller wrote:
> Nevertheless for the "fast" user with glxgears I receive:
> 304 frames in 5.0 seconds = 60.678 FPS
> 302 frames in 5.0 seconds = 60.266 FPS
> 302 frames in 5.0 seconds = 60.267 FPS
> 302 frames in 5.0 seconds = 60.267 FPS

This looks like it is locked to VSYNC.

> For the slow user it is only
> 190 frames in 5.0 seconds = 37.979 FPS
> 188 frames in 5.0 seconds = 37.580 FPS
> 193 frames in 5.1 seconds = 38.032 FPS
> 193 frames in 5.0 seconds = 38.405 FPS
> 197 frames in 5.0 seconds = 39.267 FPS

And this is outright weird.  Try disabling/enabling lock-to-VSYNC, maybe it
is a bug on that ara.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh