Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / [2019.09.10] Vsync is wonkey!

Author
Message
OrangeTEK
4
Years of Service
User Offline
Joined: 7th Aug 2019
Location:
Posted: 13th Sep 2019 10:30
Hi all,

Running the Benchmark application with SetSyncRate(0,0) and 10,000 sprites gives me 98-100fps consistently. If i rem taht line and put SetVsync(1) i get a solid 59.9-60fps smooth with no tearing but occasionally, every few seconds, it dips to 45-50fps and you get the slow mo thing happening. During the slow down, there is NO tearing. So i decided to rem vsync out, put SetSyncRate(0,0) back in. I also forced vsync on in the nvidia drivers instead of application controlled and it runs at a constant 60fps, smooth, no dropouts. Whats going on with the vsync command?
Conjured Entertainment
AGK Developer
18
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 13th Sep 2019 13:04
Try it with a different monitor and see if you get the same result.

Coding things my way since 1981 -- Currently using AppGameKit V2 Tier 1
OrangeTEK
4
Years of Service
User Offline
Joined: 7th Aug 2019
Location:
Posted: 23rd Feb 2020 19:38 Edited at: 23rd Feb 2020 19:47
deleted

Login to post a reply

Server time is: 2024-04-20 13:18:39
Your offset time is: 2024-04-20 13:18:39