Hopefully use connected screen to display video if available, fall back to dummy driver if not found.
This commit is contained in:
parent
9cc539a6e4
commit
1658a53081
@ -1,20 +1,32 @@
|
|||||||
|
Section "ServerLayout"
|
||||||
|
Identifier "Layout0"
|
||||||
|
Screen 0 "Screen0"
|
||||||
|
EndSection
|
||||||
|
|
||||||
Section "Monitor"
|
Section "Monitor"
|
||||||
Identifier "dummy_monitor"
|
Identifier "Monitor0"
|
||||||
HorizSync 28.0-80.0
|
Option "DPMS" "true"
|
||||||
VertRefresh 48.0-75.0
|
HorizSync 28.0-80.0
|
||||||
Modeline "1920x1080" 172.80 1920 2040 2248 2576 1080 1081 1084 1118
|
VertRefresh 48.0-75.0
|
||||||
|
Modeline "1920x1080" 172.80 1920 2040 2248 2576 1080 1081 1084 1118
|
||||||
EndSection
|
EndSection
|
||||||
|
|
||||||
Section "Device"
|
Section "Device"
|
||||||
Identifier "dummy_card"
|
Identifier "Card0"
|
||||||
VideoRam 256000
|
# Try standard driver
|
||||||
Driver "dummy"
|
Driver "modesetting"
|
||||||
|
# Fallback to dummy
|
||||||
|
Option "FallbackDriver" "dummy"
|
||||||
|
VideoRam 256000
|
||||||
EndSection
|
EndSection
|
||||||
|
|
||||||
Section "Screen"
|
Section "Screen"
|
||||||
Identifier "dummy_screen"
|
Identifier "Screen0"
|
||||||
Device "dummy_card"
|
Device "Card0"
|
||||||
Monitor "dummy_monitor"
|
Monitor "Monitor0"
|
||||||
SubSection "Display"
|
DefaultDepth 24
|
||||||
EndSubSection
|
SubSection "Display"
|
||||||
|
Depth 24
|
||||||
|
Modes "1920x1080"
|
||||||
|
EndSubSection
|
||||||
EndSection
|
EndSection
|
||||||
|
Loading…
Reference in New Issue
Block a user