onsdag den 22. juli 2009

xorg.conf revisited

A long time ago we bought a cheap LCD for our living room. A long time ago I found a way to configure one of the numerous Linux-boxes that was attached to it such that it would run with a screen resolution close to its native resolution of 1366x768. This xorg.conf file was lost along the way - and for a long time we have lived with what the EDID of the screen had to say about it: 1280x1024. For a long time we have changed the aspect ratio on all videos being played on this linux box.

Today no more!


Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "glx"
EndSection

Section "Monitor"
Identifier "Hisense"
Modeline "1360x768" 85.500 1360 1424 1536 1792 768 771 777 795 +Hsync +Vsync
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
Option "ExactModeTimingsDVI" "true"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Hisense"
SubSection "Display"
Depth 24
Modes "1360x768"
EndSubSection
EndSection