双显示器问题 - 登录屏幕上主板输出变为空白

双显示器问题 - 登录屏幕上主板输出变为空白

我有一块带有集成显卡的 Z97X-Gaming 3 主板,此外还有 NVIDIA RTX 2080Ti。

一个显示器连接到 NVIDIA HDMI 输出,另一个显示器连接到主板 DVI 输出,该输出为空白;最初,在登录屏幕之前,我可以看到输出文本 Ubuntu,但随后登录屏幕出现在另一个连接到 NVIDIA 显卡的显示器上,初始显示器变为空白。

我尝试修改 BIOS 设置,但所有尝试均未成功。

当前设置如下: 在此处输入图片描述

这些是显卡:

~ lspci -k | grep -EA3 'VGA|3D|Display'; uname -a
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
    Subsystem: Gigabyte Technology Co., Ltd Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
    Kernel driver in use: i915
    Kernel modules: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation GV102 (rev a1)
    Subsystem: ASUSTeK Computer Inc. Device 8667
    Kernel driver in use: nvidia
    Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
Linux helix 4.15.0-76-generic #86-Ubuntu SMP Fri Jan 17 17:24:28 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

如果有人能提供有关如何启用双输出的建议,我将不胜感激。

答案1

我通过编辑 xorg.conf 解决了这个问题。

我在其中添加了设备、屏幕和显示器的附加部分。修改后的与显示设置相关的部分现在如下所示:

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Philips"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "intel"
    VendorName     "Intel Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

相关内容