jellyfin / jellyfin-media-player

Jellyfin Desktop Client
GNU General Public License v2.0
3.3k stars 326 forks source link

Flatpak won't run #534

Open YamiYukiSenpai opened 11 months ago

YamiYukiSenpai commented 11 months ago

Four considerations:

Describe the bug Flatpak app won't run

To Reproduce Steps to reproduce the behavior:

  1. flatpak run com.github.iwalton3.jellyfin-media-player

Expected behavior App should open

Screenshots No screenshot, but here's the terminal output:

> flatpak run com.github.iwalton3.jellyfin-media-player 
Qt: Session management error: Could not open network socket
libpng warning: iCCP: known incorrect sRGB profile
Listening to socket: "/tmp/jmp_pmpUniqueApplication_yamiyuki.sock"
Signal handlers installed successfully.
Logging to  /home/yamiyuki/.var/app/com.github.iwalton3.jellyfin-media-player/data/jellyfinmediaplayer/logs/jellyfinmediaplayer.log
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: radeonsi
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: radeonsi
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

Full log: jellyfinmediaplayer.log

Desktop (please complete the following information):

Additional context

Full specs:

Operating System: Kubuntu 23.10
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.10
Kernel Version: 6.5.0-14-generic (64-bit)
Graphics Platform: X11
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: AMD Radeon RX 6900 XT
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X570S AORUS MASTER
System Version: -CF

The Snap version also won't run.

> snap run jellyfinmediaplayer
Qt: Session management error: Could not open network socket
libpng warning: iCCP: known incorrect sRGB profile
Listening to socket: "/tmp/jmp_pmpUniqueApplication_yamiyuki.sock"
Signal handlers installed successfully.
Logging to  /home/yamiyuki/snap/jellyfinmediaplayer/24/.local/share/jellyfinmediaplayer/logs/jellyfinmediaplayer.log
/usr/share/libdrm/amdgpu.ids: No such file or directory
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: radeonsi
/usr/share/libdrm/amdgpu.ids: No such file or directory
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: radeonsi
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
[85325:85470:1214/231447.795624:ERROR:zygote_host_impl_linux.cc(263)] Failed to adjust OOM score of renderer with pid 85471: Permission denied (13)
[1]    85325 IOT instruction (core dumped)  snap run jellyfinmediaplayer

jellyfinmediaplayer.log

Tested with the apt version, and it works after I do a symlink for libmpv sudo ln -s /usr/lib/x86_64-linux-gnu/libmpv.so.2 /usr/lib/x86_64-linux-gnu/libmpv.so.1

sevenrats commented 11 months ago

Im not aware of a dev with a kubuntu setup if somebody wanted to PR a fix for this we would appreciate it.

pktiuk commented 10 months ago

Same problem on Pop!_OS 22.04 with flatpak

pawel@pop-os:~$ flatpak run com.github.iwalton3.jellyfin-media-player 
Gtk-Message: 23:21:58.605: Failed to load module "canberra-gtk-module"
Gtk-Message: 23:21:58.606: Failed to load module "canberra-gtk-module"
qt.qpa.qgnomeplatform: Could not find color scheme  ""
Qt: Session management error: Could not open network socket
libpng warning: iCCP: known incorrect sRGB profile
Listening to socket: "/tmp/jmp_pmpUniqueApplication_pawel.sock"
Signal handlers installed successfully.
Logging to  /home/pawel/.var/app/com.github.iwalton3.jellyfin-media-player/data/jellyfinmediaplayer/logs/jellyfinmediaplayer.log

jellyfinmediaplayer 1.9.1 - Flatpak release

Logs: jellyfinmediaplayer.log

Earlier it worked well, but broke just recently

pktiuk commented 10 months ago

UPDATE:

IDK why, but in my case switching from Hybrid GPU mode (AMD+Nvidia) to integrated fixed the issue.

Switching to Hybrid breaks everything again