듀얼 GPU xorg.conf는 하나의 GPU에서 XScreen을 무시하고 xrandr을 사용합니다.

듀얼 GPU xorg.conf는 하나의 GPU에서 XScreen을 무시하고 xrandr을 사용합니다.

듀얼 GPU X11은 xorg를 사용하여 작업 부하와 화면을 분리합니다. 2개의 GPU 3개의 스크린/모니터. 원래

GPU 0 => XScreen 0.0 => 모니터 0(왼쪽)

GPU 1 => XScreen 0.1 => 모니터 1(가운데)

GPU 0 => XScreen 0.2 => 모니터 2(오른쪽)

이것을 설정했을 때 시스템은 2개의 XScreen(각 GPU당 하나씩)만 인식한 다음 측면 화면을 함께 클러스터링하여 레이아웃을 망쳤습니다.

왜 이런 일이 발생하는지에 대한 의견을 주시면 감사하겠습니다.

Section "ServerLayout"
    Identifier     "PootSlap"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    Screen      2  "Screen2" RightOf "Screen1"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option “Xinerama” “0”
EndSection

Section "Module"
    Load  "glx"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option      "Protocol" "auto"
    Option      "Device" "/dev/input/mice"
    Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "ACR"
    ModelName      "Acer G246HYL"
    HorizSync       31.0 - 75.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "ACR"
    ModelName      "Acer SA270"
    HorizSync       31.0 - 84.0
    VertRefresh     48.0 - 76.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor2"
    VendorName     "ACR"
    ModelName      "Acer G247HYL"
    HorizSync       31.0 - 75.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "amdgpu"
    BusID       "PCI:48:0:0"
EndSection

Section "Device"
    Identifier  "Card1"
    Driver      "nvidia"
    BusID       "PCI:16:0:0"
EndSection

Section "Device"
    Identifier  "Card2"
    Driver      "amdgpu"
    BusID       "PCI:48:0:1"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
        Option     "metamodes" "DisplayPort-0: 1920x1080_60 +0+0"
    SubSection "Display"
        Depth     24
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen1"
    Device     "Card1"
    Monitor    "Monitor1"
        Option     "metamodes" "DFP-3: 1920x1080_75 +0+0"
    SubSection "Display"
        Depth     24
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen2"
    Device     "Card2"
    Monitor    "Monitor2"
        Option     "metamodes" "HDMI-A-0: 1920x1080_60 +0+0"
    SubSection "Display"
        Depth     24
    EndSubSection
EndSection

답변1

각 장치 섹션에 화면 설정을 추가해 보세요.

Section "Device"
    Identifier  "Card0"
    Driver      "amdgpu"
    BusID       "PCI:48:0:0"
    Screen      0
EndSection

Section "Device"
    Identifier  "Card1"
    Driver      "nvidia"
    BusID       "PCI:16:0:0"
    Screen      1
EndSection

Section "Device"
    Identifier  "Card2"
    Driver      "amdgpu"
    BusID       "PCI:48:0:1"
    Screen      2
EndSection

비슷한 설정이 있는데 이것이 눈에 띄는 유일한 차이점입니다.

관련 정보