y7000怎么装独显驱动啊
Tofloor
poster avatar
mzking
deepin
2019-02-16 05:58
Author
这本子hdmi接口用的是独显输出,所以要外接显示器就必须装独显驱动,显卡是1050

用深度的显卡驱动管理器装的似乎没用,怎么弄都是cannot load the gpu driver

用英伟达官网下载的.run的驱动,410版有点麻烦但可以给装上,装完输入sudo nividia-smi能看到生效了,但是开启了图形化界面或者重启后又没用了

ubuntu下在那个软件管理器里可以自动扫描到,或者输入sudo apt install nvidia-390直接就能装上独显的驱动,deepin下独显驱动大家都怎么整的啊
Reply Favorite View the author
All Replies
avatar
文刀
deepin
2019-02-17 02:48
#1
显卡管理里面切换prime方案
Reply View the author
avatar
mzking
deepin
2019-02-18 20:26
#2
https://bbs.deepin.org/post/174767
显卡管理里面切换prime方案

我试过挺多次,切换prime,重启后都是提示失败。
Reply View the author
avatar
aida
deepin
2019-02-18 21:30
#3
尝试手动安装一下吧
sudo apt install nvidia-driver

然后编辑 /etc/X11/xorg.conf
Section "Module"
    Load "modesetting"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "CI:X:X:X"       #通过lspci | egrep 'VGA|3D',获取设备BusID,例子 00:02.0 填写PCI:0:2:0
    Option "AllowEmptyInitialConfiguration"
EndSection



编辑~/.xinitrc

xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
xrandr --dpi 96


编辑/etc/lightdm/display_setup.sh

#!/bin/sh
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
xrandr --dpi 96
执行chmod +x  /etc/lightdm/display_setup.sh


编辑/etc/lightdm/lightdm.conf
在[Seat:*]行下添加
display-setup-script=/etc/lightdm/display_setup.sh


然后重启试试
在终端执行sudo deepin-feedback-cli命令生成日志包 然后上传上来吧 我们看看









Reply View the author
avatar
jmjoy
deepin
2019-02-18 23:22
#4
同款笔记本,表示显卡驱动管理器可用。。
Reply View the author
avatar
aitkots
deepin
2019-02-19 01:08
#5
https://www.nvidia.com/object/unix.html

下载最新的驱动 安装
Reply View the author
avatar
mzking
deepin
2019-02-19 06:16
#6
https://bbs.deepin.org/post/174767
尝试手动安装一下吧
sudo apt install nvidia-driver

重启后会卡在那个检查的页面,进命令行模式把/etc/X11/xorg.conf里面修改成集显的,再重启lightdm就可以
改成nvidia显卡就还是不行,还是进不去额
Reply View the author
avatar
mzking
deepin
2019-02-19 06:20
#7
https://bbs.deepin.org/post/174767
同款笔记本,表示显卡驱动管理器可用。。

老哥试过外接显示器没?能外接显示器才是真的能用。我的在管理器里面显示大黄蜂模式,但前三种我都试过外接不能用显示器,用bumblebee配置好了切换独显也提示无法加载gpu driver。prime这个就直接装不上了
Reply View the author
avatar
aida
deepin
2019-02-19 18:17
#8
请您再提交一下log

/var/log/dgradvrmgr.log
~/.cache/deepin/deepin-graphics-driver-manager/deepin-graphics-driver-manager.log

Reply View the author
avatar
listenerri
deepin
2019-02-19 18:33
#9
除了 9 楼说的 log, 再执行一下 mount | grep overlay 命令贴一下输出
Reply View the author
avatar
mzking
deepin
2019-02-20 00:43
#10
https://bbs.deepin.org/post/174767
请您再提交一下log

/var/log/dgradvrmgr.log

多谢大大关心,问题解决了!!!

似乎是内核版本太高的原因???(之前是最新稳定版4.20.10),今天重装了一遍系统,然后可以切换到prime了,现在独显工作正常,外接显示器正常
Reply View the author
avatar
mzking
deepin
2019-02-20 00:44
#11
https://bbs.deepin.org/post/174767
除了 9 楼说的 log, 再执行一下 mount | grep overlay 命令贴一下输出

感觉像是内核版本太高了(4.20.10怎么都装不上驱动),今天重装了系统,之后啥也没动就直接切换到prime了
Reply View the author
avatar
jmjoy
deepin
2019-02-21 23:05
#12
https://bbs.deepin.org/post/174767
老哥试过外接显示器没?能外接显示器才是真的能用。我的在管理器里面显示大黄蜂模式,但前三种我都试过外 ...

嗯嗯,切换个集显确实外接不了显示屏,只能用独显方案。
你可以研究一下`/usr/lib/deepin-graphics-driver-manager/nvidia/`里面的脚本,
主要思路是用overlayfs来尝试安装独显驱动,看看导致报的什么错误。
Reply View the author
avatar
ligongwj
deepin
2019-05-22 23:55
#13
https://bbs.deepin.org/post/174767
尝试手动安装一下吧
sudo apt install nvidia-driver

我重装15.9 切换到N卡再升级 弄好了
Reply View the author
avatar
lightyisu
deepin
2019-09-08 04:13
#14
楼主可以外接显示器了吗?我也是y7000,我的15.11一直不行,驱动好像安不上
Reply View the author