2024-12-05, 03:44 PM
While AMD's documentation states that VCN4/RDNA3 supports AV1 encoding, apparently there are TWO flippin' varieties of VCN4.
https://github.com/torvalds/linux/commit...142452a9b7
It is possible that your hardware does support it, but the AMD drivers are not reporting accurately. But there isn't much we can do about that.
https://github.com/torvalds/linux/commit...142452a9b7
Code:
static const struct amdgpu_video_codec_info vcn_4_0_0_video_codecs_encode_array_vcn0[] = {
{codec_info_build(AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_MPEG4_AVC, 4096, 2304, 0)},
{codec_info_build(AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_HEVC, 4096, 2304, 0)},
{codec_info_build(AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_AV1, 8192, 4352, 0)},
};
static const struct amdgpu_video_codec_info vcn_4_0_0_video_codecs_encode_array_vcn1[] = {
{codec_info_build(AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_MPEG4_AVC, 4096, 2304, 0)},
{codec_info_build(AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_HEVC, 4096, 2304, 0)},
};
It is possible that your hardware does support it, but the AMD drivers are not reporting accurately. But there isn't much we can do about that.