Subject: Problem with XFree86/4.x + s3virge driver
To: None <port-i386@netbsd.org, tech-x11@netbsd.org>
From: Ola Eriksson <ola@mreriksson.net>
List: port-i386
Date: 01/16/2003 00:16:44
--=-MdiNG295ERV5WWBdrBVm
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hello everyone, 

I've got some problems when trying to get XFree86 4.x running under
NetBSD on a Toshiba 490XCDT laptop and was hoping that someone might
know something about this. 

The laptop has an S3 Virge MX graphics card and uses the s3virge driver
from XFree86. If needed, more information about the machine can be found
here: http://cdgenp01.csd.toshiba.com/content/product/pdf_files/
detailed_specs/satellite_pro_490xcdt.pdf 

The problem is really two separate problems which both seems to relate
to the driver used by the Xserver. 

Problem no 1) 
When I get X11 running on it I get some kind of flicker, like an
CRT-monitor with _very_ low refresh rate. This goes for all resolutions
and color-depths. 

Problem no 2) 
If I try to leave the X11-session, by quitting X11 or switching to a
virtual console, the screen does something strange and instead if
showing the consoles text, it does something very similar so what I once
got when by accident trying to run a resolution on a laptop which was to
high for it's screen. (Screen slowly turning from back to white,
starting from the screens frame and working towards it's centre)
However, the machine does switch to the console and I'm able to reboot
if from there etc, but I'm nt able to get a working screen again without
rebooting.

What I've come up with so far: 

For problem one I've found some information saying that the flicker
problem would be solved if I configured X11 to use framebuffer, but as
far as I know, this isn't really an alternative with netbsd today. 

Regarding problem two I see this in my logfile when I leave X11:
s3v: warning: VerticalRetraceWait timed out(1:3).
s3v: warning: VerticalRetraceWait timed out(3:3).
s3v: warning: VerticalRetraceWait timed out(1:3).
s3v: warning: VerticalRetraceWait timed out(3:3).

Anyone seen this somewhere before? I've searched the web but couldn't
really find anything usefull about it. The warnings does only appear
when using the s3virge driver and having this problem.

Common for both problems are that they go away if I use the vga or vesa
modules instead (However, the console get's a bit messed up and not
really usable when I return from X11 with the vesa driver. The VGA
driver works fine though, but has it's limitations :( ). Both the
flickering and the problem when leaving X11 goes away when I use this
driver instead of s3virge, so I'm guessing that the problem is somewhat
driver-related. 

Another problem is that I can't really seem to find anything usefull
about this problem anywhere on the net, so it seems to be a rather
limited crowd that suffers from this. Could this be something NetBSD +
Xfree86 4.x specific ? 

Things I've tried:
NetBSD 1.6 and -current (January 14 2003)
XFree86 4.2.0 (Precompiled binaries from nbsd 1.6 installation)
XFree86 4.2.99.3

I have also tried some different configurations, enabling NoAccel and
using the 'Chipset' option to force X11 to consider the gfx card as an
'virge mx' in case it had problems with this. None of these things have
made any difference or improvements.

Also, please find the attached files containing logs from one of these
instances and the current XF86Config (Generated with xf86config).

If someone knows anything or has any ideas on where to go from here, I
would greatly appreciate any information or suggestions!

Thanks in advance!


Best Regards, 
Ola Eriksson 
http://www.mreriksson.net/faqs/netbsd

--=-MdiNG295ERV5WWBdrBVm
Content-Disposition: attachment; filename=XF86Config
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; name=XF86Config; charset=ISO-8859-1

# File generated by xf86config.

# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of=20
# 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
#    Load       "glx"

EndSection

# **********************************************************************
# 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/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/"

# 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=20
# 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.=20

#    Option "AllowNonLocalXvidtune"

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

#    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"

#    Option     "Protocol"      "Xqueue"

    Option "AutoRepeat" "500 30"

    Option "XkbRules"	"xfree86"
    Option "XkbModel"	"microsoftpro"
    Option "XkbLayout"	"se"

EndSection


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

Section "InputDevice"

# Identifier and driver

    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"    "wsmouse"
    Option "Device"      "/dev/wsmouse"

EndSection

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

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "490XCDT"

    HorizSync   31.5 - 57.0

    VertRefresh 50-90

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	"virge mx"

    Driver     "s3virge"

    VideoRam	2048

#    Clocks	25.2 28.3

EndSection

# Device configured by xf86config:

Section "Device"
    Identifier  "490XCDT"
    Driver      "s3virge"
    VideoRam    2048
     #Option "mx_cr3_fix" "off"
     #Option "lcd_center"
     #Option "xaa_benchmark"
     #Option "fifo_moderate"
     #Option "pci_burst_on"
     #Option "pci_retry"
    # Insert Clocks lines here if appropriate
EndSection


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

Section "Screen"
    Identifier  "Screen 1"
    Device      "490XCDT"
    Monitor     "490XCDT"
    DefaultDepth 16

    Subsection "Display"
        Depth       8
        Modes       "640x480" "800x600" # "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "640x480" "800x600" # "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "640x480" "800x600"
        ViewPort    0 0
    EndSubsection
EndSection

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

Section "ServerLayout"

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

    Screen "Screen 1"

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

EndSection


--=-MdiNG295ERV5WWBdrBVm
Content-Disposition: attachment; filename=XFree86.0.log
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; name=XFree86.0.log; charset=ISO-8859-1

XFree86 Version 4.2.99.3 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 6 January 2003
	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/)
Build Operating System: NetBSD/i386 1.6 [ELF] The NetBSD Foundation, Inc.
Module Loader present
Markers: (--) probed, (**) from config file, (=3D=3D) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(=3D=3D) Log file: "/var/log/XFree86.0.log", Time: Wed Jan 15 12:56:34 2003
(=3D=3D) Using config file: "/etc/X11/XF86Config"
(=3D=3D) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) |   |-->Monitor "490XCDT"
(**) |   |-->Device "490XCDT"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "microsoftpro"
(**) XKB: model: "microsoftpro"
(**) Option "XkbLayout" "se"
(**) XKB: layout: "se"
(=3D=3D) Keyboard: CustomKeycode disabled
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fo=
nts/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"
(=3D=3D) ModulePath set to "/usr/X11R6/lib/modules"
(--) Using wscons driver in pcvt compatibility mode (version 3.32)
(II) Module ABI versions:
	XFree86 ANSI C Emulation: 0.2
	XFree86 Video Driver: 0.6
	XFree86 XInput driver : 0.4
	XFree86 Server Extension : 0.2
	XFree86 Font Renderer : 0.4
(II) Loader running on netbsd
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor=3D"The XFree86 Project"
	compiled for 4.2.99.3, module version =3D 1.0.0
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor=3D"The XFree86 Project"
	compiled for 4.2.99.3, module version =3D 1.0.0
	ABI class: XFree86 Video Driver, version 0.6
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages =3D 0x03, oldVal1 =3D 0x00000000, mode1Res1 =3D 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,7190 card 1179,0001 rev 02 class 06,00,00 hdr =
00
(II) PCI: 00:01:0: chip 8086,7191 card 0000,0000 rev 02 class 06,04,00 hdr =
01
(II) PCI: 00:05:0: chip 8086,7110 card 0000,0000 rev 02 class 06,80,00 hdr =
80
(II) PCI: 00:05:1: chip 8086,7111 card 0000,0000 rev 01 class 01,01,80 hdr =
00
(II) PCI: 00:05:2: chip 8086,7112 card 0000,0000 rev 01 class 0c,03,00 hdr =
00
(II) PCI: 00:05:3: chip 8086,7113 card 0000,0000 rev 02 class 06,80,00 hdr =
00
(II) PCI: 00:09:0: chip 1179,0701 card 1179,0001 rev 33 class 07,80,00 hdr =
00
(II) PCI: 00:0b:0: chip 1179,060f card fffc,0000 rev 44 class 06,07,00 hdr =
82
(II) PCI: 00:0b:1: chip 1179,060f card fffc,0000 rev 44 class 06,07,00 hdr =
82
(II) PCI: 01:03:0: chip 5333,8c01 card 1179,0001 rev 06 class 03,00,00 hdr =
00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,3), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
	[0] -1	0	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
	[0] -1	0	0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
	[0] -1	0	0x00000000 - 0xffffffff (0x0) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x0088 (VGA_EN is set)
(II) Bus 1 non-prefetchable memory range:
	[0] -1	0	0xf8000000 - 0xfbffffff (0x4000000) MX[B]
(II) Bus 1 prefetchable memory range:
	[0] -1	0	0xdff00000 - 0xdfffffff (0x100000) MX[B]
(II) PCI-to-CardBus bridge:
(II) Bus 2: bridge is at (0:11:0), (0,2,2), BCTRL: 0x0440 (VGA_EN is cleare=
d)
(II) PCI-to-CardBus bridge:
(II) Bus 3: bridge is at (0:11:1), (0,3,3), BCTRL: 0x04c0 (VGA_EN is cleare=
d)
(--) PCI:*(1:3:0) S3 Inc. ViRGE/MX rev 6, Mem @ 0xf8000000/26, BIOS @ 0x000=
c0000/16
(II) Addressable bus resource ranges are
	[0] -1	0	0x00000000 - 0xffffffff (0x0) MX[B]
	[1] -1	0	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
	[0] -1	0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[6] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
(II) PCI Memory resource overlap reduced 0xe0000000 from 0xffffffff to 0xdf=
ffffff
(II) Active PCI resource ranges:
	[0] -1	0	0xe0000000 - 0xdfffffff (0x0) MX[B]EO
	[1] -1	0	0x000c0000 - 0x000cffff (0x10000) MX[B](B)
	[2] -1	0	0xf8000000 - 0xfbffffff (0x4000000) MX[B](B)
	[3] -1	0	0x0000ff80 - 0x0000ffff (0x80) IX[B]E
	[4] -1	0	0x0000ffe0 - 0x0000ffff (0x20) IX[B]E
	[5] -1	0	0x0000fe60 - 0x0000fe7f (0x20) IX[B]E
(II) PCI I/O resource overlap reduced 0x0000ff80 from 0x0000ffff to 0x0000f=
fbf
(II) Active PCI resource ranges after removing overlaps:
	[0] -1	0	0xe0000000 - 0xdfffffff (0x0) MX[B]EO
	[1] -1	0	0x000c0000 - 0x000cffff (0x10000) MX[B](B)
	[2] -1	0	0xf8000000 - 0xfbffffff (0x4000000) MX[B](B)
	[3] -1	0	0x0000ff80 - 0x0000ffbf (0x40) IX[B]E
	[4] -1	0	0x0000ffe0 - 0x0000ffff (0x20) IX[B]E
	[5] -1	0	0x0000fe60 - 0x0000fe7f (0x20) IX[B]E
(II) OS-reported resource ranges after removing overlaps with PCI:
	[0] -1	0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0	0x000c0000 - 0x000cffff (0x10000) MX[B]
	[4] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[6] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
	[0] -1	0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0	0x000c0000 - 0x000cffff (0x10000) MX[B]
	[4] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0	0xe0000000 - 0xdfffffff (0x0) MX[B]EO
	[6] -1	0	0x000c0000 - 0x000cffff (0x10000) MX[B](B)
	[7] -1	0	0xf8000000 - 0xfbffffff (0x4000000) MX[B](B)
	[8] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[9] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[10] -1	0	0x0000ff80 - 0x0000ffbf (0x40) IX[B]E
	[11] -1	0	0x0000ffe0 - 0x0000ffff (0x20) IX[B]E
	[12] -1	0	0x0000fe60 - 0x0000fe7f (0x20) IX[B]E
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor=3D"The XFree86 Project"
	compiled for 4.2.99.3, module version =3D 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor=3D"The XFree86 Project"
	compiled for 4.2.99.3, module version =3D 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.2
(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) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor=3D"The XFree86 Project"
	compiled for 4.2.99.3, module version =3D 1.0.2
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor=3D"The XFree86 Project"
	compiled for 4.2.99.3, module version =3D 2.0.1
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font FreeType
(II) LoadModule: "s3virge"
(II) Loading /usr/X11R6/lib/modules/drivers/s3virge_drv.o
(II) Module s3virge: vendor=3D"The XFree86 Project"
	compiled for 4.2.99.3, module version =3D 1.8.3
	Module class: XFree86 Video Driver
	ABI class: XFree86 Video Driver, version 0.6
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor=3D"The XFree86 Project"
	compiled for 4.2.99.3, module version =3D 1.0.0
	Module class: XFree86 XInput Driver
	ABI class: XFree86 XInput driver, version 0.4
(II) S3VIRGE: driver (version 1.8.3) 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 01:03:0
(--) Assigning device section with no busID to primary device
(--) Chipset virge mx found
(II) resource ranges after xf86ClaimFixedResources() call:
	[0] -1	0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0	0x000c0000 - 0x000cffff (0x10000) MX[B]
	[4] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0	0xe0000000 - 0xdfffffff (0x0) MX[B]EO
	[6] -1	0	0x000c0000 - 0x000cffff (0x10000) MX[B](B)
	[7] -1	0	0xf8000000 - 0xfbffffff (0x4000000) MX[B](B)
	[8] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[9] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[10] -1	0	0x0000ff80 - 0x0000ffbf (0x40) IX[B]E
	[11] -1	0	0x0000ffe0 - 0x0000ffff (0x20) IX[B]E
	[12] -1	0	0x0000fe60 - 0x0000fe7f (0x20) IX[B]E
(II) resource ranges after probing:
	[0] -1	0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0	0x000c0000 - 0x000cffff (0x10000) MX[B]
	[4] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0	0xe0000000 - 0xdfffffff (0x0) MX[B]EO
	[6] -1	0	0x000c0000 - 0x000cffff (0x10000) MX[B](B)
	[7] -1	0	0xf8000000 - 0xfbffffff (0x4000000) MX[B](B)
	[8] 0	0	0x000a0000 - 0x000affff (0x10000) MS[B]
	[9] 0	0	0x000b0000 - 0x000b7fff (0x8000) MS[B]
	[10] 0	0	0x000b8000 - 0x000bffff (0x8000) MS[B]
	[11] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[12] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[13] -1	0	0x0000ff80 - 0x0000ffbf (0x40) IX[B]E
	[14] -1	0	0x0000ffe0 - 0x0000ffff (0x20) IX[B]E
	[15] -1	0	0x0000fe60 - 0x0000fe7f (0x20) IX[B]E
	[16] 0	0	0x000003b0 - 0x000003bb (0xc) IS[B]
	[17] 0	0	0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor=3D"The XFree86 Project"
	compiled for 4.2.99.3, module version =3D 0.1.0
	ABI class: XFree86 Video Driver, version 0.6
(**) S3VIRGE(0): Depth 16, (--) framebuffer bpp 16
(=3D=3D) S3VIRGE(0): RGB weight 565
(=3D=3D) S3VIRGE(0): Default visual is TrueColor
(=3D=3D) S3VIRGE(0): Using HW Cursor
(=3D=3D) S3VIRGE(0): Using fb.
(=3D=3D) S3VIRGE(0): mx_cr3a_fix.
(=3D=3D) S3VIRGE(0): XVideo allowed (depends on chipset).
(II) Loading sub module "vbe"
(II) LoadModule: "vbe"
(II) Loading /usr/X11R6/lib/modules/libvbe.a
(II) Module vbe: vendor=3D"The XFree86 Project"
	compiled for 4.2.99.3, module version =3D 1.1.0
	ABI class: XFree86 Video Driver, version 0.6
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/libint10.a
(II) Module int10: vendor=3D"The XFree86 Project"
	compiled for 4.2.99.3, module version =3D 1.0.0
	ABI class: XFree86 Video Driver, version 0.6
(II) S3VIRGE(0): initializing int10
(WW) S3VIRGE(0): remove MTRR a0000 - c0000
(WW) S3VIRGE(0): set MTRR c0000 - 100000
(II) S3VIRGE(0): Primary V_BIOS segment is: 0xc000
(WW) S3VIRGE(0): remove MTRR 0 - 1000
(II) S3VIRGE(0): VESA BIOS detected
(II) S3VIRGE(0): VESA VBE Version 2.0
(II) S3VIRGE(0): VESA VBE Total Mem: 2048 kB
(II) S3VIRGE(0): VESA VBE OEM: S3 Incorporated. M5 BIOS
(II) S3VIRGE(0): VESA VBE OEM Software Rev: 1.0
(II) S3VIRGE(0): VESA VBE OEM Vendor: S3 Incorporated.
(II) S3VIRGE(0): VESA VBE OEM Product: VBE 2.0
(II) S3VIRGE(0): VESA VBE OEM Product Rev: Rev 1.1
(--) S3VIRGE(0): Chipset: "virge mx"
(WW) S3VIRGE(0): remove MTRR f9000000 - f9010000
(WW) S3VIRGE(0): remove MTRR f9000000 - f9008000
(II) S3VIRGE(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0=
x0000
(II) S3VIRGE(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0=
x0000
(WW) S3VIRGE(0): remove MTRR a0000 - b0000
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor=3D"The XFree86 Project"
	compiled for 4.2.99.3, module version =3D 1.0.0
	ABI class: XFree86 Video Driver, version 0.6
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Reloading /usr/X11R6/lib/modules/libddc.a
(II) S3VIRGE(0): VESA VBE DDC supported
(II) S3VIRGE(0): VESA VBE DDC Level 2
(II) S3VIRGE(0): VESA VBE DDC transfer in appr. 1 sec.
f000:a6ec: 01 ILLEGAL EXTENDED X86 OPCODE!
(WW) S3VIRGE(0): remove MTRR 0 - 1000
(II) S3VIRGE(0): VESA VBE DDC invalid
(--) S3VIRGE(0): No DDC signal
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Loading /usr/X11R6/lib/modules/libi2c.a
(II) Module i2c: vendor=3D"The XFree86 Project"
	compiled for 4.2.99.3, module version =3D 1.2.0
	ABI class: XFree86 Video Driver, version 0.6
(II) S3VIRGE(0): I2C bus "I2C bus" initialized.
(II) S3VIRGE(0): I2C device "I2C bus:ddc2" registered at address 0xA0.
(II) S3VIRGE(0): I2C device "I2C bus:ddc2" removed.
(WW) S3VIRGE(0): remove MTRR 0 - 1000
(=3D=3D) S3VIRGE(0): Using gamma correction (1.0, 1.0, 1.0)
(--) S3VIRGE(0): videoram:  2048k
(--) S3VIRGE(0): TOSHIBA Video BIOS found
(--) S3VIRGE(0): assuming RefCLK value of 28.636 MHz
(--) S3VIRGE(0): Detected current MCLK value of 88.056 MHz
(--) S3VIRGE(0): LCD size 1024x768, clock 68.988 MHz
(II) S3VIRGE(0): 490XCDT: Using hsync range of 31.50-57.00 kHz
(II) S3VIRGE(0): 490XCDT: Using vrefresh range of 70.00-90.00 Hz
(II) S3VIRGE(0): Clock range:  20.00 to 270.00 MHz

--[Modeline output removed to reduce size]--

(=3D=3D) S3VIRGE(0): DPI set to (75, 75)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor=3D"The XFree86 Project"
	compiled for 4.2.99.3, module version =3D 1.0.0
	ABI class: XFree86 ANSI C Emulation, version 0.2
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor=3D"The XFree86 Project"
	compiled for 4.2.99.3, module version =3D 1.1.0
	ABI class: XFree86 Video Driver, version 0.6
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor=3D"The XFree86 Project"
	compiled for 4.2.99.3, module version =3D 0.1.0
	ABI class: XFree86 Video Driver, version 0.6
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
	[0] 0	0	0xf8000000 - 0xfbffffff (0x4000000) MS[B]
	[1] -1	0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[2] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[3] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[4] -1	0	0x000c0000 - 0x000cffff (0x10000) MX[B]
	[5] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[6] -1	0	0xe0000000 - 0xdfffffff (0x0) MX[B]EO
	[7] -1	0	0x000c0000 - 0x000cffff (0x10000) MX[B](B)
	[8] -1	0	0xf8000000 - 0xfbffffff (0x4000000) MX[B](B)
	[9] 0	0	0x000a0000 - 0x000affff (0x10000) MS[B](OprD)
	[10] 0	0	0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD)
	[11] 0	0	0x000b8000 - 0x000bffff (0x8000) MS[B](OprD)
	[12] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[13] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[14] -1	0	0x0000ff80 - 0x0000ffbf (0x40) IX[B]E
	[15] -1	0	0x0000ffe0 - 0x0000ffff (0x20) IX[B]E
	[16] -1	0	0x0000fe60 - 0x0000fe7f (0x20) IX[B]E
	[17] 0	0	0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
	[18] 0	0	0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(WW) S3VIRGE(0): remove MTRR f9000000 - f9010000
(WW) S3VIRGE(0): remove MTRR f9000000 - f9008000
(WW) S3VIRGE(0): set MTRR f8000000 - f8200000
(II) S3VIRGE(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0=
x0000
(II) S3VIRGE(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0=
x0000
(WW) S3VIRGE(0): remove MTRR a0000 - b0000
invalid frequency 0.437 MHz  [freq >=3D 10.625 MHz]
(**) 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:
		8 128x128 slots
(=3D=3D) S3VIRGE(0): Backing store disabled
(=3D=3D) S3VIRGE(0): Silken mouse enabled
(II) S3VIRGE(0): Using overlay video
(WW) S3VIRGE(0): Option "mx_cr3_fix" is not used
(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
(II) Initializing built-in extension RANDR
(**) Option "Protocol" "wsmouse"
(**) Mouse1: Protocol: wsmouse
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/wsmouse"
(**) Option "Emulate3Buttons"
(**) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(=3D=3D) Mouse1: Buttons: 3
(II) Keyboard "Keyboard1" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing=
 from list!
s3v: warning: VerticalRetraceWait timed out(1:3).
s3v: warning: VerticalRetraceWait timed out(3:3).
s3v: warning: VerticalRetraceWait timed out(1:3).
s3v: warning: VerticalRetraceWait timed out(3:3).

--=-MdiNG295ERV5WWBdrBVm--