VSync: two instances, half framerate
-
- Posts: 117
- Joined: Sat Apr 19, 2008 10:14 am
VSync: two instances, half framerate
since irrlicht 1.7 I have the effect, that when I use the VSynch option when starting createDevice(), that runnig two instances of my app leads to half framerate (30 hz). Can I avoid this effect?
Turn on triple buffering. Because you are using vsync, if your program is consistently failing to make its drawing call on time, it has to wait for the next call. If your monitor is running at 60Hz, it is missing every other draw call. Which means your program will run at 30 frames/second.
Triple buffering allows your program to keep drawing when it misses its draw call and is waiting for the next one. It will allow you to get above 30 frames/second.
I don't know how to turn it on via Irrlicht (or if it is even possible). You should be able to manually turn it on via your video card driver control panel.
Triple buffering allows your program to keep drawing when it misses its draw call and is waiting for the next one. It will allow you to get above 30 frames/second.
I don't know how to turn it on via Irrlicht (or if it is even possible). You should be able to manually turn it on via your video card driver control panel.