neithern / g4music

A light weight music player written in GTK4, with a fluent adaptive user interface.
https://gitlab.gnome.org/neithern/g4music
GNU General Public License v3.0
195 stars 15 forks source link

[BUG] Window resizing on flatpak build is very jittery and laggy compared to build from source #84

Open FriendlyNeighbourhoodWatch opened 2 months ago

FriendlyNeighbourhoodWatch commented 2 months ago

When dragging mouse around the edges to resize the windows, the source build is smooth while the flatpak build lags behind a lot and is very slow, but I can see no other noticeable differences and the animations seem smooth on both other than that.

https://github.com/neithern/g4music/assets/174258261/f1bab6b9-2b95-45d9-8184-1b8ec8928254

https://github.com/neithern/g4music/assets/174258261/b264c9dd-9ba0-4ac3-9cdd-064b8dbe431f

neithern commented 1 month ago

I guess missing some package like 'org.freedesktop.Platform.GL.default', or you may test some other GTK4 apps?

FriendlyNeighbourhoodWatch commented 1 month ago

It also occurs with some other gtk4 apps like Cartridges but not all I think it may be some dependency issue but not sure what. Can you reproduce?

neithern commented 1 month ago

I can't reproduce with 'org.freedesktop.Platform.GL.default' (ver 24.1.3, branch 23.08-extra), I still guess GPU-acceleration is not work in your flatpak system.

FriendlyNeighbourhoodWatch commented 1 month ago

Okay. I have tried installing that branch and it still does not work.

neithern commented 1 month ago

😂 try set "Background blur mode" to "Never"?

FriendlyNeighbourhoodWatch commented 1 month ago

Done. No effect, marginally smoother but not to a significant degree and still extremely bad

neithern commented 2 weeks ago

How about v3.9?