强烈建议就15.4怎样装显卡驱动开个教程贴子
Tofloor
poster avatar
js2fj5zqh
deepin
2017-03-12 09:48
Author
搜到的贴子都试了,不行。WIKI也看了多遍。也不行,UBUNTU下也看了,在用UBUNTU时可装上闭源NVIDIA。但在DEEPIN下怎么也搞不定。
强烈建议相关老鸟开个专贴。

zhu@zhu-PC:~$ optirun glxgears -info
[ 1018.988644] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card1: failed to set DRM interface version 1.4: Permission denied

[ 1018.988673] [ERROR]Aborting because fallback start is disabled.
zhu@zhu-PC:~$

zhu@zhu-PC:~$ lspci | grep -E "VGA|3D"
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 850M] (rev a2)
zhu@zhu-PC:~$



Reply Favorite View the author
All Replies
2 / 2
To page
avatar
orangeclk
deepin
2017-04-16 18:27
#21
我也是,ubuntu下闭源驱动没问题,deepin下就不行。
Reply View the author
avatar
april00
deepin
2017-05-05 00:27
#22
https://bbs.deepin.org/post/135938
我的更惨GTX1050,分辨率直接只有800*600

显卡太新了没有驱动
Reply View the author
avatar
阳光
deepin
2017-05-24 05:31
#23
https://bbs.deepin.org/post/135938
显卡太新了没有驱动

现在装了闭源驱动没有问题了
Reply View the author
avatar
qujin5211
deepin
2017-05-25 06:14
#24
我的经验给你参考一下。

1、备份下xorg.conf,很有必要
cp -a /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
2、卸载驱动
sudo apt-get remove nvidia*      
3、停服务
sudo systemctl stop lightdm         
4、安装驱动,能选YES的都选YES
sudo ./NVIDIA-Linux-x86_64-340.96.run          ###安装下载好的闭源驱动
5、增加分辨率(我安装后默认800×600,没有更多选择,所以有这一步)
root@game:~# cvt 1280 720
root@game:~# xrandr --newmode "1280x720_60.00"   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync
root@game:~# xrandr --addmode DVI-I-1 1280x720_60.00
root@game:~# xrandr --output DVI-I-1 --mode 1280x720_60.00
6、编辑xorg.conf
vim /etc/X11/xorg.conf
Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0                                ####与下面对应
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option         "Xinerama" "0"
EndSection
Section "Monitor"
        Identifier   "Monitor0"   
           ###与下面对应
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        Modeline "1280x720_60.00"   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync     ###分辨率放这就可以永久的增加了
        Option         "referredMode" "1280x720_60.00"               ###设置为默认分辨率
EndSection
Section "Device"
        Identifier  "Card0"  
         ###与下面对应
        Driver      "nvidia"
        BusID       "CI:1:0:0"
EndSection
Section "Screen"
        Identifier "Screen0"

       Device     "Card0"
        Monitor    "Monitor0"
EndSection
7.启动服务
systemctl restart lightdm          ###  独显就到这了。
----------------------分隔线----------------------
前些日子花屏了,感觉是电源给9600GSO的12V供电不足(是的,12V…),然后我就只能用集显了,G31主板(是的,近10年的老古董):
先是把独显驱动干掉(步骤忘了)好像有lsmod |grep -i nvidia |xargs rmmod这个操作
然后查看显卡驱动 :lspci -vnn |grep -i vga -A 12      发现内核已经有驱动了;
    Kernel driver in use: i915
    Kernel modules: i915
再vim /etc/X11/xorg.conf
Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option         "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "Module"
    Load           "glx"
EndSection
Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection
Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "rotocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Monitor Vendor"
    Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
    Option         "referredMode" "1920x1080_60.00"
EndSection
Section "Device"
    Identifier     "card0"
EndSection
Section "Screen"
    Identifier     "Screen0"
    Device         "card0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

相关资料
https://help.ubuntu.com/community/HybridGraphics#How_to_switch_the_GPU    ###不明觉厉
http://forum.ubuntu.org.cn/viewtopic.php?p=3144143#p3144143        ###这个有用


Reply View the author
avatar
xiaoye379
deepin
2017-10-22 08:06
#25
https://bbs.deepin.org/post/135938
我的更惨GTX1050,分辨率直接只有800*600

你的驱动好了么
Reply View the author
avatar
阳光
deepin
2017-10-23 00:10
#26
@xiaoye379 正式版的15.4安装上就好了。
Reply View the author
avatar
73******58@qq.com
deepin
2017-10-28 20:31
#27
https://bbs.deepin.org/post/135938
我的更惨GTX1050,分辨率直接只有800*600

我的都安装不成功,不知道怎么弄。大神可以帮忙吗?
Reply View the author
avatar
阳光
deepin
2017-10-29 04:25
#28
deepin 自己有驱动管理器,里面可以换开源或nvidia闭源驱动
Reply View the author
2 / 2
To page