[Share Experiences] V23 chromium硬件解码开启 4k视频仅40%cpu占用
Tofloor
poster avatar
mmlmonkey
deepin
2022-01-18 21:02
Author

v23的va driver x11 va等系统库相对buster更新很多 硬件解码的支持也更加成熟但是chromium默认是没有开启硬件加速的 这里简单说一下步骤

1.首先装驱动和软件

软件:

sudo apt install chromium chromium-l10n

驱动:

For Intel Gen 7 and earlier hardware:(intel 7代之前的CPU)

apt install i965-va-driver-shaders libva-drm2 libva-x11-2

For Intel Gen 8+ hardware:(intel 8代之后的CPU)

apt install intel-media-va-driver-non-free libva-drm2 libva-x11-2

第二步 打开chromium 

在地址栏输入 

chrome://flags

找到这两个

Override software rendering list

Hardware-accelerated video decode

enable即可

第三部 enjoy 以下为测试图 f12 到开发者工具里的media看看解码器是否是hard ware decode是否是true 是就成功了

image.png

Reply Favorite View the author
All Replies
与风长舞的叶
deepin
2022-01-18 21:28
#1

firefox可以吗?

Reply View the author
jjcui8595
deepin
2022-01-18 22:31
#2

感谢分享

Reply View the author
lcw0268
deepin
2022-01-18 22:52
#3
It has been deleted!
widon1104
deepin
2022-01-19 01:37
#4

firefox支持硬件吗?如果支持楼主可否单独写一个帖子介绍一下

Reply View the author
沈拙言
deepin
2022-01-19 02:38
#5
widon1104

firefox支持硬件吗?如果支持楼主可否单独写一个帖子介绍一下

https://zhuanlan.zhihu.com/p/268401890

Reply View the author
沈拙言
deepin
2022-01-19 02:38
#6
与风长舞的叶

firefox可以吗?

https://zhuanlan.zhihu.com/p/268401890

Reply View the author
uvz
deepin
2022-01-19 03:34
#7

v23 什么时候更新?

Reply View the author