diff --git a/pi4/files/etc/X11/xorg.conf.d/10-headless.conf b/pi4/files/etc/X11/xorg.conf.d/10-headless.conf index e79d435..fe2434e 100644 --- a/pi4/files/etc/X11/xorg.conf.d/10-headless.conf +++ b/pi4/files/etc/X11/xorg.conf.d/10-headless.conf @@ -1,20 +1,32 @@ +Section "ServerLayout" + Identifier "Layout0" + Screen 0 "Screen0" +EndSection + Section "Monitor" - Identifier "dummy_monitor" - HorizSync 28.0-80.0 - VertRefresh 48.0-75.0 - Modeline "1920x1080" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 + Identifier "Monitor0" + Option "DPMS" "true" + HorizSync 28.0-80.0 + VertRefresh 48.0-75.0 + Modeline "1920x1080" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 EndSection - + Section "Device" - Identifier "dummy_card" - VideoRam 256000 - Driver "dummy" + Identifier "Card0" + # Try standard driver + Driver "modesetting" + # Fallback to dummy + Option "FallbackDriver" "dummy" + VideoRam 256000 EndSection - + Section "Screen" - Identifier "dummy_screen" - Device "dummy_card" - Monitor "dummy_monitor" - SubSection "Display" - EndSubSection + Identifier "Screen0" + Device "Card0" + Monitor "Monitor0" + DefaultDepth 24 + SubSection "Display" + Depth 24 + Modes "1920x1080" + EndSubSection EndSection