You are not logged in.

#501 2021-03-29 16:20:55

DAC324
Member
Registered: 2020-03-12
Posts: 49

Re: chromium: hardware video acceleration with VA-API

BachoSeven wrote:

@DAC324 I've seen that `Fontconfig` error quite often in chromium logs, so I don't think it's a new warning. It's mentioned here and also here

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

#502 2021-04-16 06:55:59

sadboi777
Member
Registered: 2020-05-22
Posts: 19

Re: chromium: hardware video acceleration with VA-API

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 sad ) 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

#503 2021-04-22 17:50:40

3nuc
Member
Registered: 2021-04-04
Posts: 1

Re: chromium: hardware video acceleration with VA-API

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

#504 2021-04-23 04:21:05

sadboi777
Member
Registered: 2020-05-22
Posts: 19

Re: chromium: hardware video acceleration with VA-API

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

#505 2021-04-26 10:38:39

DAC324
Member
Registered: 2020-03-12
Posts: 49

Re: chromium: hardware video acceleration with VA-API

sadboi777 wrote:

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.

sadboi777 wrote:

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.

sadboi777 wrote:

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

#506 2021-05-03 17:04:44

sadboi777
Member
Registered: 2020-05-22
Posts: 19

Re: chromium: hardware video acceleration with VA-API

^ I have tried every config but can't get VAAPI to work on anything based on Chromium v90.

Offline

#507 2021-05-03 17:20:31

Alataw
Member
Registered: 2021-01-27
Posts: 4

Re: chromium: hardware video acceleration with VA-API

DAC324 wrote:

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

Board footer

Powered by FluxBB