Researched a bit further.
At first, greetings from Captain Obvious:
You will have to ensure that the graphics card is indeed supporting the desired codecs. Nvidia NVDEC - Wikipedia is a good source.
In my case, using an NVIDIA GeForce GTX 750 Ti, it looks like VP9 is partly supported (8-bit only). Looks like I had tested previously with an 8-bit VP9 video and thus, got misled.
vainfo and vdpauinfo are even of the opinion that the card doesn’t support VP9 at all so it looks like I will have to either go for a new graphics card or live with h264ify and friends.
I think we need to update this topic since it looks like some flags are not needed i.e. --use-gl=(desktop|egl) has no effect unless you are on Wayland and need it to fallback to XWayland support then --use-gl=desktop is needed.
(Note: Wayland have issue with HW Accl on Electron apps right now as being not working at all.)
those are my flags on my setup (Intel 10870H - gen 9.0):
--ozone-platform-hint=auto
--enable-features=VaapiVideoEncoder,VaapiVideoDecoder,UseOzonePlatform
--disable-features=UseChromeOSDirectVideoDecoder
--use-vulkan
--disable-gpu-vsync <== this for monitors with high refresh rates > 60hz to enable those refresh rates not need for HW Accleration.
this need to be investigated further since the --enable-feature=VaapiVideoEncoder,VaapiVideoDecoder are not used <==((For some reason this was a fluke, on my browser (Brave in my case) --enable-feature=VaapiVideoEncoder,VaapiVideoDecoder aren’t needed when Use hardware accerleration when available is on )), in my case, and --use-vulkan is a must (I guess?).
I’ll update those flags if thing changed, and also I think it suppose to work without any need to edit it in both X11 and Wayland.
Tested on X11 with Brave browser and Feetube-git
I have three external monitors connected to my laptop: Two are connected to the NVIDIA GPU (DP & HDMI) and one is connected to the Intel GPU (Thunderbolt > DP). The former two are set to 144Hz and the latter I have to set to 60Hz as it turns on and off constantly if I set it any higher.
UFO Test reports 144Hz in Firefox, but not with any Chromium-based browser.
Here is my working conf for this setup: 86 Hz overclocked display, Vivaldi 5.6, X11, Nvidia GTX 1066, libva-vdpau-driver-vp9-git
--enable-features=VaapiVideoDecoder
--disable-features=UseChromeOSDirectVideoDecoder
--use-gl=desktop <== this breaks vsync inside Vivaldi, so vsynctester.com shows ~43 fps instead of 86 fps
--disable-gpu-sandbox <== this solves vsync issue and makes stable and synched 86 fps
Just install the pack “libva-vdpau-driver-vp9-git” and setup the .conf ? do you need to do any extra step, Bcause when I use the command vainfo, it said the driver is not set. I still get high cpu bound
i\m using h264fy extension on chrome since i only have codecs for 264. video acceleration was working fine, just dont know when it stopped working. video acceleration works fine on other media players.
sorry was bit late respond, i’m using h264fy extension on chrome since i only have codecs for 264. video acceleration was working fine, just dont know when it stopped working. video acceleration works fine on other media players.
Maybe h264fy extension is outdated, because I know only YouTube breaks the compatibility of some 3rd-party programmings a few days ago. For example YouTube uploader ID was changed, that is why yt-dlpgot a known issue
could be, i’ll report if find a way out of this. so far no bugs have been reported in chrome bug tracker. h264fy seems to function, in the youtube in-player stats indicate that the video stream is indeed; avc1.4d401f (135) / mp4a.40.2 (140) it is also confirmed by chrome developer tools media tab which also says software decoding is in place as also confirmed by intel_gpu_top. i’m having feeling something affecting VAAPI stack is the cause
From https://chromium.googlesource.com/chromium/src/+/43cfb2f92a5cdc1a787d7326e74676884abf5052, having --ozone-platform-hint=auto will enable native Wayland support and using that on Brave will break hardware acceleration on my system. Not having it will make Brave run on XWayland by default and everything work as expexted.
This breakage seems to only happened recently.
Apparently when not launching from the terminal, Brave would still run in native Wayland. Adding --ozone-platform-hint=x11 “fixed” it but I don’t think this is the optimal solution?