[FFmpeg-user] Building ffmpeg with vulkan support in docker container.
Ferdi Scholten
ferdi at sttc-nlp.nl
Fri Nov 1 12:24:45 EET 2024
Hello,
> Attempting to build ffmpeg that has vulkan support enabled in a docker container. The container environment is ubuntu 24.04 with installed packages libvulkan-dev, (libvulkan1), vulkan-icd, vulkan-tools. As far as I understand vulkan is supposed to be autodetected by ffmpeg configure (but does not enable by itself) and when trying to pass `--enable-vulkan`, configure will exit error “ERROR: vulkan requested but not found”.
>
> I have confirmed vulkan is able to detect hardware gpu when the container is running, but hardware access a bit more limited while building (from Dockerfile). Don’t know whether detected gpu hardware in vulkan matters at build time, but as the vulkan-icd package is installed some software/cpu support should at least be enabled.
>
> VK_HEADER_VERSION 275
> Ffmpeg 7.1
>
>
> Any pointers where to look to get this working? Thanks.
>
>
>
>
> _______________________________________________
>
I once had the same problem, looking at the logging generated it turned
out that the vulkan version used by Ubuntu was too old.
since then I build vulkan myself from git. Current vulkan version is 300
by the way.
More information about the ffmpeg-user
mailing list