Le 20/01/2014 05:28, Kevin Fishburne a écrit : > > It must provoke some acid reflux deep within the bowels of SDL. :) I > don't know...it's damn strange for sure. I also find it strange that the > FPS is around 500, but when you minimize the window it jumps to over > 2000. Even if it's just refreshing the window itself, you'd think on a > modern system with hardware acceleration it would be faster than that. > > I attached my test app. It has all the OpenGL commands and variable > declarations commented out, so it's running just an empty SDL loop with > the frame rate calculation and console printout. Feel free to test the > two revisions yourself to see the difference. > > Just thought of something...how can you change the current font SDL is > using? I wonder if changing it from the bitmap to an arbitrary TTF (even > though no text is being rendered) would make a difference? >
I solve my FPS problem on Intel GPU with the driconf program (that is buggy) and that link: https://wiki.archlinux.org/index.php/Intel_Graphics A flag in the "~/.drirc" file allowed me to disable automatic VSYNC, and now my SDL programs go to the maximum speed. I don't know which GUI driver you use exactly, but I suggest you look in that direction. Regards, -- Benoît Minisini ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
