Skip to content

Instantly share code, notes, and snippets.

@pedrovasconcellos
Last active February 13, 2025 15:49
Show Gist options
  • Save pedrovasconcellos/279920f926fd1af609f12b413597d21b to your computer and use it in GitHub Desktop.
Save pedrovasconcellos/279920f926fd1af609f12b413597d21b to your computer and use it in GitHub Desktop.
Virtual Monitor Xorg
#sudo vim /etc/X11/xorg.conf.d/20-intel.conf
#FileContent
Section "Device"
Identifier "IntelGPU"
Driver "intel"
Option "AccelMethod" "sna"
# Option "TearFree" "true"
EndSection
#sudo vim /etc/X11/xorg.conf.d/99-dummy.conf
#FileContent
Section "Monitor"
Identifier "Monitor0"
HorizSync 28.0-100.0 # Expanded to support 75Hz
VertRefresh 48.0-75.0 # Already covers 75Hz
# Modeline generated with: cvt 1920 1080 75 --reduced
Modeline "1920x1080_75" 220.75 1920 2064 2272 2624 1080 1083 1088 1135 -HSync +VSync
Option "PreferredMode" "1920x1080_75"
EndSection
Section "Device"
Identifier "Card0"
Driver "dummy"
VideoRam 256000 # 250 MB (enough for 1080p@75Hz)
Option "IgnoreEDID" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080_75"
EndSubSection
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment