我有一台联想 510p 笔记本电脑,集成 Intel HD 4600 显卡,外加 2 个 GeForce GT 755M-s,其中一个位于超级托架中,因此是可拆卸的。我运行的是 Lubuntu 13.10。我使用专有的 nvidia 驱动程序 (331)。
我安装了大黄蜂,当没有可移动显卡时它似乎工作正常,但是如果我插入超级托架,就会发生奇怪的事情。
不知何故,似乎集成的英特尔卡没有被拾取,我不知道实际上发生了什么。
一些日志:
取出 Optibay VGA:
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 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 755M] (rev ff)
sudo lshw -c video
*-display
description: VGA compatible controller
product: 4th Gen Core Processor Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 06
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:47 memory:c2000000-c23fffff memory:b0000000-bfffffff ioport:5000(size=64)
glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile
OpenGL core profile version string: 3.1 (Core Profile) Mesa 9.2.1
OpenGL core profile shading language version string: 1.40
OpenGL core profile context flags: (none)
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 9.2.1
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
optirun glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 755M/PCIe/SSE2
OpenGL core profile version string: 4.3.0 NVIDIA 331.20
OpenGL core profile shading language version string: 4.30 NVIDIA via Cg compiler
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.4.0 NVIDIA 331.20
OpenGL shading language version string: 4.40 NVIDIA via Cg compiler
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
Optibay VGA 已连接:
lspci | grep -E "VGA|3D"
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 755M] (rev a1)
07:00.0 3D controller: NVIDIA Corporation GK107M [GeForce GT 755M] (rev a1)
sudo lshw -c video
*-display
description: VGA compatible controller
product: GK107M [GeForce GT 755M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:50 memory:d3000000-d3ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:5000(size=128) memory:b2000000-b207ffff
*-display
description: 3D controller
product: GK107M [GeForce GT 755M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:07:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=nvidia latency=0
resources: irq:51 memory:d2000000-d2ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:4000(size=128)
glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 755M/PCIe/SSE2
OpenGL core profile version string: 4.3.0 NVIDIA 331.20
OpenGL core profile shading language version string: 4.30 NVIDIA via Cg compiler
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.4.0 NVIDIA 331.20
OpenGL shading language version string: 4.40 NVIDIA via Cg compiler
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
optirun glxinfo | grep OpenGL
[ 379.117608] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.
[ 379.117665] [ERROR]Aborting because fallback start is disabled.
所以最大的问题是:这是正常的吗?我以前从来没有用过这样的机器(也从来没有用过大黄蜂),所以我真的不知道会发生什么。
尽管如此,这种情况似乎很奇怪,如果可能的话,我想在两种情况下都使用英特尔卡,而且当我想要一个正常运行的 Linux 时,不必移除第二个 VGA 就更好了。 有没有办法例如完全禁用/隐藏 optibay VGA?无论如何我都不想在 Linux 中使用它。