[Share Experiences] nvidia私有驱动下,firefox也可以硬解啦
Tofloor
poster avatar
草莓哥
deepin
2022-02-27 18:04
Author

nvidia私有驱动下,firefox也可以硬解啦!

项目主页:https://github.com/elFarto/nvidia-vaapi-driver 处于积极的开发中。

参照说明,直接编译,设置一下就可以啦。将编译好的 .so文件复制到/usr/lib/dri/nvidia_drv_video.so 替换原来的文件(原文件可能属于libva-vdpau-driver或他的替代包。)

http://mirrors.ustc.edu.cn/archlinuxcn/x86_64/nvidia-vaapi-driver-git-0.0.5.r9.g59349fe-1-x86_64.pkg.tar.zst 这个是archlinuxcn源编译好的包,你可以下载尝试一下能不能直接用,就一个很小的.so文件。

我电脑显卡gtx1060 ,nvidia官方驱动510.54版本,manjaro系统,硬解正常。

虽然硬解效率比chromium核心差一些,但是新版本的firefox资源占用下降了不少啦,cpu的占用率低了很多。而且扩展安装更方便,个人帐号管理同步都挺好用的。画中画功能更方便,支持方向键快进,支持多开。鼠标手势扩展没有右键问题。

现在firefox用的人少了,给firefox一个机会,大家尝试一下,做个备用浏览器也挺好。

Reply Favorite View the author
All Replies
jjcui8595
deepin
2022-02-27 18:24
#1

比官方驱动好在哪里?

Reply View the author
新手小白
deepin
2022-02-27 18:44
#2
It has been deleted!
andktan
deepin
2022-02-27 19:02
#3

为一切解决问题的大佬们点赞like

Reply View the author
deepin-superuser
deepin
2022-02-27 19:04
#4

牛皮

Reply View the author
deepin-superuser
deepin
2022-02-27 21:04
#5

meson.build:1:0: ERROR: Meson version is 0.56.2 but project requires >= 0.58.0

仓库里自带的 meson 版本低,编译不了

Reply View the author
callcz
deepin
2022-02-28 06:15
#6

单独替换文件应该是不行的,deepin的libva库版本太旧,跟这个so文件不搭

Reply View the author
callcz
deepin
2022-02-28 06:21
#7
deepin-superuser

meson.build:1:0: ERROR: Meson version is 0.56.2 but project requires >= 0.58.0

仓库里自带的 meson 版本低,编译不了

源里的版本不行,用pip里的

python3 -m pip install meson

Reply View the author
callcz
deepin
2022-03-07 09:00
#8

在deepin下编译失败,libva和meson已经满足编译依赖,原因不知道。

在ubuntu20.04编译成功,由于是虚拟机没法测试硬解。

将那个编译好的so文件替换进deepin,ubuntu glibc=2.30,deepin是2.28不兼容,失败。

Reply View the author
flwwater
deepin
2022-03-13 15:59
#9

ubuntu22.04 已经用上了,爽!!!

https://forum.ubuntu.org.cn/viewtopic.php?f=1&t=492776

Reply View the author
callcz
deepin
2022-03-17 05:56
#10
flwwater

ubuntu22.04 已经用上了,爽!!!

https://forum.ubuntu.org.cn/viewtopic.php?f=1&t=492776

deepin 20.4也用上了,爽!!!

https://bbs.deepin.org/post/233052?id=233052&type_id=113&forum_name=%E4%BD%93%E9%AA%8C%E5%BF%83%E5%BE%97

Reply View the author