mirror of
https://github.com/lhns/steam-frame-nix.git
synced 2026-10-06 01:00:13 +02:00
Jellyfin: hardware video decoding (jellyfin.hardwareDecoding)
Jellyfin Desktop hard-sets mpv's hwdec=auto-copy, whose probe list leaves out V4L2 M2M, and the Flatpak can't see the Frame's V4L2 decoder. An LD_PRELOAD shim (preloaded straight from the store, only that path exposed read-only) rewrites hwdec to v4l2m2m-copy,auto-copy; devices=all makes the decoder visible. Overrides via nix-flatpak, or a home-manager-owned override file without it.
This commit is contained in:
1 parent
c4401fa99f
commit
fd97347e18
7 files changed
+318
-4
No files matched your search
@@ -32,6 +32,7 @@
|
||||
imports = [ (import ./modules/clipboard-sync.nix { inherit clipboard-sync-src; }) ];
|
||||
};
|
||||
firefox = ./modules/firefox.nix;
|
||||
jellyfin = ./modules/jellyfin.nix;
|
||||
};
|
||||
in {
|
||||
homeManagerModules = modules // {
|
||||
@@ -39,8 +40,10 @@
|
||||
};
|
||||
|
||||
# Tests of the VR keyboard (text model, corrector, swipe decoder on the
|
||||
# default German + English dictionary): nix flake check
|
||||
# default German + English dictionary) and of the Jellyfin mpv shim:
|
||||
# nix flake check
|
||||
checks = nixpkgs.lib.genAttrs [ "aarch64-linux" "x86_64-linux" ] (system: {
|
||||
jellyfin = import ./modules/jellyfin/check.nix { pkgs = nixpkgs.legacyPackages.${system}; };
|
||||
vr-keyboard = (import ./modules/vr-keyboard/build.nix {
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
dictionary = {
|
||||
|
||||
Reference in new issue
Block a user