Debian 10 未检测到第二台显示器

Debian 10 未检测到第二台显示器

我在 Debian 10 上检测到我的第二台显示器时遇到了困难:其中一台通过我的 NVIDIA 显卡连接,被检测到并且工作正常。另一个屏幕是通过我的英特尔集成显卡连接的,无论我尝试什么,在我的配置上根本不显示。我已在 BIOS 上启用多屏,尝试切换电缆和屏幕以验证硬件,两个屏幕(和相关电缆)都正常工作。

lspci的输出:

00:00.0 Host bridge: Intel Corporation Skylake Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 07)
00:02.0 Display controller: Intel Corporation HD Graphics 530 (rev 06)
00:08.0 System peripheral: Intel Corporation Skylake Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO I2C Controller #0 (rev 31)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO I2C Controller #1 (rev 31)
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] (rev 31)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1)
00:1d.2 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #11 (rev f1)
00:1d.3 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #12 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
01:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1660 Ti Rev. A] (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 1aeb (rev a1)
01:00.2 USB controller: NVIDIA Corporation Device 1aec (rev a1)
01:00.3 Serial bus controller [0c80]: NVIDIA Corporation Device 1aed (rev a1)
03:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 03)
04:01.0 Ethernet controller: Qualcomm Atheros AR2413/AR2414 Wireless Network Adapter [AR5005G(S) 802.11bg] (rev 01)
05:00.0 Ethernet controller: Qualcomm Atheros Killer E2400 Gigabit Ethernet Controller (rev 10)

lspci-nn | grep VGA

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU116 [GeForce GTX 1660 Ti Rev. A] [10de:2182] (rev a1)

我找不到第二台显示器甚至没有出现在 LSPCI 中的情况。我猜我的集成显卡缺少一些东西,但我不知道是什么......

这是 lspci -v |少了我:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
    Subsystem: Micro-Star International Co., Ltd. [MSI] Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers
    Flags: bus master, fast devsel, latency 0
    Capabilities: <access denied>
    Kernel driver in use: skl_uncore

00:01.0 PCI bridge: Intel Corporation 6th-9th Gen Core Processor PCIe Controller (x16) (rev 07) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0, IRQ 120
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
    I/O behind bridge: 0000e000-0000efff
    Memory behind bridge: de000000-df0fffff
    Prefetchable memory behind bridge: 00000000c0000000-00000000d20fffff
    Capabilities: <access denied>
    Kernel driver in use: pcieport

00:02.0 Display controller: Intel Corporation HD Graphics 530 (rev 06)
    Subsystem: Micro-Star International Co., Ltd. [MSI] HD Graphics 530
    Flags: bus master, fast devsel, latency 0, IRQ 127
    Memory at dd000000 (64-bit, non-prefetchable) [size=16M]
    Memory at b0000000 (64-bit, prefetchable) [size=256M]
    I/O ports at f000 [size=64]
    Capabilities: <access denied>
    Kernel driver in use: i915
    Kernel modules: i915

00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
    Subsystem: Micro-Star International Co., Ltd. [MSI] Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
    Flags: fast devsel, IRQ 11
    Memory at df331000 (64-bit, non-prefetchable) [disabled] [size=4K]
    Capabilities: <access denied>

00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31) (prog-if 30 [XHCI])
    Subsystem: Micro-Star International Co., Ltd. [MSI] 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller
    Flags: bus master, medium devsel, latency 0, IRQ 124
    Memory at df310000 (64-bit, non-prefetchable) [size=64K]
    Capabilities: <access denied>
    Kernel driver in use: xhci_hcd
    Kernel modules: xhci_pci

00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Thermal Subsystem (rev 31)
    Subsystem: Micro-Star International Co., Ltd. [MSI] 100 Series/C230 Series Chipset Family Thermal Subsystem
    Flags: fast devsel, IRQ 18
    Memory at df330000 (64-bit, non-prefetchable) [size=4K]
    Capabilities: <access denied>
    Kernel driver in use: intel_pch_thermal
    Kernel modules: intel_pch_thermal

00:15.0 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Serial IO I2C Controller #0 (rev 31)
    Subsystem: Micro-Star International Co., Ltd. [MSI] 100 Series/C230 Series Chipset Family Serial IO I2C Controller
    Flags: bus master, fast devsel, latency 0, IRQ 16
    Memory at df32f000 (64-bit, non-prefetchable) [size=4K]
    Capabilities: <access denied>
    Kernel driver in use: intel-lpss
    Kernel modules: intel_lpss_pci

00:15.1 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Serial IO I2C Controller #1 (rev 31)
    Subsystem: Micro-Star International Co., Ltd. [MSI] 100 Series/C230 Series Chipset Family Serial IO I2C Controller
    Flags: bus master, fast devsel, latency 0, IRQ 17
    Memory at df32e000 (64-bit, non-prefetchable) [size=4K]
    Capabilities: <access denied>
    Kernel driver in use: intel-lpss
    Kernel modules: intel_lpss_pci

00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)
    Subsystem: Micro-Star International Co., Ltd. [MSI] 100 Series/C230 Series Chipset Family MEI Controller
    Flags: bus master, fast devsel, latency 0, IRQ 128
    Memory at df32d000 (64-bit, non-prefetchable) [size=4K]
    Capabilities: <access denied>
    Kernel driver in use: mei_me
    Kernel modules: mei_me

00:17.0 SATA controller: Intel Corporation Q170/Q150/B150/H170/H110/Z170/CM236 Chipset SATA Controller [AHCI Mode] (rev 31) (prog-if 01 [AHCI 1.0])
    Subsystem: Micro-Star International Co., Ltd. [MSI] Q170/Q150/B150/H170/H110/Z170/CM236 Chipset SATA Controller [AHCI Mode]
    Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 125
    Memory at df328000 (32-bit, non-prefetchable) [size=8K]
    Memory at df32c000 (32-bit, non-prefetchable) [size=256]
    I/O ports at f090 [size=8]
    I/O ports at f080 [size=4]
    I/O ports at f060 [size=32]
    Memory at df32b000 (32-bit, non-prefetchable) [size=2K]
    Capabilities: <access denied>
    Kernel driver in use: ahci
    Kernel modules: ahci

00:1d.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #9 (rev f1) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0, IRQ 121
    Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
    Capabilities: <access denied>
    Kernel driver in use: pcieport

00:1d.2 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #11 (rev f1) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0, IRQ 122
    Bus: primary=00, secondary=03, subordinate=04, sec-latency=0
    Memory behind bridge: df200000-df2fffff
    Capabilities: <access denied>
    Kernel driver in use: pcieport

00:1d.3 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #12 (rev f1) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0, IRQ 123
    Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
    I/O behind bridge: 0000d000-0000dfff
    Memory behind bridge: df100000-df1fffff
    Capabilities: <access denied>
    Kernel driver in use: pcieport

00:1f.0 ISA bridge: Intel Corporation B150 Chipset LPC/eSPI Controller (rev 31)
    Subsystem: Micro-Star International Co., Ltd. [MSI] B150 Chipset LPC/eSPI Controller
    Flags: bus master, medium devsel, latency 0

00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)
    Subsystem: Micro-Star International Co., Ltd. [MSI] 100 Series/C230 Series Chipset Family Power Management Controller
    Flags: fast devsel
    Memory at df324000 (32-bit, non-prefetchable) [disabled] [size=16K]

00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
    Subsystem: Micro-Star International Co., Ltd. [MSI] 100 Series/C230 Series Chipset Family HD Audio Controller
    Flags: bus master, fast devsel, latency 32, IRQ 129
    Memory at df320000 (64-bit, non-prefetchable) [size=16K]
    Memory at df300000 (64-bit, non-prefetchable) [size=64K]
    Capabilities: <access denied>
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel

00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
    Subsystem: Micro-Star International Co., Ltd. [MSI] 100 Series/C230 Series Chipset Family SMBus
    Flags: medium devsel, IRQ 16
    Memory at df32a000 (64-bit, non-prefetchable) [size=256]
    I/O ports at f040 [size=32]
    Kernel driver in use: i801_smbus
    Kernel modules: i2c_i801

01:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1660 Ti] (rev a1) (prog-if 00 [VGA controller])
    Subsystem: Gigabyte Technology Co., Ltd TU116 [GeForce GTX 1660 Ti Rev. A]
    Flags: bus master, fast devsel, latency 0, IRQ 130
    Memory at de000000 (32-bit, non-prefetchable) [size=16M]
    Memory at c0000000 (64-bit, prefetchable) [size=256M]
    Memory at d0000000 (64-bit, prefetchable) [size=32M]
    I/O ports at e000 [size=128]
    [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: nvidia
    Kernel modules: nvidia

01:00.1 Audio device: NVIDIA Corporation TU116 High Definition Audio Controller (rev a1)
    Subsystem: Gigabyte Technology Co., Ltd Device 3fbe
    Flags: bus master, fast devsel, latency 0, IRQ 17
    Memory at df080000 (32-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel

01:00.2 USB controller: NVIDIA Corporation TU116 USB 3.1 Host Controller (rev a1) (prog-if 30 [XHCI])
    Subsystem: Gigabyte Technology Co., Ltd Device 3fbe
    Flags: bus master, fast devsel, latency 0, IRQ 126
    Memory at d2000000 (64-bit, prefetchable) [size=256K]
    Memory at d2040000 (64-bit, prefetchable) [size=64K]
    Capabilities: <access denied>
    Kernel driver in use: xhci_hcd
    Kernel modules: xhci_pci

01:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU116 USB Type-C UCSI Controller (rev a1)
    Subsystem: Gigabyte Technology Co., Ltd Device 3fbe
    Flags: bus master, fast devsel, latency 0, IRQ 11
    Memory at df084000 (32-bit, non-prefetchable) [size=4K]
    Capabilities: <access denied>

03:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 03) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0, IRQ 18
    Bus: primary=03, secondary=04, subordinate=04, sec-latency=32
    Memory behind bridge: df200000-df2fffff
    Capabilities: <access denied>

04:01.0 Ethernet controller: Qualcomm Atheros AR2413/AR2414 Wireless Network Adapter [AR5005G(S) 802.11bg] (rev 01)
    Subsystem: Qualcomm Atheros Compex Wireless 802.11 b/g  MiniPCI Adapter, Rev A1 [WLM54G]
    Flags: bus master, medium devsel, latency 168, IRQ 19
    Memory at df200000 (32-bit, non-prefetchable) [size=64K]
    Capabilities: <access denied>
    Kernel driver in use: ath5k
    Kernel modules: ath5k

05:00.0 Ethernet controller: Qualcomm Atheros Killer E2400 Gigabit Ethernet Controller (rev 10)
    Subsystem: Micro-Star International Co., Ltd. [MSI] Killer E2400 Gigabit Ethernet Controller
    Flags: bus master, fast devsel, latency 0, IRQ 19
    Memory at df100000 (64-bit, non-prefetchable) [size=256K]
    I/O ports at d000 [size=128]
    Capabilities: <access denied>
    Kernel driver in use: alx
    Kernel modules: alx

提前致谢

答案1

安装 Nvidia 专有驱动程序后,您应该有一个/etc/X11/xorg.conf.d/nvidia.conf文件(或可能是/etc/X11/xorg.conf文件)告诉 X11 服务器使用专有驱动程序 - 不幸的是,默认情况下,X11 服务器认为它应该使用该驱动程序仅有的

您必须Section "Device"向其中添加第二个块,同时指定英特尔驱动程序。

设备部分可能如下所示:

Section "Device"
    Identifier "IntegratedIntel"
    Driver "modesetting"
    BusID "PCI:00:02.0"
EndSection

您可能还需要一个 Screen 部分来将两个 Device 部分连接在一起:

Section "Screen"
    Identifier "nvidiaScreen"
    Device "DiscreteNvidia" # put the actual Identifier of your Nvidia GPU Device section here
    GPUDevice "IntegratedIntel"
EndSection

这告诉 Xorg X11 服务器,虽然它应该使用 Nvidia GPU 作为主要 GPU,但它也应该加载 Intel GPU 的驱动程序,因为您也想用它做一些事情。

假设您已安装适当的 X.org 驱动程序包,现在您应该看到xrandr --listproviders将显示两个提供程序。然后,xrandr --setprovideroutputsource 1 0(即“让输出提供商 1 使用提供商 0 作为来源) 命令应在两个 GPU 之间建立连接。如果成功,xrandr在没有任何参数的情况下,应该显示两个 GPU 的连接器和连接到它们的显示器。

然后,只需指定您想要对第二个显示器执行的操作:它是否要复制第一个显示器显示的内容(例如用于演示),或者是否要用于扩展桌面,如果是后者,第二个显示器相对于第一个显示器的物理位置在哪里。

相关内容