haasn / libplacebo

Official mirror of libplacebo
http://libplacebo.org/
GNU Lesser General Public License v2.1
570 stars 73 forks source link

FFmpeg + libplacebo compatibility regression #290

Closed Brainiarc7 closed 1 month ago

Brainiarc7 commented 1 month ago

I have encountered a regression identical to #170 on FFmpeg and libplacebo master git tip. A new ticket has also been created on FFmpeg trac with full specifics.

On build specifics: Vulkan SDK, headers & loader version 1.3.296. Shaderc version used was v2024.3.

This regression must've been quite recent, as the tested feature test(s) failed today after spinning a new FFmpeg build. A prior invocation of the exact command-line(s) launched on Wednesday, 2nd October 2024, worked without issues when submittng sample command-lines for testing against Vulkan-video encoding.

A sample command:

ffmpeg -init_hw_device "vulkan=vk:0" \
-f lavfi -i color=red:s=3840x2160 \
-vf hwupload,libplacebo,hwdownload,format=yuv420p -f null -

The exact error on initialization is:

[libplacebo @ 0x7e5098004e40] Missing device feature: hostQueryReset
[libplacebo @ 0x7e5098004e40] Imported Vulkan device was not created with all required features!
[libplacebo @ 0x7e5098004e40] Failed importing vulkan device
[libplacebo @ 0x7e5098004e40] Failed importing Vulkan device!

Extra vulkan initialization options, such as debug=0,disable_multiplane=1 have no impact on the output(s) noted above.

Warm regards,

Dennis.

Brainiarc7 commented 1 month ago

This issue is now marked as resolved, fixed upstream in this FFmpeg commit.