feat(host/vaapi): fall back to the low-power (VDEnc) entrypoint — unblocks modern Intel

Gen12+/Arc iHD exposes ONLY EncSliceLP, so the default open fails with
'no usable encoding entrypoint'. Try full-feature first (AMD unchanged,
validated on the 780M), retry low_power=1, cache the mode per codec;
PUNKTFUNK_VAAPI_LOW_POWER pins it. Probes inherit the ladder. Docs note
the Intel HuC firmware requirement.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-02 12:06:05 +00:00
parent fbeac16c96
commit 34bdda7d96
2 changed files with 105 additions and 7 deletions
+5 -1
View File
@@ -35,7 +35,11 @@ listed, the host still needs one of these compositor backends to create a virtua
- **`nvidia-drm modeset=1`** must be enabled (Wayland on NVIDIA needs it). The setup guides cover this.
- **AMD / Intel GPUs** encode via **VAAPI** instead (install `mesa-va-drivers` or
`intel-media-driver`; validated live on AMD RDNA3). The NVIDIA-specific notes above don't apply
there. A GPU-less software H.264 encoder also exists (`PUNKTFUNK_ENCODER=software`), meant as a
there. On modern Intel (Gen12/Tiger Lake and newer, including Arc) the driver only offers the
**low-power (VDEnc)** encode entrypoint — the host detects this and falls back automatically
(`PUNKTFUNK_VAAPI_LOW_POWER=1|0` pins it) — and low-power encode needs the **HuC firmware**
loaded (the kernel default on those platforms; check `dmesg | grep -i huc` if encoding fails).
A GPU-less software H.264 encoder also exists (`PUNKTFUNK_ENCODER=software`), meant as a
fallback rather than a daily driver.
> Consumer GeForce cards historically cap the number of **concurrent** NVENC sessions (a few at once);