为 Nvidia 生成 xorg.conf 后,仅辅助显示功能正常

为 Nvidia 生成 xorg.conf 后,仅辅助显示功能正常

我在带有板载 Nvidia GPU 的笔记本电脑上运行 Pop!_OS。和往常一样,我的辅助显示器在使用 Nvidia Linux 驱动程序时出现屏幕撕裂问题。这是通过启用强制完整组合管道来修复的。我将以下几行添加到我的 xorg.conf 中。

Option         "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
Option         "AllowIndirectGLXProtocal" "off"
Option         "TripleBuffer" "on"

重新启动后,只有通过 HDMI 连接的第二台显示器(但主显示器)正在运行。我认为这可能与我的笔记本电脑显示屏是 PRIME 显示屏有关。我相信即使从 nvidia 服务器设置中手动保存任何类型的 xorg.conf 也会导致此问题。那么,为什么只有生成了 xorg.conf 才会出现此问题?这是我的整个 xorg.conf 文件:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 440.82

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
    Option         "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
    Option         "AllowIndirectGLXProtocal" "off"
    Option         "TripleBuffer" "on"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "VIZ E241-A1"
    HorizSync       30.0 - 70.0
    VertRefresh     58.0 - 76.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 1060"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

谢谢,

相关内容