Xorg / Hanns-G HW191 / Intel i810

There isn't a builtin ModeLine for this configuration in the version of Xorg that comes with Slackware 12.0. If you don't tweak xorg.conf at all, you will probably get 1024x768, stretched wide. If you try some of the ModeLines suggested by the online ModeLine generators, you will end up with black bars at the edges and a fuzzy image.

The following configuration works for me. It will probably work for any Intel i810-ish graphics chipset.

915resolution

Download and install 915resolution <http://915resolution.mango-lang.org/>.

Replace one of the existing vesa modes. Choose any one, I happened to choose 4d. The 1440 and 900 are the desired resolution, and the 32 is the color depth. You'll see where the 1904 and 934 come from later.

# 915resolution 4d 1440 900 32 1904 934

Since the changes made by 915resolution do not survive a reboot, you'll need to run this on every boot. I put it in /etc/rc.d/rc.local.

xorg.conf

Section "Screen"
        Identifier "Screen-Office"
        Device     "Card-Office"
        Monitor    "Monitor-Office"
        DefaultDepth 24
        SubSection "Display"
                Depth 24
                Modes "1440x900"
        EndSubSection
EndSection

Section "Device"
        Identifier  "Card-Office"
        Driver      "i810"
        VendorName  "Intel"
        BoardName   "82865G"
EndSection

Section "Monitor"
        Identifier   "Monitor-Office"
        VendorName   "Hanns.G"
        ModelName    "HW191"
        DisplaySize  408 255
        HorizSync    55.935
        VertRefresh  59.887
        Option       "DPMS"
        ModeLine     "1440x900" 106.5 1440 1520 1672 1904 900 903 909 934
EndSection

The exact HorizSync and VertRefresh values were taken from the monitor owner's manual.

The DisplaySize and ModeLine values were taken from the information output logged to /var/log/Xorg.0.log when X started up:

(II) I810(0): clock: 106.5 MHz   Image Size:  408 x 255 mm
(II) I810(0): h_active: 1440  h_sync: 1520  h_sync_end 1672 h_blank_end 1904 h_border: 0
(II) I810(0): v_active: 900  v_sync: 903  v_sync_end 909 v_blanking: 934 v_border: 0
(II) I810(0): Ranges: V min: 49  V max: 75 Hz, H min: 30  H max: 80 kHz, PixClock max 140 MHz
(II) I810(0): Monitor name: Hanns.G HW191