JetBrains / lets-plot-skia

Skia frontend for Lets-Plot multiplatform plotting library.
MIT License
141 stars 2 forks source link

Sluggish UI on Ubuntu 24.04, Corretto JDK 17.04, Is there a way to enable/check GPU rendering? #13

Closed parrotcar00 closed 3 months ago

parrotcar00 commented 4 months ago

I'm running the demo-plot-compose-desktop (https://github.com/JetBrains/lets-plot-skia/blob/7b85fccaadd16abc2c4982ec526dc82435002211/demo/plot/compose-desktop/src/main/kotlin/demo/plot/median/AppMain.kt) example on Ubuntu 24.04 with JDK 17.04 (Amazon corretto) and I'm seeing sluggish ui.

Meanwhile when I run the same example on my macbook pro m2, I see it runs buttery smooth. Is this possibly because its using CPU renderer on Ubuntu? Any way to check and force GPU rendering on Ubuntu?