Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
UOS系统联想Y430P笔记本电脑显卡安装大黄蜂驱动方案
Experiences and Insight
1266
views ·
4
replies ·
To
floor
Go
wubozh
deepin
2020-04-05 22:25
Author
安装的过程没什么好说的,按群里兄弟提供的办法,先安装软件源里的nvidia驱动,然后安装软件商店里的显卡驱动管理器,再换panda源,就可以切换安装大黄蜂方案了。问题是安装完成后,在lspci里,怎么看,我的显卡型号都是 01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 850M] (rev a2),不是网上所说的rev ff,也就是说,独立显卡在平时根本就没有关闭,始终是打开状态。后来切换prime方案也不成功。后来参照网上一篇文章:“此贴奉献给使用大黄蜂 和nvidia prime均无法让独显 revff的朋友”,在windows下反复开关独立显卡对比后找到pci的二进制配置表格里控制独显开关的地址,跟文章中的不一样,我的是b0,回到UOS后,把pci二进制配置表里的D0的值从默认的53修改为43,关机的时候死机,强行断电重启后,独立显卡的自动开关切换正常了。怀疑是显卡在win10下被写入了53,然后deepin下沿用了这个初始值所致。大致的步骤:
1.先lspci,找到独立显卡的bus address,我的是01:00.0
2.lspci -t,找到独立显卡的父节点,这里是00:01.0
-[0000:00]-+-00.0
+-01.0-[01-06]----00.0
3.sudo lspci -s 00:01.0 -xxx,得到pci二进制配置表
win(i)
1
2
3
4
5
6
7
8
9
10
a
b
c
d
e
f
00:
86
80
1
0c
0
4
10
0
6
0
4
6
10
0
81
0
10:
0
0
0
0
0
0
0
0
0
1
6
0
40
40
0
0
20:
0
c0
f0
c0
1
90
f1
af
0
0
0
0
0
0
0
0
30:
0
0
0
0
88
0
0
0
0
0
0
0
0
1
0
0
40:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
50:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
60:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
70:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0a
80:
1
90
3
c8
0b
0
0
0
0d
80
0
0
aa
17
78
39
90:
5
a0
0
0
0c
f0
e0
fe
90
49
0
0
0
0
0
0
a0:
10
0
42
1
1
80
0
0
20
0
0
0
83
ac
61
2
b0:
53
0
81
d0
80
25
0c
0
0
0
48
0
8
0
0
0
c0:
0
0
0
0
80
0b
8
0
0
0
0
0
0e
0
0
0
d0:
43
0
1e
0
0
0
0
0
0
0
0
0
0
0
0
0
e0:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
f0:
0
60
1
0
4e
1
1
42
0
0
0
0
0
0
10
0
通过文中的办法,从34号开始追查起,最终找到b0的值为53,回到win10下,开关切换独显,发现这个值从53变为43(还有其他地址几个的值也在变化)
4.回到UOS下,用 sudo setpci -s 00:01.0 0xb0.B=0x43 命令向这个地址写入43,再lspci发现已经是rev ff了。但调用独立显卡出错。
5.重启,在退出图形界面的时候死机,强行关机,再开机,然后lspci,查显卡还是rev ff,用glxgears -info测试,rev ff没变,再用optirun glxgears -info测试,顺利变为rev a2,反复切换正常。
Reply
Like 0
Favorite
View the author
All Replies
152******14
deepin
2020-04-06 00:48
#1
二进制大佬呀
Reply
Like 0
View the author
S4mW0ng
deepin
2020-05-25 06:09
#2
本帖最后由 wongfaye 于 2020-5-24 23:18 编辑
我的笔记本是Y410P,手动安装大黄蜂成功,谢谢!
方法:
先更新一下系统,最新的源里面有老版N显卡驱动390和340!
https://bbs.deepin.org/post/194381
安装方法看这一个帖子,大致相同,先去N卡官网查看自己显卡支持的驱动!
然后再安装,不用添加源!
直接执行下面命令:
340是这个:
sudo apt install nvidia-legacy-340xx-driver nvidia-legacy-340xx-smi nvidia-settings-legacy-340xx
390是这个:
sudo apt install nvidia-legacy-390xx-driver nvidia-legacy-390xx-smi nvidia-settings-legacy-390xx
只装好就行,不用管其他的添加文件什么的!
重启然后装大黄蜂,命令如下:
sudo apt install bumblebee bumblebee-nvidia
这个时候就会看到会删除很多390或者340的驱动,然后添加很多大黄蜂的390或者340的驱动!这样就不会装440的驱动!
我的装好后就直接可以了!
可以安装一个
sudo apt-get install mesa-utils
然后执行
optirun glxgears
测试!
用 lspci | grep VGA 测试!
独立显卡是FF
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 750M] (rev ff)
Reply
Like 0
View the author
lbygljq
deepin
2020-05-25 16:37
#3
还好,我的Y430A是独显,添加 stretch-backports 源后,直接运行:
sudo apt install -t stretch-backports nvidia-legacy-340xx-driver nvidia-legacy-340xx-smi nvidia-settings-legacy-340xx
Copy the Code
Reply
Like 0
View the author
deepin-mq
deepin
2020-05-25 16:53
#4
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
WiFi Drivers
Popular Events
More
1.先lspci,找到独立显卡的bus address,我的是01:00.0
2.lspci -t,找到独立显卡的父节点,这里是00:01.0
-[0000:00]-+-00.0
+-01.0-[01-06]----00.0
3.sudo lspci -s 00:01.0 -xxx,得到pci二进制配置表
通过文中的办法,从34号开始追查起,最终找到b0的值为53,回到win10下,开关切换独显,发现这个值从53变为43(还有其他地址几个的值也在变化)
4.回到UOS下,用 sudo setpci -s 00:01.0 0xb0.B=0x43 命令向这个地址写入43,再lspci发现已经是rev ff了。但调用独立显卡出错。
5.重启,在退出图形界面的时候死机,强行关机,再开机,然后lspci,查显卡还是rev ff,用glxgears -info测试,rev ff没变,再用optirun glxgears -info测试,顺利变为rev a2,反复切换正常。