You are not logged in.
From your first link, I took the recommendation with `--no-sandbox` which apparently works (looks like Chromium is using its own fontconfig within its sandbox - with a different configuration as of now).
Last edited by DAC324 (2021-03-29 16:21:11)
Offline
Anybody having is having problems with hardware video acceleration on version 90 again? I'm on Chrome 90 on Ubuntu rb (have to switch for a few months because of a work software that is only available on ubuntu ) and no MojoVideoplayer on VP9 video. I have tried turning one the #ignore-gpu-blacklist flag and it does nothing. On version 89 it was working just with the #enable-video-acceleration flag. Any help would be nice.
Last edited by sadboi777 (2021-04-16 06:56:35)
Offline
Can confirm hardware acceleration doesn't work with v90 even though it worked on v89 with the same flags. chrome://gpu values did not change
decoderImplementation is back to fffmpeg from ExternalDecoder (as described here https://github.com/hmlendea/geforcenow- … -790074014)
My flags that worked on 89 with xserver:
--enable-features=VaapiVideoDecoder
--ignore-gpu-blocklist
--enable-gpu-rasterization
--enable-zero-copy
--disable-gpu-driver-bug-workarounds
--enable-accelerated-video-decode
--use-gl=desktop
Last edited by 3nuc (2021-04-22 17:51:36)
Offline
Sad that this topic is dead now. I guess everybody moved to Firefox? On v89 I just used the --enable-accelerated-video-decode flag and it used to work.
Offline
Sad that this topic is dead now.
I hope that it is not entirely dead. Of course, a lot of people do not care anymore as VA-API is enabled in the official Chromium package available from the repo. Hence, no additional configuration efforts are necessary in order to enable hardware acceleration. At least that's what most people are convinced of.
I guess everybody moved to Firefox?
I don't think so. At least the Nvidia users will not get hardware acceleration on Firefox on Linux anytime soon.
For a technical explanation, please see Comment 13 in Bug 1693073.
On v89 I just used the --enable-accelerated-video-decode flag and it used to work.
On v92 (chromium-dev), I use the following settings in ~/.config/chromium-dev-flags.conf:
--disable-software-rasterizer
--disable-font-subpixel-positioning
--disable-gpu-driver-bug-workarounds
--disable-gpu-driver-workarounds
--disable-gpu-vsync
--enable-accelerated-video-decode
--enable-features=VaapiVideoDecoder
--enable-gpu-compositing
--enable-gpu-rasterization
--enable-native-gpu-memory-buffers
--enable-oop-rasterization
--use-vulkan
--enable-zero-copy
--ignore-gpu-blocklist
--use-gl=desktop
With these settings, I have "VDAVideoDecoder" enabled in chrome://media-internals.
Interestingly, almost no information is found about "VDAVideoDecoder" so I cannot tell if that is a software decoder, or if it indicates that hardware acceleration is active.
UPDATE: According to Issue 522298, this seems to be the new implementation of a video decoder running on GPU, which means hardware accelerated.
Last edited by DAC324 (2021-04-26 12:08:22)
Offline
^ I have tried every config but can't get VAAPI to work on anything based on Chromium v90.
Offline
With these settings, I have "VDAVideoDecoder" enabled in chrome://media-internals.
Interestingly, almost no information is found about "VDAVideoDecoder" so I cannot tell if that is a software decoder, or if it indicates that hardware acceleration is active.This seems to be the new implementation of a video decoder running on GPU, which means hardware accelerated.
Yes
Offline
sadly it seems like what hope I had since 89 of just using enable-hardware-decoding from chrome://flags on all the chromium based browsers and is not gonna happen.
I think the best to do is just use Firefox now. Google doesn't give a damn about non-chromebook Linux users.
Offline
I've been unable to get vaapi working on Chrome v91, intel HD 4600 graphics. I know this is the *chromium* thread but if anyone has vaapi working on chrome stable on intel, could you post your flags?
Offline
Just had to update my flags for chromium v91 to retain hardware video decoding, running Xorg on an AMD iGPU
# ~/.config/chromium-flags.conf
--use-cmd-decoder=validating
--use-gl=desktop
--ignore-gpu-blocklist
--enable-gpu-rasterization
--enable-zero-copy
--enable-features=VaapiVideoDecoder
I think I just needed to add
--enable-features=VaapiVideoDecoder
this time.
Here are the va-api packages I have installed:
local/lib32-libva 2.11.0-1
Video Acceleration (VA) API for Linux (32-bit)
local/libva 2.11.0-1
Video Acceleration (VA) API for Linux
local/libva-utils 2.11.1-1
Intel VA-API Media Applications and Scripts for libva
local/libva-vdpau-driver-vp9-git r51.dabc009-2
VDPAU backend for VA API. (Version with VP9 codec support)
Offline
This was working for me on brave90, which is chromium based. the enable hardware acceleration flag has vanished from brave://flags, and no combination of manually specifying --enable-features=VaapiVideoDecoder or --enable-accelerated-video-decode gets it to work for me on google-chrome 91 chromium 91 or brave 91. Its broken across the board for me on nvidia
EDIT: It is also broken on intel video on 91, so it doesnt seem to be nvidia specific
Last edited by Praxis88 (2021-05-29 00:48:19)
Offline
Broken also on my AMD system. Chromium is getting worse on each release.
Used to work with --enable-features=VaapiVideoDecoder, --ignore-gpu-blocklist and --use-gl=desktop (but only up to 1080p30, 1080p60 videos were choppy), now it's freezing and showing a black screen on every format.
Last edited by digitalone (2021-06-03 16:04:50)
Offline
EDIT: never mind, it seems that this is a YouTube bug. The bug comes back after a while even if I do turn off video acceleration
Running into problems with HW decoding too. If I go on YouTube and open up a playlist, I can play a few videos, but after a while it stops working (white spinner, nothing plays anymore).
I wonder if this is similar to the problems others are experiencing.
In any case, I can play videos if I turn off HW video acceleration. My CPU is powerful enough and this is not a huge problem for me, but it bugs me.
Same problem on chromium and chrome-stable.
Last edited by xuanrui (2021-06-04 16:20:32)
Offline
So it is not enough to enable "Hardware-accelerated video decode" in the chrome://flags?
Last edited by micronetic (2021-06-05 08:20:17)
Offline
Nope they killed the flag in Chromium 91, it used to work in every chromium based browser. I switched from Firefox because of the horrendous new UI in v89 so I hope they reenable this. Chromium 90 was the dream sad they killed it in the next version.
Offline
cat ~/.config/chromium-flags.conf
# chromium switchs
# overlay scrollbars
--enable-features=OverlayScrollbar,OverlayScrollbarFlashAfterAnyScrollUpdate,OverlayScrollbarFlashWhenMouseEnter
--disk-cache-dir="/run/user/1000/chromium-cache"
--enable-features=VaapiVideoDecoder
--use-cmd-decoder=validating
--use-gl=desktop
--ignore-gpu-blocklist
Gets me
Graphics Feature Status
Canvas: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Disabled
Out-of-process Rasterization: Hardware accelerated
OpenGL: Enabled
Rasterization: Hardware accelerated on all pages
Skia Renderer: Enabled
Video Decode: Hardware accelerated
Vulkan: Disabled
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
in chromium 91
Online
cat ~/.config/chromium-flags.conf
# chromium switchs # overlay scrollbars --enable-features=OverlayScrollbar,OverlayScrollbarFlashAfterAnyScrollUpdate,OverlayScrollbarFlashWhenMouseEnter --disk-cache-dir="/run/user/1000/chromium-cache" --enable-features=VaapiVideoDecoder --use-cmd-decoder=validating --use-gl=desktop --ignore-gpu-blocklist
Gets me
about:gpu wrote:Graphics Feature Status
Canvas: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Disabled
Out-of-process Rasterization: Hardware accelerated
OpenGL: Enabled
Rasterization: Hardware accelerated on all pages
Skia Renderer: Enabled
Video Decode: Hardware accelerated
Vulkan: Disabled
WebGL: Hardware accelerated
WebGL2: Hardware acceleratedin chromium 91
What GPU are you running?
Offline
nvidia along https://aur.archlinux.org/packages/libv … -chromium/ (the GPU has no vp9 support)
Online
Ubuntu 20.04
Macbook 12 7Y75
Intel® HD Graphics 615
Chrome 91.0.4472.77
Exec=/usr/bin/google-chrome-stable --use-gl=desktop --enable-features=VaapiVideoDecoder %U
chrome://flags/
Override software rendering list - Enable
GPU rasterization - Enable
Zero-copy rasterizer - Enable
Vulkan - Disable
i installed https://dgpu-docs.intel.com/installatio … focal.html
after this hardware works in chrome
VDAVideoDecoder is used
Last edited by terentev (2021-06-08 03:28:14)
Offline
Did you have https://packages.ubuntu.com/search?suit … ntel-media installed before?
Online
I'm afraid it's working only on X11, no XWayland.
Offline
cat ~/.config/chromium-flags.conf
# chromium switchs # overlay scrollbars --enable-features=OverlayScrollbar,OverlayScrollbarFlashAfterAnyScrollUpdate,OverlayScrollbarFlashWhenMouseEnter --disk-cache-dir="/run/user/1000/chromium-cache" --enable-features=VaapiVideoDecoder --use-cmd-decoder=validating --use-gl=desktop --ignore-gpu-blocklist
Gets me
about:gpu wrote:Graphics Feature Status
Canvas: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Disabled
Out-of-process Rasterization: Hardware accelerated
OpenGL: Enabled
Rasterization: Hardware accelerated on all pages
Skia Renderer: Enabled
Video Decode: Hardware accelerated
Vulkan: Disabled
WebGL: Hardware accelerated
WebGL2: Hardware acceleratedin chromium 91
This gets it to work in my SOC intel based chromebook, it doesnt work in my main machine with an nvidia 1060 in it. vainfo and vdpau info both show it should work, brave://gpu shows it should work, but when I play a video it does not work.
edit: replacing libva-vdpau-driver with libva-vdpau-driver-chromium from the aur got it to work.
the wiki really needs to be overhauled on this subject, its got some correct elements, but there is a lot wrong or missing
Last edited by Praxis88 (2021-06-12 18:56:44)
Offline
Ubuntu 20.04
Macbook 12 7Y75
Intel® HD Graphics 615
Chrome 91.0.4472.77
Exec=/usr/bin/google-chrome-stable --use-gl=desktop --enable-features=VaapiVideoDecoder %Uchrome://flags/
Override software rendering list - Enable
GPU rasterization - Enable
Zero-copy rasterizer - Enable
Vulkan - Disablei installed https://dgpu-docs.intel.com/installatio … focal.html
after this hardware works in chromeVDAVideoDecoder is used
Can confirm this works for me.
Chrome version Chrome/91.0.4472.114
Operating system Linux 5.4.85-050485-generic
Command Line /usr/bin/google-chrome-stable --use-gl=desktop --enable-features=VaapiVideoDecoder --ignore-gpu-blocklist --enable-gpu-rasterization --enable-oop-rasterization --flag-switches-begin --ignore-gpu-blocklist --flag-switches-end --origin-trial-disabled-features=SecurePaymentConfirmation
Driver vendor Nvidia
Driver version 418.197.02
GL_VENDOR NVIDIA Corporation
GL_RENDERER Quadro T2000/PCIe/SSE2
GL_VERSION 4.5.0 NVIDIA 418.197.02
XDG_SESSION_TYPE x11
GDMSESSION ubuntu
Window manager GNOME Shell
--
EDIT: well, I do see:
Video Decode: Hardware accelerated
However, following this article:
https://www.linuxuprising.com/2021/01/h … rated.html
I checked and I see that I still get:
FFmpegVideoDecoder, VpxVideoDecoder or Dav1dVideoDecoder
etc.
So, doesn't work. =[
Last edited by advance512 (2021-07-15 18:42:43)
Offline
It seems that ANGLE is guilty here. Add --use-gl=desktop fixes things somehow.
Chromium 92 seems to break acceleration, maybe only on NVIDIA again
Last edited by xuanrui (2021-07-21 14:09:36)
Offline
I was using chromium-vaapi, and I had youtube HW acceleration
Now last week or so I get only a white square instead of the video, even though the Chrome devtools media tab shows that a hardware decoder is being used.
Chromium is getting hard to use, what with Google removing sync and nVidia forever being a dick about open source drivers.
Offline