ubuntu-flutter-community / musicpod

Music, radio, television and podcast player for Ubuntu, Windows, MacOs and maybe soon Android
GNU General Public License v3.0
450 stars 54 forks source link

UI very unresponsive #916

Open DiogoConstantino opened 2 months ago

DiogoConstantino commented 2 months ago

I'm running Musicpod (0+git.f0a48e3 (1453) 54MB) on Ubuntu 24.04 with X11. And the UI is very slow and some parts of it like the search text box are even unusable (one character takes roughly 30 seconds to appear).

While launching it from the terminal I'm getting the following output: ` iogo@diogo-B550-GAMING-X:~$ musicpod Gtk-Message: 12:04:24.515: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.

(musicpod:1429063): Gtk-WARNING **: 12:04:24.565: GTK+ module /snap/musicpod/1453/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded. GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported. Gtk-Message: 12:04:24.565: Failed to load module "canberra-gtk-module" Gtk-Message: 12:04:24.565: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.

(musicpod:1429063): Gtk-WARNING **: 12:04:24.566: GTK+ module /snap/musicpod/1453/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded. GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported. Gtk-Message: 12:04:24.566: Failed to load module "canberra-gtk-module" Gtk-Message: 12:04:24.566: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it. package:media_kit_libs_linux registered. media_kit: VideoOutput: video_output_new: 3017282817104 media_kit: VideoOutput: Using H/W rendering. flutter: VideoOutput.Resize flutter: {handle: 3017282817104, id: 3017077653392, rect: {left: 0, top: 0, width: 1, height: 1}} flutter: NativeVideoController: Texture ID: 3017077653392

(musicpod:1429063): WARNING : 12:04:50.221: atk-bridge: get_device_events_reply: unknown signature

(musicpod:1429063): Gdk-CRITICAL **: 12:07:05.390: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed

`

While waiting for an event the window doesn't move and it's not resizeable. Vertical scroll works normally.

Selecting a podcast will take a long time as it appears the rendering, is taking a very long time: image

This doens't happen on any other Flutter application I'm running.

Feichtmeier commented 2 months ago

I'm running Musicpod (0+git.f0a48e3 (1453) 54MB) on Ubuntu 24.04 with X11. And the UI is very slow and some parts of it like the search text box are even unusable (one character takes roughly 30 seconds to appear).

While launching it from the terminal I'm getting the following output: ` iogo@diogo-B550-GAMING-X:~$ musicpod Gtk-Message: 12:04:24.515: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.

(musicpod:1429063): Gtk-WARNING **: 12:04:24.565: GTK+ module /snap/musicpod/1453/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded. GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported. Gtk-Message: 12:04:24.565: Failed to load module "canberra-gtk-module" Gtk-Message: 12:04:24.565: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.

(musicpod:1429063): Gtk-WARNING **: 12:04:24.566: GTK+ module /snap/musicpod/1453/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded. GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported. Gtk-Message: 12:04:24.566: Failed to load module "canberra-gtk-module" Gtk-Message: 12:04:24.566: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it. package:media_kit_libs_linux registered. media_kit: VideoOutput: video_output_new: 3017282817104 media_kit: VideoOutput: Using H/W rendering. flutter: VideoOutput.Resize flutter: {handle: 3017282817104, id: 3017077653392, rect: {left: 0, top: 0, width: 1, height: 1}} flutter: NativeVideoController: Texture ID: 3017077653392

(musicpod:1429063): WARNING : 12:04:50.221: atk-bridge: get_device_events_reply: unknown signature

(musicpod:1429063): Gdk-CRITICAL **: 12:07:05.390: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed

`

While waiting for an event the window doesn't move and it's not resizeable. Vertical scroll works normally.

Selecting a podcast will take a long time as it appears the rendering, is taking a very long time: image

This doens't happen on any other Flutter application I'm running.

hm, I can not reproduce this even on a very weak and old (10 years intel) laptop :( did you restart the app/computer?

DiogoConstantino commented 2 months ago

hm, I can not reproduce this even on a very weak and old (10 years intel) laptop :( did you restart the app/computer?

I have rebooted, this is a relatively powerful (midrange), but not very recent machine (rougly3 years). Feel the described behaviour when changing from a view to another, when doing any search, and when subscribing to a podcast.

Feichtmeier commented 1 week ago

@DiogoConstantino is this still happening for you after updating to 2.4.0 ?

Feichtmeier commented 1 week ago

re-open if this happens again

DiogoConstantino commented 1 week ago

Sorry took me a while to see the notification. Yes this is still happening.