After trying different options it seems I need to use config like this:
Weirdly, though starting xdm now through systemctl doesn't work, but launching simple xdm or xinit via root works just fine from the console.
I'll investigate later and report back for the full fix of this issue.
EDIT: seems everything back to normal, I guess when you have multiple cards you need to specify BusID in the device section and also I've added DPMS setting in the monitor section. Thread can be closed.
Code:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
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"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1080"
BusID "PCI:130:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "AllowEmptyInitialConfiguration" "True"
Option "Coolbits" "12"
Option "ConnectedMonitor" "DFP-0"
# Option "RegistryDwords" "PerfLevelSrc=0x2222"
Option "Interactive" "False"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Weirdly, though starting xdm now through systemctl doesn't work, but launching simple xdm or xinit via root works just fine from the console.
I'll investigate later and report back for the full fix of this issue.
EDIT: seems everything back to normal, I guess when you have multiple cards you need to specify BusID in the device section and also I've added DPMS setting in the monitor section. Thread can be closed.