[Gambas-user] GambasGears FPS

Benoît Minisini gambas at ...1...
Thu Feb 20 18:46:40 CET 2014


Le 20/02/2014 17:58, Rob Kudla a écrit :
> On 02/20/2014 11:11 AM, martin p cristia wrote:
>> Is there a reason for GambasGears giving 60 FPS normally and 101 FPS
>> when running in a VirtualBox with Lubuntu?
>
> Usually a result of 60 FPS indicates that OpenGL is locked to the vertical
> refresh rate of your video card or monitor. The 101 FPS indicates it isn't
> locked to vsync inside the VM, but is using software rendering while you're
> probably using direct rendering outside the VM which apparently does vsync
> by default now.
>
> If you run the "real" glxgears from a terminal window, do you get "Running
> synchronized to the vertical refresh" on standard error?
>
> Rob
>

Yes, I discovered that recently.

Now that a lot of graphic things are centralized into the kernel, there 
is a tool (DRM configuration tool, something like that), that allows you 
to force a synchronized "vertical refresh" for every OpenGL program that 
limit the framerate.

It was activated by default on my Ubuntu machine with an Intel video card.

-- 
Benoît Minisini




More information about the User mailing list