You are not logged in.

#1 2016-05-30 10:50:55

darkbasic
Member
Registered: 2015-06-22
Posts: 33

How to enable hw accelerated video decode in Chromium

http://imgur.com/fiCOuGM
I have a Broadwell Intel card and I would like to enable *ONLY* hw acc video decode, not canvas and/or rasterization (the less bugs, the better). Someone suggested to disable GPU blacklists, but as I said I don't want to expose myself to more bugs than what's strictly necessary to enable video decode.
What's the best way to achieve it?

Offline

#2 2016-05-30 16:17:30

TheChickenMan
Member
From: United States
Registered: 2015-07-25
Posts: 354

Re: How to enable hw accelerated video decode in Chromium

Disabling the hardware GPU blacklist is the correct way to do this.

Last edited by TheChickenMan (2016-05-30 16:17:47)


If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet.
Niels Bohr

Offline

#3 2016-05-30 16:57:45

darkbasic
Member
Registered: 2015-06-22
Posts: 33

Re: How to enable hw accelerated video decode in Chromium

It also enables Canvas Hardware acceleration, but anyway it doesn't work, even if I get "Video Decode: Hardware accelerated".
Some suggest to apply a patch to Chromium: http://www.kelvinblog.tk/enable-chromiu … ion-linux/
Is it really needed?

Offline

#4 2016-05-30 17:52:36

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: How to enable hw accelerated video decode in Chromium

Yes, you need the patch.

Offline

#5 2016-05-30 17:59:46

darkbasic
Member
Registered: 2015-06-22
Posts: 33

Re: How to enable hw accelerated video decode in Chromium

Is there any repository/pkgbuild with this patch?

Offline

#6 2016-05-30 19:29:37

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: How to enable hw accelerated video decode in Chromium

darkbasic wrote:

Is there any repository/pkgbuild with this patch?

I know of chromium-dev in AUR, no idea if there's anything else.

Offline

#7 2016-05-31 04:42:06

TheChickenMan
Member
From: United States
Registered: 2015-07-25
Posts: 354

Re: How to enable hw accelerated video decode in Chromium

Gusar wrote:

Yes, you need the patch.

gUPX8Jam.png
It works for me with no patch applied.

Last edited by TheChickenMan (2016-05-31 04:42:39)


If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet.
Niels Bohr

Offline

#8 2016-05-31 09:24:04

darkbasic
Member
Registered: 2015-06-22
Posts: 33

Re: How to enable hw accelerated video decode in Chromium

TheChickenMan wrote:
Gusar wrote:

Yes, you need the patch.

http://i.imgur.com/gUPX8Jam.png
It works for me with no patch applied.

This is not a proof, I get the same green screenshot but hw decode still don't work. I tried chromium-dev from AUR and video decode DOES work now, even without disabling GPU blacklists (in fact canvas are still not accelerated).
I think I will file a feature request bug report asking for inclusion of the patch in the Arch package.

Last edited by darkbasic (2016-05-31 09:25:54)

Offline

#9 2016-05-31 09:54:23

darkbasic
Member
Registered: 2015-06-22
Posts: 33

Re: How to enable hw accelerated video decode in Chromium

By the way, what about pepper flash? /etc/adobe/mms.cfg doesn't affect pepper flash.

Offline

Board footer

Powered by FluxBB