On Sun, 26 May 2002, hy0 wrote:

> This one (VT switching lockup with DRI) has been haunting us for a
> while. It appears to be hardware (Agp chipset) related.

Yes, and here is something a bit odd:  in one of my boxes, replacing a
Tyan S2460 motherboard (AMD 760MP chipset) with an ASUS A7M266-D
motherboard (AMD 760MPX chipset) got rid of the problem.  But the 760MP
and 760MPX chipset have the same northbridge, the AMD 762, and differ only
in the southbridge (AMD 766 vs AMD 768).  I just checked, the two boards
have the same revision of the AMD 762.  So shouldn't these motherboards be
identical from the AGP point of view?  Unless the BIOSes set up the
northbridge differently on each machine.

> Unfortunately I can't reproduce this problem on all my boxes. There are
> a few things you can try to narrow the problem down:
>
> 1. What is the agp mode used by drmAgpEnable call? This should already
> be in your log file -- search for '[agp] Mode' line.

If I don't put any Option AGPMode line in my XF86Config, it reads 
"[agp] Mode 0x0f000211 [AGP 0x1022/0x700c; Card 0x1002/0x5159]".  With 
Option AGPMode 4, the first hex value is instead 0x0f000217.

> 2. Try to verify if the lockup happens in RADEONCP_START call (from
> RADEONEnterVT in radeon_driver.c). If you can still remote login or do a
> hot reboot after the lockup, this can be easily verified by adding some
> log messages around that call.

It happens after RADEONCP_START.  Well, I decided to try all your
suggestions at once (see below), so all I can say is that with sleep(1)  
before and after RADEONCP_START, the lockup happens after RADEONCP_START.

> Also what does the dmesg say after the lockup?

Nothing--the lockup appears to be only X (and hence the console).  I don't
have a machine handy to remotely login with, but if I did, I bet I could
kill X and then if I could reinitialize the video card and console, I'd be
back in business.

> 3. Since you can see some drawings, the lockup seems to happen later
> (after the CP_START call). If that's the case, try to add some delay
> (sleep(1)) before and after RADEONCP_START in RADEONEnterVT. If it
> doesn't help, you can add a "return;" right after "a->sync = ..." in
> RADEONCPAccelInit of radeon_accel.c. This will disable all 2D
> acceleration routines, just to see

OK, I decided to try everything you suggested at once, so as to only
recompile X once.  Below is first the patch I used (relative to the
directory xc/programs/Xserver/hw/xfree86/drivers/ati), then the full
XFree86.0.log.  I turned on RADEON_DEBUG, and I had to fix a couple things
to get it to compile with RADEON_DEBUG turned on.

I should note that without this patch, when switching back to X, it just
shows the screen with the top just garbage, then is frozen (I'm guessing
this is because the chipset is reconfigured for the graphics display, and
it is just showing the contents of the framebuffer, which is what it was
when I switched to the text VT, but the top part was scribbled over by the
text VT).  With the patch, there's clearly three different screens: first
I would say the screen with the top scribbled, then the screen without the
top scribbled, but it is still not quite right (maybe the border is
funny?), then the screen with the top scribbled again.  Anyway, it was
still kind of fast, so I don't know if my impressions are accurate or that
useful.

Cheers,
Wayne



--- radeon_accel.c.~1.25.~      Wed Apr 24 09:20:39 2002
+++ radeon_accel.c      Sun Jun  2 09:54:01 2002
@@ -1572,6 +1572,9 @@
                                /* Sync */
     a->Sync                             = RADEONCPWaitForIdle;
 
+    /* Disable 2D Acceleration */
+    return;
+
                                /* Solid Filled Rectangle */
     a->PolyFillRectSolidFlags           = 0;
     a->SetupForSolidFill                = RADEONCPSetupForSolidFill;
--- radeon_driver.c.~1.56.~     Tue May 14 13:02:34 2002
+++ radeon_driver.c     Sun Jun  2 10:08:16 2002
@@ -4188,7 +4188,7 @@
 }
 
 /* Define PLL registers for requested video mode */
-static void RADEONInitPLLRegisters(RADEONSavePtr save, RADEONPLLPtr pll,
+static void RADEONInitPLLRegisters(ScrnInfoPtr pScrn, RADEONSavePtr save, 
+RADEONPLLPtr pll,
                                   double dot_clock)
 {
     unsigned long  freq = dot_clock * 100;
@@ -4240,7 +4240,7 @@
 }
 
 /* Define PLL2 registers for requested video mode */
-static void RADEONInitPLL2Registers(RADEONSavePtr save, RADEONPLLPtr pll,
+static void RADEONInitPLL2Registers(ScrnInfoPtr pScrn, RADEONSavePtr save, 
+RADEONPLLPtr pll,
                                    double dot_clock)
 {
     unsigned long  freq = dot_clock * 100;
@@ -4360,14 +4360,14 @@
        if (!RADEONInitCrtc2Registers(pScrn, save,
                                      pScrn->currentMode,info))
            return FALSE;
-       RADEONInitPLL2Registers(save, &info->pll, dot_clock);
+       RADEONInitPLL2Registers(pScrn, save, &info->pll, dot_clock);
     } else {
        RADEONInitCommonRegisters(save, info);
        if (!RADEONInitCrtcRegisters(pScrn, save, mode, info))
            return FALSE;
 
        if (dot_clock) {
-           RADEONInitPLLRegisters(save, &info->pll, dot_clock);
+           RADEONInitPLLRegisters(pScrn, save, &info->pll, dot_clock);
        } else {
            save->ppll_ref_div = info->SavedReg.ppll_ref_div;
            save->ppll_div_3   = info->SavedReg.ppll_div_3;
@@ -4377,7 +4377,7 @@
        if (info->Clone && info->CurCloneMode) {
            RADEONInitCrtc2Registers(pScrn, save, info->CurCloneMode, info);
            dot_clock = info->CurCloneMode->Clock / 1000.0;
-           RADEONInitPLL2Registers(save, &info->pll, dot_clock);
+           RADEONInitPLL2Registers(pScrn, save, &info->pll, dot_clock);
        }
        /* Not used for now: */
      /* if (!info->PaletteSavedOnVT) RADEONInitPalette(save); */
@@ -4556,7 +4556,11 @@
 
 #ifdef XF86DRI
     if (RADEONPTR(pScrn)->directRenderingEnabled) {
+       RADEONTRACE(("About to RADEONCP_START\n"));
+       sleep(1);
        RADEONCP_START(pScrn, info);
+       RADEONTRACE(("Finished RADEONCP_START\n"));
+       sleep(1);
        DRIUnlock(pScrn->pScreen);
     }
 #endif
--- radeon.h.~1.25.~    Wed Apr 24 09:20:39 2002
+++ radeon.h    Sun Jun  2 10:03:56 2002
@@ -66,7 +66,9 @@
 #include "picturestr.h"
 #endif
 
-#define RADEON_DEBUG    0       /* Turn off debugging output                 */
+#include "radeon_version.h"
+
+#define RADEON_DEBUG    1       /* Turn off debugging output                 */
 #define RADEON_TIMEOUT  2000000 /* Fall out of wait loops after this count   */
 #define RADEON_MMIOSIZE 0x80000



This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may be reported to [EMAIL PROTECTED] and patches submitted
to [EMAIL PROTECTED]  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.1 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: xx January 2002
        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: Linux 2.5.15-dj2-acpi-lvm-wayne i686 [ELF] 
Module Loader present
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 Jun  2 10:12:00 2002
(==) Using config file: "/etc/X11/XF86Config"
(==) ServerLayout "XFree86"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Radeon0"
(**) |-->Input Device "Trackball1"
(**) |-->Input Device "Touchpad0"
(**) |-->Input Device "Keyboard0"
(==) Keyboard: CustomKeycode disabled
(**) FontPath set to "unix/:7100"
(==) RgbPath set to "/usr/X11R6-CVS/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6-CVS/lib/modules"
(**) Option "BlankTime" "5"
(**) Option "StandbyTime" "10"
(**) Option "SuspendTime" "15"
(**) Option "OffTime" "20"
(++) using VT number 7

(WW) Open APM failed (/dev/apm_bios) (No such device)
Couldn't open RGB_DB '/usr/X11R6-CVS/lib/X11/rgb'
(II) Module ABI versions:
        XFree86 ANSI C Emulation: 0.1
        XFree86 Video Driver: 0.6
        XFree86 XInput driver : 0.3
        XFree86 Server Extension : 0.1
        XFree86 Font Renderer : 0.3
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6-CVS/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
        compiled for 4.2.99.1, module version = 1.0.0
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6-CVS/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
        compiled for 4.2.99.1, module version = 0.1.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 = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1022,700c card 0000,0000 rev 11 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 1022,700d card 0000,0000 rev 00 class 06,04,00 hdr 01
(II) PCI: 00:07:0: chip 1022,7410 card 0000,0000 rev 02 class 06,01,00 hdr 80
(II) PCI: 00:07:1: chip 1022,7411 card 0000,0000 rev 01 class 01,01,8a hdr 00
(II) PCI: 00:07:3: chip 1022,7413 card 0000,0000 rev 01 class 06,80,00 hdr 00
(II) PCI: 00:07:4: chip 1022,7414 card 0000,0000 rev 07 class 0c,03,10 hdr 00
(II) PCI: 00:0c:0: chip 11ad,0002 card 1385,f004 rev 21 class 02,00,00 hdr 00
(II) PCI: 00:0d:0: chip 1105,8300 card 0000,0000 rev 02 class 04,80,00 hdr 00
(II) PCI: 01:05:0: chip 1002,5159 card 1002,013a rev 00 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) LoadModule: "scanpci"
(II) Loading /usr/X11R6-CVS/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
        compiled for 4.2.99.1, module version = 0.1.0
        ABI class: XFree86 Video Driver, version 0.6
(II) UnloadModule: "scanpci"
(II) Unloading /usr/X11R6-CVS/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (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: 0x0c (VGA_EN is set)
(II) Bus 1 I/O range:
        [0] -1  0       0x00002000 - 0x000020ff (0x100) IX[B]
        [1] -1  0       0x00002400 - 0x000024ff (0x100) IX[B]
        [2] -1  0       0x00002800 - 0x000028ff (0x100) IX[B]
        [3] -1  0       0x00002c00 - 0x00002cff (0x100) IX[B]
(II) Bus 1 non-prefetchable memory range:
        [0] -1  0       0xe8200000 - 0xe82fffff (0x100000) MX[B]
(II) Bus 1 prefetchable memory range:
        [0] -1  0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:7:0), (0,-1,0), BCTRL: 0x08 (VGA_EN is set)
(--) PCI:*(1:5:0) ATI Radeon VE QY rev 0, Mem @ 0xf0000000/27, 0xe8200000/16, I/O @ 
0x2000/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) Active PCI resource ranges:
        [0] -1  0       0xe8000000 - 0xe80fffff (0x100000) MX[B]
        [1] -1  0       0xe8101000 - 0xe81010ff (0x100) MX[B]
        [2] -1  0       0x000dc000 - 0x000dcfff (0x1000) MX[B]
        [3] -1  0       0xe8102000 - 0xe8102fff (0x1000) MX[B]O
        [4] -1  0       0xec000000 - 0xefffffff (0x4000000) MX[B]O
        [5] -1  0       0xe8200000 - 0xe820ffff (0x10000) MX[B](B)
        [6] -1  0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
        [7] -1  0       0x00001000 - 0x000010ff (0x100) IX[B]
        [8] -1  0       0x0000f000 - 0x0000f00f (0x10) IX[B]
        [9] -1  0       0x00001410 - 0x00001413 (0x4) IX[B]O
        [10] -1 0       0x00002000 - 0x000020ff (0x100) IX[B](B)
(II) Active PCI resource ranges after removing overlaps:
        [0] -1  0       0xe8000000 - 0xe80fffff (0x100000) MX[B]
        [1] -1  0       0xe8101000 - 0xe81010ff (0x100) MX[B]
        [2] -1  0       0x000dc000 - 0x000dcfff (0x1000) MX[B]
        [3] -1  0       0xe8102000 - 0xe8102fff (0x1000) MX[B]O
        [4] -1  0       0xec000000 - 0xefffffff (0x4000000) MX[B]O
        [5] -1  0       0xe8200000 - 0xe820ffff (0x10000) MX[B](B)
        [6] -1  0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
        [7] -1  0       0x00001000 - 0x000010ff (0x100) IX[B]
        [8] -1  0       0x0000f000 - 0x0000f00f (0x10) IX[B]
        [9] -1  0       0x00001410 - 0x00001413 (0x4) IX[B]O
        [10] -1 0       0x00002000 - 0x000020ff (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 - 0x000dbfff (0x1c000) 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 - 0x000dbfff (0x1c000) MX[B]
        [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0       0xe8000000 - 0xe80fffff (0x100000) MX[B]
        [6] -1  0       0xe8101000 - 0xe81010ff (0x100) MX[B]
        [7] -1  0       0x000dc000 - 0x000dcfff (0x1000) MX[B]
        [8] -1  0       0xe8102000 - 0xe8102fff (0x1000) MX[B]O
        [9] -1  0       0xec000000 - 0xefffffff (0x4000000) MX[B]O
        [10] -1 0       0xe8200000 - 0xe820ffff (0x10000) MX[B](B)
        [11] -1 0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
        [12] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [13] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [14] -1 0       0x00001000 - 0x000010ff (0x100) IX[B]
        [15] -1 0       0x0000f000 - 0x0000f00f (0x10) IX[B]
        [16] -1 0       0x00001410 - 0x00001413 (0x4) IX[B]O
        [17] -1 0       0x00002000 - 0x000020ff (0x100) IX[B](B)
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6-CVS/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
        compiled for 4.2.99.1, module version = 1.0.0
        Module class: XFree86 Server Extension
        ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "dri"
(II) Loading /usr/X11R6-CVS/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
        compiled for 4.2.99.1, module version = 1.0.0
        ABI class: XFree86 Server Extension, version 0.1
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6-CVS/lib/modules/linux/libdrm.a
(II) Module drm: vendor="The XFree86 Project"
        compiled for 4.2.99.1, module version = 1.0.0
        ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension XFree86-DRI
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6-CVS/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
        compiled for 4.2.99.1, module version = 1.0.0
        Module class: XFree86 Server Extension
        ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(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: "fbdevhw"
(II) Loading /usr/X11R6-CVS/lib/modules/linux/libfbdevhw.a
(II) Module fbdevhw: vendor="The XFree86 Project"
        compiled for 4.2.99.1, module version = 0.0.2
        ABI class: XFree86 Video Driver, version 0.6
(II) LoadModule: "glx"
(II) Loading /usr/X11R6-CVS/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
        compiled for 4.2.99.1, module version = 1.0.0
        ABI class: XFree86 Server Extension, version 0.1
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6-CVS/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="The XFree86 Project"
        compiled for 4.2.99.1, module version = 1.0.0
        ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX
(II) LoadModule: "GLcore"
(II) Reloading /usr/X11R6-CVS/lib/modules/extensions/libGLcore.a
(II) LoadModule: "record"
(II) Loading /usr/X11R6-CVS/lib/modules/extensions/librecord.a
(II) Module record: vendor="The XFree86 Project"
        compiled for 4.2.99.1, module version = 1.13.0
        Module class: XFree86 Server Extension
        ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension RECORD
(II) LoadModule: "speedo"
(II) Loading /usr/X11R6-CVS/lib/modules/fonts/libspeedo.a
(II) Module speedo: vendor="The XFree86 Project"
        compiled for 4.2.99.1, module version = 1.0.1
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font Speedo
(II) LoadModule: "type1"
(II) Loading /usr/X11R6-CVS/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
        compiled for 4.2.99.1, module version = 1.0.1
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "radeon"
(II) Loading /usr/X11R6-CVS/lib/modules/drivers/radeon_drv.o
(II) Module radeon: vendor="The XFree86 Project"
        compiled for 4.2.99.1, module version = 4.0.1
        Module class: XFree86 Video Driver
        ABI class: XFree86 Video Driver, version 0.6
(II) LoadModule: "ati"
(II) Loading /usr/X11R6-CVS/lib/modules/drivers/ati_drv.o
(II) Module ati: vendor="The XFree86 Project"
        compiled for 4.2.99.1, module version = 6.4.13
        Module class: XFree86 Video Driver
        ABI class: XFree86 Video Driver, version 0.6
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6-CVS/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
        compiled for 4.2.99.1, module version = 1.0.0
        Module class: XFree86 XInput Driver
        ABI class: XFree86 XInput driver, version 0.3
(II) ATI: ATI driver (version 6.4.13) for chipsets: ati, ativga
(II) R128: Driver for ATI Rage 128 chipsets: ATI Rage 128 RE (PCI),
        ATI Rage 128 RF (AGP), ATI Rage 128 RG (AGP), ATI Rage 128 RK (PCI),
        ATI Rage 128 RL (AGP), ATI Rage 128 SM (AGP),
        ATI Rage 128 Pro PD (PCI), ATI Rage 128 Pro PF (AGP),
        ATI Rage 128 Pro PP (PCI), ATI Rage 128 Pro PR (PCI),
        ATI Rage 128 Pro ULTRA TF (AGP), ATI Rage 128 Pro ULTRA TL (AGP),
        ATI Rage 128 Pro ULTRA TR (AGP), ATI Rage 128 Mobility LE (PCI),
        ATI Rage 128 Mobility LF (AGP), ATI Rage 128 Mobility MF (AGP),
        ATI Rage 128 Mobility ML (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 QY (AGP), ATI Radeon VE QZ (AGP),
        ATI Radeon Mobility LW (AGP), ATI Radeon Mobility LY (AGP),
        ATI Radeon Mobility LZ (AGP), ATI Radeon 8500 QL (AGP),
        ATI Radeon 8500 QN (AGP), ATI Radeon 8500 QO (AGP),
        ATI Radeon 8500 Ql (AGP), ATI Radeon 8500 BB (AGP),
        ATI Radeon 7500 QW (AGP)
(II) Primary Device is: PCI 01:05:0
(--) Assigning device section with no busID to primary device
(--) Chipset ATI Radeon VE QY (AGP) 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 - 0x000dbfff (0x1c000) MX[B]
        [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0       0xe8000000 - 0xe80fffff (0x100000) MX[B]
        [6] -1  0       0xe8101000 - 0xe81010ff (0x100) MX[B]
        [7] -1  0       0x000dc000 - 0x000dcfff (0x1000) MX[B]
        [8] -1  0       0xe8102000 - 0xe8102fff (0x1000) MX[B]O
        [9] -1  0       0xec000000 - 0xefffffff (0x4000000) MX[B]O
        [10] -1 0       0xe8200000 - 0xe820ffff (0x10000) MX[B](B)
        [11] -1 0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
        [12] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [13] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [14] -1 0       0x00001000 - 0x000010ff (0x100) IX[B]
        [15] -1 0       0x0000f000 - 0x0000f00f (0x10) IX[B]
        [16] -1 0       0x00001410 - 0x00001413 (0x4) IX[B]O
        [17] -1 0       0x00002000 - 0x000020ff (0x100) IX[B](B)
(II) Loading sub module "radeon"
(II) LoadModule: "radeon"
(II) Reloading /usr/X11R6-CVS/lib/modules/drivers/radeon_drv.o
(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 - 0x000dbfff (0x1c000) MX[B]
        [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0       0xe8000000 - 0xe80fffff (0x100000) MX[B]
        [6] -1  0       0xe8101000 - 0xe81010ff (0x100) MX[B]
        [7] -1  0       0x000dc000 - 0x000dcfff (0x1000) MX[B]
        [8] -1  0       0xe8102000 - 0xe8102fff (0x1000) MX[B]O
        [9] -1  0       0xec000000 - 0xefffffff (0x4000000) MX[B]O
        [10] -1 0       0xe8200000 - 0xe820ffff (0x10000) MX[B](B)
        [11] -1 0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
        [12] 0  0       0x000a0000 - 0x000affff (0x10000) MS[B]
        [13] 0  0       0x000b0000 - 0x000b7fff (0x8000) MS[B]
        [14] 0  0       0x000b8000 - 0x000bffff (0x8000) MS[B]
        [15] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [16] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [17] -1 0       0x00001000 - 0x000010ff (0x100) IX[B]
        [18] -1 0       0x0000f000 - 0x0000f00f (0x10) IX[B]
        [19] -1 0       0x00001410 - 0x00001413 (0x4) IX[B]O
        [20] -1 0       0x00002000 - 0x000020ff (0x100) IX[B](B)
        [21] 0  0       0x000003b0 - 0x000003bb (0xc) IS[B]
        [22] 0  0       0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(**) RADEON(0): RADEONPreInit
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6-CVS/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
        compiled for 4.2.99.1, module version = 0.1.0
        ABI class: XFree86 Video Driver, version 0.6
(II) RADEON(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(II) RADEON(0): PCI bus 1 card 5 func 0
(**) RADEON(0): Depth 16, (--) framebuffer bpp 16
(II) RADEON(0): Pixel depth = 16 bits stored in 2 bytes (16 bpp pixmaps)
(==) RADEON(0): Default visual is TrueColor
(**) RADEON(0): Option "AGPMode" "4"
(==) RADEON(0): RGB weight 565
(II) RADEON(0): Using 6 bits per RGB (8 bit DAC)
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/X11R6-CVS/lib/modules/linux/libint10.a
(II) Module int10: vendor="The XFree86 Project"
        compiled for 4.2.99.1, module version = 1.0.0
        ABI class: XFree86 Video Driver, version 0.6
(II) RADEON(0): initializing int10
(II) RADEON(0): Primary V_BIOS segment is: 0xc000
(--) RADEON(0): Chipset: "ATI Radeon VE QY (AGP)" (ChipID = 0x5159)
(--) RADEON(0): Linear framebuffer at 0xf0000000
(--) RADEON(0): MMIO registers at 0xe8200000
(--) RADEON(0): VideoRAM: 32768 kByte (64-bit DDR SDRAM)
(II) RADEON(0): Primary Display == Type 3
(**) RADEON(0): DFP Info: ----------------------
pixel clock: 108000 KHz
panel size: 1280x1024
H. Blanking: 408
H. Sync. Offset: 48
H. Sync. Width: 112
V. Blanking: 42
V. Sync. Offset: 1
V. Sync. Width: 3
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6-CVS/lib/modules/libddc.a
(II) Module ddc: vendor="The XFree86 Project"
        compiled for 4.2.99.1, module version = 1.0.0
        ABI class: XFree86 Video Driver, version 0.6
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Loading /usr/X11R6-CVS/lib/modules/libi2c.a
(II) Module i2c: vendor="The XFree86 Project"
        compiled for 4.2.99.1, module version = 1.2.0
        ABI class: XFree86 Video Driver, version 0.6
(II) RADEON(0): I2C bus "DDC" initialized.
(**) RADEON(0): Header at 0x0130; PLL Information at 0x0662
(II) RADEON(0): PLL parameters: rf=2700 rd=12 min=12500 max=35000; xclk=18300
(==) RADEON(0): Using gamma correction (1.0, 1.0, 1.0)
(--) RADEON(0): Virtual size is 1280x1024 (pitch 1312)
(**) RADEON(0): Mode "1280x1024"
(**) RADEON(0): Mode "1024x768"
(**) RADEON(0): Mode "800x600"
(**) RADEON(0): Mode "640x480"
(==) RADEON(0): DPI set to (75, 75)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6-CVS/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
        compiled for 4.2.99.1, module version = 1.0.0
        ABI class: XFree86 ANSI C Emulation, version 0.1
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6-CVS/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
        compiled for 4.2.99.1, module version = 0.1.0
        ABI class: XFree86 Video Driver, version 0.6
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/X11R6-CVS/lib/modules/libxaa.a
(II) Module xaa: vendor="The XFree86 Project"
        compiled for 4.2.99.1, module version = 1.0.0
        ABI class: XFree86 Video Driver, version 0.6
(**) RADEON(0): Using AGP 4x mode
(II) RADEON(0): Depth moves disabled by default
(!!) RADEON(0): For information on using the multimedia capabilities
 of this adapter, please see http://gatos.sf.net.
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
        [0] 0   0       0xe8200000 - 0xe820ffff (0x10000) MX[B]
        [1] 0   0       0xf0000000 - 0xf7ffffff (0x8000000) MX[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 - 0x000dbfff (0x1c000) MX[B]
        [6] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [7] -1  0       0xe8000000 - 0xe80fffff (0x100000) MX[B]
        [8] -1  0       0xe8101000 - 0xe81010ff (0x100) MX[B]
        [9] -1  0       0x000dc000 - 0x000dcfff (0x1000) MX[B]
        [10] -1 0       0xe8102000 - 0xe8102fff (0x1000) MX[B]O
        [11] -1 0       0xec000000 - 0xefffffff (0x4000000) MX[B]O
        [12] -1 0       0xe8200000 - 0xe820ffff (0x10000) MX[B](B)
        [13] -1 0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
        [14] 0  0       0x000a0000 - 0x000affff (0x10000) MS[B]
        [15] 0  0       0x000b0000 - 0x000b7fff (0x8000) MS[B]
        [16] 0  0       0x000b8000 - 0x000bffff (0x8000) MS[B]
        [17] 0  0       0x00002000 - 0x000020ff (0x100) IX[B]
        [18] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [19] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [20] -1 0       0x00001000 - 0x000010ff (0x100) IX[B]
        [21] -1 0       0x0000f000 - 0x0000f00f (0x10) IX[B]
        [22] -1 0       0x00001410 - 0x00001413 (0x4) IX[B]O
        [23] -1 0       0x00002000 - 0x000020ff (0x100) IX[B](B)
        [24] 0  0       0x000003b0 - 0x000003bb (0xc) IS[B]
        [25] 0  0       0x000003c0 - 0x000003df (0x20) IS[B]
(**) RADEON(0): RADEONScreenInit f0000000 0
(==) RADEON(0): Write-combining range (0xf0000000,0x2000000)
(**) RADEON(0): RADEONSave
(**) RADEON(0): RADEONSaveMode(0x8536af0)
(**) RADEON(0): Read: 0x0000000c 0x00040090 0x00000000
(**) RADEON(0): Read: rd=12, fd=144, pd=4
(**) RADEON(0): RADEONSaveMode returns 0x8536af0
1280x1024     108.00  1280    0    0    0  1024    0    0    0 (16,16)
1280x1024     108.00  1280    0    0    0  1024    0    0    0 (16,16)
(**) RADEON(0): Format = 4 (2 bytes per pixel)
(**) RADEON(0): Pitch = 10748068 bytes (virtualX = 1280, displayWidth = 1312)
(**) RADEON(0): dc=10800, of=21600, fd=96, pd=2
(**) RADEON(0): RADEONInit returns 0x85373fc
(**) RADEON(0): RADEONRestoreMode(0x85373fc)
(**) RADEON(0): Wrote: 0x0000000c 0x00010060 0x00000000 (0x0000bf00)
(**) RADEON(0): Wrote: rd=12, fd=96, pd=1
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmGetBusid returned ''
(II) RADEON(0): [drm] created "radeon" driver at busid "PCI:1:5:0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xe09c0000
(II) RADEON(0): [drm] mapped SAREA 0xe09c0000 to 0x40014000
(II) RADEON(0): [drm] framebuffer handle = 0xf0000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [agp] Mode 0x0f000217 [AGP 0x1022/0x700c; Card 0x1002/0x5159]
(II) RADEON(0): [agp] 8192 kB allocated with handle 0xe29c4000
(II) RADEON(0): [agp] ring handle = 0xec000000
(II) RADEON(0): [agp] Ring mapped at 0x4014a000
(II) RADEON(0): [agp] ring read ptr handle = 0xec101000
(II) RADEON(0): [agp] Ring read ptr mapped at 0x40016000
(II) RADEON(0): [agp] vertex/indirect buffers handle = 0xec102000
(II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0x4024b000
(II) RADEON(0): [agp] AGP texture map handle = 0xec302000
(II) RADEON(0): [agp] AGP Texture map mapped at 0x4044b000
(II) RADEON(0): [drm] register handle = 0xe8200000
(II) RADEON(0): [dri] Visual configs initialized
(II) RADEON(0): CP in BM mode
(II) RADEON(0): Using 8 MB AGP aperture
(II) RADEON(0): Using 1 MB for the ring buffer
(II) RADEON(0): Using 2 MB for vertex/indirect buffers
(II) RADEON(0): Using 5 MB for AGP textures
(II) RADEON(0): Memory manager initialized to (0,0) (1312,4144)
(II) RADEON(0): Reserved area from (0,1024) to (1312,1026)
(II) RADEON(0): Largest offscreen area available: 1312 x 3118
(II) RADEON(0): Reserved back buffer at offset 0xa60000
(II) RADEON(0): Reserved depth buffer at offset 0xcf0000
(II) RADEON(0): Reserved 16896 kb for textures at offset 0xf80000
(==) RADEON(0): Backing store disabled
(==) RADEON(0): Silken mouse enabled
(**) RADEON(0): EngineInit (16/16)
(**) RADEON(0): Pitch for acceleration = 164
(**) RADEON(0): EngineRestore (16/16)
(**) RADEON(0): WaitForIdle (entering): 64 entries, stat=0x00000140
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
        Setting up tile and stipple cache:
                32 128x128 slots
                24 256x256 slots
                7 512x512 slots
(II) RADEON(0): Acceleration enabled
(**) RADEON(0): RADEONCursorInit (0x00291480-0x00291880)
(II) RADEON(0): Using hardware cursor (scanline 2052)
(II) RADEON(0): Largest offscreen area available: 1312 x 3116
(**) Option "dpms" "on"
(**) RADEON(0): DPMS enabled
(II) RADEON(0): X context handle = 0x00000001
(II) RADEON(0): [drm] installed DRM signal handler
(II) RADEON(0): [DRI] installation complete
(**) RADEON(0): EngineRestore (16/16)
(**) RADEON(0): WaitForIdle (entering): 64 entries, stat=0x00000140
(II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
(II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
(II) RADEON(0): Direct rendering enabled
(II) Setting vga for screen 0.
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(**) Option "Protocol" "IMPS/2"
(**) Trackball1: Protocol: "IMPS/2"
(**) Option "CorePointer"
(**) Trackball1: Core Pointer
(**) Option "Device" "/dev/input/mice"
(**) Option "Emulate3Buttons" "no"
(**) Option "ZAxisMapping" "4 5"
(**) Trackball1: ZAxisMapping: buttons 4 and 5
(**) Trackball1: Buttons: 5
(**) Option "Protocol" "PS/2"
(**) Touchpad0: Protocol: "PS/2"
(**) Option "SendCoreEvents"
(**) Touchpad0: always reports core events
(**) Option "Device" "/dev/mouse"
(EE) xf86OpenSerial: Cannot open device /dev/mouse
        No such device.
(EE) Touchpad0: cannot open input device
(EE) PreInit failed for input device "Touchpad0"
(II) UnloadModule: "mouse"
(II) Keyboard "Keyboard0" handled by legacy driver
(II) XINPUT: Adding extended input device "Trackball1" (type: MOUSE)
Couldn't load XKB keymap, falling back to pre-XKB keymap
SetKbdSettings - type: 0 rate: 30 delay: 250 snumlk: 0
SetKbdSettings - Succeeded
GetModeLine - scrn: 0 clock: 108000
GetModeLine - hdsp: 1280 hbeg: 0 hend: 0 httl: 0
              vdsp: 1024 vbeg: 0 vend: 0 vttl: 0 flags: 0
(**) RADEON(0): RADEONLeaveVT
(**) RADEON(0): EngineRestore (16/16)
(**) RADEON(0): WaitForIdle (entering): 64 entries, stat=0x00000140
(**) RADEON(0): RADEONRestore
(**) RADEON(0): RADEONRestoreMode(0x8536af0)
(**) RADEON(0): Wrote: 0x0000000c 0x00040090 0x00000000 (0x0000bf00)
(**) RADEON(0): Wrote: rd=12, fd=144, pd=4
(WW) Open APM failed (/dev/apm_bios) (No such device)
(**) RADEON(0): RADEONEnterVT
1280x1024     108.00  1280    0    0    0  1024    0    0    0 (16,16)
1280x1024     108.00  1280 1328 1440 1688  1024 1025 1028 1066 (16,16)
(**) RADEON(0): Format = 4 (2 bytes per pixel)
(**) RADEON(0): Pitch = 10748068 bytes (virtualX = 1280, displayWidth = 1312)
(**) RADEON(0): dc=10800, of=21600, fd=96, pd=2
(**) RADEON(0): RADEONInit returns 0x85373fc
(**) RADEON(0): RADEONRestoreMode(0x85373fc)
(**) RADEON(0): Wrote: 0x0000000c 0x00010060 0x00000000 (0x0000bf00)
(**) RADEON(0): Wrote: rd=12, fd=96, pd=1
(**) RADEON(0): EngineRestore (16/16)
(**) RADEON(0): WaitForIdle (entering): 64 entries, stat=0x00000140
(**) RADEON(0): About to RADEONCP_START
(**) RADEON(0): Finished RADEONCP_START



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to