Hello,
I am, as many of you, working on my own framework. I experienced a strange behaviour with certain combinations of screen resolution, page flipping (in fullscreen mode) and monitor refresh rate.
To go into detail:
- when using resolution 800x600 Px, everything is ok.
- when using 1280x1024 in windowed mode (without page flipping), everything is ok,too.
- The problem occurs only in 1280x1024 in fullscreen mode, using pageflipping the usual way, using BufferStrategy.
Then I get 77fps when running the monitor with 75hz, and
only 26 (!) fps when switching to 60hz.
Thats, of course, not nice because I cannot know what will happen on the users system.
26 fps is not sufficient for the kind of game I have planned , so I have to find a way to get rid of this.
The fps is not mainly influenced by the test animation I was using, as it makes no difference whether I push around 5 or 500 things on the screen, the fps in the problem case will not exeed 26.
Has anybody heard about something similar?
Any help is appreciated.
Regards,
Frank