- 视频硬件解码
首先安装 vainfo,intel-media-va-driver,intel-gpu-tools 软件包;
然后安装 firefox;
打开 firefox,在浏览器栏输入 about:config;
搜索 vaapi,启用;
搜索 acceleration,在 acceleration-force enabled 启用;
搜索 webrender.all,启用;
搜索 vpx,除了 vpx.mp3 和 mediadata 两个其他全部停用。
编辑 gedit ~/.profile, 加入两行
export MOZ_DISABLE_RDD_SANDBOX=1
export MOZ_X11_EGL=1
重启系统后再打开 firefox,打开抖音,在终端中输入 sudo intel_gpu_top;
如果出现两条杠,说明硬解码成功了。
参考:https://ubuntuhandbook.org/index.php/2021/08/enable-hardware-video-acceleration-va-api-for-firefox-in-ubuntu-20-04-18-04-higher/
大家好,最近我使用 MateBook X 安装 Deepin V23 Beta 系统,感觉还是不错的,把这段时间的使用心得跟大家分享一下。包括以下几个方面: