I made some presets for Vulkan and got the following results:
1- av1_vulkan.mkv
Device does not support encoding av1! (I think it's normal, my graphics card doesn't support AV1 encoding.)
2- h264_vulkan.mkv
Works with cin_pix_fmt=nv12 (16,24)
I tried it from the terminal with CinGG's ffmpeg and h264_vulkan, and it works. The fps from the terminal is twice as high as from CinGG.
/path/to/cinelerra/..././ffmpeg -init_hw_device "vulkan=vk:0" -hwaccel vulkan -hwaccel_output_format vulkan -i big_buck_bunny_720p_16sec.mp4 -c:v h264_vulkan output_h264.mp4
3- hevc_vulkan
It doesn't work! When set to nv12, it says that hevc_vulkan does not support nv12. When set to vulkan, I get the usual error:
"A hardware frames reference is required to associate the encoding device."
Using CinGG's ffmpeg from the terminal, rendering works. So the problem with the hevc_vulkan preset is figuring out which cin_pix_fmt it wants.
PS: I made separate presets for ffv1_vulkan.mov with nv12,16, and 24. I was wondering if it was possible to have a single preset (yours) but allow the pixel format to be changed from the “pixels” window.
PS2: Today I wanted to continue testing on vulkan, but CinGG no longer starts due to an Arch update with libplacebo going from version 7.351.0 to version 7.360.0. The error is as follows:
/home/paz/cinelerra/cinelerra-5.1/bin/cin: error while loading shared libraries: libplacebo.so.351: cannot open shared object file: No such file or directory
With a new build, CinGG is back up and running with the new version of libplacebo.