jellyfin-desktop: fix video playback

Set QTWEBENGINE_FORCE_USE_GBM to 0 to fix/work around a severe video
playback bug.

The fix is copied from
https://github.com/NixOS/nixpkgs/issues/519073#issuecomment-4434887630

Fixes https://github.com/nixos/nixpkgs/issues/519073 ("jellyfin-desktop: video no longer plays")
This commit is contained in:
Bjørn Forsman
2026-06-29 20:55:50 +02:00
parent 556bd36e36
commit 52d502602a

View File

@@ -63,6 +63,8 @@ stdenv.mkDerivation (finalAttrs: {
qtWrapperArgs = [
"--set QT_STYLE_OVERRIDE Fusion"
"--set NIX_SSL_CERT_FILE ${cacert}/etc/ssl/certs/ca-bundle.crt"
# Disable hardware acceleration to fix severe flickering in video playback.
"--set-default QTWEBENGINE_FORCE_USE_GBM 0"
];
postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''