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/15/2003 23:28:50
--=-DWhbatOf1VQA0oKKBZjK
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

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


This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may be reported to XFree86@XFree86.Org and patches submitted
to fixes@XFree86.Org.  Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs)

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
(II) S3VIRGE(0): Not using default mode "320x175" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "320x200" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "360x200" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "640x480" (vrefresh out of range)
(II) S3VIRGE(0): Not using default mode "320x240" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "320x240" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "320x240" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "320x240" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "800x600" (vrefresh out of range)
(II) S3VIRGE(0): Not using default mode "400x300" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "800x600" (vrefresh out of range)
(II) S3VIRGE(0): Not using default mode "400x300" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "400x300" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "400x300" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "400x300" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "512x384" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "1024x768" (vrefresh out of range)
(II) S3VIRGE(0): Not using default mode "512x384" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "512x384" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "1024x768" (hsync out of range)
(II) S3VIRGE(0): Not using default mode "512x384" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "1024x768" (hsync out of range)
(II) S3VIRGE(0): Not using default mode "512x384" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "1152x864" (hsync out of range)
(II) S3VIRGE(0): Not using default mode "576x432" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "1280x960" (insufficient memory for=
 mode)
(II) S3VIRGE(0): Not using default mode "640x480" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "1280x960" (insufficient memory for=
 mode)
(II) S3VIRGE(0): Not using default mode "640x480" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "1280x1024" (insufficient memory fo=
r mode)
(II) S3VIRGE(0): Not using default mode "640x512" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "1280x1024" (insufficient memory fo=
r mode)
(II) S3VIRGE(0): Not using default mode "640x512" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "1280x1024" (insufficient memory fo=
r mode)
(II) S3VIRGE(0): Not using default mode "640x512" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "1600x1200" (insufficient memory fo=
r mode)
(II) S3VIRGE(0): Not using default mode "800x600" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "1600x1200" (insufficient memory fo=
r mode)
(II) S3VIRGE(0): Not using default mode "800x600" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "1600x1200" (insufficient memory fo=
r mode)
(II) S3VIRGE(0): Not using default mode "800x600" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "1600x1200" (insufficient memory fo=
r mode)
(II) S3VIRGE(0): Not using default mode "800x600" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "1600x1200" (insufficient memory fo=
r mode)
(II) S3VIRGE(0): Not using default mode "800x600" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "1792x1344" (insufficient memory fo=
r mode)
(II) S3VIRGE(0): Not using default mode "896x672" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "1792x1344" (insufficient memory fo=
r mode)
(II) S3VIRGE(0): Not using default mode "896x672" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "1856x1392" (insufficient memory fo=
r mode)
(II) S3VIRGE(0): Not using default mode "928x696" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "1856x1392" (insufficient memory fo=
r mode)
(II) S3VIRGE(0): Not using default mode "928x696" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "1920x1440" (insufficient memory fo=
r mode)
(II) S3VIRGE(0): Not using default mode "960x720" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "1920x1440" (insufficient memory fo=
r mode)
(II) S3VIRGE(0): Not using default mode "960x720" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "416x312" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "1152x768" (vrefresh out of range)
(II) S3VIRGE(0): Not using default mode "576x384" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "1400x1050" (insufficient memory fo=
r mode)
(II) S3VIRGE(0): Not using default mode "700x525" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "1400x1050" (insufficient memory fo=
r mode)
(II) S3VIRGE(0): Not using default mode "700x525" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "1600x1024" (insufficient memory fo=
r mode)
(II) S3VIRGE(0): Not using default mode "800x512" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "1920x1440" (insufficient memory fo=
r mode)
(II) S3VIRGE(0): Not using default mode "960x720" (bad mode clock/interlace=
/doublescan)
(II) S3VIRGE(0): Not using default mode "2048x1536" (insufficient memory fo=
r mode)
(II) S3VIRGE(0): Not using default mode "1024x768" (bad mode clock/interlac=
e/doublescan)
(II) S3VIRGE(0): Not using default mode "2048x1536" (insufficient memory fo=
r mode)
(II) S3VIRGE(0): Not using default mode "1024x768" (bad mode clock/interlac=
e/doublescan)
(II) S3VIRGE(0): Not using default mode "2048x1536" (insufficient memory fo=
r mode)
(II) S3VIRGE(0): Not using default mode "1024x768" (bad mode clock/interlac=
e/doublescan)
(--) S3VIRGE(0): Virtual size is 1024x768 (pitch 1024)
(**) S3VIRGE(0): *Default mode "1024x768": 75.0 MHz, 56.5 kHz, 70.1 Hz
(II) S3VIRGE(0): Modeline "1024x768"   75.00  1024 1048 1184 1328  768 771 =
777 806 -hsync -vsync
(**) S3VIRGE(0): *Default mode "640x480": 36.0 MHz, 43.3 kHz, 85.0 Hz
(II) S3VIRGE(0): Modeline "640x480"   36.00  640 696 752 832  480 481 484 5=
09 -hsync -vsync
(**) S3VIRGE(0): *Default mode "800x600": 56.3 MHz, 53.7 kHz, 85.1 Hz
(II) S3VIRGE(0): Modeline "800x600"   56.30  800 832 896 1048  600 601 604 =
631 +hsync +vsync
(**) S3VIRGE(0):  Default mode "1024x768": 44.9 MHz, 35.5 kHz, 87.1 Hz (I)
(II) S3VIRGE(0): Modeline "1024x768"   44.90  1024 1032 1208 1264  768 768 =
776 817 interlace +hsync +vsync
(**) S3VIRGE(0):  Default mode "832x624": 57.3 MHz, 49.7 kHz, 74.6 Hz
(II) S3VIRGE(0): Modeline "832x624"   57.28  832 864 928 1152  624 625 628 =
667 -hsync -vsync
(**) S3VIRGE(0):  Default mode "800x600": 49.5 MHz, 46.9 kHz, 75.0 Hz
(II) S3VIRGE(0): Modeline "800x600"   49.50  800 816 896 1056  600 601 604 =
625 +hsync +vsync
(**) S3VIRGE(0):  Default mode "800x600": 50.0 MHz, 48.1 kHz, 72.2 Hz
(II) S3VIRGE(0): Modeline "800x600"   50.00  800 856 976 1040  600 637 643 =
666 +hsync +vsync
(**) S3VIRGE(0):  Default mode "640x480": 31.5 MHz, 37.5 kHz, 75.0 Hz
(II) S3VIRGE(0): Modeline "640x480"   31.50  640 656 720 840  480 481 484 5=
00 -hsync -vsync
(**) S3VIRGE(0):  Default mode "640x480": 31.5 MHz, 37.9 kHz, 72.8 Hz
(II) S3VIRGE(0): Modeline "640x480"   31.50  640 664 704 832  480 489 491 5=
20 -hsync -vsync
(**) S3VIRGE(0):  Default mode "720x400": 35.5 MHz, 37.9 kHz, 85.0 Hz
(II) S3VIRGE(0): Modeline "720x400"   35.50  720 756 828 936  400 401 404 4=
46 -hsync +vsync
(**) S3VIRGE(0):  Default mode "640x400": 31.5 MHz, 37.9 kHz, 85.1 Hz
(II) S3VIRGE(0): Modeline "640x400"   31.50  640 672 736 832  400 401 404 4=
45 -hsync +vsync
(**) S3VIRGE(0):  Default mode "640x350": 31.5 MHz, 37.9 kHz, 85.1 Hz
(II) S3VIRGE(0): Modeline "640x350"   31.50  640 672 736 832  350 382 385 4=
45 +hsync -vsync
(=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).

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

# File generated by xf86config.

#
# Copyright (c) 1999 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:
#=20
# The above copyright notice and this permission notice shall be included i=
n
# all copies or substantial portions of the Software.
#=20
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS O=
R
# 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.
#=20
# 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=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"

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

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

# 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=20
# 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"=20
#    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  "490XCDT"

# 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   31.5 - 57.0

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

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

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

# 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


--=-DWhbatOf1VQA0oKKBZjK--