jellyfin-media-player
jellyfin-media-player copied to clipboard
Flatpak fails to start on Fedora, and displays a black screen.
Describe the bug Upon starting the flatpak, I am met with a black window and a lot of errors in console.
To Reproduce Steps to reproduce the behavior:
-
flatpak run com.github.iwalton3.jellyfin-media-player
- The behavior occurs
Expected behavior Jellyfin to start
Screenshots
Alongside the terminal output:
libpng warning: iCCP: known incorrect sRGB profile
Listening to socket: "/tmp/jmp_pmpUniqueApplication_folfy.sock"
Signal handlers installed successfully.
Logging to /home/folfy/.var/app/com.github.iwalton3.jellyfin-media-player/data/jellyfinmediaplayer/logs/jellyfinmediaplayer.log
[2:48:0215/172031.673235:ERROR:address_tracker_linux.cc(214)] Could not bind NETLINK socket: Address already in use (98)
[2:53:0215/172031.691570:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
[2:53:0215/172031.691588:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[2:53:0215/172031.691593:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[2:53:0215/172031.691600:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[2:53:0215/172031.698675:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
[2:53:0215/172031.698691:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[...]
[2:54:0215/172619.866903:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[2:54:0215/172619.866910:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
^C
2024-02-15 17:26:19.931 [info] unknown @ 0 - SDL is closing.
Desktop (please complete the following information):
- OS: Fedora Linux
- Version: 39
- Installation Method: Flatpak
Additional context
Logs: jellyfinmediaplayer.log
I can use --disable-gpu
which seems to fix the issue, however, I would like to use HW acceleration.
I'm happy to assist if more information is required.
Seems to be the same behaviour on Arch Linux currently
[2:53:0310/161408.124331:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
[2:53:0310/161408.124338:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[2:53:0310/161408.124341:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[2:53:0310/161408.124344:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[2:53:0310/161408.124462:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
[2:53:0310/161408.124469:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[2:53:0310/161408.124472:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[2:53:0310/161408.124475:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[2:53:0310/161408.124592:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
[2:53:0310/161408.124599:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[2:53:0310/161408.124602:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[2:53:0310/161408.124606:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
Version: com.github.iwalton3.jellyfin-media-player 1.9.1
For my system, this only occurs using Wayland. If using X11 it works fine.
I concur, same issue on Arch (the AUR bin package)
Also getting it on Arch. Happens on KDE 6.0 in Wayland. Not sure if it's related but I have an Nvidia GeForce RTX 2070 with 550.54.14 drivers.
EDIT: Nvm, my problem looks like #165. The command in this comment made it work for me: https://github.com/jellyfin/jellyfin-media-player/issues/165#issuecomment-1575518323
Having the same issue on Fedora Silverblue with an Nvidia GPU. Was able to workaround the issue by following the solution in #365 and disabling the Wayland socket with FlatSeal.
same problem on debian 12 It seemed like a universal phenomenon. I noticed that some of the flatpak software packages would display a black screen if the 3D acceleration was enabled. I haven't encountered similar issues when I use the AMD GPU. And I found that all problematic programs have processes in nvidia-smi. Maybe the NVIDIA proprietary driver has something to do with this.
btw, the problematic programs i mentioned above is referred to YesPlayMusic
, an open-source music.
I saw others have similar problems: #365 net.cozic.joplin_desktop #10