Juan Valencia's Website

xorg.conf configuration for a H770 series monitor

Just in case someone else need it (or in case I need it in the future). It is not a modern monitor, so it is not automatically configured.

First of all, a new xorg.conf needs to be created if there isn't one. As root, and without the graphic environment running, use:

Xorg -configure

This will create a new file called xorg.conf.new in the /root directory. The file will have the sections Monitor and Screen. In the section Monitor add the parameters HorizSync and VertRefresh:

    Section "Monitor"
            Identifier   "Monitor0"
            VendorName   "Monitor Vendor"
            ModelName    "Monitor Model"
            HorizSync    30-70
            VertRefresh  50-160

    EndSection

And in the section Screen, add the DefaultDepth parameter, and under the subsection Display that corresponds to the Depth of 24 (as we will be configuring this as the default depth) add the Modes parameter:

    Section "Screen"
            Identifier "Screen0"
            Device     "Card0"
            Monitor   "Monitor0"
            DefaultDepth   24
            SubSection "Display"
                    Viewport   0 0
                    Depth     24
                    Modes     "1280x960"
            EndSubSection
    EndSection

The monitor H770 supports 1280x1024, however, due to the proportions (as it is a 4:3 monitor) I use 1280x960 for the resolution.

Once you are done editing the file, save it and test the new resolution using:

Xorg -config /root/xorg.conf.new -retro

You should see a grey grid and a X mouse cursor in the screen if the configuration works. Exit the test with CTRL+ALT+BACKSPACE if you are using Xorg 7.3 or below, or CTRL+ALT+Fn (such as F1) to switch to the virtual console used to start the test for Xorg versions 7.4 and above.

And finally, if the test was successful, copy the new xorg.conf file into /etc/X11:

cp /root/xorg.conf.new /etc/X11/xorg.conf

This HorizSync and VertRefresh values work for the entire H770 series: