Open ghost opened 3 years ago
I'm seeing this issue as well.
Tried with JDK 1.8, 11. On MacOS.
With a seemingly simple program (1 shape moving around), I see a slight but noticeable stutter every ~10 seconds.
When I bring the debugger up, the tiny FPS marker in the corner drops from 120FPS to 50FPS when this happens.
Most likely has to do with garbage collection?
I think GC should be similar in Windows and Mac. So might be related to vsync or something. Not sure. Will investigate
KorGE version: 2.1.1.6 IntelliJ Version: 2021.1.2 Operating System: macOS Big Sur Beta 11.5 - Intel CPU
I found that using JVM on macOS is causing stuttering/lagging with a basic cube moving around the screen. I've tested the same code on a Windows machine and everything works fine without any performance issues. Native and JS on macOS works fine and has zero performance issues, no lagging or stuttering which to me sounds like a macOS JVM performance probem.
Please see two videos from two different operating systems: macOS Windows
As you can see on the videos, macOS is clearly stuttering with its movements while Windows is smooth 60FPS. Both look exactly the same even on recording and both also were recorded at 60FPS.
A very simple and primitive code I've used (I'm still a beginner to Kotlin/KorGE so bear with me.)