Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tilengine 2.15 supports variable refresh rate monitors
#3
Hi!

No problem in adding getter/setter for new window scaling factor, thanks for suggesting it.

As I don't have acces to a non-60 Hz display, I'd like you to validate the latest version on your display. I tested it on my 60 Hz display by disabling vsync and manually forcing other target fps like 144 or 240. The test sample runs at the same relative speed no matter what target fps I set, but using different amounts of cpu and gpu, of course.

There's a new test file under test folder, called test_fps.c. I'd like you to build and run it with two configurations:

  1. Run it without using the new features: NOT setting CWF_NOVSYNC flag and NOT calling TLN_SetTargetFps(). This should run natively vsynced at 144 Hz, as it should detect the refresh rate of your monitor and auto adapt to it.
  2. Run it again forcing new features: enable CWF_NOVSYNC flag and explicitly call TLN_SetTagetFps(60) to force 60 fps. This should run at the same apparent speed than the previous run, but you may experience unstable smoothness and/or tearing.

Let me know how does it run in your setup
Reply


Messages In This Thread
RE: Tilengine 2.15 supports variable refresh rate monitors - by megamarc - 04-23-2023, 03:44 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)