Jellyfin Forum
SOLVED: Jellyfin Media Player not starting on fresh Arch/Wayland install - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Jellyfin Media Player not starting on fresh Arch/Wayland install (/t-solved-jellyfin-media-player-not-starting-on-fresh-arch-wayland-install)



Jellyfin Media Player not starting on fresh Arch/Wayland install - MrCus - 2025-01-13

Just wondering if anyone has seen this one before.

I've installed a new SSD in my machine today, and installed a fresh install of arch linux. The old SSD also has arch installed on it, and the media player works fine there.

When I attempt to start jellyfinmediaplayer i get a black box on screen, and the following 4 lines in the console over and over:

Code:
[8110:8169:0113/195821.052390:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[8110:8169:0113/195821.052393:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[8110:8169:0113/195821.052515:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
[8110:8169:0113/195821.052520:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.

I don't know which is the "first" of the error messages, they happen very fast and fill the buffer in the console.

If I start with --disable-gpu it does start and run. I'm obviosuly missing a library/driver, I just don't know which one.


RE: Jellyfin Media Player not starting on fresh Arch/Wayland install - Fate - 2025-01-13

Which GPU do you have? nvidia?
Which DE are you using? gnome/kde?


Nvidia:
https://wiki.archlinux.org/title/NVIDIA

AMD/Intel should usually be fine with the inkernel drivers.


RE: Jellyfin Media Player not starting on fresh Arch/Wayland install - TheDreadPirate - 2025-01-13

Is your DE wayland exclusive? QT5 in JMP requires X11 support.


RE: Jellyfin Media Player not starting on fresh Arch/Wayland install - MrCus - 2025-01-13

nvidia GPU and hyprland by default, but I keep KDE around, because some games get weird in hyprland/wayland, too.

TheDreadPirate is correct, KDE/Wayland does fail, and KDE/X11 works!


RE: Jellyfin Media Player not starting on fresh Arch/Wayland install - MrCus - 2025-01-13

I did some poking around, and found the QT6 pull request: https://github.com/jellyfin/jellyfin-media-player/pull/599

It builds (yay!) it opens (also yay!) but fails to connect to the server (less yay) - just the generic "We're unable to connect to the selected server right now" error. Confirmed the server is up by loading the web page and playing a video.

The debug log has nothing helpful, but libmpv does detect a vulkan renderer, so that's good!

I was hoping to offer something more useful, but I'm _way_ out of my depth here, so all I can add the qt6 pull request builds, and if you really want wayland, you can invoke it as such: jellyfinmediaplayer --disable-gpu

Interestingly, it seems to still use the gpu for video rendering.