See, each kernel version can get an accompanying version of out-of-tree kernel modules that support your GPU. You can either use pure modules package (built against kernel in the repository) or use dkms package which automagically builds modules against all kernels you have installed in the system. (read more here: https://wiki.archlinux.org/title/Dynamic_Kernel_Module_Support)
What I'm trying to help you understand is whether you have updated your kernel module package so that with switching kernel version it is indeed loaded, or module is simply missing and that causes hw video acceleration to fail.
Apart from an error on 5.12, 5.13 instead seems all fine.
I expect that as per hw acceleration ArchWiki page, MPV might tell you more about the origins of the error. At least, it doesn't seem that the kernel module is problematic as it is loaded and works properly on both kernels.
That's not what I was asking.
See, each kernel version can get an accompanying version of out-of-tree kernel modules that support your GPU. You can either use pure modules package (built against kernel in the repository) or use dkms package which automagically builds modules against all kernels you have installed in the system. (read more here: https://wiki.archlinux.org/title/Dynamic_Kernel_Module_Support)
What I'm trying to help you understand is whether you have updated your kernel module package so that with switching kernel version it is indeed loaded, or module is simply missing and that causes hw video acceleration to fail.
Apart from an error on 5.12, 5.13 instead seems all fine.
I expect that as per hw acceleration ArchWiki page, MPV might tell you more about the origins of the error. At least, it doesn't seem that the kernel module is problematic as it is loaded and works properly on both kernels.
Looks fine to me. Second column is module size (in bytes).
Last thing that I could discern is that the 5.13 kernel isn't tkg and instead stock Archlinux one. Maybe try building and running 5.13 tkg kernel?
I've no reason not to believe you, but kindly check if
lsmod | grep gpuresults don't differ between two kernel versions.Kindly check if you're perhaps using AMDGPU PRO driver set and if so, you'll need to rebuild it, too.
A good question would be - are you using DKMS packages for kernel modules or specific versions built for each kernel version?