Subject: X11 problems
To: None <port-i386@NetBSD.ORG>
From: Mike Long <mike.long@analog.com>
List: port-i386
Date: 02/27/1995 00:43:27
I recently downloaded and installed the NetBSD 1.0 XFree86 3.1.1
packages.  I'm having some problems getting my configuration working
right, though; whenever I start X I get a screen that looks like I'm
viewing it through a Death Valley afternoon (very wavy).  Also, I
can't seem to change my display resolution with the
Ctrl-Alt-keypad-plus and -minus key combinations.

My hardware is a Gateway 2000 66V computer with GW2k's OEM version of
the ATI Graphics Ultra Pro (Mach32) video card.  My monitor is a Nanao
F550i-W.  I've included my XF86Config file below.  I got the Modeline
settings in the F550i-W Monitor section directly from my monitor's
manual.

If this is not the most appropriate place to ask X11 questions, please
let me know where I should go instead.

======================================================================
# $XConsortium: XF86Conf.cpp,v 1.5 95/01/16 13:16:10 kaleb Exp $
# $XFree86: xc/programs/Xserver/hw/xfree86/XF86Conf.cpp,v 3.11 1995/01/28 15:46:18 dawes Exp $
#
# Copyright (c) 1994 by The XFree86 Project, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
# 
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# 
# Except as contained in this notice, the name of the XFree86 Project shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from the
# XFree86 Project.
#

# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of 
# this file. This man page is installed as /usr/X11R6/man/cat5/XF86Config.0 
# **********************************************************************

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

    RgbPath	"/usr/X11R6/lib/X11/rgb"

    FontPath	"/usr/X11R6/lib/X11/fonts/misc/"
#   FontPath	"/usr/X11R6/lib/X11/fonts/Type1/"
#   FontPath	"/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/"
#   FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

#    NoTrapSignals

#    DontZap

#    DontZoom

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Keyboard section
# **********************************************************************

Section "Keyboard"

    Protocol	"Standard"

    AutoRepeat	500 5

#    ServerNumLock

#    Xleds      1 2 3

#    LeftAlt     Meta
#    RightAlt    ModeShift
#    RightCtl    Compose
#    ScrollLock  ModeLock

EndSection


# **********************************************************************
# Pointer section
# **********************************************************************

Section "Pointer"

    Protocol	"Microsoft"
    Device	"/dev/tty01"

    Emulate3Buttons

EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

#From: Mark_Weaver@brown.edu (Mark_Weaver@brown.edu)
#Date: Mon, 19 Sep 1994 14:59:09 -0400
Section "Monitor"
    Identifier "Nanao F550i"
    VendorName "Nanao"
    ModelName "F550i"
    BandWidth 100.0     # Just a guess
    HorizSync 30-66     # WARNING: not correct, be careful
    VertRefresh 40-130  # WARNING: not correct, be careful
    ModeLine "640x480" 25 640 664 760 800 480 491 493 525
    ModeLine "640x480" 31 640 664 704 832 480 489 492 520
    ModeLine "640x480" 40 640 704 832 904 480 530 542 615
    ModeLine "800x600" 45 800 856 976 1040 600 637 643 666
    ModeLine "1024x768s" 65 1024 1032 1176 1344 768 771 777 806
    ModeLine "1024x768" 75 1024 1048 1184 1328 768 771 777 806
    ModeLine "1152x900s" 65 1152 1168 1312 1400 900 901 907 935 Interlace
    ModeLine "1152x900i" 80 1152 1168 1384 1440 900 901 907 945 interlace
    ModeLine "1280x1024i" 110 1280 1328 1482 1682 1024 1025 1035 1085 interlace
   ModeLine "1280x1024" 110 1280 1328 1482 1682 1024 1025 1028 1054
EndSection

Section "Monitor"
    Identifier "Nanao F550i-W"
    VendorName "Nanao"
    ModelName "F550i-W"
    BandWidth 80
    HorizSync 27-65
    VertRefresh 55-90
    ModeLine   "640x480" 25  640  656  752  800 480 490 492 525 -HSync -VSync
    ModeLine  "640x480m" 30  640  704  768  864 480 483 486 525 Composite
    ModeLine   "800x600" 50  800  856  976 1040 600 637 643 666 +HSync +VSync
    ModeLine  "1024x768" 75 1024 1048 1184 1328 768 771 777 806 +HSync +VSync

EndSection
 
# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

#From: Mark_Weaver@brown.edu (Mark_Weaver@brown.edu)
#Date: Mon, 19 Sep 1994 14:59:09 -0400
Section "Device"
    Identifier "ATI-GUP"
    VendorName "ATI"
    BoardName  "Graphics Ultra Pro"
    Chipset    "mach32"
    MemBase    0x4000000
    Clocks 100.3 126.1  92.3 36.1 50.4 56.7  0.0 44.9
	   135.0  32.0 109.9 80.0 39.9 44.9 75.0 64.9
	    50.1  63.0  46.2 18.1 25.175 28.4  0.0 22.5
	    67.6  16.0  54.9 40.0 20.0 22.4 37.5 32.5
    Option "dac_8_bit"
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# The accelerated servers (S3, Mach32, Mach8, 8514, P9000, AGX, W32)

Section "Screen"
    Driver	"accel"
    Device	"ATI-GUP"
    Monitor	"Nanao F550i-W"
    Subsection  "Display"
        Depth	    8
        Modes	    "640x480"
        Modes	    "800x600"
        Modes	    "1024x768"
        ViewPort    0 0
        Virtual	    1280 1024
    EndSubsection
    SubSection  "Display"
        Depth	    16
        Weight	    565
        Modes	    "640x480"
        ViewPort    0 0
        Virtual	    1024 768
    EndSubsection
EndSection
======================================================================
-- 
Mike Long <mike.long@analog.com>       PGP 2.6.2 public key signature:
VLSI Design Engineer                  CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Analog Devices, CPD Division
Norwood, MA 02062 USA                assert(*this!=opinionof(Analog));