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 ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
