N卡驱动安装完重启就黑屏
Tofloor
poster avatar
Feng Yu
deepin
2017-01-03 06:49
Author
本帖最后由 abcfy2 于 2017-1-2 23:03 编辑

google了半天也没找到解决方案。重启的时候到该进入图形化桌面的时候就只有左上角光标闪烁了,根本无法进入图形桌面。只能用ctrl+alt+f1进入tty
贴出/var/log/Xorg.log看看,只看到中间有这样的字样:
[     8.008] (EE) Screen 1 deleted because of no matching config section

顺便贴出一些其他的信息:

  1. lspci | grep -i vga
  2. 00:02.0 VGA compatible controller: Intel Corporation Sky Lake Integrated Graphics (rev 07)

  3. sudo lshw -C display
  4.   *-display               
  5.        description: VGA compatible controller
  6.        product: Sky Lake Integrated Graphics
  7.        vendor: Intel Corporation
  8.        physical id: 2
  9.        bus info: pci@0000:00:02.0
  10.        version: 07
  11.        width: 64 bits
  12.        clock: 33MHz
  13.        capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
  14.        configuration: driver=i915_bpo latency=0
  15.        resources: irq:284 memory:a2000000-a2ffffff memory:b0000000-bfffffff ioport:5000(size=64)
  16.   *-display
  17.        description: 3D controller
  18.        product: NVIDIA Corporation
  19.        vendor: NVIDIA Corporation
  20.        physical id: 0
  21.        bus info: pci@0000:01:00.0
  22.        version: a2
  23.        width: 64 bits
  24.        clock: 33MHz
  25.        capabilities: pm msi pciexpress bus_master cap_list
  26.        configuration: driver=nvidia latency=0
  27.        resources: irq:16 memory:a3000000-a3ffffff memory:90000000-9fffffff memory:a0000000-a1ffffff ioport:4000(size=128)

  28. sudo nvidia-detector
  29. none

  30. inxi -SGx
  31. System:    Host: fengyu-laptop Kernel: 4.4.0-57-generic x86_64 (64 bit gcc: 5.4.0)
  32.            Desktop: Cinnamon 3.2.7 (Gtk 3.18.9-1ubuntu3.1) Distro: Linux Mint 18.1 Serena
  33. Graphics:  Card-1: Intel Sky Lake Integrated Graphics bus-ID: 00:02.0
  34.            Card-2: NVIDIA Device 134b bus-ID: 01:00.0
  35.            Display Server: X.Org 1.18.4 driver: intel Resolution: 1920x1080@59.93hz
  36.            GLX Renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2)
  37.            GLX Version: 3.0 Mesa 13.0.1 Direct Rendering: Yes
Copy the Code





Reply Favorite View the author
All Replies
avatar
MattD
deepin
2017-01-03 07:08
#1
不是应该找Mint社区去咨询么?我在Deepin下面是正常的。
BTW,检查下Nvidia驱动是否自己释放了一个有问题的xorg配置文件,以前我也遇到过。







来自:Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0  (zh-CN)
——2017/1/2 下午11:08:38
Reply View the author
avatar
Feng Yu
deepin
2017-01-03 17:13
#2
https://bbs.deepin.org/post/133689
不是应该找Mint社区去咨询么?我在Deepin下面是正常的。
BTW,检查下Nvidia驱动是否自己释放了一个有问题的 ...

没有,N卡驱动装完会自动删掉Xorg.conf
Reply View the author
avatar
liujianfeng
deepin
2017-01-03 17:27
#3
  1. [     7.952] (**) |-->Screen "nvidia" (0)
  2. [     7.952] (**) |   |-->Monitor ""
  3. [     7.952] (**) |   |-->Device "nvidia"
  4. [     7.952] (**) |   |-->GPUDevice "intel"
  5. [     7.952] (**) |   |-->GPUDevice "nvidia"
  6. [     7.952] (==) No monitor specified for screen "nvidia".
Copy the Code
检查一下/etc/X11/xorg.conf和/usr/share/X11/xorg.conf.d目录
应该还是有错误的配置文件
Reply View the author
avatar
Feng Yu
deepin
2017-01-03 17:29
#4
https://bbs.deepin.org/post/133689
检查一下/etc/X11/xorg.conf和/usr/share/X11/xorg.conf.d目录
应该还是有错误的配置文件
...

配置文件用过nvidia-xconfig自动生成过,但是报错,似乎会被系统自动干掉。我也尝试过手工删除,一样会报这个错。
Reply View the author
avatar
MattD
deepin
2017-01-03 17:36
#5
光删除错误的配置文件没有用,还要停掉一个服务,否则每次开机都会反复生成那个配置文件。服务名称不记得了,好像是gpu-manager?
之前我在Deepin遇到过类似问题,那时候刚推送nvidia-358版本驱动。删除错误的配置文件,并disable掉相关服务就解决了。
Reply View the author
avatar
Feng Yu
deepin
2017-01-03 17:38
#6
https://bbs.deepin.org/post/133689
光删除错误的配置文件没有用,还要停掉一个服务,否则每次开机都会反复生成那个配置文件。服务名称不记得了 ...

哦,这个步骤倒是没有google到。google了半天,同样的错误修复情况也是多种多样,但是没人提过还要停掉一个服务的。

话说就属N卡驱动的问题多,难怪Linus大神要对N卡竖中指
Reply View the author
avatar
Feng Yu
deepin
2017-01-09 18:20
#7
看来我遇到棘手的问题了,在Linuxmint的论坛上发帖好几天依然没解决: https://forums.linuxmint.com/viewtopic.php?f=59&t=236832
Reply View the author