feat: RDtop RustDesk headless fallback for Intel iGPU

- Adds VIRTUAL1 as permanent primary output via modesetting driver
- HDMI1 set as clone (--same-as) of VIRTUAL1
- hdmi-fallback.sh script monitors drm connector status
- systemd user unit auto-creates VIRTUAL1 and switches on hotplug loss
- Xorg fallback guarantees 1920x1080 framebuffer without HDMI
- Includes xserver-xorg-video-dummy as backup driver
This commit is contained in:
Deploy Bot
2026-05-13 23:49:15 +01:00
commit 4d4b04d7bb
5 changed files with 628 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
[Unit]
Description=HDMI to VIRTUAL1 Fallback Monitor
After=graphical-session.target
[Service]
Type=simple
ExecStart=%h/.local/bin/hdmi-fallback.sh
Restart=always
RestartSec=5
Environment="DISPLAY=:0"
[Install]
WantedBy=default.target

View File

@@ -0,0 +1,22 @@
# Fallback Xorg config: guarantee a framebuffer even without HDMI
Section "Device"
Identifier "AutoDevice"
Driver "modesetting"
EndSection
Section "Monitor"
Identifier "AutoMonitor"
Option "DPMS" "false"
EndSection
Section "Screen"
Identifier "AutoScreen"
Device "AutoDevice"
Monitor "AutoMonitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Virtual 1920 1080
Modes "1920x1080"
EndSubSection
EndSection