Brice Goglin <[EMAIL PROTECTED]> writes:

> You can also do that in xorg.conf using ModeLine and PreferredMode as
> explained in the HowToRandR12.

Ah, thank you.

> Does it help if you use a "common" resolution such as 1280x1024 or
> 1024x768 instead of 1368x1024?

Well yes, but now when switching to another virtual console and
back to X, I occasionally get crashes that I did not get with the
older X server and mga driver.  The screen fills with thin
colourful vertical stripes.  I press SysRq+S (sync) and SysRq+U
(remount readonly), and the disk makes a sound.  But then I press
SysRq+B and the computer does not reboot.

I could connect a serial console if you think that would help.
### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
#   dpkg-reconfigure xserver-xfree86
# as root.  Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.

Section "Module"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
#       Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "record"
        Load    "type1"
        Load    "vbe"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc102"
        Option          "XkbLayout"     "fi"
EndSection

### END DEBCONF SECTION

Section "Files"
        FontPath        "unix/:7100"                    # local font server
        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "InputDevice"
        Identifier      "mice"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ExplorerPS/2"
        Option          "ZAxisMapping"          "4 5"
EndSection

Section "Device"
        Identifier      "mga"
        Driver          "mga"
        BusID           "PCI:1:0:0"
        Option          "Monitor-VGA1"  "Generic Monitor"
        Option          "Monitor-VGA2"  "HP"
        Option          "HWCursor"      "off"
EndSection

Section "Monitor"
        Identifier      "Generic Monitor"
        Option          "PreferredMode" "1280x1024"
EndSection

Section "Monitor"
        Identifier      "HP"
        VendorName      "Hewlett Packard"
        ModelName       "A1097C"
        HorizSync       70-80
        VertRefresh     70-75
        DisplaySize     380 280
#       ModeLine "1368x1024" 143.96 1368 1432 1583 1830  1024 1025 1033 1091 
+hsync +vsync
#       ModeLine "1280x1024" 135.00 1280 1352 1496 1720  1024 1025 1033 1091 
+hsync +vsync
        ModeLine "1280x1024" 135.00 1280 1336 1480 1720  1024 1025 1033 1091 
+hsync +vsync
#       ModeLine "1280x960"  122    1280 1360 1504 1664   960  960  963 1023
#       ModeLine  "680x512"   72.03  680  707  784  908   512  513  524  537 
+hsync +vsync doublescan
        ModeLine  "680x512"   72.03  680  700  777  908   512  513  524  537 
+hsync +vsync doublescan
        ModeLine  "640x512"   67.5   640  670  742  858   512  513  515  533 
+hsync +vsync doublescan
        Option          "DPMS"          "Off"
        Option          "RightOf"       "Generic Monitor"
EndSection

Section "Screen"
        Identifier      "mgascr"
        Device          "mga"
        Monitor         "Generic Monitor"
        DefaultDepth    16
        SubSection      "Display"
                Depth           16
                Virtual         2560 1024
        EndSubSection
EndSection

Section "ServerFlags"
        Option          "DontZap"       "true"
        Option          "DefaultServerLayout"   "mgadual"
EndSection

Section "ServerLayout"
        Identifier      "mgadual"
        Screen          "mgascr"
        InputDevice     "Generic Keyboard"
#       InputDevice     "mice"
        Option          "NoPM"  "true"
EndSection

Attachment: pgp8MabsnTA7B.pgp
Description: PGP signature

Reply via email to