Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
nvidia新beta版驱动已原生支持PRIME,deepin可以考虑引入
Experiences and Insight
1541
views ·
3
replies ·
To
floor
Go
funtoo
deepin
2019-08-24 06:43
Author
本帖最后由 funtoo 于 2019-8-23 22:44 编辑
nvidia最新的435.17版本驱动已经原生支持笔记本上的PRIME,具体说明在这里:
http://download.nvidia.com/XFree ... erenderoffload.html
想要使用闭源驱动原生PRIME的话,需要满足几个条件:
1、Mesa和nvidia闭源驱动本身在打包时候需要开启libglvnd支持,这个好像debian上游已经实现了。
2、除了开启libglvnd支持,Xorg server还需要打几个准备合并入xserver 1.21版本的补丁。这个Ubuntu那里有打了补丁的xserver PPA:
https://launchpad.net/~aplattner/+archive/ubuntu/ppa
。
3、修改xserver配置文件,把以下内容加入/etc/X11/xorg.conf或/etc/X11/xorg.conf.d/01-prime-offload.conf:
Section "ServerLayout"
Identifier "layout"
Option "AllowNVIDIAGPUScreens"
EndSection
Copy the Code
以上这些准备工作完成后,正常来说就能实现原生PRIME了,如果要用独显运行某程序foo,只要运行这个命令(其他程序以此类推):
$ __NV_PRIME_RENDER_OFFLOAD=1 foo
Copy the Code
虽然目前只能靠命令来指定用独显运行某程序,但要封装到右键菜单是比较容易的,这样子deepin也就不用再单独维护原来那一套PRIME实现了。
我也是经过几天的尝试,最终在昨晚顺利搞定了。
PS:闭源驱动的动态电源管理要求图灵架构及更新的显卡。
Reply
Like 0
Favorite
View the author
All Replies
lenke
deepin
2019-08-24 07:54
#1
very good !v20会加入这个特性吗?
Reply
Like 0
View the author
superendermansm
deepin
2019-08-24 16:56
#2
等V20? debian上游更新了deepin没跟随呢吧
Reply
Like 0
View the author
独影阑珊
deepin
2019-09-07 06:46
#3
请问我安装435.17驱动的时候就直接开启libglvnd支持了吗?
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
What is the purpose of UOS AI?
Cannot upgrade "Deepin 25.0.10"
Feature Request: Adding an option for a "Floating Dock" mode in DDE
[Feature Request] Drop-down grid panel for window snap layouts
Popular Events
More
nvidia最新的435.17版本驱动已经原生支持笔记本上的PRIME,具体说明在这里:http://download.nvidia.com/XFree ... erenderoffload.html
想要使用闭源驱动原生PRIME的话,需要满足几个条件:
1、Mesa和nvidia闭源驱动本身在打包时候需要开启libglvnd支持,这个好像debian上游已经实现了。
2、除了开启libglvnd支持,Xorg server还需要打几个准备合并入xserver 1.21版本的补丁。这个Ubuntu那里有打了补丁的xserver PPA:https://launchpad.net/~aplattner/+archive/ubuntu/ppa。
3、修改xserver配置文件,把以下内容加入/etc/X11/xorg.conf或/etc/X11/xorg.conf.d/01-prime-offload.conf:
我也是经过几天的尝试,最终在昨晚顺利搞定了。
PS:闭源驱动的动态电源管理要求图灵架构及更新的显卡。