Seems to me that vaapi/ffmpeg backend doesn't detect your video having decoding capabilities, although I'm not too sure why, sorry. Try checking major bugtrackers (mesa, amdgpu) if anyone else has the same problem.
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.
Let's try something different. Try comparing kernel log (dmesg) from 5.12 and 5.13 (from boot till vaapi initialization) to see what's changed and if amdgpu driver sends any errors in the log.
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.
Problem is, Chromium blacklists GPUs. Check chrome://gpu page for the breakdown on what's enabled and what's disabled, what's accelerated with hw and what's with sw.
To be honest, it can't - the gpu does not have such 'pass-through' option as you'd like. The only way for both displays to work with integrated GPU is for you to attach both monitors to mobo's video ports.
Blocking nouveau will surely disable nvidia altogether, but that'll also disable second display.
Thing is - this is not 'multi-head' in a regular meaning, as it is in laptops, for instance. The laptop's solutions usually rely on having specifically designed GPU combo that allows the user or system to choose which GPU should be used and when. This is not the case with your setup, however, due to having essentially two GPUs working with two different displays.
Anyway, to achieve best result - I suggest to use nvidia blobs (I know, I know, it's not the best solution, but hey, it works) to have at least some measure of performance on the second display, that you could then use to display something extra - nothing fancy.
I'd also like to point out that multi-head setups aren't well supported in Wayland (nvidia blob can also be part of the issue, but all the time I've googled up it's either 'use single gpu' or just no Wayland) so that's why I'd suggest to try out Xorg for this setup.
I have the mostly same setup. I use GTX 1050 Ti for two displays and integrated graphics for third one.
Unfortunately, the third display can only use integrated graphics - you can't put your external video through the integrated chip. You'll have to use multi-head setup.
Please first check if your BIOS supports having both integrated and external video cards, to even attempt that setup, or else all displays will be working through the external card, instead of integrated one.
Seems to me that vaapi/ffmpeg backend doesn't detect your video having decoding capabilities, although I'm not too sure why, sorry. Try checking major bugtrackers (mesa, amdgpu) if anyone else has the same problem.
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.
Let's try something different. Try comparing kernel log (dmesg) from 5.12 and 5.13 (from boot till vaapi initialization) to see what's changed and if amdgpu driver sends any errors in the log.
Also, per ArchWiki (https://wiki.archlinux.org/title/Hardware_video_acceleration#Configuration), try checking what does Xorg.log say about vaapi/vdpau support.
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.
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.
A good question would be - are you using DKMS packages for kernel modules or specific versions built for each kernel version?
I guess, you're missing some nvidia packages from the official repo. Check with wiki if you have all the neccessary packages installed: https://wiki.archlinux.org/title/Hardware_video_acceleration#NVIDIA
Problem is, Chromium blacklists GPUs. Check chrome://gpu page for the breakdown on what's enabled and what's disabled, what's accelerated with hw and what's with sw.
My chrome(ium)-flags.conf consists of:
--ignore-gpu-blocklist --enable-gpu-rasterization --enable-zero-copy --use-gl=egl --disable-gpu-driver-bug-workarounds --enable-native-gpu-memory-buffers --enable-features=VaapiVideoDecoderAdding these flags might help with the hw video acceleration for you.
Ahhh, so that's why.
I've been using
--use-gl=eglfor Xwayland compatability, so videos were working for me.I guess, even this one? https://www.youtube.com/watch?v=1Zphz5vWM_g
Did you per chance update your nvidia packages and not yet made a system restart to reload the kernel module?
Please share a link to the video.
Second, if you launch chrome via terminal, it should print out if there's any errors with the hardware video acceleration.
What's your hardware acceleration status on chrome://gpu page? Mine's all green.
Please define "breaks". Works fine on Chrome 92 for me.
You might need to add --enable-features=VaapiVideoDecoder to the chrome(ium)-flags.conf, however, as that was added in Chromium 91.
Please check that you have all the neccessary Intel packages installed: https://wiki.archlinux.org/index.php/intel_graphics#Installation
There are some additional workarounds provided in the Wiki - give them a spin.
Which display drivers are you using?
Judging from the "laptop" part, I assume you're either having Nvidia Optimus or it's AMD equivalent.
For setting up Nvidia Optimus, please check with the ArchWiki: https://wiki.archlinux.org/index.php/NVIDIA_Optimus
To be honest, it can't - the gpu does not have such 'pass-through' option as you'd like. The only way for both displays to work with integrated GPU is for you to attach both monitors to mobo's video ports.
Blocking nouveau will surely disable nvidia altogether, but that'll also disable second display.
Thing is - this is not 'multi-head' in a regular meaning, as it is in laptops, for instance. The laptop's solutions usually rely on having specifically designed GPU combo that allows the user or system to choose which GPU should be used and when. This is not the case with your setup, however, due to having essentially two GPUs working with two different displays.
Anyway, to achieve best result - I suggest to use nvidia blobs (I know, I know, it's not the best solution, but hey, it works) to have at least some measure of performance on the second display, that you could then use to display something extra - nothing fancy.
I'd also like to point out that multi-head setups aren't well supported in Wayland (nvidia blob can also be part of the issue, but all the time I've googled up it's either 'use single gpu' or just no Wayland) so that's why I'd suggest to try out Xorg for this setup.
I have the mostly same setup. I use GTX 1050 Ti for two displays and integrated graphics for third one.
Unfortunately, the third display can only use integrated graphics - you can't put your external video through the integrated chip. You'll have to use multi-head setup.
Please first check if your BIOS supports having both integrated and external video cards, to even attempt that setup, or else all displays will be working through the external card, instead of integrated one.
I had similar issue around a week ago.
Turns out, using pacman --force may break some stuff, and the way to check is to run:
pacman -Qkk filesystemto look if any files are missing.
On my system, /usr/lib64 was a broken symlink (for some reason), which I repaired, and then re-ran mkinitcpio to regenerate boot images.
Following these steps, machine booted successfully.
End of this list.
Back to top