-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
G-SYNC causes stuttering and flickering #1648
Comments
…475) To disable VRR support, we create a transparent JPanel with size (1, 1) and add it on top of the SkiaLayer. This causes mixed rendering technologies (java2d and OpenGL/DirectX) to work simultaneously in the same window and VRR cannot be enabled. see: JetBrains/compose-multiplatform#1648 https://youtrack.jetbrains.com/issue/TBX-6507#focus=Comments-27-5482439.0-0
…etBrains#475) To disable VRR support, we create a transparent JPanel with size (1, 1) and add it on top of the SkiaLayer. This causes mixed rendering technologies (java2d and OpenGL/DirectX) to work simultaneously in the same window and VRR cannot be enabled. see: JetBrains/compose-multiplatform#1648 https://youtrack.jetbrains.com/issue/TBX-6507#focus=Comments-27-5482439.0-0
Hi, any news about this? The worst thing is that flickering and stuttering occur even when G-SYNC is enabled only for fullscreen apps, not for windowed. Maybe there is some way to fix it at least for development time, e.g. use another render api/etc? UPD: |
This is indeed a common and serious problem with the JVM GUI and hopefully it will be resolved. |
This is horrendous what is going on with this I bought a gaming computer with the fastest CPU and GPU available on the market and this grinds my computer to a halt randomly and it took me months on end to stumble on to this |
This is also correct in my experience. The bug happens even if you only tell GSYNC to activate for full screen apps and Jetbrains Toolbox is not a full screen app |
I can confirm the issue with Compose The issue is present in the toolbox too, but not during the first window opening when it is manually started. Only if I minimize it to the tray and reopen it. Hope this information is useful for fixing it. Additionally, marking the window as |
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks. |
Problem
When G-SYNC is active and an app that uses Compose MPP is focused, the refresh rate of the display is lowered considerably, so moving the mouse causes stuttering and flickering. While G-SYNC can simply be turned off during development, this also affects end users of an application. For example, this problem also occurs with the new Jetbrains Toolbox.
Video
Compose.mp4
Sorry for the terrible phone recording, but funnily the problem disappears when observed by OBS.
Versions
OS: Windows 11 Build 22000.376
Compose:
id("org.jetbrains.compose") version "1.0.1"
(building a desktop app)NVIDIA driver: 497.29
The text was updated successfully, but these errors were encountered: