求助!折腾了 bumblebee 之后显示器没有信号

在台式机上安装的 TW,Intel 核显 +nVidia 独显。电脑 bios 默认禁用了核显,之前一直使用 nVidia 显卡的开源驱动。今天在 bios 里面启用了核显,把核显设置为默认显卡,然后参考下面两篇教程安装配置了 bumblebee 让双显卡共存,当然 nVidia 显卡还是使用开源驱动。

https://en.opensuse.org/SDB:NVIDIA_Bumblebee
https://zh.opensuse.org/SDB:Bumblebee

重启后就悲剧了,显示屏完全没有信号输出,连开机时华硕的启动界面都不显示了。然而系统好像还是正常启动了,SSH 和 VNC 都可以连接。

求教各位大佬到底哪儿出了问题,怎么解决?

lspci | grep VGA 的输出

00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 730] (rev a1) 

systemctl status -l bumblebeed.service 的输出

bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2019-11-27 16:31:42 CST; 4h 52min ago
 Main PID: 1329 (bumblebeed)
    Tasks: 1 (limit: 4915)
   Memory: 1.2M
   CGroup: /system.slice/bumblebeed.service
           └─1329 /usr/sbin/bumblebeed

Nov 27 16:31:42 linux-suse systemd [1]: Started Bumblebee C Daemon.
Nov 27 16:31:42 linux-suse bumblebeed [1329]: modprobe: ERROR: could not insert 'bbswitch': No such device
Nov 27 16:31:42 linux-suse bumblebeed [1329]: [    7.331695] [ERROR] Module bbswitch could not be loaded (timeout?)
Nov 27 16:31:42 linux-suse bumblebeed [1329]: [    7.331709] [WARN] No switching method available. The dedicated card will always be on.
Nov 27 16:31:42 linux-suse bumblebeed [1329]: [    7.333362] [INFO]/usr/sbin/bumblebeed 3.2.1 started

dmesg | grep -i bbswitch 的输出

[    2.134295] bbswitch: loading out-of-tree module taints kernel.
[    2.134422] bbswitch: version 0.8
[    2.134427] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[    2.134430] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[    2.134440] bbswitch: failed to evaluate \_SB_.PCI0.PEG0.PEGP._DSM {0xF8,0xD8,0x86,0xA4,0xDA,0x0B,0x1B,0x47,0xA7,0x2B,0x60,0x42,0xA6,0xB5,0xBE,0xE0} 0x100 0x0 {0x00,0x00,0x00,0x00}: AE_NOT_FOUND
[    2.134443] bbswitch: failed to evaluate \_SB_.PCI0.PEG0.PEGP._DSM {0xA0,0xA0,0x95,0x9D,0x60,0x00,0x48,0x4D,0xB3,0x4D,0x7E,0x5F,0xEA,0x12,0x9F,0xD4} 0x102 0x0 {0x00,0x00,0x00,0x00}: AE_NOT_FOUND
[    2.134451] bbswitch: failed to evaluate \_SB_.PCI0.GFX0._DSM {0xA0,0xA0,0x95,0x9D,0x60,0x00,0x48,0x4D,0xB3,0x4D,0x7E,0x5F,0xEA,0x12,0x9F,0xD4} 0x102 0x0 {0x00,0x00,0x00,0x00}: AE_NOT_FOUND
[    2.134451] bbswitch: No suitable _DSM call found.

hwinfo的输出如下,看起来 N 卡驱动没有启用,执行命令modprobe nouveau后显示器显示黑屏,不过出现了一个能动的鼠标图标,按 ctrl+alt+f1 字符界面可以正常显示

20: PCI 100.0: 0300 VGA compatible controller (VGA)
  [Created at pci.386]
  Unique ID: VCu0.DZHfJZXqByE
  Parent ID: vSkL.xltNQFyR_DB
  SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
  SysFS BusID: 0000:01:00.0
  Hardware Class: graphics card
  Model: "nVidia GK208B [GeForce GT 730]"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x1287 "GK208B [GeForce GT 730]"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x84f7
  Revision: 0xa1
  Memory Range: 0xf6000000-0xf6ffffff (rw,non-prefetchable,disabled)
  Memory Range: 0xe0000000-0xe7ffffff (ro,non-prefetchable,disabled)
  Memory Range: 0xe8000000-0xe9ffffff (ro,non-prefetchable,disabled)
  I/O Ports: 0xe000-0xefff (rw,disabled)
  Memory Range: 0xf7000000-0xf707ffff (ro,non-prefetchable,disabled)
  IRQ: 11 (no events)
  Module Alias: "pci:v000010DEd00001287sv00001043sd000084F7bc03sc00i00"
  Driver Info #0:
    Driver Status: nouveau is not active
    Driver Activation Cmd: "modprobe nouveau"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #18 (PCI bridge)
28: PCI 02.0: 0300 VGA compatible controller (VGA)
  [Created at pci.386]
  Unique ID: _Znp.TQCTzyzKETC
  SysFS ID: /devices/pci0000:00/0000:00:02.0
  SysFS BusID: 0000:00:02.0
  Hardware Class: graphics card
  Device Name: "Onboard IGD"
  Model: "Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x0412 "Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x8534
  Revision: 0x06
  Driver: "i915"
  Driver Modules: "i915"
  Memory Range: 0xf7400000-0xf77fffff (rw,non-prefetchable)
  Memory Range: 0xd0000000-0xdfffffff (ro,non-prefetchable)
  I/O Ports: 0xf000-0xf03f (rw)
  Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
  IRQ: 29 (2497 events)
  Module Alias: "pci:v00008086d00000412sv00001043sd00008534bc03sc00i00"
  Driver Info #0:
    Driver Status: i915 is active
    Driver Activation Cmd: "modprobe i915"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

首先检查一下显示器接线?如果你之前一直接在独显上现在有可能从主板走核显输出了

edit:
没看到下面回帖,已经能看到鼠标了那肯定线是对的,这个描述有点像 x 启动的问题,看看 /var/log/Xorg.0.log 的内容吧

解决了,核显和集显用的不是一个 VGA 输出接口,换个接口就搞定了

本主题在最后一个回复创建后60分钟后自动锁定。不再允许添加新回复。