Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Use of different xorg config file to disable 2nd monitor (Read 758 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] Use of different xorg config file to disable 2nd monitor

I'm trying to create a separate xorg config file to use in a second xserver. The problem is that I want this config to enable one monitor and don't use the second at all, but somehow still both are enabled when xserver runs.
contents of xorg-games.conf:
Code: [Select]
Section "Device"
    Identifier "Card0"
    Driver "amdgpu"
    BusID  "PCI:1:0:0"
    Option "DRI" "3"
    Screen 0
EndSection

Section "Monitor"
 Identifier  "HDMI-A-0"
 VendorName  "Monitor Vendor"
 ModelName    "Monitor Model"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device    "Card0"
    Monitor    "HDMI-A-0"
    Option "PreferredMode" "1920x1080"
EndSection

Section "ServerLayout"
    Identifier "Main"
    Screen 0  "Screen0"
EndSection
I have only one monitor defined there, but amdgpu driver automatic enables both. How to prevent that?
EDIT:
I found that need to add the second monitor also and use Option "ignore" "true" to disable it.