Truly independent web browser
Everywhere: Work around NVIDIA's decoding of AV1 frames with many tiles
Zaggy102473162c4dd3c6
diff --git a/Base/res/ladybird/about-pages/support.html b/Base/res/ladybird/about-pages/support.htmlindex a7c463d8206..1329d561999 100644--- a/Base/res/ladybird/about-pages/support.html+++ b/Base/res/ladybird/about-pages/support.html@@ -462,6 +462,7 @@["Vulkan", vulkanVersion(gpu.api_version)],["Identity", gpu.device_identity],["YCbCr sampling", yesNo(gpu.supports_ycbcr_sampling)],+ ["Video maintenance 2", yesNo(gpu.supports_video_maintenance2)],...describeGpuVideoDecoding(gpu),]);} else if (!report.probe_failure) {diff --git a/Libraries/LibMediaCodecs/FFmpeg/FFmpegVulkanVideoDecoder.cpp b/Libraries/LibMediaCodecs/FFmpeg/FFmpegVulkanVideoDecoder.cppindex df4764ba141..09541768f40 100644--- a/Libraries/LibMediaCodecs/FFmpeg/FFmpegVulkanVideoDecoder.cpp+++ b/Libraries/LibMediaCodecs/FFmpeg/FFmpegVulkanVideoDecoder.cpp@@ -447,6 +447,9 @@ DecoderErrorOr<NonnullOwnPtr<FFmpegVulkanVideoDecoder>> FFmpegVulkanVideoDecoderreturn DecoderError::with_description(DecoderErrorCategory::Memory, "Failed to reference the FFmpeg Vulkan device context"sv);codec_context->get_format = negotiate_pixel_format;codec_context->get_buffer2 = get_buffer;+ // Only the bundled FFmpeg decodes AV1, and it is patched to know this flag.+ if (codec_id == CodecID::AV1 && !PlatformFeatures::ProcessFeatures::the().is_enabled(PlatformFeatures::Feature::VulkanVideoBundledFFmpegAV1KeepSequenceHeaderEnableRefMVsFlag))+ codec_context->hwaccel_flags |= AV_HWACCEL_FLAG_LADYBIRD_CLEAR_UNUSED_REF_FRAME_MVS;if (functions.avcodec_open2(codec_context, codec, nullptr) < 0)return DecoderError::format(DecoderErrorCategory::Unknown, "Unknown error occurred when opening FFmpeg codec {}", codec_id);diff --git a/Libraries/LibMediaCodecs/Vulkan/VulkanVideoDevice.cpp b/Libraries/LibMediaCodecs/Vulkan/VulkanVideoDevice.cppindex 4145b3276a2..3accffad5b8 100644--- a/Libraries/LibMediaCodecs/Vulkan/VulkanVideoDevice.cpp+++ b/Libraries/LibMediaCodecs/Vulkan/VulkanVideoDevice.cpp@@ -71,6 +71,19 @@ Optional<u32> first_queue_family_with(ReadonlySpan<VkQueueFamilyProperties> fami}+bool VulkanVideoDevice::supports_video_maintenance2(VkPhysicalDevice physical_device)+{+ if (!contains_extension(device_extensions_of(physical_device), VK_KHR_VIDEO_MAINTENANCE_2_EXTENSION_NAME ""sv))+ return false;+ VkPhysicalDeviceVideoMaintenance2FeaturesKHR video_maintenance2 {};+ video_maintenance2.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_2_FEATURES_KHR;+ VkPhysicalDeviceFeatures2 features {};+ features.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2;+ features.pNext = &video_maintenance2;+ vkGetPhysicalDeviceFeatures2(physical_device, &features);+ return video_maintenance2.videoMaintenance2;+}+ErrorOr<void> VulkanVideoDevice::check_can_decode_video(VkPhysicalDevice physical_device){VkPhysicalDeviceProperties properties;@@ -151,11 +164,8 @@ ErrorOr<NonnullOwnPtr<VulkanVideoDevice>> VulkanVideoDevice::create(Gfx::GpuDevifor (auto const* name : required_extensions)device->m_enabled_extensions.append(name);- VkPhysicalDeviceVideoMaintenance2FeaturesKHR supported_video_maintenance2 {};- supported_video_maintenance2.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_2_FEATURES_KHR;VkPhysicalDeviceVideoMaintenance1FeaturesKHR supported_video_maintenance1 {};supported_video_maintenance1.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_1_FEATURES_KHR;- supported_video_maintenance1.pNext = &supported_video_maintenance2;VkPhysicalDeviceVulkan13Features supported_vulkan13 {};supported_vulkan13.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_FEATURES;supported_vulkan13.pNext = &supported_video_maintenance1;@@ -191,7 +201,7 @@ ErrorOr<NonnullOwnPtr<VulkanVideoDevice>> VulkanVideoDevice::create(Gfx::GpuDevi*feature_chain_end = &device->m_video_maintenance1_features;feature_chain_end = &device->m_video_maintenance1_features.pNext;} else if (name_view == VK_KHR_VIDEO_MAINTENANCE_2_EXTENSION_NAME ""sv) {- if (!supported_video_maintenance2.videoMaintenance2)+ if (!supports_video_maintenance2(device->m_physical_device))continue;device->m_video_maintenance2_features.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_2_FEATURES_KHR;device->m_video_maintenance2_features.videoMaintenance2 = VK_TRUE;diff --git a/Libraries/LibMediaCodecs/Vulkan/VulkanVideoDevice.h b/Libraries/LibMediaCodecs/Vulkan/VulkanVideoDevice.hindex 9a8c4e58a01..d293ad1929f 100644--- a/Libraries/LibMediaCodecs/Vulkan/VulkanVideoDevice.h+++ b/Libraries/LibMediaCodecs/Vulkan/VulkanVideoDevice.h@@ -40,6 +40,8 @@ public:// Whether a device has what decoding through FFmpeg needs, which the system probe checks without creating one.static ErrorOr<void> check_can_decode_video(VkPhysicalDevice);+ // Whether the device takes decoding parameters with each frame, through VK_KHR_video_maintenance2.+ static bool supports_video_maintenance2(VkPhysicalDevice);~VulkanVideoDevice();diff --git a/Libraries/LibPlatformFeatures/Build.h b/Libraries/LibPlatformFeatures/Build.hindex 76a5bc87c74..ffcd63024e8 100644--- a/Libraries/LibPlatformFeatures/Build.h+++ b/Libraries/LibPlatformFeatures/Build.h@@ -37,6 +37,7 @@ struct Build {case Feature::VulkanVideoBundledFFmpegDirectExport:case Feature::VulkanVideoBundledFFmpegVP9:case Feature::VulkanVideoBundledFFmpegAV1:+ case Feature::VulkanVideoBundledFFmpegAV1KeepSequenceHeaderEnableRefMVsFlag:return decodes_video_through_vulkan();case Feature::VulkanVideoSystemFFmpeg:case Feature::VulkanVideoSystemFFmpegDirectExport:diff --git a/Libraries/LibPlatformFeatures/Feature.cpp b/Libraries/LibPlatformFeatures/Feature.cppindex 33f40c348b4..81397c973db 100644--- a/Libraries/LibPlatformFeatures/Feature.cpp+++ b/Libraries/LibPlatformFeatures/Feature.cpp@@ -25,6 +25,8 @@ StringView feature_id(Feature feature)return "vulkan_video.bundled_ffmpeg.vp9"sv;case Feature::VulkanVideoBundledFFmpegAV1:return "vulkan_video.bundled_ffmpeg.av1"sv;+ case Feature::VulkanVideoBundledFFmpegAV1KeepSequenceHeaderEnableRefMVsFlag:+ return "vulkan_video.bundled_ffmpeg.av1.keep_sequence_header_enable_ref_mvs_flag"sv;case Feature::VulkanVideoSystemFFmpeg:return "vulkan_video.system_ffmpeg"sv;case Feature::VulkanVideoSystemFFmpegDirectExport:@@ -57,6 +59,7 @@ FeatureProcess process_of(Feature feature)case Feature::VulkanVideoBundledFFmpegDirectExport:case Feature::VulkanVideoBundledFFmpegVP9:case Feature::VulkanVideoBundledFFmpegAV1:+ case Feature::VulkanVideoBundledFFmpegAV1KeepSequenceHeaderEnableRefMVsFlag:case Feature::VulkanVideoSystemFFmpeg:case Feature::VulkanVideoSystemFFmpegDirectExport:case Feature::VulkanVideoSystemFFmpegH264:@@ -82,6 +85,8 @@ Optional<Feature> dependency_of(Feature feature)case Feature::VulkanVideoBundledFFmpegVP9:case Feature::VulkanVideoBundledFFmpegAV1:return Feature::VulkanVideoBundledFFmpeg;+ case Feature::VulkanVideoBundledFFmpegAV1KeepSequenceHeaderEnableRefMVsFlag:+ return Feature::VulkanVideoBundledFFmpegAV1;case Feature::VulkanVideoSystemFFmpegDirectExport:case Feature::VulkanVideoSystemFFmpegH264:case Feature::VulkanVideoSystemFFmpegH265:diff --git a/Libraries/LibPlatformFeatures/Feature.h b/Libraries/LibPlatformFeatures/Feature.hindex fbd290ffb92..14abb245121 100644--- a/Libraries/LibPlatformFeatures/Feature.h+++ b/Libraries/LibPlatformFeatures/Feature.h@@ -28,6 +28,7 @@ enum class Feature : u8 {VulkanVideoBundledFFmpegDirectExport,VulkanVideoBundledFFmpegVP9,VulkanVideoBundledFFmpegAV1,+ VulkanVideoBundledFFmpegAV1KeepSequenceHeaderEnableRefMVsFlag,VulkanVideoSystemFFmpeg,VulkanVideoSystemFFmpegDirectExport,VulkanVideoSystemFFmpegH264,@@ -42,6 +43,7 @@ constexpr Array all_features {Feature::VulkanVideoBundledFFmpegDirectExport,Feature::VulkanVideoBundledFFmpegVP9,Feature::VulkanVideoBundledFFmpegAV1,+ Feature::VulkanVideoBundledFFmpegAV1KeepSequenceHeaderEnableRefMVsFlag,Feature::VulkanVideoSystemFFmpeg,Feature::VulkanVideoSystemFFmpegDirectExport,Feature::VulkanVideoSystemFFmpegH264,diff --git a/Libraries/LibPlatformFeatures/SystemFacts.cpp b/Libraries/LibPlatformFeatures/SystemFacts.cppindex 9b0ec42a4ea..c0f39658b58 100644--- a/Libraries/LibPlatformFeatures/SystemFacts.cpp+++ b/Libraries/LibPlatformFeatures/SystemFacts.cpp@@ -49,6 +49,7 @@ JsonObject SystemFacts::to_json() constgpu_object.set("supports_ycbcr_sampling"sv, gpu->supports_ycbcr_sampling);if (gpu->cannot_decode_video_because.has_value())gpu_object.set("cannot_decode_video_because"sv, *gpu->cannot_decode_video_because);+ gpu_object.set("supports_video_maintenance2"sv, gpu->supports_video_maintenance2);gpu_object.set("h264"sv, video_decode_to_json(gpu->h264));gpu_object.set("h265"sv, video_decode_to_json(gpu->h265));gpu_object.set("vp9"sv, video_decode_to_json(gpu->vp9));@@ -141,6 +142,7 @@ ErrorOr<SystemFacts> SystemFacts::from_json(JsonObject const& object)gpu.supports_ycbcr_sampling = TRY(read_bool(gpu_object, "supports_ycbcr_sampling"sv));if (gpu_object.has("cannot_decode_video_because"sv))gpu.cannot_decode_video_because = TRY(read_string(gpu_object, "cannot_decode_video_because"sv));+ gpu.supports_video_maintenance2 = TRY(read_bool(gpu_object, "supports_video_maintenance2"sv));gpu.h264 = TRY(video_decode_from_json(*TRY(read_object(gpu_object, "h264"sv))));gpu.h265 = TRY(video_decode_from_json(*TRY(read_object(gpu_object, "h265"sv))));gpu.vp9 = TRY(video_decode_from_json(*TRY(read_object(gpu_object, "vp9"sv))));diff --git a/Libraries/LibPlatformFeatures/SystemFacts.h b/Libraries/LibPlatformFeatures/SystemFacts.hindex 04c5642b0b3..8e1168a36fc 100644--- a/Libraries/LibPlatformFeatures/SystemFacts.h+++ b/Libraries/LibPlatformFeatures/SystemFacts.h@@ -42,6 +42,7 @@ struct GpuFacts {bool supports_ycbcr_sampling { false };// Set when the device lacks something decoding through FFmpeg needs.Optional<String> cannot_decode_video_because;+ bool supports_video_maintenance2 { false };VideoDecodeFacts h264;VideoDecodeFacts h265;VideoDecodeFacts vp9;diff --git a/Libraries/LibWebView/PlatformFeatureDecisions.cpp b/Libraries/LibWebView/PlatformFeatureDecisions.cppindex 151f351391d..abe79f1b34f 100644--- a/Libraries/LibWebView/PlatformFeatureDecisions.cpp+++ b/Libraries/LibWebView/PlatformFeatureDecisions.cpp@@ -25,6 +25,22 @@ static bool system_ffmpeg_gives_a_separate_dpb_the_output_modifiers(SystemFactsreturn uses_a_separate_dpb_without_modifiers(facts.gpu->h264) || uses_a_separate_dpb_without_modifiers(facts.gpu->h265);}+static constexpr u32 nvidia_proprietary_driver_id = 4; // VK_DRIVER_ID_NVIDIA_PROPRIETARY++// NVIDIA's driver decodes AV1 frames with 8 or more tiles and no reference frame motion vectors as copies of an earlier+// frame while the sequence header allows them (#14510, https://bugzilla.mozilla.org/show_bug.cgi?id=2084563). Clearing+// the flag for those frames avoids it, and does not change what they decode to.+static bool uses_nvidia_proprietary_driver(SystemFacts const& facts)+{+ return facts.gpu.has_value() && facts.gpu->driver_id == nvidia_proprietary_driver_id;+}++// The flag can only be cleared frame by frame where the sequence header is passed with each frame.+static bool cannot_work_around_nvidia_av1_tiles(SystemFacts const& facts)+{+ return uses_nvidia_proprietary_driver(facts) && !facts.gpu->supports_video_maintenance2;+}+static constexpr Array s_blocklist_rules {BlocklistRule {"system-ffmpeg-separate-dpb-modifiers"sv,@@ -32,6 +48,18 @@ static constexpr Array s_blocklist_rules {"The system FFmpeg predates 63.20.101 and gives a separate DPB the output's DRM format modifiers, which corrupts video on RADV (#12902)"sv,system_ffmpeg_gives_a_separate_dpb_the_output_modifiers,},+ BlocklistRule {+ "nvidia-av1-tiles"sv,+ Feature::VulkanVideoBundledFFmpegAV1KeepSequenceHeaderEnableRefMVsFlag,+ "NVIDIA driver bug repeats AV1 frames with many tiles and no reference frame motion vectors (#14510)"sv,+ uses_nvidia_proprietary_driver,+ },+ BlocklistRule {+ "nvidia-av1-tiles-without-video-maintenance2"sv,+ Feature::VulkanVideoBundledFFmpegAV1,+ "NVIDIA driver bug in AV1 decoding cannot be worked around without VK_KHR_video_maintenance2 (#14510)"sv,+ cannot_work_around_nvidia_av1_tiles,+ },};ReadonlySpan<BlocklistRule> blocklist_rules()@@ -92,6 +120,7 @@ static Optional<String> missing_capability(Feature feature, SystemFacts const& fcase Feature::VulkanVideoSystemFFmpegH265:return missing_codec(facts, &PlatformFeatures::GpuFacts::h265, "HEVC"sv);case Feature::VulkanVideoBundledFFmpegDirectExport:+ case Feature::VulkanVideoBundledFFmpegAV1KeepSequenceHeaderEnableRefMVsFlag:case Feature::VulkanVideoSystemFFmpegDirectExport:return {};}diff --git a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0102-vulkan-av1-clear-unused-ref-frame-mvs.patch b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0102-vulkan-av1-clear-unused-ref-frame-mvs.patchnew file mode 100644index 00000000000..a3685a69603--- /dev/null+++ b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0102-vulkan-av1-clear-unused-ref-frame-mvs.patch@@ -0,0 +1,30 @@+diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h+--- a/libavcodec/avcodec.h++++ b/libavcodec/avcodec.h+@@ -2034,6 +2034,13 @@+ #define AV_HWACCEL_FLAG_UNSAFE_OUTPUT (1 << 3)++ /**++ * Ladybird: for each Vulkan AV1 frame that does not use reference frame motion++ * vectors, clear enable_ref_frame_mvs in the sequence header passed with it,++ * which works around NVIDIA's driver (#14510). Needs VK_KHR_video_maintenance2.++ */++#define AV_HWACCEL_FLAG_LADYBIRD_CLEAR_UNUSED_REF_FRAME_MVS (1 << 30)++++/**+ * @}+ */++diff --git a/libavcodec/vulkan_av1.c b/libavcodec/vulkan_av1.c+--- a/libavcodec/vulkan_av1.c++++ b/libavcodec/vulkan_av1.c+@@ -610,6 +610,9 @@+ if (ctx->s.extensions & FF_VK_EXT_VIDEO_MAINTENANCE_2) {+ vk_av1_params_fill(avctx, &av1_timing_info, &av1_color_config,+ &av1_sequence_header);++ if ((avctx->hwaccel_flags & AV_HWACCEL_FLAG_LADYBIRD_CLEAR_UNUSED_REF_FRAME_MVS) &&++ !s->raw_frame_header->use_ref_frame_mvs)++ av1_sequence_header.flags.enable_ref_frame_mvs = 0;+ av1_params = (VkVideoDecodeAV1InlineSessionParametersInfoKHR) {+ .sType = VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_INLINE_SESSION_PARAMETERS_INFO_KHR,+ .pStdSequenceHeader = &av1_sequence_header,diff --git a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/portfile.cmake b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/portfile.cmakeindex e7f0dc62b3e..10b960c9897 100644--- a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/portfile.cmake+++ b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/portfile.cmake@@ -21,6 +21,7 @@ vcpkg_from_github(0052-fix-disable-unstable-swscale-link.patch0100-ladybird-symbol-version-nodes.patch0101-vulkan-decode-dpb-distinct-no-drm-modifiers.patch+ 0102-vulkan-av1-clear-unused-ref-frame-mvs.patch)if(SOURCE_PATH MATCHES " ")diff --git a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/vcpkg.json b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/vcpkg.jsonindex eda4f46aacf..da69bfc97c3 100644--- a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/vcpkg.json+++ b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/vcpkg.json@@ -1,7 +1,7 @@{"name": "ffmpeg","version": "9.0.2",- "port-version": 6,+ "port-version": 7,"description": ["A library to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created.","FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge. No matter if they were designed by some standards committee, the community or a corporation. It is also highly portable: FFmpeg compiles, runs, and passes our testing infrastructure FATE across Linux, Mac OS X, Microsoft Windows, the BSDs, Solaris, etc. under a wide variety of build environments, machine architectures, and configurations."diff --git a/Services/SystemProbe/VulkanVideoDescription.cpp b/Services/SystemProbe/VulkanVideoDescription.cppindex 6678b7d61f2..6b8d2a01397 100644--- a/Services/SystemProbe/VulkanVideoDescription.cpp+++ b/Services/SystemProbe/VulkanVideoDescription.cpp@@ -73,6 +73,8 @@ void describe_video_decoding_through_vulkan(PlatformFeatures::GpuFacts& gpu, VkIreturn;}+ gpu.supports_video_maintenance2 = Media::VulkanVideoDevice::supports_video_maintenance2(physical_device);+VideoDecodeQuery query;query.physical_device = physical_device;u32 extension_count = 0;diff --git a/Tests/LibWebView/TestPlatformFeatures.cpp b/Tests/LibWebView/TestPlatformFeatures.cppindex ccf393d5c45..8b14dc9b3f2 100644--- a/Tests/LibWebView/TestPlatformFeatures.cpp+++ b/Tests/LibWebView/TestPlatformFeatures.cpp@@ -38,6 +38,7 @@ static SystemFacts facts_with_a_coinciding_dpb()gpu.api_version = 0x4040df;gpu.device_identity = "7709ab0ea273f34e0bb993d4328b5309"_string;gpu.supports_ycbcr_sampling = true;+ gpu.supports_video_maintenance2 = true;gpu.h264 = coinciding_dpb;gpu.h265 = coinciding_dpb;gpu.vp9 = coinciding_dpb;@@ -249,7 +250,28 @@ TEST_CASE(each_process_is_given_only_its_own_features)auto decisions = evaluate(facts_with_a_separate_dpb());EXPECT_EQ(decisions.features_for(FeatureProcess::Compositor).to_byte_string(), "gpu_painting,ycbcr_import"sv);EXPECT_EQ(decisions.features_for(FeatureProcess::VideoDecoderServer).to_byte_string(),- "vulkan_video,vulkan_video.bundled_ffmpeg,vulkan_video.bundled_ffmpeg.direct_export,vulkan_video.bundled_ffmpeg.vp9,vulkan_video.bundled_ffmpeg.av1,vulkan_video.system_ffmpeg,vulkan_video.system_ffmpeg.h264,vulkan_video.system_ffmpeg.h265"sv);+ "vulkan_video,vulkan_video.bundled_ffmpeg,vulkan_video.bundled_ffmpeg.direct_export,vulkan_video.bundled_ffmpeg.vp9,vulkan_video.bundled_ffmpeg.av1,vulkan_video.bundled_ffmpeg.av1.keep_sequence_header_enable_ref_mvs_flag,vulkan_video.system_ffmpeg,vulkan_video.system_ffmpeg.h264,vulkan_video.system_ffmpeg.h265"sv);+}++TEST_CASE(nvidia_av1_decoding_works_around_the_tiles_bug)+{+ auto decisions = evaluate(facts_with_a_coinciding_dpb());+ EXPECT(decisions.is_enabled(Feature::VulkanVideoBundledFFmpegAV1));+ EXPECT_EQ(decisions.status_of(Feature::VulkanVideoBundledFFmpegAV1KeepSequenceHeaderEnableRefMVsFlag).rule_id, "nvidia-av1-tiles"sv);+ EXPECT(evaluate(facts_with_a_separate_dpb()).is_enabled(Feature::VulkanVideoBundledFFmpegAV1KeepSequenceHeaderEnableRefMVsFlag));+}++TEST_CASE(nvidia_av1_decoding_without_the_workaround_is_blocklisted)+{+ auto facts = facts_with_a_coinciding_dpb();+ facts.gpu->supports_video_maintenance2 = false;+ auto decisions = evaluate(facts);+ EXPECT_EQ(decisions.status_of(Feature::VulkanVideoBundledFFmpegAV1).rule_id, "nvidia-av1-tiles-without-video-maintenance2"sv);+ EXPECT(decisions.is_enabled(Feature::VulkanVideoBundledFFmpegVP9));++ facts = facts_with_a_separate_dpb();+ facts.gpu->supports_video_maintenance2 = false;+ EXPECT(evaluate(facts).is_enabled(Feature::VulkanVideoBundledFFmpegAV1));}TEST_CASE(a_codec_the_gpu_does_not_decode_is_unsupported)