在安装 Crunchbang 11(基于 Debian Wheezy)并首次启动后,由于 Xorg 无法启动,我被强制进入 shell Fatal server error: no screens found
。
我的笔记本电脑有基于 Optimus 的 GT 720M。Nouveau 在安装过程中自动安装,并且似乎在某种程度上占用了 GPU:
[ 126.101860] nouveau 0000:04:00.0: setting latency timer to 64
[ 126.101881] [drm] nouveau 0000:04:00.0: Detected an NVd0 generation card (0x0d7000a2)
[ 126.105833] [drm] nouveau 0000:04:00.0: Checking PRAMIN for VBIOS
[ 126.148715] [drm] nouveau 0000:04:00.0: ... BIOS signature not found
[ 126.148718] [drm] nouveau 0000:04:00.0: Checking PROM for VBIOS
[ 126.148786] [drm] nouveau 0000:04:00.0: ... BIOS signature not found
[ 126.148788] [drm] nouveau 0000:04:00.0: Checking ACPI for VBIOS
[ 126.148790] [drm] nouveau 0000:04:00.0: ... BIOS signature not found
[ 126.148792] [drm] nouveau 0000:04:00.0: Checking PCIROM for VBIOS
[ 126.148891] nouveau 0000:04:00.0: Invalid ROM contents
[ 126.149875] [drm] nouveau 0000:04:00.0: ... BIOS signature not found
[ 126.149876] [drm] nouveau 0000:04:00.0: No valid VBIOS image found
我尝试安装 bumblebee 和 primus,但似乎都没有帮助。Optirun 似乎无法识别第二个 GPU(尽管这可能是由于 Xorg 没有运行):
~$ optirun glxgears
[ 625.400763] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 625.400809] [ERROR]Aborting because fallback start is disabled.
lspci:
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
00:03.0 Audio device: Intel Corporation Device 0a0c (rev 09)
00:04.0 Signal processing controller: Intel Corporation Device 0a03 (rev 09)
00:14.0 USB controller: Intel Corporation Lynx Point-LP USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation Lynx Point-LP HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation Lynx Point-LP HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 1 (rev e4)
00:1c.2 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 3 (rev e4)
00:1c.3 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 4 (rev e4)
00:1c.4 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 5 (rev e4)
00:1d.0 USB controller: Intel Corporation Lynx Point-LP USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Lynx Point-LP LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation Lynx Point-LP SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation Lynx Point-LP SMBus Controller (rev 04)
00:1f.6 Signal processing controller: Intel Corporation Lynx Point-LP Thermal (rev 04)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5287 (rev 01)
02:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 12)
03:00.0 Network controller: Atheros Communications Inc. AR9485 Wireless Network Adapter (rev 01)
04:00.0 3D controller: NVIDIA Corporation Device 1140 (rev a1)
/etc/bumblebee/xorg.conf.nouveau:
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "false"
Option "AutoAddGPU" "false"
EndSection
Section "Device"
Identifier "DiscreteNvidia"
Driver "nouveau"
# If the X server does not automatically detect your VGA device,
# you can manually set it here.
# To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
# as you see in the commented example.
# This Setting is needed on Ubuntu 13.04.
BusID "PCI:04:00:0"
EndSection
值得注意的是,它是一个基于 UEFI 的系统。
答案1
您最好使用 nvidia 专有驱动程序和 primus,刚刚在以 UEFI 模式启动的 Lenovo B570e 上检查了基于 ALT Linux 的 LiveCD。
顺便说一句,配备 Optimus 的较新型笔记本电脑往往仅将视频输出连接到英特尔 GPU。