Subject: Mach32 server hangs on NetBSD-1.0beta
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Brian de Alwis <bsdealwi@undergrad.math.uwaterloo.ca>
List: current-users
Date: 11/27/1994 20:24:55
[ I originally sent this off to xfree86@xfree86.org, but have received
  no response. So I'm sending this to comp.windows.x.i386unix and to
  the NetBSD current-users lists.

  I had forgotten to include my XF86Config and the
  XF86_Mach32 -probeonly, so I'm appending it below.
]

Hey guys,

I'm having some problems with the XFree86 3.1 Mach32 server under
NetBSD-1.0beta (not the newly released 1.0). The OS is maybe a few days
more recent than the distributed XFree86 release.

After a few minutes, the entire server will lock up - nothing will
work. Unfortunately, I don't have a terminal, so I don't know if the
entire machine has hung. GhostView seems to cause an immediate hang,
but otherwise it will seemingly happen at random. This happens in
the 256 colour server - I haven't tried this in the 16bpp mode.

I'm sure it isn't the OS - I can run large and CPU-intensive applications
in non-X with no problems.

I thought I had seen mentions of similar problems in c.w.x.i386unix,
but they have been expired here.

My setup:

486-66 SLC (w/ co-processor)
8MB memory
2 IDE drives
Logitech serial mouse
ATI Graphics Ultra Plus (not the Pro) with 2MB memory
NetBSD 1.0-beta (from roughly Oct 16th)
XFree86 3.1

Please let me know if I can provide further assistance.

Thanks for your help.


XF86Config:
-----------------------------
# **********************************************************************
# 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/cat4/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/local/"
        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
EndSection

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

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

Section "Keyboard"

    Protocol	"Standard"

    AutoRepeat	500 5
    ServerNumLock

EndSection


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

Section "Pointer"

    Protocol	"Logitech"
    Device	"/dev/ttym0"

    # ChordMiddle is an option for some 3-button Logitech mice
    #    ChordMiddle

EndSection


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

# Any number of monitor sections may be present

Section "Monitor"
    Identifier "DayTek"
    VendorName "Daewoo"
    ModelName "Unknown"
    BandWidth   45.0
    HorizSync   15.5-50.0
    VertRefresh 39.0-90.0
    #BandWidth 45
    #HorizSync 31.5-50
    #VertRefresh 50-90
    ModeLine "1024x768ibsd"  45     1024 1040 1184 1272    768  774  776  813  Interlace
    ModeLine "1024x768bsd" 65 1024  936 1080 1344   768  771  777  806
    ModeLine "800x600bsd"  50  800  808  928 1040   600  637  643  666
    ModeLine "640x480"     31  640  664  704  832   480  489  492  520
    ModeLine "640x480"     25  640  664  760  800   480  491  493  525
    #ModeLine "1056x792i"   45 1056 1072 1224 1272   792  785  785  817  Interlace
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"
    Clocks 100 126 92 36 51 57 0 44 135 32 110 80 39 
	45 75 65 50 63 46 18 25 28 0 22 67 16 55 40 19 23 37 33
    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 "DayTek"
    Subsection  "Display"
        Depth	    8
        Modes       "1024x768bsd" "800x600bsd" # "1056x792i"
        ViewPort    0 0
        Virtual	    1024 768
    EndSubsection
    SubSection "Display"
        Depth	    16
        Weight	    565
        Modes       "1024x768ibsd"
        ViewPort    0 0
        Virtual	    1024 768
    EndSubsection
EndSection
-----------------------------

And this is the output of XF86_Mach32 -probeonly
-----------------------------
XFree86 Version 3.1 / X Window System
(protocol Version 11, revision 0, vendor release 6000)
Operating System: NetBSD 1.0_BETA 
Configured drivers:
  Mach32: accelerated server for ATI Mach32 graphics adaptors (Patchlevel 0)
Using pcvt driver (version 3.0)
(using VT number 5)

XF86Config: /usr/X11R6/lib/X11/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) Mouse: type: Logitech, device: /dev/ttym0, baudrate: 1200
(**) Mach32: Graphics device ID: "ATI-GUP"
(**) Mach32: Monitor ID: "DayTek"
Warning: The directory "/usr/X11R6/lib/X11/fonts/Type1/" does not exist.
         Entry deleted from font path.
Warning: The directory "/usr/X11R6/lib/X11/fonts/100dpi/" does not exist.
         Entry deleted from font path.
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/"
(**) Mach32: Option "dac_8_bit"
(--) Mach32: card type: ISA
(**) Mach32: Number of Clocks: 32
(**) Mach32: clocks: 100.00 126.00  92.00  36.00  51.00  57.00   0.00  44.00
(**) Mach32: clocks: 135.00  32.00 110.00  80.00  39.00  45.00  75.00  65.00
(**) Mach32: clocks:  50.00  63.00  46.00  18.00  25.00  28.00   0.00  22.00
(**) Mach32: clocks:  67.00  16.00  55.00  40.00  19.00  23.00  37.00  33.00
(--) Mach32: Maximum allowed dot-clock: 135.000 MHz
(**) Mach32: Mode "1024x768bsd": mode clock =  65.000, clock used =  65.000
(**) Mach32: Mode "800x600bsd": mode clock =  50.000, clock used =  50.000
(**) Mach32: Virtual resolution: 1024x768
(--) Mach32: videoram: 2048k
(--) Mach32: Using hardware cursor
(--) Mach32: Using 64 kb aperture
(--) Mach32: Ramdac is ATI68875/TLC34075/Bt885
(**) Mach32: Using 8 bits per RGB value
-----------------------------