June 18, 2019, 04:57:55 PM

Author Topic: VSYNC issues  (Read 164 times)

Offline Kris

  • Jr. Member
  • **
  • Posts: 28
VSYNC issues
« on: June 05, 2019, 07:27:46 PM »
Hey Guys,

Playing around with AGK Classic v2019.05.22 on my Win7 laptop and experiencing screen tearing both in windowed and fullscreen mode. Most examples produce this and I tried to use both SetVSync() and SetSyncRate() in codes they were not present, but didn't make too much difference. I found a topic about this bug from 2017 on TheGameCreator's forum and it seems the bugfix never really solved this issue or just came back in later versions? Do you guys experience the same with current AGK Classic?

https://forum.thegamecreators.com/thread/219910

Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 1802
Re: VSYNC issues
« Reply #1 on: June 05, 2019, 07:46:07 PM »
Myself and others have had problems with Vsync on AGK.  The problem I had last was that even though my monitor refresh was 75hz, it would sync at 60hz.  This has been fixed in AGK Studio.  The AGK guys seem to be putting all their efforts into Studio.

The code I use:
Code: [Select]
SetSyncRate( 0, 1 ) // max sync rate
SetVSync( 1 ) // turn on vsync
Windows 10, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
MacOS Mojave, 64-bit, 8Gb RAM, CPU Intel i5, 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB.
Linux Mint 19.1, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).

Offline Kris

  • Jr. Member
  • **
  • Posts: 28
Re: VSYNC issues
« Reply #2 on: June 06, 2019, 03:32:57 AM »
Thanks Steve! AGK Studio it is...I guess.





Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 1802
Re: VSYNC issues
« Reply #3 on: June 06, 2019, 08:39:44 AM »
np.  Bug fixes and a much nicer IDE with AGK Studio.
Windows 10, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
MacOS Mojave, 64-bit, 8Gb RAM, CPU Intel i5, 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB.
Linux Mint 19.1, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).