From cf524e50ba7b8f025abaf088a2f85a7b3a272d6c Mon Sep 17 00:00:00 2001 From: Mathias Tollerud Date: Tue, 1 Sep 2026 10:23:09 +0200 Subject: [PATCH] fix(ffmpeg): pin nv-codec-headers to n13.0.19.1 to restore NVENC on legacy driver branches The nv-codec-headers submodule tracks master and had drifted to n13.1.15.0, which bakes a "Driver does not support the required nvenc API version. Required: 13.1" floor into libavcodec's h264_nvenc/hevc_nvenc. NVIDIA's legacy driver branches (e.g. 580.xx, the last branch supporting Pascal and older GPUs) are frozen at NVENC API 13.0 and can never reach the 610.00+ driver this requires, so NVENC silently regressed to software fallback for those cards on Linux. Pinning back to n13.0.19.1 (the same tag already used for one of Sunshine's three Windows NVENC SDK builds) restores compatibility with those drivers while still supporting current ones. Note: this submodule is updated by Dependabot on a daily cron (.github/dependabot.yml) with no ignore rule, so this pin will be proposed for reversion again unless a Dependabot ignore entry is also added for third-party/FFmpeg/nv-codec-headers in LizardByte/.github's central config. Fixes LizardByte/Sunshine#5590 --- third-party/FFmpeg/nv-codec-headers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third-party/FFmpeg/nv-codec-headers b/third-party/FFmpeg/nv-codec-headers index 0a6fba9a..88fee5c3 160000 --- a/third-party/FFmpeg/nv-codec-headers +++ b/third-party/FFmpeg/nv-codec-headers @@ -1 +1 @@ -Subproject commit 0a6fba9a2820628b8103464f4c8753ee05838baa +Subproject commit 88fee5c37318c991a8762d423530f91681e32e3a