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.
_______________________________________________
A quick check confirms your vulkan version is too old:

check_pkg_config_cpp vulkan vulkan >= 1.3.277 vulkan/vulkan.h defined VK_VERSION_1_3
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to