Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: dancaer69 on 19 August 2020, 08:21:01

Title: Use different xorg config file to disable 2nd monitor
Post by: dancaer69 on 19 August 2020, 08:21:01
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?