Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
Log in
Register
V20已更新「教程」在deepin stable版本手动配制Intel+Nvidia 双显卡
Experiences and Insight
4w
views ·
132
replies ·
To
floor
Go
aida
deepin
2019-05-27 16:38
Author
2020-04-17 更新 v20
v20源里面有440驱动,直接安装即可
sudo apt install nvidia-driver
然后通过最下面的方法配置即可,
深度驱动管理器
应该也可以自动安装(不行的话就
动手
装吧)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2019-06-04 更新 v15
我发现debian backports也是能在 stable版本使用的,所以把nvidia驱动升级到了418.56,安装成功
创建/etc/apt/source.list.d/stretch-backports.list
添加backports源
deb [trusted=yes] https://mirrors.ustc.edu.cn/debian/ stretch-backports main contrib non-free
Copy the Code
安装backports驱动
sudo apt update -y && sudo apt-get install -t stretch-backports nvidia-driver
Copy the Code
418.56支持的设备有
GeForce GTX 1660 Ti, GeForce GTX 1660 和RTX系列
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
stable版本目前没有nv-prime的支持,aida给大家介绍一下如何配制intel双显卡驱动,其实还是很简单哒。
这样做有个缺点就是没法切集显,但是性能很好!
安装nvidia驱动
sudo apt install nvidia-driver
Copy the Code
#关于nvidia驱动,还有nvidia-legacy-304xx-driver 和 nvidia-legacy-340xx-driver 是对旧显卡支持的驱动
然后编辑 /etc/X11/xorg.conf
#通过lspci | egrep 'VGA|3D',获取设备BusID,例子 00:02.0 填写PCI:0:2:0
Section "Module"
Load "modesetting"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:X:X:X"
Option "AllowEmptyInitialConfiguration"
EndSection
Copy the Code
编辑~/.xinitrc
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
xrandr --dpi 96
Copy the Code
编辑/etc/lightdm/display_setup.sh
#!/bin/sh
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
xrandr --dpi 96
Copy the Code
然后执行
sudo chmod +x /etc/lightdm/display_setup.sh
Copy the Code
编辑/etc/lightdm/lightdm.conf
在[Seat:*]行下添加
display-setup-script=/etc/lightdm/display_setup.sh
Copy the Code
这样应该就可以重启了,如果没成功请检查一下配置是否正确,欢迎大家积极探讨!
Reply
Like 4
Favorite
View the author
All Replies
1
2
3
4
5
...
7
>
1
/
7
To page
Go
aida
deepin
2019-05-27 16:40
#1
https://bbs.deepin.org/user/33072
https://bbs.deepin.org/user/27275
https://bbs.deepin.org/user/33250
https://bbs.deepin.org/user/5284
https://bbs.deepin.org/user/31012
https://bbs.deepin.org/user/114126
https://bbs.deepin.org/user/13250
Reply
Like 0
View the author
Comments
rgdeepin
2020-04-06 17:18
太棒了,折腾了这么久都没解决的问题,按你的方法竟然一次成功,太惊喜了,太意外了,感谢!
lenke
deepin
2019-05-27 16:50
#2
编辑~/.xinitrc 这一步可以忽略掉,至少在manjaro下,是不需要这样操作的
Reply
Like 0
View the author
Comments
aida
2019-05-27 16:58
嗯 好~
doooooit
deepin
2019-05-27 17:15
#3
写个脚本一键运行
Reply
Like 0
View the author
jianguo922
deepin
2019-05-27 17:48
#4
能不能开发一个小程序一键运行切换或者快捷键切换(运行时右下角显示显卡图标),以后可发展成打开大的3D游戏、软件或做图时就自动切换成独立显卡
Reply
Like 0
View the author
Comments
dotaispeak
2019-10-28 00:03
我也是这个想法,现在还不行吧
深圳市耀影科技有限公司
deepin
2019-05-27 18:09
#5
The user is banned, and the content is hidden.
funtoo
deepin
2019-05-27 18:44
#6
严格来说这都不叫配置双显卡,其实就是让独显一直工作。
另外,对于不用DM启动桌面会话的用户,也就是以startx命令启动图形会话的用户,才需要配置.xinitrc。
Reply
Like 0
View the author
SiyerBOBO
deepin
2019-05-27 18:51
#7
所谓的“双”显卡方案。
Reply
Like 0
View the author
pho
deepin
2019-05-28 08:06
#8
还是希望有prime方案
Reply
Like 0
View the author
lenke
deepin
2019-05-28 10:26
#9
phoenifox 发表于 2019-5-28 08:06
还是希望有prime方案
其实这就是prime方案,只不过原来是自动,现在改成手动了
Reply
Like 0
View the author
cheesezhang
deepin
2019-05-28 10:33
#10
failed to start load kernel modules
我这边又不死心的试了一下 还是这个问题 卡在这个地方了
有没有同样情况的
Reply
Like 0
View the author
jiangbo0143
deepin
2019-05-28 16:16
#11
aida 是牛人
Reply
Like 0
View the author
186******00
deepin
2019-05-28 17:42
#12
我的独立显卡及集成显卡可以同时工作在两个显示器上,win下面反而没有成功,嘿嘿。
Reply
Like 0
View the author
SiyerBOBO
deepin
2019-05-28 20:24
#13
Ubuntu、kde neon 、manjaro等都支持可以手动切换的prime方案,深度的这个nv_prime与其说是双显方案不如叫高性能显卡驱动。
Reply
Like 0
View the author
kingskill
deepin
2019-05-29 00:18
#14
aida出的教程肯定要进来学习~~
Reply
Like 0
View the author
deepinnum1fuzhu
deepin
2019-05-29 02:00
#15
请问一下seat行下添加需要加#号吗?小白不懂
Reply
Like 0
View the author
Comments
aida
2019-05-30 09:13
不要加 #号 加#号不起作用
deepinnum1fuzhu
deepin
2019-05-29 02:20
#16
我完全按照教程做了还是开不了机
Reply
Like 0
View the author
deepinnum1fuzhu
deepin
2019-05-29 19:50
#17
卡在这里。。。
Reply
Like 0
View the author
Comments
aida
2019-05-30 09:14
检查一下 /etc/X11/xorg.conf 中的busid
stranding
deepin
2019-06-02 15:23
#18
我和18楼的情况一样。。。
Reply
Like 0
View the author
alleo
deepin
2019-06-03 00:33
#19
卡在这里。。。[
Reply
Like 0
View the author
Comments
aida
2019-06-04 13:12
图片加载不出。。。
alleo
deepin
2019-06-03 00:42
#20
一直卡在这里。。。还有屏幕亮度调节有木有方法
Reply
Like 0
View the author
Comments
aida
2019-06-03 09:28
需要重启一下,配置成功的话会自动禁用nvidia开源驱动nouveau
1
2
3
4
5
...
7
>
1
/
7
To page
Go
Please
sign
in first
New Thread
Popular Ranking
Change
Add python3-pyqt6.qtwebengine to the Deepin Linux 23 reposit
Building Deepin OS for arm
Popular Events
More
v20源里面有440驱动,直接安装即可
sudo apt install nvidia-driver
然后通过最下面的方法配置即可,深度驱动管理器应该也可以自动安装(不行的话就动手装吧)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2019-06-04 更新 v15
我发现debian backports也是能在 stable版本使用的,所以把nvidia驱动升级到了418.56,安装成功
创建/etc/apt/source.list.d/stretch-backports.list
添加backports源
安装backports驱动
418.56支持的设备有 GeForce GTX 1660 Ti, GeForce GTX 1660 和RTX系列
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
stable版本目前没有nv-prime的支持,aida给大家介绍一下如何配制intel双显卡驱动,其实还是很简单哒。
这样做有个缺点就是没法切集显,但是性能很好!
安装nvidia驱动
#关于nvidia驱动,还有nvidia-legacy-304xx-driver 和 nvidia-legacy-340xx-driver 是对旧显卡支持的驱动
然后编辑 /etc/X11/xorg.conf #通过lspci | egrep 'VGA|3D',获取设备BusID,例子 00:02.0 填写PCI:0:2:0
编辑~/.xinitrc
编辑/etc/lightdm/display_setup.sh
然后执行
编辑/etc/lightdm/lightdm.conf
在[Seat:*]行下添加
这样应该就可以重启了,如果没成功请检查一下配置是否正确,欢迎大家积极探讨!