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

Bug#278654: xserver-xfree86: [r128] Problems with existing CCE idle fix



Package: xserver-xfree86
Version: 4.3.0.dfsg.1-8
Severity: important
Tags: patch

When I submitted a patch for #236187 and related bugs, I was under the
apparently very bad assumption that the idle would always eventually finish. 
Three times in the last month I've found X hung but the machine responsive
on the network; this time I got a debugger attached, and found i == 31,
j == 48503.  However, with the addition of R128CCE_STOP, timing out isn't
fatal to the X server - I poked the value of j with the debugger, and now my
desktop is working again.  So I suggest lowering the timeout, as in the
attached replacement patch.

With R128_TIMEOUT == 2000000, the loop's just not going to finish otherwise. 
My bad.  The alternative would be to ignore the first lump of the patch and
just add the call to R128CCE_STOP; that would probably work too, but trigger
more often.

-- Package-specific info:
Contents of /var/lib/xfree86/X.roster:
xserver-xfree86
xserver-xfree86-dbg

/etc/X11/X target unchanged from checksum in /var/lib/xfree86/X.md5sum.

X server symlink status:
lrwxrwxrwx  1 root root 26 Oct  3 10:53 /etc/X11/X -> /usr/bin/X11/XFree86-debug
-rwxr-xr-x  1 root root 138772955 Sep 28 08:06 /usr/bin/X11/XFree86-debug

Contents of /var/lib/xfree86/XF86Config-4.roster:
xserver-xfree86
xserver-xfree86-dbg

VGA-compatible devices on PCI bus:
0000:00:0d.0 VGA compatible controller: ATI Technologies Inc Rage 128 RE/SG

/var/lib/xfree86/XF86Config-4.md5sum does not exist.

XFree86 X server configuration file status:
lrwxrwxrwx  1 root root 19 Dec 18  2003 /etc/X11/XF86Config-4 -> XF86Config-4.15inch

Contents of /etc/X11/XF86Config-4:
# XF86Config-4 (XFree86 server configuration file) generated by Dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config manual page.
# (Type "man XF86Config" at the shell prompt.)

Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
EndSection

Section "ServerFlags"
EndSection

Section "Module"
	Load	"ddc"
	Load	"GLcore"
	Load	"dbe"
	Load	"dri"
	Load	"extmod"
	Load	"glx"
	Load	"pex5"
	Load	"record"
	Load	"xie"
	Load	"bitmap"
	Load	"freetype"
	Load	"speedo"
	Load	"type1"
	Load	"vbe"
	Load	"int10"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/gpmdata"
	Option		"Protocol"		"IntelliMouse"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "InputDevice"
	Identifier	"Generic Mouse"
	Driver		"mouse"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"ATI All in Wonder 128"
	Driver		"ati"
#	Option		"UseFBDev"		"true"
	VideoRam	16384
EndSection

Section "Monitor"
	Identifier	"NEC MultiSync LCD 1530V"
	HorizSync	30-60
	VertRefresh	50-75
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI All in Wonder 128"
	Monitor		"NEC MultiSync LCD 1530V"
	DefaultDepth	16
	SubSection "Display"
		Depth		1
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Generic Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection

# end of XF86Config


XFree86 X server log files on system:
-rw-rw-r--  1 root root   28794 May 22  2001 /var/log/XFree86.2.log
-rw-r--r--  1 root root   60294 Sep 19 15:22 /var/log/XFree86.1.log
-rw-r--r--  1 root root 1447439 Oct 28 09:04 /var/log/XFree86.0.log

Contents of most recent XFree86 X server log file
/var/log/XFree86.0.log:

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.3.0.1 (Debian (static) 4.3.0.dfsg.1-8 20040928112350 fabbione@fabbione.net)
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.26 i686 [ELF] 
Build Date: 28 September 2004
	Before reporting problems, check http://www.XFree86.Org/
	to make sure that you have the latest version.
OS Kernel: Linux version 2.6.8-rc4 (drow@nevyn) (gcc version 3.3.4 (Debian 1:3.3.4-7)) #1 SMP Wed Aug 11 00:02:45 EDT 2004 
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Sun Oct 24 22:19:57 2004
(==) Using config file: "/etc/X11/XF86Config-4"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "NEC MultiSync LCD 1530V"
(**) |   |-->Device "ATI All in Wonder 128"
(**) |-->Input Device "Generic Keyboard"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc104"
(**) XKB: model: "pc104"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "Configured Mouse"
(**) |-->Input Device "Generic Mouse"
(WW) The directory "/usr/lib/X11/fonts/cyrillic" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/lib/X11/fonts/100dpi/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/lib/X11/fonts/100dpi" does not exist.
	Entry deleted from font path.
(**) FontPath set to "unix/:7100,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/Speedo,/usr/lib/X11/fonts/75dpi"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(++) using VT number 7

(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x80007050, mode1Res1 = 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1106,0691 card 147b,a204 rev c4 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,0686 card 147b,0000 rev 40 class 06,01,00 hdr 80
(II) PCI: 00:07:1: chip 1106,0571 card 1106,0571 rev 06 class 01,01,8a hdr 00
(II) PCI: 00:07:2: chip 1106,3038 card 0925,1234 rev 16 class 0c,03,00 hdr 00
(II) PCI: 00:07:3: chip 1106,3038 card 0925,1234 rev 16 class 0c,03,00 hdr 00
(II) PCI: 00:07:4: chip 1106,3057 card 0000,0000 rev 40 class 06,80,00 hdr 00
(II) PCI: 00:0a:0: chip 11ad,0002 card 1385,f004 rev 20 class 02,00,00 hdr 00
(II) PCI: 00:0b:0: chip 1186,1300 card 1186,1301 rev 10 class 02,00,00 hdr 00
(II) PCI: 00:0c:0: chip 12eb,0002 card 1092,3002 rev fe class 04,01,00 hdr 00
(II) PCI: 00:0d:0: chip 1002,5245 card 1002,0068 rev 00 class 03,00,00 hdr 00
(II) PCI: 00:0e:0: chip 1103,0004 card 1103,0001 rev 04 class 01,80,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,1), 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: 0x0004 (VGA_EN is cleared)
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:7:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(--) PCI:*(0:13:0) ATI Technologies Inc Rage 128 RE/SG rev 0, Mem @ 0xd4000000/26, 0xd9040000/14, I/O @ 0xac00/8
(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 0xd0000000 from 0xd3ffffff to 0xcfffffff
(II) Active PCI resource ranges:
	[0] -1	0	0xd9000000 - 0xd903ffff (0x40000) MX[B]
	[1] -1	0	0xd9044000 - 0xd90440ff (0x100) MX[B]
	[2] -1	0	0xd9045000 - 0xd90450ff (0x100) MX[B]
	[3] -1	0	0xd0000000 - 0xcfffffff (0x0) MX[B]O
	[4] -1	0	0xd9040000 - 0xd9043fff (0x4000) MX[B](B)
	[5] -1	0	0xd4000000 - 0xd7ffffff (0x4000000) MX[B](B)
	[6] -1	0	0x0000c000 - 0x0000c0ff (0x100) IX[B]
	[7] -1	0	0x0000bc00 - 0x0000bc03 (0x4) IX[B]
	[8] -1	0	0x0000b800 - 0x0000b807 (0x8) IX[B]
	[9] -1	0	0x0000b400 - 0x0000b403 (0x4) IX[B]
	[10] -1	0	0x0000b000 - 0x0000b007 (0x8) IX[B]
	[11] -1	0	0x0000a800 - 0x0000a807 (0x8) IX[B]
	[12] -1	0	0x0000a400 - 0x0000a407 (0x8) IX[B]
	[13] -1	0	0x0000a000 - 0x0000a0ff (0x100) IX[B]
	[14] -1	0	0x00009c00 - 0x00009cff (0x100) IX[B]
	[15] -1	0	0x00009800 - 0x0000981f (0x20) IX[B]
	[16] -1	0	0x00009400 - 0x0000941f (0x20) IX[B]
	[17] -1	0	0x00009000 - 0x0000900f (0x10) IX[B]
	[18] -1	0	0x0000ac00 - 0x0000acff (0x100) IX[B](B)
(II) Active PCI resource ranges after removing overlaps:
	[0] -1	0	0xd9000000 - 0xd903ffff (0x40000) MX[B]
	[1] -1	0	0xd9044000 - 0xd90440ff (0x100) MX[B]
	[2] -1	0	0xd9045000 - 0xd90450ff (0x100) MX[B]
	[3] -1	0	0xd0000000 - 0xcfffffff (0x0) MX[B]O
	[4] -1	0	0xd9040000 - 0xd9043fff (0x4000) MX[B](B)
	[5] -1	0	0xd4000000 - 0xd7ffffff (0x4000000) MX[B](B)
	[6] -1	0	0x0000c000 - 0x0000c0ff (0x100) IX[B]
	[7] -1	0	0x0000bc00 - 0x0000bc03 (0x4) IX[B]
	[8] -1	0	0x0000b800 - 0x0000b807 (0x8) IX[B]
	[9] -1	0	0x0000b400 - 0x0000b403 (0x4) IX[B]
	[10] -1	0	0x0000b000 - 0x0000b007 (0x8) IX[B]
	[11] -1	0	0x0000a800 - 0x0000a807 (0x8) IX[B]
	[12] -1	0	0x0000a400 - 0x0000a407 (0x8) IX[B]
	[13] -1	0	0x0000a000 - 0x0000a0ff (0x100) IX[B]
	[14] -1	0	0x00009c00 - 0x00009cff (0x100) IX[B]
	[15] -1	0	0x00009800 - 0x0000981f (0x20) IX[B]
	[16] -1	0	0x00009400 - 0x0000941f (0x20) IX[B]
	[17] -1	0	0x00009000 - 0x0000900f (0x10) IX[B]
	[18] -1	0	0x0000ac00 - 0x0000acff (0x100) IX[B](B)
(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 - 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) 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 - 0x000effff (0x30000) MX[B]
	[4] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0	0xd9000000 - 0xd903ffff (0x40000) MX[B]
	[6] -1	0	0xd9044000 - 0xd90440ff (0x100) MX[B]
	[7] -1	0	0xd9045000 - 0xd90450ff (0x100) MX[B]
	[8] -1	0	0xd0000000 - 0xcfffffff (0x0) MX[B]O
	[9] -1	0	0xd9040000 - 0xd9043fff (0x4000) MX[B](B)
	[10] -1	0	0xd4000000 - 0xd7ffffff (0x4000000) MX[B](B)
	[11] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[12] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[13] -1	0	0x0000c000 - 0x0000c0ff (0x100) IX[B]
	[14] -1	0	0x0000bc00 - 0x0000bc03 (0x4) IX[B]
	[15] -1	0	0x0000b800 - 0x0000b807 (0x8) IX[B]
	[16] -1	0	0x0000b400 - 0x0000b403 (0x4) IX[B]
	[17] -1	0	0x0000b000 - 0x0000b007 (0x8) IX[B]
	[18] -1	0	0x0000a800 - 0x0000a807 (0x8) IX[B]
	[19] -1	0	0x0000a400 - 0x0000a407 (0x8) IX[B]
	[20] -1	0	0x0000a000 - 0x0000a0ff (0x100) IX[B]
	[21] -1	0	0x00009c00 - 0x00009cff (0x100) IX[B]
	[22] -1	0	0x00009800 - 0x0000981f (0x20) IX[B]
	[23] -1	0	0x00009400 - 0x0000941f (0x20) IX[B]
	[24] -1	0	0x00009000 - 0x0000900f (0x10) IX[B]
	[25] -1	0	0x0000ac00 - 0x0000acff (0x100) IX[B](B)
(II) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w,
	mga2164w AGP, mgag100, mgag100 PCI, mgag200, mgag200 PCI, mgag400,
	mgag550
(II) GLINT: driver for 3Dlabs chipsets: gamma, gamma2, ti_pm2, ti_pm, r4,
	pm4, pm3, pm2v, pm2, pm, 300sx, 500tx, mx, delta
(II) NV: driver for NVIDIA chipsets: RIVA 128, RIVA TNT, RIVA TNT2,
	Unknown TNT2, Vanta, RIVA TNT2 Ultra, RIVA TNT2 Model 64,
	Aladdin TNT2, GeForce 256, GeForce DDR, Quadro, GeForce2 MX/MX 400,
	GeForce2 MX 100/200, GeForce2 Go, Quadro2 MXR/EX/Go,
	GeForce2 Integrated GPU, GeForce2 GTS, GeForce2 Ti, GeForce2 Ultra,
	Quadro2 Pro, GeForce4 MX 460, GeForce4 MX 440, GeForce4 MX 420,
	GeForce4 MX 440-SE, GeForce4 440 Go, GeForce4 420 Go,
	GeForce4 420 Go 32M, GeForce4 460 Go, GeForce4 440 Go 64M,
	GeForce4 410 Go 16M, Quadro4 500 GoGL, Quadro4 550 XGL, Quadro4 NVS,
	GeForce4 MX 440 with AGP8X, GeForce4 MX 440SE with AGP8X,
	GeForce4 MX 420 with AGP8X, GeForce4 448 Go, GeForce4 488 Go,
	Quadro4 580 XGL, Quadro4 280 NVS, Quadro4 380 XGL,
	GeForce4 MX Integrated GPU, GeForce3, GeForce3 Ti 200,
	GeForce3 Ti 500, Quadro DCC, GeForce4 Ti 4600, GeForce4 Ti 4400,
	0x0252, GeForce4 Ti 4200, Quadro4 900 XGL, Quadro4 750 XGL,
	Quadro4 700 XGL, GeForce4 Ti 4800, GeForce4 Ti 4200 with AGP8X,
	GeForce4 Ti 4800 SE, GeForce4 4200 Go, Quadro4 700 GoGL,
	Quadro4 980 XGL, Quadro4 780 XGL, GeForce FX 5800 Ultra,
	GeForce FX 5800, Quadro FX 2000, Quadro FX 1000,
	GeForce FX 5600 Ultra, GeForce FX 5600, 0x0313, GeForce FX 5600SE,
	0x0316, 0x0317, GeForce FX Go5600, GeForce FX Go5650,
	Quadro FX Go700, 0x031D, 0x031E, 0x031F, GeForce FX 5200,
	GeForce FX 5200 Ultra, GeForce FX 5200, GeForce FX 5200SE,
	GeForce FX Go5200, GeForce FX Go5250, GeForce FX Go5200 32M/64M,
	0x0329, Quadro NVS 280 PCI, Quadro FX 500, GeForce FX Go5300,
	GeForce FX Go5100, 0x032F, GeForce FX 5900 Ultra, GeForce FX 5900,
	GeForce FX 5900XT, GeForce FX 5950 Ultra, 0x0334, Quadro FX 3000,
	GeForce FX 5700 Ultra, GeForce FX 5700, GeForce FX 5700LE,
	GeForce FX 5700VE, 0x0345, GeForce FX Go5700, GeForce FX Go5700,
	0x0349, 0x034B, Quadro FX Go1000, Quadro FX 1100, 0x034F
(II) TGA: driver for Digital chipsets: tga, tga2
(II) S3: driver (version 0.3.5 for S3 chipset: 964-0, 964-1, 968,
	Trio32/64, Aurora64V+, Trio64V2/DX or /GX
(II) S3VIRGE: driver (version 1.8.6) 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) SIS: driver for SiS chipsets: SIS5597/5598, SIS530/620,
	SIS6326/AGP/DVD, SIS300/305, SIS630/730, SIS540, SIS315, SIS315H,
	SIS315PRO, SIS550, SIS650/M650/651/740, SIS330(Xabre),
	SIS660/661FX/M661FX/M661MX/741/741GX/M741/760/M760, SIS340
(II) RENDITION: rendition driver (version 4.0) for chipsets: V1000,
	V2100/V2200
(II) NEOMAGIC: Driver for Neomagic chipsets: neo2070, neo2090, neo2093,
	neo2097, neo2160, neo2200, neo2230, neo2360, neo2380
(II) I740: Driver for Intel i740 chipset: i740 (agp), i740 (pci)
(II) TDFX: Driver for 3dfx Banshee/Voodoo3 chipsets: 3dfx Banshee,
	3dfx Voodoo3, 3dfx Voodoo5
(II) SAVAGE: driver (version 1.1.27t) for S3 Savage chipsets: Savage4,
	Savage3D, Savage3D-MV, Savage2000, Savage/MX-MV, Savage/MX,
	Savage/IX-MV, Savage/IX, ProSavage PM133, ProSavage KM133,
	ProSavage PN133, ProSavage KN133, SuperSavage/MX 128,
	SuperSavage/MX 64, SuperSavage/MX 64C, SuperSavage/IX 128,
	SuperSavage/IX 128, SuperSavage/IX 64, SuperSavage/IX 64,
	SuperSavage/IXC 64, SuperSavage/IXC 64, ProSavage DDR,
	ProSavage DDR-K
(II) via: driver for VIA chipsets: CLE266, KM400, K8M800
(II) CIRRUS: driver for Cirrus chipsets: CLGD5430, CLGD5434-4, CLGD5434-8,
	CLGD5436, CLGD5446, CLGD5480, CL-GD5462, CL-GD5464, CL-GD5464BD,
	CL-GD5465, CL-GD7548
(II) VMWARE: driver for VMware SVGA: vmware0405, vmware0710
(II) TSENG: driver for Tseng Labs chipsets: ET4000, ET4000W32, ET4000W32i,
	ET4000W32p, ET6000, ET6100, 
(II) TRIDENT: driver for Trident chipsets: tvga9000, tvga9000i, tvga8900c,
	tvga8900d, tvga9200cxr, tgui9400cxi, cyber9320, cyber9388, cyber9397,
	cyber9397dvd, cyber9520, cyber9525dvd, cyberblade/e4, tgui9420dgi,
	tgui9440agi, tgui9660, tgui9680, providia9682, providia9685,
	cyber9382, cyber9385, 3dimage975, 3dimage985, blade3d, cyberbladei7,
	cyberbladei7d, cyberbladei1, cyberbladei1d, cyberbladeAi1,
	cyberbladeAi1d, bladeXP, cyberbladeXPAi1
(II) CHIPS: Driver for Chips and Technologies chipsets: ct65520, ct65525,
	ct65530, ct65535, ct65540, ct65545, ct65546, ct65548, ct65550,
	ct65554, ct65555, ct68554, ct69000, ct69030, ct64200, ct64300
(II) APM: driver for the Alliance chipsets: AP6422, AT24, AT3D
(II) FBDEV: driver for framebuffer: fbdev, afb
(II) I128: driver for Number Nine I128 chipsets: i128, i128v2, i128t2r,
	i128t2r4
(II) NSC: Nsc family driver (version 2.7.6) for chipsets: 5530, SC1200,
	SC1400, REDCLOUD
(II) ATI: ATI driver (version 6.5.5) for chipsets: ati, ativga
(II) R128: Driver for ATI Rage 128 chipsets:
	ATI Rage 128 Mobility M3 LE (PCI), ATI Rage 128 Mobility M3 LF (AGP),
	ATI Rage 128 Mobility M4 MF (AGP), ATI Rage 128 Mobility M4 ML (AGP),
	ATI Rage 128 Pro GL PA (AGP?), ATI Rage 128 Pro GL PB (AGP?),
	ATI Rage 128 Pro GL PC (AGP?), ATI Rage 128 Pro GL PD (PCI),
	ATI Rage 128 Pro GL PE (AGP?), ATI Rage 128 Pro GL PF (AGP),
	ATI Rage 128 Pro VR PG (AGP?), ATI Rage 128 Pro VR PH (AGP?),
	ATI Rage 128 Pro VR PI (AGP?), ATI Rage 128 Pro VR PJ (AGP?),
	ATI Rage 128 Pro VR PK (AGP?), ATI Rage 128 Pro VR PL (AGP?),
	ATI Rage 128 Pro VR PM (AGP?), ATI Rage 128 Pro VR PN (AGP?),
	ATI Rage 128 Pro VR PO (AGP?), ATI Rage 128 Pro VR PP (PCI),
	ATI Rage 128 Pro VR PQ (AGP?), ATI Rage 128 Pro VR PR (PCI),
	ATI Rage 128 Pro VR PS (AGP?), ATI Rage 128 Pro VR PT (AGP?),
	ATI Rage 128 Pro VR PU (AGP?), ATI Rage 128 Pro VR PV (AGP?),
	ATI Rage 128 Pro VR PW (AGP?), ATI Rage 128 Pro VR PX (AGP?),
	ATI Rage 128 GL RE (PCI), ATI Rage 128 GL RF (AGP),
	ATI Rage 128 RG (AGP), ATI Rage 128 VR RK (PCI),
	ATI Rage 128 VR RL (AGP), ATI Rage 128 4X SE (AGP?),
	ATI Rage 128 4X SF (AGP?), ATI Rage 128 4X SG (AGP?),
	ATI Rage 128 4X SH (AGP?), ATI Rage 128 4X SK (AGP?),
	ATI Rage 128 4X SL (AGP?), ATI Rage 128 4X SM (AGP),
	ATI Rage 128 4X SN (AGP?), ATI Rage 128 Pro ULTRA TF (AGP),
	ATI Rage 128 Pro ULTRA TL (AGP), ATI Rage 128 Pro ULTRA TR (AGP),
	ATI Rage 128 Pro ULTRA TS (AGP?), ATI Rage 128 Pro ULTRA TT (AGP?),
	ATI Rage 128 Pro ULTRA TU (AGP?)
(II) RADEON: Driver for ATI Radeon chipsets: ATI Radeon QD (AGP),
	ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG (AGP),
	ATI Radeon VE/7000 QY (AGP/PCI), ATI Radeon VE/7000 QZ (AGP/PCI),
	ATI Radeon Mobility M7 LW (AGP),
	ATI Mobility FireGL 7800 M7 LX (AGP),
	ATI Radeon Mobility M6 LY (AGP), ATI Radeon Mobility M6 LZ (AGP),
	ATI Radeon IGP320 (A3) 4136, ATI Radeon IGP320M (U1) 4336,
	ATI Radeon IGP330/340/350 (A4) 4137,
	ATI Radeon IGP330M/340M/350M (U2) 4337,
	ATI Radeon 7000 IGP (A4+) 4237, ATI Radeon Mobility 7000 IGP 4437,
	ATI FireGL 8700/8800 QH (AGP), ATI Radeon 8500 QL (AGP),
	ATI Radeon 9100 QM (AGP), ATI Radeon 8500 AIW BB (AGP),
	ATI Radeon 8500 AIW BC (AGP), ATI Radeon 7500 QW (AGP/PCI),
	ATI Radeon 7500 QX (AGP/PCI), ATI Radeon 9000/PRO If (AGP/PCI),
	ATI Radeon 9000 Ig (AGP/PCI), ATI FireGL Mobility 9000 (M9) Ld (AGP),
	ATI Radeon Mobility 9000 (M9) Lf (AGP),
	ATI Radeon Mobility 9000 (M9) Lg (AGP),
	ATI Radeon 9100 IGP (A5) 5834,
	ATI Radeon Mobility 9100 IGP (U3) 5835,
	ATI Radeon 9200PRO 5960 (AGP), ATI Radeon 9200 5961 (AGP),
	ATI Radeon 9200 5962 (AGP), ATI Radeon 9200SE 5964 (AGP),
	ATI Radeon Mobility 9200 (M9+) 5C61 (AGP),
	ATI Radeon Mobility 9200 (M9+) 5C63 (AGP), ATI Radeon 9500 AD (AGP),
	ATI Radeon 9500 AE (AGP), ATI Radeon 9600TX AF (AGP),
	ATI FireGL Z1 AG (AGP), ATI Radeon 9700 Pro ND (AGP),
	ATI Radeon 9700/9500Pro NE (AGP), ATI Radeon 9700 NF (AGP),
	ATI FireGL X1 NG (AGP), ATI Radeon 9600 AP (AGP),
	ATI Radeon 9600SE AQ (AGP), ATI Radeon 9600XT AR (AGP),
	ATI Radeon 9600 AS (AGP), ATI FireGL T2 AT (AGP),
	ATI FireGL RV360 AV (AGP), ATI Radeon Mobility 9600 (M10) NP (AGP),
	ATI Radeon Mobility 9600 (M10) NQ (AGP),
	ATI Radeon Mobility 9600 (M11) NR (AGP),
	ATI Radeon Mobility 9600 (M10) NS (AGP),
	ATI FireGL Mobility T2 (M10) NT (AGP),
	ATI FireGL Mobility T2 (M11) NV (AGP), ATI Radeon 9800SE AH (AGP),
	ATI Radeon 9800 AI (AGP), ATI Radeon 9800 AJ (AGP),
	ATI FireGL X2 AK (AGP), ATI Radeon 9800PRO NH (AGP),
	ATI Radeon 9800 NI (AGP), ATI FireGL X2 NK (AGP),
	ATI Radeon 9800XT NJ (AGP)
(II) I810: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100,
	i810e, i815, i830M, 845G, 852GM/855GM, 865G
(II) IMSTT: driver (version 1.0.0) for IMS TwinTurbo chipsets : imstt128,
	imstt3d
(II) NEWPORT: driver for Newport Graphics Card: XL
(II) ARK: driver (version 0.5.0 for ARK Logic chipset: ark1000pv,
	ark2000pv, ark2000mt
(II) CYRIX: driver for Cyrix MediaGX Processors: mediagx
(II) Silicon Motion: driver (version 1.3.1) for Silicon Motion Lynx chipsets:
	Lynx, LynxE, Lynx3D, LynxEM, LynxEM+, Lynx3DM
(II) VESA: driver for VESA chipsets: vesa
(II) VGA: Generic VGA driver (version 4.0) for chipsets: generic
(II) DUMMY: Driver for Dummy chipsets: dummy
(II) v4l driver for Video4Linux
(II) Primary Device is: PCI 00:0d:0
(II) ATI:  Candidate "Device" section "ATI All in Wonder 128".
(--) Assigning device section with no busID to primary device
(--) Chipset ATI Rage 128 GL RE (PCI) 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 - 0x000effff (0x30000) MX[B]
	[4] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0	0xd9000000 - 0xd903ffff (0x40000) MX[B]
	[6] -1	0	0xd9044000 - 0xd90440ff (0x100) MX[B]
	[7] -1	0	0xd9045000 - 0xd90450ff (0x100) MX[B]
	[8] -1	0	0xd0000000 - 0xcfffffff (0x0) MX[B]O
	[9] -1	0	0xd9040000 - 0xd9043fff (0x4000) MX[B](B)
	[10] -1	0	0xd4000000 - 0xd7ffffff (0x4000000) MX[B](B)
	[11] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[12] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[13] -1	0	0x0000c000 - 0x0000c0ff (0x100) IX[B]
	[14] -1	0	0x0000bc00 - 0x0000bc03 (0x4) IX[B]
	[15] -1	0	0x0000b800 - 0x0000b807 (0x8) IX[B]
	[16] -1	0	0x0000b400 - 0x0000b403 (0x4) IX[B]
	[17] -1	0	0x0000b000 - 0x0000b007 (0x8) IX[B]
	[18] -1	0	0x0000a800 - 0x0000a807 (0x8) IX[B]
	[19] -1	0	0x0000a400 - 0x0000a407 (0x8) IX[B]
	[20] -1	0	0x0000a000 - 0x0000a0ff (0x100) IX[B]
	[21] -1	0	0x00009c00 - 0x00009cff (0x100) IX[B]
	[22] -1	0	0x00009800 - 0x0000981f (0x20) IX[B]
	[23] -1	0	0x00009400 - 0x0000941f (0x20) IX[B]
	[24] -1	0	0x00009000 - 0x0000900f (0x10) IX[B]
	[25] -1	0	0x0000ac00 - 0x0000acff (0x100) IX[B](B)
(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 - 0x000effff (0x30000) MX[B]
	[4] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0	0xd9000000 - 0xd903ffff (0x40000) MX[B]
	[6] -1	0	0xd9044000 - 0xd90440ff (0x100) MX[B]
	[7] -1	0	0xd9045000 - 0xd90450ff (0x100) MX[B]
	[8] -1	0	0xd0000000 - 0xcfffffff (0x0) MX[B]O
	[9] -1	0	0xd9040000 - 0xd9043fff (0x4000) MX[B](B)
	[10] -1	0	0xd4000000 - 0xd7ffffff (0x4000000) MX[B](B)
	[11] 0	0	0x000a0000 - 0x000affff (0x10000) MS[B]
	[12] 0	0	0x000b0000 - 0x000b7fff (0x8000) MS[B]
	[13] 0	0	0x000b8000 - 0x000bffff (0x8000) MS[B]
	[14] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[15] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[16] -1	0	0x0000c000 - 0x0000c0ff (0x100) IX[B]
	[17] -1	0	0x0000bc00 - 0x0000bc03 (0x4) IX[B]
	[18] -1	0	0x0000b800 - 0x0000b807 (0x8) IX[B]
	[19] -1	0	0x0000b400 - 0x0000b403 (0x4) IX[B]
	[20] -1	0	0x0000b000 - 0x0000b007 (0x8) IX[B]
	[21] -1	0	0x0000a800 - 0x0000a807 (0x8) IX[B]
	[22] -1	0	0x0000a400 - 0x0000a407 (0x8) IX[B]
	[23] -1	0	0x0000a000 - 0x0000a0ff (0x100) IX[B]
	[24] -1	0	0x00009c00 - 0x00009cff (0x100) IX[B]
	[25] -1	0	0x00009800 - 0x0000981f (0x20) IX[B]
	[26] -1	0	0x00009400 - 0x0000941f (0x20) IX[B]
	[27] -1	0	0x00009000 - 0x0000900f (0x10) IX[B]
	[28] -1	0	0x0000ac00 - 0x0000acff (0x100) IX[B](B)
	[29] 0	0	0x000003b0 - 0x000003bb (0xc) IS[B]
	[30] 0	0	0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(II) R128(0): PCI bus 0 card 13 func 0
(**) R128(0): Depth 16, (--) framebuffer bpp 16
(II) R128(0): Pixel depth = 16 bits stored in 2 bytes (16 bpp pixmaps)
(==) R128(0): Default visual is TrueColor
(==) R128(0): RGB weight 565
(II) R128(0): Using 6 bits per RGB (8 bit DAC)
(II) R128(0): initializing int10
(II) R128(0): Primary V_BIOS segment is: 0xc000
(--) R128(0): Chipset: "ATI Rage 128 GL RE (PCI)" (ChipID = 0x5245)
(--) R128(0): Linear framebuffer at 0xd4000000
(--) R128(0): MMIO registers at 0xd9040000
(II) R128(0): Video RAM override, using 16384 kB instead of 16384 kB
(**) R128(0): VideoRAM: 16384 kByte (128-bit SDR SGRAM 1:1)
(**) R128(0): Using external CRT for display
(WW) R128(0): Can't determine panel dimensions, and none specified.
	Disabling programming of FP registers.
(II) R128(0): PLL parameters: rf=2864 rd=63 min=12500 max=25000; xclk=9000
(II) R128(0): VESA BIOS detected
(II) R128(0): VESA VBE Version 2.0
(II) R128(0): VESA VBE Total Mem: 16384 kB
(II) R128(0): VESA VBE OEM: ATI RAGE128
(II) R128(0): VESA VBE OEM Software Rev: 1.0
(II) R128(0): VESA VBE OEM Vendor: ATI Technologies Inc.
(II) R128(0): VESA VBE OEM Product: R128
(II) R128(0): VESA VBE OEM Product Rev: 01.00
(II) R128(0): VESA VBE DDC supported
(II) R128(0): VESA VBE DDC Level 2
(II) R128(0): VESA VBE DDC transfer in appr. 2 sec.
(II) R128(0): VESA VBE DDC read failed
(==) R128(0): Using gamma correction (1.0, 1.0, 1.0)
(II) R128(0): NEC MultiSync LCD 1530V: Using hsync range of 30.00-60.00 kHz
(II) R128(0): NEC MultiSync LCD 1530V: Using vrefresh range of 50.00-75.00 Hz
(II) R128(0): Clock range:  12.50 to 250.00 MHz
(II) R128(0): Not using default mode "640x350" (vrefresh out of range)
(II) R128(0): Not using default mode "320x175" (vrefresh out of range)
(II) R128(0): Not using default mode "640x400" (vrefresh out of range)
(II) R128(0): Not using default mode "320x200" (vrefresh out of range)
(II) R128(0): Not using default mode "720x400" (vrefresh out of range)
(II) R128(0): Not using default mode "360x200" (vrefresh out of range)
(II) R128(0): Not using default mode "640x480" (vrefresh out of range)
(II) R128(0): Not using default mode "320x240" (vrefresh out of range)
(II) R128(0): Not using default mode "800x600" (vrefresh out of range)
(II) R128(0): Not using default mode "400x300" (vrefresh out of range)
(II) R128(0): Not using default mode "1024x768" (vrefresh out of range)
(II) R128(0): Not using default mode "512x384" (vrefresh out of range)
(II) R128(0): Not using default mode "1024x768" (hsync out of range)
(II) R128(0): Not using default mode "512x384" (hsync out of range)
(II) R128(0): Not using default mode "1152x864" (hsync out of range)
(II) R128(0): Not using default mode "576x432" (hsync out of range)
(II) R128(0): Not using default mode "1280x960" (hsync out of range)
(II) R128(0): Not using default mode "640x480" (hsync out of range)
(II) R128(0): Not using default mode "1280x1024" (hsync out of range)
(II) R128(0): Not using default mode "640x512" (hsync out of range)
(II) R128(0): Not using default mode "1280x1024" (hsync out of range)
(II) R128(0): Not using default mode "640x512" (hsync out of range)
(II) R128(0): Not using default mode "1280x1024" (hsync out of range)
(II) R128(0): Not using default mode "640x512" (hsync out of range)
(II) R128(0): Not using default mode "1600x1200" (hsync out of range)
(II) R128(0): Not using default mode "800x600" (hsync out of range)
(II) R128(0): Not using default mode "1600x1200" (hsync out of range)
(II) R128(0): Not using default mode "800x600" (hsync out of range)
(II) R128(0): Not using default mode "1600x1200" (hsync out of range)
(II) R128(0): Not using default mode "800x600" (hsync out of range)
(II) R128(0): Not using default mode "1600x1200" (hsync out of range)
(II) R128(0): Not using default mode "800x600" (hsync out of range)
(II) R128(0): Not using default mode "1600x1200" (hsync out of range)
(II) R128(0): Not using default mode "800x600" (hsync out of range)
(II) R128(0): Not using default mode "1792x1344" (hsync out of range)
(II) R128(0): Not using default mode "896x672" (hsync out of range)
(II) R128(0): Not using default mode "1792x1344" (bad mode clock/interlace/doublescan)
(II) R128(0): Not using default mode "896x672" (hsync out of range)
(II) R128(0): Not using default mode "1856x1392" (hsync out of range)
(II) R128(0): Not using default mode "928x696" (hsync out of range)
(II) R128(0): Not using default mode "1856x1392" (bad mode clock/interlace/doublescan)
(II) R128(0): Not using default mode "928x696" (hsync out of range)
(II) R128(0): Not using default mode "1920x1440" (hsync out of range)
(II) R128(0): Not using default mode "960x720" (hsync out of range)
(II) R128(0): Not using default mode "1920x1440" (bad mode clock/interlace/doublescan)
(II) R128(0): Not using default mode "960x720" (hsync out of range)
(II) R128(0): Not using default mode "1400x1050" (hsync out of range)
(II) R128(0): Not using default mode "700x525" (hsync out of range)
(II) R128(0): Not using default mode "1400x1050" (hsync out of range)
(II) R128(0): Not using default mode "700x525" (hsync out of range)
(II) R128(0): Not using default mode "1600x1024" (hsync out of range)
(II) R128(0): Not using default mode "800x512" (hsync out of range)
(II) R128(0): Not using default mode "1920x1440" (bad mode clock/interlace/doublescan)
(II) R128(0): Not using default mode "960x720" (hsync out of range)
(II) R128(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
(II) R128(0): Not using default mode "1024x768" (hsync out of range)
(II) R128(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
(II) R128(0): Not using default mode "1024x768" (hsync out of range)
(II) R128(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
(II) R128(0): Not using default mode "1024x768" (hsync out of range)
(II) R128(0): Not using default mode "1280x960" (width too large for virtual size)
(II) R128(0): Not using default mode "1152x768" (width too large for virtual size)
(--) R128(0): Virtual size is 1024x768 (pitch 1024)
(**) R128(0): *Default mode "1024x768": 78.8 MHz, 60.1 kHz, 75.1 Hz
(II) R128(0): Modeline "1024x768"   78.80  1024 1040 1136 1312  768 769 772 800 +hsync +vsync
(**) R128(0):  Default mode "1024x768": 75.0 MHz, 56.5 kHz, 70.1 Hz
(II) R128(0): Modeline "1024x768"   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync
(**) R128(0):  Default mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz
(II) R128(0): Modeline "1024x768"   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync
(**) R128(0):  Default mode "832x624": 57.3 MHz, 49.7 kHz, 74.6 Hz
(II) R128(0): Modeline "832x624"   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync
(**) R128(0):  Default mode "800x600": 49.5 MHz, 46.9 kHz, 75.0 Hz
(II) R128(0): Modeline "800x600"   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync
(**) R128(0):  Default mode "800x600": 50.0 MHz, 48.1 kHz, 72.2 Hz
(II) R128(0): Modeline "800x600"   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync
(**) R128(0):  Default mode "800x600": 40.0 MHz, 37.9 kHz, 60.3 Hz
(II) R128(0): Modeline "800x600"   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync
(**) R128(0):  Default mode "800x600": 36.0 MHz, 35.2 kHz, 56.2 Hz
(II) R128(0): Modeline "800x600"   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync
(**) R128(0):  Default mode "640x480": 31.5 MHz, 37.5 kHz, 75.0 Hz
(II) R128(0): Modeline "640x480"   31.50  640 656 720 840  480 481 484 500 -hsync -vsync
(**) R128(0):  Default mode "640x480": 31.5 MHz, 37.9 kHz, 72.8 Hz
(II) R128(0): Modeline "640x480"   31.50  640 664 704 832  480 489 491 520 -hsync -vsync
(**) R128(0):  Default mode "640x480": 25.2 MHz, 31.5 kHz, 60.0 Hz
(II) R128(0): Modeline "640x480"   25.20  640 656 752 800  480 490 492 525 -hsync -vsync
(**) R128(0):  Default mode "640x480": 54.0 MHz, 60.0 kHz, 60.0 Hz (D)
(II) R128(0): Modeline "640x480"   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync
(**) R128(0):  Default mode "576x384": 32.5 MHz, 44.2 kHz, 54.8 Hz (D)
(II) R128(0): Modeline "576x384"   32.50  576 589 657 736  384 385 388 403 doublescan +hsync +vsync
(**) R128(0):  Default mode "512x384": 39.4 MHz, 60.1 kHz, 75.1 Hz (D)
(II) R128(0): Modeline "512x384"   39.40  512 520 568 656  384 384 386 400 doublescan +hsync +vsync
(**) R128(0):  Default mode "512x384": 37.5 MHz, 56.5 kHz, 70.1 Hz (D)
(II) R128(0): Modeline "512x384"   37.50  512 524 592 664  384 385 388 403 doublescan -hsync -vsync
(**) R128(0):  Default mode "512x384": 32.5 MHz, 48.4 kHz, 60.0 Hz (D)
(II) R128(0): Modeline "512x384"   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync
(**) R128(0):  Default mode "416x312": 28.6 MHz, 49.7 kHz, 74.7 Hz (D)
(II) R128(0): Modeline "416x312"   28.64  416 432 464 576  312 312 314 333 doublescan -hsync -vsync
(**) R128(0):  Default mode "400x300": 24.8 MHz, 46.9 kHz, 75.1 Hz (D)
(II) R128(0): Modeline "400x300"   24.75  400 408 448 528  300 300 302 312 doublescan +hsync +vsync
(**) R128(0):  Default mode "400x300": 25.0 MHz, 48.1 kHz, 72.2 Hz (D)
(II) R128(0): Modeline "400x300"   25.00  400 428 488 520  300 318 321 333 doublescan +hsync +vsync
(**) R128(0):  Default mode "400x300": 20.0 MHz, 37.9 kHz, 60.3 Hz (D)
(II) R128(0): Modeline "400x300"   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync
(**) R128(0):  Default mode "400x300": 18.0 MHz, 35.2 kHz, 56.3 Hz (D)
(II) R128(0): Modeline "400x300"   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync
(**) R128(0):  Default mode "320x240": 15.8 MHz, 37.5 kHz, 75.0 Hz (D)
(II) R128(0): Modeline "320x240"   15.75  320 328 360 420  240 240 242 250 doublescan -hsync -vsync
(**) R128(0):  Default mode "320x240": 15.8 MHz, 37.9 kHz, 72.8 Hz (D)
(II) R128(0): Modeline "320x240"   15.75  320 332 352 416  240 244 245 260 doublescan -hsync -vsync
(**) R128(0):  Default mode "320x240": 12.6 MHz, 31.5 kHz, 60.1 Hz (D)
(II) R128(0): Modeline "320x240"   12.60  320 328 376 400  240 245 246 262 doublescan -hsync -vsync
(==) R128(0): DPI set to (75, 75)
(II) R128(0): Page flipping disabled
(!!) R128(0): For information on using the multimedia capabilities
	of this adapter, please see http://gatos.sf.net.
(II) resource ranges after preInit:
	[0] 0	0	0xd9040000 - 0xd9043fff (0x4000) MS[B]
	[1] 0	0	0xd4000000 - 0xd7ffffff (0x4000000) MS[B]
	[2] -1	0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[3] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[4] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[5] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[6] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[7] -1	0	0xd9000000 - 0xd903ffff (0x40000) MX[B]
	[8] -1	0	0xd9044000 - 0xd90440ff (0x100) MX[B]
	[9] -1	0	0xd9045000 - 0xd90450ff (0x100) MX[B]
	[10] -1	0	0xd0000000 - 0xcfffffff (0x0) MX[B]O
	[11] -1	0	0xd9040000 - 0xd9043fff (0x4000) MX[B](B)
	[12] -1	0	0xd4000000 - 0xd7ffffff (0x4000000) MX[B](B)
	[13] 0	0	0x000a0000 - 0x000affff (0x10000) MS[B](OprU)
	[14] 0	0	0x000b0000 - 0x000b7fff (0x8000) MS[B](OprU)
	[15] 0	0	0x000b8000 - 0x000bffff (0x8000) MS[B](OprU)
	[16] 0	0	0x0000ac00 - 0x0000acff (0x100) IS[B]
	[17] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[18] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[19] -1	0	0x0000c000 - 0x0000c0ff (0x100) IX[B]
	[20] -1	0	0x0000bc00 - 0x0000bc03 (0x4) IX[B]
	[21] -1	0	0x0000b800 - 0x0000b807 (0x8) IX[B]
	[22] -1	0	0x0000b400 - 0x0000b403 (0x4) IX[B]
	[23] -1	0	0x0000b000 - 0x0000b007 (0x8) IX[B]
	[24] -1	0	0x0000a800 - 0x0000a807 (0x8) IX[B]
	[25] -1	0	0x0000a400 - 0x0000a407 (0x8) IX[B]
	[26] -1	0	0x0000a000 - 0x0000a0ff (0x100) IX[B]
	[27] -1	0	0x00009c00 - 0x00009cff (0x100) IX[B]
	[28] -1	0	0x00009800 - 0x0000981f (0x20) IX[B]
	[29] -1	0	0x00009400 - 0x0000941f (0x20) IX[B]
	[30] -1	0	0x00009000 - 0x0000900f (0x10) IX[B]
	[31] -1	0	0x0000ac00 - 0x0000acff (0x100) IX[B](B)
	[32] 0	0	0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
	[33] 0	0	0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(==) R128(0): Write-combining range (0xd4000000,0x1000000)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmGetBusid returned ''
(II) R128(0): [drm] loaded kernel module for "r128" driver
(II) R128(0): [drm] created "r128" driver at busid "PCI:0:13:0"
(II) R128(0): [drm] added 8192 byte SAREA at 0xf8831000
(II) R128(0): [drm] mapped SAREA 0xf8831000 to 0x41217000
(II) R128(0): [drm] framebuffer handle = 0xd4000000
(II) R128(0): [drm] added 1 reserved context for kernel
(II) R128(0): [pci] 8192 kB allocated with handle 0xf8a5b000
(II) R128(0): [pci] ring handle = 0xf8a5b000
(II) R128(0): [pci] Ring mapped at 0x41219000
(II) R128(0): [pci] Ring contents 0x00000000
(II) R128(0): [pci] ring read ptr handle = 0xf8b5c000
(II) R128(0): [pci] Ring read ptr mapped at 0x4131a000
(II) R128(0): [pci] Ring read ptr contents 0x00000000
(II) R128(0): [pci] vertex/indirect buffers handle = 0xf8b5d000
(II) R128(0): [pci] Vertex/indirect buffers mapped at 0x4131b000
(II) R128(0): [pci] Vertex/indirect buffers contents 0x00000000
(II) R128(0): [drm] register handle = 0xd9040000
(II) R128(0): [dri] Visual configs initialized
(II) R128(0): CCE in BM mode
(II) R128(0): Using 8 MB AGP aperture
(II) R128(0): Using 1 MB for the ring buffer
(II) R128(0): Using 2 MB for vertex/indirect buffers
(II) R128(0): Using 1 MB for AGP textures
(II) R128(0): Memory manager initialized to (0,0) (1024,3840)
(II) R128(0): Reserved area from (0,768) to (1024,770)
(II) R128(0): Largest offscreen area available: 1024 x 3070
(II) R128(0): Reserved back buffer from (0,770) to (1024,1538)
(II) R128(0): Reserved depth buffer from (0,1538) to (1024,2307)
(II) R128(0): Reserved depth span from (0,2306) offset 0x481000
(II) R128(0): Reserved 8704 kb for textures at offset 0x780000
(II) R128(0): Using XFree86 Acceleration Architecture (XAA)
	Screen to screen bit blits
	Solid filled rectangles
	8x8 mono pattern filled rectangles
	Indirect CPU to Screen color expansion
	Solid Lines
	Dashed Lines
	Offscreen Pixmaps
	Setting up tile and stipple cache:
		32 128x128 slots
		14 256x256 slots
(II) R128(0): Acceleration enabled
(==) R128(0): Backing store disabled
(==) R128(0): Silken mouse enabled
(II) R128(0): Using hardware cursor (scanline 4614)
(II) R128(0): Largest offscreen area available: 1024 x 1531
(**) Option "dpms"
(**) R128(0): DPMS enabled
(II) R128(0): X context handle = 0x00000001
(II) R128(0): [drm] installed DRM signal handler
(II) R128(0): [DRI] installation complete
(II) R128(0): [drm] Added 128 16384 byte vertex/indirect buffers
(II) R128(0): [drm] Mapped 128 vertex/indirect buffers
(II) R128(0): [drm] dma control initialized, using IRQ 18
(II) R128(0): Direct rendering enabled
(==) RandR enabled
(II) Keyboard "Generic Keyboard" handled by legacy driver
(**) Option "Protocol" "IntelliMouse"
(**) Configured Mouse: Protocol: "IntelliMouse"
(**) Option "CorePointer"
(**) Configured Mouse: Core Pointer
(**) Option "Device" "/dev/gpmdata"
(**) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Configured Mouse: ZAxisMapping: buttons 4 and 5
(**) Configured Mouse: Buttons: 5
(**) Option "BaudRate" "1200"
(**) Configured Mouse: BaudRate: 1200
(**) Option "Protocol" "ImPS/2"
(**) Generic Mouse: Protocol: "ImPS/2"
(**) Option "SendCoreEvents" "true"
(**) Generic Mouse: always reports core events
(**) Option "Device" "/dev/input/mice"
(**) Generic Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Generic Mouse: ZAxisMapping: buttons 4 and 5
(**) Generic Mouse: Buttons: 5
(II) XINPUT: Adding extended input device "Generic Mouse" (type: MOUSE)
(II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
(II) Generic Mouse: ps2EnableDataReporting: succeeded
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) Generic Mouse: ps2EnableDataReporting: succeeded
GetModeLine - scrn: 0 clock: 78800
GetModeLine - hdsp: 1024 hbeg: 1040 hend: 1136 httl: 1312
              vdsp: 768 vbeg: 769 vend: 772 vttl: 800 flags: 5
GetModeLine - scrn: 0 clock: 78800
GetModeLine - hdsp: 1024 hbeg: 1040 hend: 1136 httl: 1312
              vdsp: 768 vbeg: 769 vend: 772 vttl: 800 flags: 5
(II) R128(0): [drm] removed 1 reserved context for kernel
(II) R128(0): [drm] unmapping 8192 bytes of SAREA 0xf8831000 at 0x41217000
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(==) R128(0): Write-combining range (0xd4000000,0x1000000)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmGetBusid returned ''
(II) R128(0): [drm] created "r128" driver at busid "PCI:0:13:0"
(II) R128(0): [drm] added 8192 byte SAREA at 0xf8831000
(II) R128(0): [drm] mapped SAREA 0xf8831000 to 0x41217000
(II) R128(0): [drm] framebuffer handle = 0xd4000000
(II) R128(0): [drm] added 1 reserved context for kernel
(II) R128(0): [pci] 8192 kB allocated with handle 0xf8a5b000
(II) R128(0): [pci] ring handle = 0xf8a5b000
(II) R128(0): [pci] Ring mapped at 0x41219000
(II) R128(0): [pci] Ring contents 0x00000000
(II) R128(0): [pci] ring read ptr handle = 0xf8b5c000
(II) R128(0): [pci] Ring read ptr mapped at 0x4131a000
(II) R128(0): [pci] Ring read ptr contents 0x00000000
(II) R128(0): [pci] vertex/indirect buffers handle = 0xf8b5d000
(II) R128(0): [pci] Vertex/indirect buffers mapped at 0x4131b000
(II) R128(0): [pci] Vertex/indirect buffers contents 0x00000000
(II) R128(0): [drm] register handle = 0xd9040000
(II) R128(0): [dri] Visual configs initialized
(II) R128(0): CCE in BM mode
(II) R128(0): Using 8 MB AGP aperture
(II) R128(0): Using 1 MB for the ring buffer
(II) R128(0): Using 2 MB for vertex/indirect buffers
(II) R128(0): Using 1 MB for AGP textures
(II) R128(0): Memory manager initialized to (0,0) (1024,3840)
(II) R128(0): Reserved area from (0,768) to (1024,770)
(II) R128(0): Largest offscreen area available: 1024 x 3070
(II) R128(0): Reserved back buffer from (0,770) to (1024,1538)
(II) R128(0): Reserved depth buffer from (0,1538) to (1024,2307)
(II) R128(0): Reserved depth span from (0,2306) offset 0x481000
(II) R128(0): Reserved 8704 kb for textures at offset 0x780000
(II) R128(0): Acceleration enabled
(II) R128(0): Using hardware cursor (scanline 4614)
(II) R128(0): Largest offscreen area available: 1024 x 1531
(**) R128(0): DPMS enabled
(II) R128(0): X context handle = 0x00000001
(II) R128(0): [drm] installed DRM signal handler
(II) R128(0): [DRI] installation complete
(II) R128(0): [drm] Added 128 16384 byte vertex/indirect buffers
(II) R128(0): [drm] Mapped 128 vertex/indirect buffers
(II) R128(0): [drm] dma control initialized, using IRQ 18
(II) R128(0): Direct rendering enabled
(==) RandR enabled
(II) Generic Mouse: ps2EnableDataReporting: succeeded
GetModeLine - scrn: 0 clock: 78800
GetModeLine - hdsp: 1024 hbeg: 1040 hend: 1136 httl: 1312
              vdsp: 768 vbeg: 769 vend: 772 vttl: 800 flags: 5
[snip more of the same]
GetModeLine - scrn: 0 clock: 78800
GetModeLine - hdsp: 1024 hbeg: 1040 hend: 1136 httl: 1312
              vdsp: 768 vbeg: 769 vend: 772 vttl: 800 flags: 5
(EE) R128(0): R128CCEWaitForIdle: (DEBUG) CCE idle took j = 0
(EE) R128(0): R128CCEWaitForIdle: (DEBUG) CCE idle took j = 0
(EE) R128(0): R128CCEWaitForIdle: (DEBUG) CCE idle took j = 0
[snip more of the same]
GetModeLine - scrn: 0 clock: 78800
GetModeLine - hdsp: 1024 hbeg: 1040 hend: 1136 httl: 1312
              vdsp: 768 vbeg: 769 vend: 772 vttl: 800 flags: 5
(EE) R128(0): R128CCEWaitForIdle: (DEBUG) CCE idle took j = 30000001
(EE) R128(0): Idle timed out, resetting engine...


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-rc4
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages xserver-xfree86 depends on:
ii  debconf [debconf-2.0]     1.4.39         Debian configuration management sy
ii  libc6                     2.3.2.ds1-18   GNU C Library: Shared libraries an
ii  libgcc1                   1:3.4.2-3      GCC support library
ii  xserver-common            4.3.0.dfsg.1-8 files and utilities common to all 
ii  zlib1g                    1:1.2.2-1      compression library - runtime

-- debconf information:
  xserver-xfree86/config/monitor/screen-size: 17 inches (430 mm)
* xserver-xfree86/config/device/use_fbdev: false
* xserver-xfree86/config/monitor/selection-method: Medium
  xserver-xfree86/config/doublequote_in_string_error:
* xserver-xfree86/config/device/bus_id:
* xserver-xfree86/config/device/video_ram: 16384
* xserver-xfree86/config/monitor/lcd: true
  xserver-xfree86/config/inputdevice/keyboard/internal:
* xserver-xfree86/config/device/driver: ati
  xserver-xfree86/config/monitor/vert-refresh: 50-85
* xserver-xfree86/config/display/default_depth: 16
* xserver-xfree86/config/display/modes: 1600x1200
* xserver-xfree86/config/modules: GLcore, bitmap, dbe, ddc, dri, extmod, freetype, glx, int10, record, speedo, type1, vbe
  xserver-xfree86/config/monitor/range_input_error:
  xserver-xfree86/autodetect_video_card: true
* xserver-xfree86/config/inputdevice/keyboard/variant:
* xserver-xfree86/config/inputdevice/mouse/port: /dev/gpmdata
* xserver-xfree86/config/write_files_section: true
  xserver-xfree86/autodetect_monitor: true
* xserver-xfree86/config/device/identifier: ATI All in Wonder 128
* shared/default-x-server: xserver-xfree86-dbg
* xserver-xfree86/config/inputdevice/mouse/emulate3buttons: false
* xserver-xfree86/config/inputdevice/keyboard/layout: us
  xserver-xfree86/config/monitor/horiz-sync: 30-75
* xserver-xfree86/config/monitor/identifier: NEC MultiSync LCD 1530V
  shared/no_known_x-server:
  xserver-xfree86/autodetect_mouse: true
* xserver-xfree86/config/monitor/mode-list: 1600x1200 @ 60Hz
* xserver-xfree86/clobber_XF86Config-4: false
* xserver-xfree86/config/inputdevice/keyboard/rules: xfree86
* xserver-xfree86/aware_XF86Config-4:
  xserver-xfree86/multiple_possible_x-drivers:
* xserver-xfree86/config/inputdevice/keyboard/model: pc104
* xserver-xfree86/config/write_dri_section: true
* xserver-xfree86/config/inputdevice/mouse/zaxismapping: true
  xserver-xfree86/config/inputdevice/mouse/retry_detection:
  xserver-xfree86/config/device/bus_id_error:
* xserver-xfree86/config/inputdevice/keyboard/options:
  xserver-xfree86/config/nonnumeric_string_error:
* xserver-xfree86/config/inputdevice/mouse/protocol: IntelliMouse
  shared/multiple_possible_x-servers:
  xserver-xfree86/config/null_string_error:

-- 
Daniel Jacobowitz
$Id: 009_ati_r128_retry_idle_until_timeout.diff 1535 2004-06-15 17:03:25Z branden $

Attempt to mitigate serious DRI performance problems on Rage 128 chips by
retrying CCE idle commands until the timeout is reached.  See Debian
#223089, #236187, #236373, #243436.

This patch by Daniel Jacobowitz.

Not submitted to XFree86 upstream.

--- xc/programs/Xserver/hw/xfree86/drivers/ati/r128_accel.c~	2004-06-01 12:17:33.000000000 -0500
+++ xc/programs/Xserver/hw/xfree86/drivers/ati/r128_accel.c	2004-06-01 12:21:37.000000000 -0500
@@ -236,17 +236,23 @@
         i = 0;
         do {
             ret = drmCommandNone(info->drmFD, DRM_R128_CCE_IDLE);
-        } while ( ret && errno == EBUSY && i++ < R128_IDLE_RETRY );
+        } while ( ret && errno == EBUSY && i++ < (R128_IDLE_RETRY * R128_IDLE_RETRY) );
 
 	if (ret && ret != -EBUSY) {
 	    xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
 		       "%s: CCE idle %d\n", __FUNCTION__, ret);
 	}
 
+	if (i > R128_IDLE_RETRY) {
+	    xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
+		       "%s: (DEBUG) CCE idle took i = %d\n", __FUNCTION__, i);
+	}
+
 	if (ret == 0) return;
 
 	xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
 		   "Idle timed out, resetting engine...\n");
+	R128CCE_STOP(pScrn, info);
 	R128EngineReset(pScrn);
 
 	/* Always restart the engine when doing CCE 2D acceleration */

Reply to: