Skip to content

GUI starts flickering / stops drawing tiles on Linux (Flatpak) #1112

@JayPi4c

Description

@JayPi4c

Describe the bug
When playing music with the new 2.0 Desktop release, after some time the GUI starts to not draw tiles (covers of albums / series / movies, images of actors/actresses, as well as control buttons).

To Reproduce
Steps to reproduce the behavior:

  1. Open application
  2. Start a song
  3. Wait for problem to happen

Expected behavior
GUI does not start to flicker and stays usable.

Screenshots
Image
(notice in the bottom, the control panel has completely disappeared. However, this is only visually. When clicking at the right position, the behavior is as expected.)

Desktop (please complete the following information):

  • OS: Ubuntu 24.04.3 LTS
  • Version 24.04.3
  • Installation Method: flatpak install flathub org.jellyfin.JellyfinDesktop
  • Jellyfin Server Version: 10.10.7
  • No custom CSS

Additional context

When starting in the console, i get the following logs:

flatpak run org.jellyfin.JellyfinDesktop 
[2:53:0104/101752.453718:ERROR:bus.cc(408)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
LIRC Socket Error :  QLocalSocket::ServerNotFoundError
Failed to init component: display
Cannot load libcuda.so.1
[128:9:0104/104638.689797:ERROR:tile_manager.cc(999)] WARNING: tile memory limits exceeded, some content may not draw
[128:9:0104/104638.690238:ERROR:tile_manager.cc(999)] WARNING: tile memory limits exceeded, some content may not draw
[128:9:0104/104638.719065:ERROR:tile_manager.cc(999)] WARNING: tile memory limits exceeded, some content may not draw
[128:9:0104/104638.719474:ERROR:tile_manager.cc(999)] WARNING: tile memory limits exceeded, some content may not draw
[128:9:0104/104638.736371:ERROR:tile_manager.cc(999)] WARNING: tile memory limits exceeded, some content may not draw
...

The logs about:

[2:53:0104/101752.453718:ERROR:bus.cc(408)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
LIRC Socket Error :  QLocalSocket::ServerNotFoundError
Failed to init component: display
Cannot load libcuda.so.1

seem to be unrelated. They come up right after the application is started and everything is working great at that point.

It seems to me, that the tile_manager.cc has some kind of memory leak. Or somewhere an invocation of a method to free memory is forgotten.

As a workaround, I found it to be possible to press the home button or start a video which seems to reset the memory manager and frees the memory, thus fixing gui glitches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions