[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

S3ViRGE probs/soln at high bpp & keymap question



hiya

i had some problems with xfree86 (debs, v 4.0.1-1) and a Genesis S3
ViRGE 86c325, and initially it only did 8bpp with the dexter generated
XF86Config-4. (XF86Config, XFree86 log and lspci -v | grep VGA are all
below). at higher bpps (16 and 24 at 1152x864 or whatever) i got
horizontal mangling. all settings are the same as for 3.3.6 otherwise.

fix for me was to try copying the 16bpp entry in XF86Config to a 15bpp
entry - this worked fine and gave me more than a couple hundred colours;
hope that helps anyone else having the same problem for the meantime. i
have another card of the same here which i can try if that's any help,
but this works for me at the moment.

i still can't get XFree86 to recognise my meta key however. have tried
installing a complete xmodmap file for a microsoft natural (which i
believe my kb to be a clone of, and this driver worked fine under 3.3.6)
in /etc/X11/Xmodmap and ~/.Xmodmap (and ~/.xmodmap-`uname -a` too), but
it doesn't seem to pick up. has anyone else had this problem and found a
cure?

i've currently got task-helix-gnome installed; apt-get install
task-x-window-system wants to remove task-helix-gnome and gdm and
friends so i haven't run it.

  [chris@athena ~]$ sudo apt-get -u install task-x-window-system
libglide3
  Reading Package Lists... Done
  Building Dependency Tree... Done
  The following extra packages will be installed:
    lbxproxy libdps-dev libdps1 libxaw7 proxymngr xdm xfonts-cyrillic
xfonts-pex
    xfwp xlibmesa-dev xlibmesa3 xlibosmesa-dev xlibosmesa3 xnest xprt
xspecs
    xvfb 
  The following packages will be REMOVED:
    gdm mesag3-glide2 quake-3dfx task-helix-core task-helix-gnome xproxy 
  The following NEW packages will be installed:
    lbxproxy libdps-dev libdps1 libglide3 libxaw7 proxymngr
task-x-window-system
    xdm xfonts-cyrillic xfonts-pex xfwp xlibmesa-dev xlibmesa3
xlibosmesa-dev
    xlibosmesa3 xnest xprt xspecs xvfb 
  0 packages upgraded, 19 newly installed, 6 to remove and 20 not
upgraded.
  Need to get 6429kB of archives. After unpacking 12.6MB will be used.
  Do you want to continue? [Y/n]

do i need the packages listed above to solve these problems at all?
can't see anything useful there but IANADPM ;)

cheers,

chris

[chris@athena ~]$ sudo lspci -v | grep VGA
00:08.0 VGA compatible controller: S3 Inc. 86c325 [ViRGE] (rev 06)
(prog-if 00 [VGA])
[chris@athena ~]$ cat /etc/X11/XF86Config-4
# File generated by xf86config.

# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of 
# this file.
# **********************************************************************

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"  	# Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA
extension
    EndSubSection

# This loads the Type1 and FreeType font modules
    Load        "type1"
    Load        "freetype"

# This loads the GLX module
## cmb changed this
    Load       "glx"

EndSection

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

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

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

# Multiple FontPath entries are allowed (which are concatenated
together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
# 
# If you don't have a floating point coprocessor and emacs, Mosaic or
other
# programs take long to start up, try moving the Type1 and Speedo
directory
# to the end of this list (or comment them out).
# 

#    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    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/"
## cmb changed this
    FontPath   "/usr/share/fonts/truetype/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

EndSection

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

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is 
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client. 

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings. 

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"

EndSection

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

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier	"Keyboard1"
    Driver	"Keyboard"
# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

#    Option     "Protocol"      "Xqueue"

    Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Option	"Xleds"      "1 2 3"

#    Option "LeftAlt"     "Meta"
#    Option "RightAlt"    "ModeShift"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#    Option "XkbModel"    "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#    Option "XkbModel"    "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#    Option "XkbLayout"   "de"
# or:
#    Option "XkbLayout"   "de"
#    Option "XkbVariant"  "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#    Option "XkbOptions"  "ctrl:swapcaps"

# These are the default XKB settings for XFree86
#    Option "XkbRules"    "xfree86"
#    Option "XkbModel"    "pc101"
#    Option "XkbLayout"   "us"
#    Option "XkbVariant"  ""
#    Option "XkbOptions"  ""

#    Option "XkbDisable"

    Option "XkbRules"	"xfree86"
    Option "XkbModel"	"microsoft"
    Option "XkbLayout"	"us"
## cmb changed this
    Option "XkbOptions" ""
#    Option "XkbOptions"	"grp:caps_toggle,ctrl:nocaps,grp_led:scroll"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"    "MouseSystems"
    Option "Device"      "/dev/gpmdata"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"	"Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"	"9600"
#    Option "SampleRate"	"150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

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

#    Option "ChordMiddle"

EndSection


# **********************************************************************
# Other input device sections 
# this is optional and is required only if you
# are using extended input devices.  This is for example only.  Refer
# to the XF86Config man page for a description of the options.
# **********************************************************************
#
# Section "InputDevice" 
#    Identifier  "Mouse2"
#    Driver      "mouse"
#    Option      "Protocol"      "MouseMan"
#    Option      "Device"        "/dev/mouse2"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball"
#    Driver     "magellan"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball2"
#    Driver     "spaceorb"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen0"
#    Driver     "microtouch"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "1412"
#    Option     "MaxX"          "15184"
#    Option     "MinY"          "15372"
#    Option     "MaxY"          "1230"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen1"
#    Driver     "elo2300"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "231"
#    Option     "MaxX"          "3868"
#    Option     "MinY"          "3858"
#    Option     "MaxY"          "272"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonThreshold"       "17"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection

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

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "Microvision17"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync   30-90

#    HorizSync	30-64         # multisync
#    HorizSync	31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync	15-25, 30-50  # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    VertRefresh 50-100

EndSection


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

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
    Identifier	"Standard VGA"
    VendorName	"Unknown"
    BoardName	"Unknown"

# The chipset line is optional in most cases.  It can be used to
override
# the driver's chipset detection, and should not normally be specified.

#    Chipset	"generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this
section.

    Driver     "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# intalled.

#    BusID      "PCI:0:10:0"

#    VideoRam	256

#    Clocks	25.2 28.3

EndSection

# Device configured by xf86config:

Section "Device"
    Identifier  "Genesis/S3-86c325"
    Driver      "s3virge"
#     Option	"noaccel"	"on"
    #VideoRam    4096
     #Option "xaa_benchmark"
     #Option "fifo_moderate"
     #Option "pci_burst_on"
     #Option "pci_retry"
    # Insert Clocks lines here if appropriate
EndSection


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

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen
section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "Genesis/S3-86c325"
    Monitor     "Microvision17"
## cmb changed this
    DefaultDepth 15

    Subsection "Display"
        Depth       8
        Modes       "1152x864" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
## cmb added this subsect
    Subsection "Display"
        Depth       15
        Modes       "1152x864" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1152x864" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1152x864" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

    Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

[chris@athena ~]$ cat /var/log/XFree86.0.log 
The -bpp option is no longer supported.
	Use -depth to set the color depth, and use -fbbpp if you really
	need to force a non-default framebuffer (hardware) pixel format.

XFree86 Version 4.0.1d / X Window System
(protocol Version 11, revision 0, vendor release 6400)
Release Date: 27 October 2000
	If the server is older than 6-12 months, or if your card is newer
	than the above date, look for a newer version before reporting
	problems.  (see http://www.XFree86.Org/FAQ)
Operating System: Linux 2.2.18pre15 i686 [ELF] 
Module Loader present
(==) Log file: "/var/log/XFree86.0.log", Time: Wed Nov  8 13:06:29 2000
(==) Using config file: "/etc/X11/XF86Config-4"
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (??) unknown.
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) |   |-->Monitor "Microvision17"
(**) |   |-->Device "Genesis/S3-86c325"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "microsoft"
(**) XKB: model: "microsoft"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(WW) Option "XkbOptions" requires an string value
(WW) `fonts.dir' not found (or not valid) in
"/usr/share/fonts/truetype/".
	Entry deleted from font path.
	(Run 'mkfontdir' on "/usr/share/fonts/truetype/").
(**) FontPath set to
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(++) using VT number 7

(II) Module ABI versions:
	XFree86 ANSI C Emulation: 0.1
	XFree86 Video Driver: 0.3
	XFree86 XInput driver : 0.1
	XFree86 Server Extension : 0.1
	XFree86 Font Renderer : 0.1
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
	compiled for 4.0.1d, module version = 1.0.0
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.1
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
	compiled for 4.0.1d, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.3
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1106,0598 card 0000,0000 rev 04 class 06,00,00
hdr 00
(II) PCI: 00:01:0: chip 1106,8598 card 0000,0000 rev 00 class 06,04,00
hdr 01
(II) PCI: 00:07:0: chip 1106,0586 card 0000,0000 rev 41 class 06,01,00
hdr 80
(II) PCI: 00:07:1: chip 1106,0571 card 0000,0000 rev 06 class 01,01,8a
hdr 00
(II) PCI: 00:07:3: chip 1106,3040 card 0000,0000 rev 10 class 06,80,00
hdr 00
(II) PCI: 00:08:0: chip 5333,5631 card 0000,0000 rev 06 class 03,00,00
hdr 00
(II) PCI: 00:09:0: chip 121a,0001 card 0000,0000 rev 02 class 04,00,00
hdr 00
(II) PCI: 00:0a:0: chip 1050,0940 card 0000,0000 rev 00 class 02,00,00
hdr 00
(II) PCI: End of PCI scan
(II) LoadModule: "scanpci"
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
	compiled for 4.0.1d, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.3
(II) UnloadModule: "scanpci"
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) Bus -1: bridge is at (0:0:0), (-1,-1,0), BCTRL: 0x00 (VGA_EN is
cleared)
(II) Bus -1 I/O range:
	[0] -1	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus -1 non-prefetchable memory range:
	[0] -1	0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus -1 prefetchable memory range:
	[0] -1	0x00000000 - 0xffffffff (0x0) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:7:0), (0,-1,0), BCTRL: 0x00 (VGA_EN is
cleared)
(II) Bus -1 I/O range:
(II) Bus -1 non-prefetchable memory range:
(II) Bus -1 prefetchable memory range:
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x04 (VGA_EN is
cleared)
(II) Bus 1 I/O range:
	[0] -1	0x0000d000 - 0x0000d0ff (0x100) IX[B]
	[1] -1	0x0000d400 - 0x0000d4ff (0x100) IX[B]
	[2] -1	0x0000d800 - 0x0000d8ff (0x100) IX[B]
	[3] -1	0x0000dc00 - 0x0000dcff (0x100) IX[B]
(II) Bus 1 non-prefetchable memory range:
(II) Bus 1 prefetchable memory range:
(--) PCI:*(0:8:0) S3 ViRGE rev 6, Mem @ 0xe8000000/26
(--) PCI: (0:9:0) 3Dfx Interactive Voodoo Graphics rev 2, Mem @
0xed000000/24
(II) Addressable bus resource ranges are
	[0] -1	0x00000000 - 0xffffffff (0x0) MX[B]
	[1] -1	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
	[0] -1	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0x00000000 - 0x000001ff (0x200) IX[B]E
(II) Active PCI resource ranges:
	[0] -1	0xe0000000 - 0xffffffff (0x20000000) MX[B]E
	[1] -1	0xed000000 - 0xedffffff (0x1000000) MX[B](B)
	[2] -1	0xec000000 - 0xec00ffff (0x10000) MX[B](B)
	[3] -1	0xe8000000 - 0xebffffff (0x4000000) MX[B](B)
	[4] -1	0x0000e800 - 0x0000e8ff (0x100) IX[B]E
	[5] -1	0x0000e000 - 0x0000e0ff (0x100) IX[B]E
(II) PCI Memory resource overlap reduced 0xe0000000 from 0xffffffff to
0xe7ffffff
(II) Active PCI resource ranges after removing overlaps:
	[0] -1	0xe0000000 - 0xe7ffffff (0x8000000) MX[B]E
	[1] -1	0xed000000 - 0xedffffff (0x1000000) MX[B](B)
	[2] -1	0xec000000 - 0xec00ffff (0x10000) MX[B](B)
	[3] -1	0xe8000000 - 0xebffffff (0x4000000) MX[B](B)
	[4] -1	0x0000e800 - 0x0000e8ff (0x100) IX[B]E
	[5] -1	0x0000e000 - 0x0000e0ff (0x100) IX[B]E
(II) OS-reported resource ranges after removing overlaps with PCI:
	[0] -1	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0x00000000 - 0x000001ff (0x200) IX[B]E
(II) All system resource ranges:
	[0] -1	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0xe0000000 - 0xe7ffffff (0x8000000) MX[B]E
	[6] -1	0xed000000 - 0xedffffff (0x1000000) MX[B](B)
	[7] -1	0xec000000 - 0xec00ffff (0x10000) MX[B](B)
	[8] -1	0xe8000000 - 0xebffffff (0x4000000) MX[B](B)
	[9] -1	0x00000000 - 0x000001ff (0x200) IX[B]E
	[10] -1	0x0000e800 - 0x0000e8ff (0x100) IX[B]E
	[11] -1	0x0000e000 - 0x0000e0ff (0x100) IX[B]E
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
	compiled for 4.0.1d, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
	compiled for 4.0.1d, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension DPMS
(II) Loading extension FontCache
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
	compiled for 4.0.1d, module version = 1.0.0
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.1
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="The XFree86 Project"
	compiled for 4.0.1d, module version = 1.1.7
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.1
(II) Loading font FreeType
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
	compiled for 4.0.1d, module version = 1.0.0
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="The XFree86 Project"
	compiled for 4.0.1d, module version = 1.0.0
	ABI class: XFree86 Server Extension, version 0.1
(II) LoadModule: "s3virge"
(II) Loading /usr/X11R6/lib/modules/drivers/s3virge_drv.o
(II) Module s3virge: vendor="The XFree86 Project"
	compiled for 4.0.1d, module version = 1.3.0
	Module class: XFree86 Video Driver
	ABI class: XFree86 Video Driver, version 0.3
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
	compiled for 4.0.1d, module version = 1.0.0
	Module class: XFree86 XInput Driver
	ABI class: XFree86 XInput driver, version 0.1
	S3VIdentify
(II) S3VIRGE: driver (version 1.3.0) for S3 ViRGE chipsets: virge,
86C325,
	virge vx, 86C988, virge dx, virge gx, 86C375, 86C385, virge gx2,
	86C357, virge mx, 86C260, virge mx+, 86C280, trio 3d, 86C365,
	trio 3d/2x, 86C362, 86C368
(II) Primary Device is: PCI 00:08:0
	S3VProbe begin
(--) Assigning device section with no busID to primary device
(--) Chipset virge found
(II) resource ranges after xf86ClaimFixedResources() call:
	[0] -1	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0xe0000000 - 0xe7ffffff (0x8000000) MX[B]E
	[6] -1	0xed000000 - 0xedffffff (0x1000000) MX[B](B)
	[7] -1	0xec000000 - 0xec00ffff (0x10000) MX[B](B)
	[8] -1	0xe8000000 - 0xebffffff (0x4000000) MX[B](B)
	[9] -1	0x00000000 - 0x000001ff (0x200) IX[B]E
	[10] -1	0x0000e800 - 0x0000e8ff (0x100) IX[B]E
	[11] -1	0x0000e000 - 0x0000e0ff (0x100) IX[B]E
	S3VProbe end
(II) resource ranges after probing:
	[0] -1	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0xe0000000 - 0xe7ffffff (0x8000000) MX[B]E
	[6] -1	0xed000000 - 0xedffffff (0x1000000) MX[B](B)
	[7] -1	0xec000000 - 0xec00ffff (0x10000) MX[B](B)
	[8] -1	0xe8000000 - 0xebffffff (0x4000000) MX[B](B)
	[9] 0	0x000a0000 - 0x000affff (0x10000) MS[B]
	[10] 0	0x000b0000 - 0x000b7fff (0x8000) MS[B]
	[11] 0	0x000b8000 - 0x000bffff (0x8000) MS[B]
	[12] -1	0x00000000 - 0x000001ff (0x200) IX[B]E
	[13] -1	0x0000e800 - 0x0000e8ff (0x100) IX[B]E
	[14] -1	0x0000e000 - 0x0000e0ff (0x100) IX[B]E
	[15] 0	0x000003b0 - 0x000003bb (0xc) IS[B]
	[16] 0	0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
	S3VPreInit 1
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
	compiled for 4.0.1d, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.3
(**) S3VIRGE(0): Depth 15, (--) framebuffer bpp 16
(==) S3VIRGE(0): RGB weight 555
(==) S3VIRGE(0): Default visual is TrueColor
	S3VGetRec
(==) S3VIRGE(0): Using HW Cursor
(==) S3VIRGE(0): Using fb.
(II) Loading sub module "vbe"
(II) LoadModule: "vbe"
(II) Loading /usr/X11R6/lib/modules/libvbe.a
(II) Module vbe: vendor="The XFree86 Project"
	compiled for 4.0.1d, module version = 1.0.0
	ABI class: XFree86 Video Driver, version 0.3
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/linux/libint10.a
(II) Module int10: vendor="The XFree86 Project"
	compiled for 4.0.1d, module version = 1.0.0
	ABI class: XFree86 Video Driver, version 0.3
(II) S3VIRGE(0): initializing int10
(II) S3VIRGE(0): Primary V_BIOS segment is: 0xc000
(II) S3VIRGE(0): VESA BIOS detected
(II) S3VIRGE(0): VESA VBE Version 1.2
(II) S3VIRGE(0): VESA VBE Total Mem: 4096 kB
(II) S3VIRGE(0): VESA VBE OEM: S3 Incorporated. 86C325
(--) S3VIRGE(0): Chipset: "virge"
	S3VMapMem
(WW) System lacks support for changing MTRRs
	S3VEnableMmio
	S3VPreInit vgaCRIndex=3d4, vgaIOBase=3d0, MMIOBase=4024b000
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="The XFree86 Project"
	compiled for 4.0.1d, module version = 1.0.0
	ABI class: XFree86 Video Driver, version 0.3
(II) S3VIRGE(0): Manufacturer: API  Model: 10d  Serial#: 1701717
(II) S3VIRGE(0): Year: 1999  Week: 3
(II) S3VIRGE(0): EDID Version: 1.1
(II) S3VIRGE(0): Analog Display Input,  Input Voltage Level: 0.700/0.300
V
(II) S3VIRGE(0): Sync:  Separate  CompositeSerration on. V.Sync Pulse
req. if CompSync or SyncOnGreen
(II) S3VIRGE(0): Max H-Image Size [cm]: horiz.: 28  vert.: 21
(II) S3VIRGE(0): Gamma: 2.60
(II) S3VIRGE(0): DPMS capabilities: StandBy Suspend Off; RGB/Color
Display
(II) S3VIRGE(0): redX: 0.610 redY: 0.324   greenX: 0.298 greenY: 0.588
(II) S3VIRGE(0): blueX: 0.151 blueY: 0.064   whiteX: 0.281 whiteY: 0.311
(II) S3VIRGE(0): Supported VESA Video Modes:
(II) S3VIRGE(0): 720x400@70Hz
(II) S3VIRGE(0): 720x400@88Hz
(II) S3VIRGE(0): 640x480@60Hz
(II) S3VIRGE(0): 640x480@67Hz
(II) S3VIRGE(0): 640x480@72Hz
(II) S3VIRGE(0): 640x480@75Hz
(II) S3VIRGE(0): 800x600@56Hz
(II) S3VIRGE(0): 800x600@60Hz
(II) S3VIRGE(0): 800x600@72Hz
(II) S3VIRGE(0): 800x600@75Hz
(II) S3VIRGE(0): 832x624@75Hz
(II) S3VIRGE(0): 1024x768@87Hz (interlaced)
(II) S3VIRGE(0): 1024x768@60Hz
(II) S3VIRGE(0): 1024x768@70Hz
(II) S3VIRGE(0): 1024x768@75Hz
(II) S3VIRGE(0): 1152x870@75Hz
(II) S3VIRGE(0): Manufacturer's mask: 70
(II) S3VIRGE(0): Supported Future Video Modes:
(II) S3VIRGE(0): #0: hsize: 1280  vsize 960  refresh: 60  vid: 16513
(II) S3VIRGE(0): #1: hsize: 1152  vsize 864  refresh: 70  vid: 19057
(II) S3VIRGE(0): #2: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
(II) S3VIRGE(0): #3: hsize: 1152  vsize 864  refresh: 75  vid: 20337
(II) S3VIRGE(0): Serial No: 
(II) S3VIRGE(0):  2[F
(==) S3VIRGE(0): Using gamma correction (1.0, 1.0, 1.0)
(--) S3VIRGE(0): videoram:  4096k
(--) S3VIRGE(0): Detected current MCLK value of 70.398 MHz
	S3VDisableMmio
	S3VPreInit minClock=20000, maxClock=270000
(II) S3VIRGE(0): Microvision17: Using hsync range of 30.00-90.00 kHz
(II) S3VIRGE(0): Microvision17: Using vrefresh range of 50.00-100.00 Hz
(II) S3VIRGE(0): Clock range:  20.00 to 270.00 MHz
(WW) S3VIRGE(0): Default mode "1280x1024" deleted (hsync out of range)
(WW) S3VIRGE(0): Default mode "1600x1200" deleted (horizontal timing out
of range)
(WW) S3VIRGE(0): Default mode "1600x1200" deleted (horizontal timing out
of range)
(WW) S3VIRGE(0): Default mode "1600x1200" deleted (horizontal timing out
of range)
(WW) S3VIRGE(0): Default mode "1600x1200" deleted (horizontal timing out
of range)
(WW) S3VIRGE(0): Default mode "1600x1200" deleted (horizontal timing out
of range)
(WW) S3VIRGE(0): Default mode "1792x1344" deleted (insufficient memory
for mode)
(WW) S3VIRGE(0): Default mode "1792x1344" deleted (insufficient memory
for mode)
(WW) S3VIRGE(0): Default mode "1856x1392" deleted (insufficient memory
for mode)
(WW) S3VIRGE(0): Default mode "1856x1392" deleted (insufficient memory
for mode)
(WW) S3VIRGE(0): Default mode "1920x1440" deleted (insufficient memory
for mode)
(WW) S3VIRGE(0): Default mode "1920x1440" deleted (insufficient memory
for mode)
(--) S3VIRGE(0): Virtual size is 1152x864 (pitch 1152)
(**) S3VIRGE(0): Default mode "1152x864": 108.0 MHz, 67.5 kHz, 75.0 Hz
(**) S3VIRGE(0): Default mode "1024x768": 94.5 MHz, 68.7 kHz, 85.0 Hz
(**) S3VIRGE(0): Default mode "800x600": 56.3 MHz, 53.7 kHz, 85.1 Hz
(**) S3VIRGE(0): Default mode "640x480": 36.0 MHz, 43.3 kHz, 85.0 Hz
(--) S3VIRGE(0): Display dimensions: (28, 21) cm
(--) S3VIRGE(0): DPI set to (104, 104)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
	compiled for 4.0.1d, module version = 1.0.0
	ABI class: XFree86 ANSI C Emulation, version 0.1
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="The XFree86 Project"
	compiled for 4.0.1d, module version = 1.0.0
	ABI class: XFree86 Video Driver, version 0.3
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
	compiled for 4.0.1d, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.3
Symbol cfbBresS from module /usr/X11R6/lib/modules/drivers/s3virge_drv.o
is unresolved!
Symbol cfbGCPrivateIndex from module
/usr/X11R6/lib/modules/drivers/s3virge_drv.o is unresolved!
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
	[0] 0	0xe8000000 - 0xebffffff (0x4000000) MS[B]
	[1] -1	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[2] -1	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[3] -1	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[4] -1	0x000c0000 - 0x000effff (0x30000) MX[B]
	[5] -1	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[6] -1	0xe0000000 - 0xe7ffffff (0x8000000) MX[B]E
	[7] -1	0xed000000 - 0xedffffff (0x1000000) MX[B](B)
	[8] -1	0xec000000 - 0xec00ffff (0x10000) MX[B](B)
	[9] -1	0xe8000000 - 0xebffffff (0x4000000) MX[B](B)
	[10] 0	0x000a0000 - 0x000affff (0x10000) MS[B](OprD)
	[11] 0	0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD)
	[12] 0	0x000b8000 - 0x000bffff (0x8000) MS[B](OprD)
	[13] -1	0x00000000 - 0x000001ff (0x200) IX[B]E
	[14] -1	0x0000e800 - 0x0000e8ff (0x100) IX[B]E
	[15] -1	0x0000e000 - 0x0000e0ff (0x100) IX[B]E
	[16] 0	0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
	[17] 0	0x000003c0 - 0x000003df (0x20) IS[B](OprU)
	S3VScreenInit
	S3VMapMem
	S3VEnableMmio
	S3VSave
(II) S3VIRGE(0): MMPR regs: 00110400 00000000 00000808 08080810


ViRGE driver: saved current video mode. Register dump:

(II) S3VIRGE(0): START register dump ------------------
Misc Out[3CC]
  67

CR[00-2f]
  5f 4f 50 82  55 81 bf 1f  00 4f 0d 0e  00 00 3f ff  
  9c 0e 8f 28  1f 96 b9 a3  ff ff ff ff  ff ff ff ff  
  ff 00 00 00  00 00 00 00  00 00 00 00  00 56 31 06  
  
SR[00-27]
  03 00 03 00  02 05 06 07  06 00 c0 00  0c 02 0e 0f  
  41 39 61 28  00 03 43 de  40 00 00 1b  00 1d 1e 1f  
  41 39 61 28  00 03 43 de  

Gr Cont GR[00-0f]
  00 00 00 00  00 10 0e 00  ff f9 fa fb  fc fd fe ff  
  
Att Cont AR[00-1f]
  20 21 22 23  24 25 26 27  28 29 2a 2b  2c 2d 2e 2f  
  0c 00 0f 08  00 35 36 37  0c 00 0f 08  00 3d 3e 3f  
  
CR[30-6f]
  e1 05 40 00  00 00 12 ff  7b bd 85 00  10 00 00 00  
  00 04 04 00  00 00 01 d5  d1 e3 00 ff  ff ff c0 c0  
  00 00 90 08  30 00 00 00  83 e8 00 00  00 00 00 00  
  0f 0f 0f 00  00 00 80 00  ff e0 c0 00  00 41 6e 1e  
  
(II) S3VIRGE(0): END register dump --------------------
	S3VModeInit
	S3VModeInit dclk=108000 
	S3VWriteMode
	S3VGEReset sub_stat=b000 
(II) S3VIRGE(0): ViRGE driver: done restoring mode, dumping CR
registers:
(II) S3VIRGE(0): START register dump ------------------
Misc Out[3CC]
  2f

CR[00-2f]
  8b 1f 8f 87  30 10 82 ff  00 60 00 00  00 00 00 00  
  61 24 5f 20  00 5f 82 c3  ff ff ff ff  ff ff ff ff  
  ff 00 00 00  00 00 00 00  00 00 00 00  00 56 31 06  
  
SR[00-27]
  03 01 0f 00  0e 05 06 07  06 00 c0 00  0c 02 0e 0f  
  41 39 26 77  00 83 43 de  00 00 00 1b  00 1d 1e 1f  
  41 39 26 77  00 83 43 de  

Gr Cont GR[00-0f]
  00 00 00 00  00 40 05 0f  ff f9 fa fb  fc fd fe ff  
  
Att Cont AR[00-1f]
  20 21 22 23  24 25 26 27  28 29 2a 2b  2c 2d 2e 2f  
  41 00 0f 00  00 35 36 37  41 00 0f 00  00 3d 3e 3f  
  
CR[30-6f]
  e1 8c 40 20  10 00 12 ff  7b bd 95 5e  c5 00 00 00  
  00 04 04 00  00 00 01 d5  d1 e3 00 ff  ff ff c0 c0  
  00 10 90 08  00 10 00 00  93 e8 00 00  00 57 40 40  
  0f 0f 0f 00  00 10 99 30  ff e0 c0 00  00 41 6e 1e  
  
(II) S3VIRGE(0): END register dump --------------------
(**) S3VIRGE(0): Using FB
(II) S3VIRGE(0): Using XFree86 Acceleration Architecture (XAA)
	Screen to screen bit blits
	Solid filled rectangles
	8x8 mono pattern filled rectangles
	CPU to Screen color expansion
	Solid Horizontal and Vertical Lines
	Image Writes
	Offscreen Pixmaps
	Setting up tile and stipple cache:
		32 128x128 slots
		7 256x256 slots
(==) S3VIRGE(0): Backing store disabled
(==) S3VIRGE(0): Silken mouse enabled
	S3VDGAInit
	S3VDGAInit firstone vpWid=1152, vpHgt=864, Bpp=2, mdbitsPP=16
	S3VDGAInit firstone vpWid=1024, vpHgt=768, Bpp=2, mdbitsPP=16
	S3VDGAInit firstone vpWid=800, vpHgt=600, Bpp=2, mdbitsPP=16
	S3VDGAInit firstone vpWid=640, vpHgt=480, Bpp=2, mdbitsPP=16
	S3VHWCursorInit
(II) S3VIRGE(0): Using overlay video
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(**) Option "Protocol" "MouseSystems"
(**) Mouse1: Protocol: "MouseSystems"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/gpmdata"
(==) Mouse1: Buttons: 3
(**) Option "BaudRate" "1200"
(**) Mouse1: BaudRate: 1200
(II) Keyboard "Keyboard1" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
Couldn't load XKB keymap, falling back to pre-XKB keymap
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/,
removing from list!
GetModeLine - scrn: 0 clock: 108000
GetModeLine - hdsp: 1152 hbeg: 1216 hend: 1344 httl: 1600
              vdsp: 864 vbeg: 865 vend: 868 vttl: 900 flags: 5
GetModeLine - scrn: 0 clock: 108000
GetModeLine - hdsp: 1152 hbeg: 1216 hend: 1344 httl: 1600
              vdsp: 864 vbeg: 865 vend: 868 vttl: 900 flags: 5
SetKbdSettings - type: 2 rate: 30 delay: 500 snumlk: 0
SetKbdSettings - Succeeded
GetModeLine - scrn: 0 clock: 108000
GetModeLine - hdsp: 1152 hbeg: 1216 hend: 1344 httl: 1600
              vdsp: 864 vbeg: 865 vend: 868 vttl: 900 flags: 5
[chris@athena ~]$
-- 
chris burgess
http://ibex.co.nz



Reply to: