My laptop’s CPU has an Intel iGPU that supports VP9 hardware decoding. When I was using Windows on this laptop, playing 1080p 60fps YouTube videos used almost no CPU at all.
Now that if I play the COSTA RICA video at 1080p 60fps, the CPU usage is about 50%. I checked it with intel_gpu_top and “Video” was being used, which means hardware decoding.
I used yt-dlp and downloaded the 1080p 60fps version with the following command and played it with MPV. The CPU usage was only about 12%~18%.
Be sure to verify it is working via the Firefox hardware acceleration section on the arch wiki. Run Firefox like this
MOZ_LOG=“PlatformDecoderModule:5” firefox
and while playing the video look for a “VA-API” string" inside the terminal. That is the only way to be sure hardware acceleration in firefox is working properly. If that works, we can look elsewhere. But for now make sure Firefox is actually using it. Intel top doesn’t matter for now.
Okay, next you should check if the video codec is supported by your gpu. Generally you could test different videos on YouTube and see if the outcome is always the same.
If that results in no new information, I don’t know what else to do. MPV seems to work, as you mentioned. So hardware acceleration as a whole seems to work. Maybe check the wiki again for some tips regarding intel setups.