On Mon, Dec 20, 2021 at 06:45:43PM +0100, Lynne wrote: > 20 Dec 2021, 17:59 by michael@niedermayer.cc: > > > On Mon, Dec 20, 2021 at 11:15:08AM +0100, Lynne wrote: > > > >> Recently, Metal support was merged, which is autodetected > >> by default. Metal doesn't even have a hwcontext and it's not > >> a hwaccel, nor would it likely ever be one as Apple won't drop > >> videotoolbox. > >> > >> To keep it fair, autodetect Vulkan, which is a hwcontext, > >> and for which there is an unmerged hwaccel patch. > >> > >> Patch attached. > >> > >> configure | 4 ++-- > >> 1 file changed, 2 insertions(+), 2 deletions(-) > >> 09c6bfd367bd2ac897abc5716e2e9605341036cd 0001-configure-autodetect-vulkan.patch > >> From 1f5243450242039f82a91e7eccb724af4b6ef37c Mon Sep 17 00:00:00 2001 > >> From: Lynne > >> Date: Mon, 20 Dec 2021 11:04:49 +0100 > >> Subject: [PATCH] configure: autodetect vulkan > >> > > > > breaks build here on ubuntu > > > > ./configure > > ERROR: defined VK_VERSION_1_2 not satisfied > > > > If you think configure made a mistake, make sure you are using the latest > > version from Git. If the latest version fails, report the problem to the > > ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat. > > Include the log file "ffbuild/config.log" produced by configure as this will help > > solve the problem. > > > > Thanks for testing, V2 attached, just changes require_cpp to check_cpp, > since autodetecting is not a hard-require unlike enabling libraries. that fixes the issue thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB If you think the mosad wants you dead since a long time then you are either wrong or dead since a long time.