JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
16.2k stars 1.17k forks source link

Low FPS on Linux with maximized window #302

Closed igordmn closed 1 month ago

igordmn commented 3 years ago

Compose 0.0.0-vsync-build30 Compose 0.3.0-build141 (without delay in FrameDispatcher and DefaultMonotonicFrameClock)

Ubuntu 20.04.1 LTS (X11 Window Manager), 100Hz display Intel 9900K, NVIDIA 2080 Ti

  1. run ./gradle :compose:desktop:desktop-samples:run1 (example with animation)
  2. measure FPS. Result - 100 FPS
  3. maximize the window
  4. measure FPS. Result - 30 FPS
okushnikov commented 2 months ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.