feat(linux): Add Vulkan video encoder support to FFmpeg build#597
feat(linux): Add Vulkan video encoder support to FFmpeg build#597neatnoise wants to merge 4 commits intoLizardByte:masterfrom
Conversation
012f8bd to
8b31046
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
@psyke83 @ReenigneArcher added dependencies, updated the docs |
deca58c to
014a8a4
Compare
|
@neatnoise thanks for updating it! There must still be something missing on Linux as the build is failing to find vulkan. It does find it on FreeBSD though. Edit: actually it worked on FreeBSD amd64, but failed for aarch64. |
c3b7d55 to
a1a4009
Compare
|
|
the vulkan package in 22.04 is too old according to https://ubuntuhandbook.org/index.php/2025/09/compile-ffmpeg-8-0-in-ubuntu-with-nvidia-gpu-acceleration/ |
|
Fixed in #606 Please test/review if vulkan is properly compiled and would work in the Sunshine PR. You can get artifacts from https://github.com/LizardByte/build-deps/actions/runs/21850415771?pr=606 |



Description
Add Vulkan video encoding support to FFmpeg builds for use with Sunshine's new Vulkan encoder. Requires vulkan-headers and vulkan-icd-loader packages to be installed (or similar on another distros).
Changes:
BUILD_FFMPEG_VULKANCMake option (default: ON)--enable-vulkanflag to FFmpeg configureh264_vulkan,hevc_vulkan,av1_vulkanThis is a dependency for the Sunshine Vulkan encoder PR which adds zero-copy DMA-BUF/EGL encoding on Linux KMS.
Screenshot
Issues Fixed or Closed
Roadmap Issues
Type of Change
Checklist
AI Usage