Hopefully use connected screen to display video if available, fall back to dummy driver if not found.

This commit is contained in:
Storm Dragon 2024-12-01 19:38:10 -05:00
parent 9cc539a6e4
commit 1658a53081

View File

@ -1,20 +1,32 @@
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
EndSection
Section "Monitor" Section "Monitor"
Identifier "dummy_monitor" Identifier "Monitor0"
Option "DPMS" "true"
HorizSync 28.0-80.0 HorizSync 28.0-80.0
VertRefresh 48.0-75.0 VertRefresh 48.0-75.0
Modeline "1920x1080" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 Modeline "1920x1080" 172.80 1920 2040 2248 2576 1080 1081 1084 1118
EndSection EndSection
Section "Device" Section "Device"
Identifier "dummy_card" Identifier "Card0"
# Try standard driver
Driver "modesetting"
# Fallback to dummy
Option "FallbackDriver" "dummy"
VideoRam 256000 VideoRam 256000
Driver "dummy"
EndSection EndSection
Section "Screen" Section "Screen"
Identifier "dummy_screen" Identifier "Screen0"
Device "dummy_card" Device "Card0"
Monitor "dummy_monitor" Monitor "Monitor0"
DefaultDepth 24
SubSection "Display" SubSection "Display"
Depth 24
Modes "1920x1080"
EndSubSection EndSubSection
EndSection EndSection