jellyfin-media-player icon indicating copy to clipboard operation
jellyfin-media-player copied to clipboard

Blank screen when allowing access to all devices in flatpak sandbox

Open s1m-e0n opened this issue 2 years ago • 4 comments

Describe the bug When using the Flatpak version (1.7.1, but I also experienced this on earlier versions) with default flatpak permissions I get a completely blank (black) screen. The error that gets displayed in the cli output is the following:

[2:51:0204/182834.571547:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[2:51:0204/182834.571551:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[2:51:0204/182834.571761:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT

This happens every time I open the app. When I revoke the flatpak permission to access all devices (I use FlatSeal for this) the app works as expected. I perused the logs and it seems that perhaps my XBox controller driver is causing issues? I'm using xpadneo in case that's relevant.

To Reproduce Steps to reproduce the behavior:

  1. Download the flatpak version of the app
  2. Run in CLI with flatpak run com.github.iwalton3.jellyfin-media-player
  3. Observe a blank window
  4. Revoke access to all devices (e.g. via FlatSeal)
  5. Try again, window contents are displayed

Expected behavior The app displays the window contents correctly.

Screenshots Screenshot from 2023-02-04 18-34-23 Screenshot from 2023-02-04 18-34-51

Desktop:

  • OS: Fedora
  • Version: 37
  • Installation Method: flatpak (from Flathub via Gnome Software)

Additional context jellyfinmediaplayer.log

s1m-e0n avatar Feb 04 '23 17:02 s1m-e0n

What drivers do you use? Can you try disabling Wayland socket in Flatseal?

FooSensei avatar Feb 17 '23 14:02 FooSensei

Disabling the Wayland socket fixed the issue, thank you. I was using version 530 NVidia drivers for my GTX 970.

s1m-e0n avatar Apr 16 '23 17:04 s1m-e0n

Thanks Foo, disabling wayland socket fixed it for me as well. I had the same issue.

OS: Nobara 38 (Fedora) Installation: Flatpak

gabeclarke avatar Oct 09 '23 16:10 gabeclarke

Thanks! Same here. Disable Wayland socket fixed it for me as well.

Fedora 40 Nvidia 550.90.07 gnome 46 Wayland

dabohda avatar Jul 04 '24 09:07 dabohda