TUISTREAM/internal/system
28allday 96c908f324 Auto-install GPU hardware-transcoding packages on Jellyfin install
Detect the host's GPU vendor(s) via PCI sysfs (no lspci dependency) and
append vendor-matched encoding-package steps to the install plan:
Intel -> intel-media-driver + vpl-gpu-rt + intel-compute-runtime,
AMD -> mesa + libva-mesa-driver. NVIDIA NVENC ships with the driver's
own userspace, so nothing is added when a driver is loaded, and a
warning step (never an automatic kernel-driver install) when it isn't.

Without these packages Jellyfin installs fine and direct-plays fine,
but any client that needs a transcode fails instantly with the opaque
"FFmpeg exited with code 251" / "fatal playback error" pair.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-18 13:58:22 +01:00
..
deps.go Spin down idle media drives by default via a watcher service 2026-06-04 16:28:39 +01:00
gpu.go Auto-install GPU hardware-transcoding packages on Jellyfin install 2026-07-18 13:58:22 +01:00
gpu_test.go Auto-install GPU hardware-transcoding packages on Jellyfin install 2026-07-18 13:58:22 +01:00