Nvidia X 服务器 Xorg 文件禁用第二台显示器选项

Nvidia X 服务器 Xorg 文件禁用第二台显示器选项

我将强制完整合成选项更改为选中以解决屏幕撕裂问题。但是如果我更改此设置,nvidia x serrver 会生成 xorg.conf 文件,并且此文件会禁用我的第二台显示器。如果我删除 xorg 并重新启动,则所有问题都解决了,无需强制合成。现在附加的 xorg 信息是强制合成检查,第二台显示器无法识别。华硕是我的外置显示器,我的内置显示器是 hp pavilion 1bv33ea 笔记本电脑显示器 -> 在创建 xconf 后立即出现这种情况。那么我如何手动将我的其他显示器添加到此 xconf 文件中?

在强制组合检查之前,/etc/X11 中没有 xorg 文件

在此处输入图片描述

强制组合检查后,/etc/X11 中出现 xorg 文件 在此处输入图片描述

# 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"
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      "AUS ASUS VP228"
    HorizSync       24.0 - 83.0
    VertRefresh     48.0 - 75.0
    Option         "DPMS"
EndSection

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

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

相关内容