NetBSD-Bugs archive

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

Re: kern/44565: X works for about thirty seconds and then freezes on my MacBook1,1



   Date: Tue, 15 Feb 2011 05:48:58 +1100
   From: matthew green <mrg%eterna.com.au@localhost>

   can you try xsrc?

   there are significant version difference between xsrc and pkgsrc.

I fetched xbase.tgz and xserver.tgz from the 5.1 FTP distribution,
extracted them in /, and then used /usr/X11R7/bin/Xorg instead of
/usr/pkg-2010Q3/bin/Xorg.  Same result -- it freezes on a 5 kernel
(5.1 or 5.1_STABLE) and works on a current kernel.

I notice that drm fails in 5 and works in current, which I imagine is
probably significant.  Here's a diff between the respective Xorg.0.log
files, with xsrc.  It looks pretty similar for pkgsrc.  RIAMONODEBUG
is i386/conf/MONOLITHIC with DIAGNOSTIC, DEBUG, LOCKDEBUG, -g, FFS_EI,
and APPLE_UFS.  Let me know if you want to see the whole Xorg.0.log.

--- nb51-xsrc.txt       2011-02-14 19:24:33.000000000 +0000
+++ HEAD-RIAMONODEBUG-20110201-xsrc.txt 2011-02-14 19:35:39.000000000 +0000
@@ -3,7 +3,7 @@
 Release Date: 2009-7-7
 X Protocol Version 11, Revision 0
 Build Operating System: NetBSD/i386  - 
-Current Operating System: NetBSD oberon.local 5.1 NetBSD 5.1 (GENERIC) #0: Sun 
Nov  7 14:39:56 UTC 2010  
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-1-RELEASE/i386/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/i386/compile/GENERIC
 i386
+Current Operating System: NetBSD oberon.local 5.99.44 NetBSD 5.99.44 
(RIAMONODEBUG) #0: Tue Feb  1 20:55:46 UTC 2011  
root%smalltalk.local@localhost:/home/riastradh/netbsd/current/obj/sys/arch/i386/compile/RIAMONODEBUG
 i386
 Build Date: 09 July 2009  12:14:03AM
  
        Before reporting problems, check http://wiki.X.Org
@@ -11,7 +11,7 @@
 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/Xorg.0.log", Time: Mon Feb 14 19:22:41 2011
+(==) Log file: "/var/log/Xorg.0.log", Time: Mon Feb 14 19:33:00 2011
 (II) Loader magic: 0x800
 (II) Module ABI versions:
        X.Org ANSI C Emulation: 0.4
@@ -302,6 +302,38 @@
 (WW) intel(0): Register 0x61200 (PP_STATUS) changed from 0xc0000008 to 
0xd0000009
 (WW) intel(0): PP_STATUS before: on, ready, sequencing idle
 (WW) intel(0): PP_STATUS after: on, ready, sequencing on
+(WW) intel(0): Register 0x71024 (PIPEBSTAT) changed from 0x00000202 to 
0x80000202
+(WW) intel(0): PIPEBSTAT before: status: VSYNC_INT_STATUS VBLANK_INT_STATUS
+(WW) intel(0): PIPEBSTAT after: status: FIFO_UNDERRUN VSYNC_INT_STATUS 
VBLANK_INT_STATUS
+(WW) intel(0): Register 0x68000 (TV_CTL) changed from 0x10000000 to 0x000c0000
+(WW) intel(0): Register 0x68010 (TV_CSC_Y) changed from 0x00000000 to 
0x0332012d
+(WW) intel(0): Register 0x68014 (TV_CSC_Y2) changed from 0x00000000 to 
0x07d30104
+(WW) intel(0): Register 0x68018 (TV_CSC_U) changed from 0x00000000 to 
0x0733052d
+(WW) intel(0): Register 0x6801c (TV_CSC_U2) changed from 0x00000000 to 
0x05c70200
+(WW) intel(0): Register 0x68020 (TV_CSC_V) changed from 0x00000000 to 
0x0340030c
+(WW) intel(0): Register 0x68024 (TV_CSC_V2) changed from 0x00000000 to 
0x06d00200
+(WW) intel(0): Register 0x6802c (TV_CLR_LEVEL) changed from 0x00000000 to 
0x010b00e1
+(WW) intel(0): Register 0x68030 (TV_H_CTL_1) changed from 0x00000000 to 
0x00400359
+(WW) intel(0): Register 0x68034 (TV_H_CTL_2) changed from 0x00000000 to 
0x80480022
+(WW) intel(0): Register 0x68038 (TV_H_CTL_3) changed from 0x00000000 to 
0x007c0344
+(WW) intel(0): Register 0x6803c (TV_V_CTL_1) changed from 0x00000000 to 
0x00f01415
+(WW) intel(0): Register 0x68040 (TV_V_CTL_2) changed from 0x00000000 to 
0x00060607
+(WW) intel(0): Register 0x68044 (TV_V_CTL_3) changed from 0x00000000 to 
0x80120001
+(WW) intel(0): Register 0x68048 (TV_V_CTL_4) changed from 0x00000000 to 
0x000900f0
+(WW) intel(0): Register 0x6804c (TV_V_CTL_5) changed from 0x00000000 to 
0x000a00f0
+(WW) intel(0): Register 0x68050 (TV_V_CTL_6) changed from 0x00000000 to 
0x000900f0
+(WW) intel(0): Register 0x68054 (TV_V_CTL_7) changed from 0x00000000 to 
0x000a00f0
+(WW) intel(0): Register 0x68060 (TV_SC_CTL_1) changed from 0x00000000 to 
0xc1710087
+(WW) intel(0): Register 0x68064 (TV_SC_CTL_2) changed from 0x00000000 to 
0x6b405140
+(WW) intel(0): Register 0x68070 (TV_WIN_POS) changed from 0x00000000 to 
0x00360024
+(WW) intel(0): Register 0x68074 (TV_WIN_SIZE) changed from 0x00000000 to 
0x02640198
+(WW) intel(0): Register 0x68080 (TV_FILTER_CTL_1) changed from 0x00000000 to 
0x800010bb
+(WW) intel(0): Register 0x68084 (TV_FILTER_CTL_2) changed from 0x00000000 to 
0x00028283
+(WW) intel(0): Register 0x68088 (TV_FILTER_CTL_3) changed from 0x00000000 to 
0x00014141
+(WW) intel(0): Register 0x68100 (TV_H_LUMA_0) changed from 0x00000000 to 
0xb1403000
+(WW) intel(0): Register 0x681ec (TV_H_LUMA_59) changed from 0x00000000 to 
0x0000b060
+(WW) intel(0): Register 0x68200 (TV_H_CHROMA_0) changed from 0x00000000 to 
0xb1403000
+(WW) intel(0): Register 0x682ec (TV_H_CHROMA_59) changed from 0x00000000 to 
0x0000b060
 (II) UnloadModule: "vesa"
 (II) Unloading /usr/X11R7/lib/modules/drivers//vesa_drv.so
 (==) Depth 24 pixmap format is 32 bpp
@@ -321,22 +353,34 @@
 (II) intel(0): I830CheckAvailableMemory: 1966080 kB available
 (WW) intel(0): DRI2 requires UXA
 drmOpenDevice: node name is /dev/dri/card0
-drmOpenDevice: open result is -1, (Device not configured)
-drmOpenDevice: open result is -1, (Device not configured)
-drmOpenDevice: Open failed
+drmOpenDevice: open result is 11, (OK)
 drmOpenDevice: node name is /dev/dri/card0
-drmOpenDevice: open result is -1, (Device not configured)
-drmOpenDevice: open result is -1, (Device not configured)
-drmOpenDevice: Open failed
-[drm] failed to load kernel module "i915"
-(EE) [drm] drmOpen failed.
-(EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI.
+drmOpenDevice: open result is 11, (OK)
+drmOpenByBusid: Searching for BusID pci:0000:00:02.0
+drmOpenDevice: node name is /dev/dri/card0
+drmOpenDevice: open result is 11, (OK)
+drmOpenByBusid: drmOpenMinor returns 11
+drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
+(II) [drm] DRM interface version 1.2
+(II) [drm] DRM open master succeeded.
+(II) intel(0): [drm] Using the DRM lock SAREA also for drawables.
+(II) intel(0): [drm] framebuffer mapped by ddx driver
+(II) intel(0): [drm] added 1 reserved context for kernel
+(II) intel(0): X context handle = 0x1
+(II) intel(0): [drm] installed DRM signal handler
 (**) intel(0): Framebuffer compression enabled
 (**) intel(0): Tiling enabled
 (==) intel(0): VideoRam: 262144 KB
 (II) intel(0): Attempting memory allocation with tiled buffers.
 (II) intel(0): Tiled allocation successful.
-(II) intel(0): adjusting plane->pipe mappings to allow for framebuffer 
compression
+(II) intel(0): [drm] Registers = 0x90380000
+(II) intel(0): [drm] ring buffer = 0x80000000
+(II) intel(0): [drm] mapped front buffer at 0x81000000, handle = 0x81000000
+(II) intel(0): [drm] mapped back buffer at 0x84000000, handle = 0x84000000
+(II) intel(0): [drm] mapped depth buffer at 0x85000000, handle = 0x85000000
+(II) intel(0): [drm] mapped classic textures at 0x86000000, handle = 0x86000000
+(II) intel(0): [drm] Initialized kernel agp heap manager, 33554432
+(II) intel(0): [dri] visual configs initialized
 (II) intel(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
 (WW) intel(0): remove MTRR a0000 - b0000
 (II) EXA(0): Offscreen pixmap area of 31457280 bytes
@@ -347,10 +391,14 @@
 (==) intel(0): Backing store disabled
 (==) intel(0): Silken mouse enabled
 (II) intel(0): Initializing HW Cursor
+(II) intel(0): [DRI] installation complete
 (WW) intel(0): drmDropMaster failed: Unknown error: 4294967295
 (II) intel(0): Current clock rate multiplier: 1
-(II) intel(0): xf86BindGARTMemory: bind key 4 at 0x01000000 (pgoffset 4096)
-(II) intel(0): xf86BindGARTMemory: bind key 5 at 0x02000000 (pgoffset 8192)
+(II) intel(0): xf86BindGARTMemory: bind key 0 at 0x01000000 (pgoffset 4096)
+(II) intel(0): xf86BindGARTMemory: bind key 1 at 0x02000000 (pgoffset 8192)
+(II) intel(0): xf86BindGARTMemory: bind key 2 at 0x04000000 (pgoffset 16384)
+(II) intel(0): xf86BindGARTMemory: bind key 3 at 0x05000000 (pgoffset 20480)
+(II) intel(0): xf86BindGARTMemory: bind key 4 at 0x06000000 (pgoffset 24576)
 (II) intel(0): Fixed memory allocation layout:
 (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB)
 (II) intel(0): 0x00020000-0x0061ffff: compressed frame buffer (6144 kB, 
0x000000007f020000 physical
@@ -365,25 +413,29 @@
 (II) intel(0): 0x00fbf000:            end of stolen memory
 (II) intel(0): 0x01000000-0x01ffffff: front buffer (16384 kB) X tiled
 (II) intel(0): 0x02000000-0x03dfffff: exa offscreen (30720 kB)
+(II) intel(0): 0x04000000-0x04ffffff: back buffer (16384 kB) X tiled
+(II) intel(0): 0x05000000-0x05ffffff: depth buffer (16384 kB) X tiled
+(II) intel(0): 0x06000000-0x07ffffff: classic textures (32768 kB)
 (II) intel(0): 0x10000000:            end of aperture
-(WW) intel(0): ESR is 0x00000011, page table error, instruction error
+(WW) intel(0): ESR is 0x00000010, page table error
 (WW) intel(0): PGTBL_ER is 0x00000102, host pte data, display B pte
 (WW) intel(0): Existing errors found in hardware state.
 (II) intel(0): Selecting standard 18 bit TMDS pixel format.
 (II) intel(0): Output configuration:
 (II) intel(0):   Pipe A is off
-(II) intel(0):   Display plane B is now disabled and connected to pipe A.
+(II) intel(0):   Display plane A is now disabled and connected to pipe A.
 (II) intel(0):   Pipe B is on
-(II) intel(0):   Display plane A is now enabled and connected to pipe B.
+(II) intel(0):   Display plane B is now enabled and connected to pipe B.
 (II) intel(0):   Output VGA is connected to pipe none
 (II) intel(0):   Output LVDS is connected to pipe B
 (II) intel(0):   Output TMDS-1 is connected to pipe none
 (II) intel(0):   Output TV is connected to pipe none
+(II) intel(0): [drm] dma control initialized, using IRQ 10
 (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
 (II) intel(0): DPMS enabled
 (II) intel(0): Set up textured video
 (II) intel(0): Set up overlay video
-(II) intel(0): direct rendering: Failed
+(II) intel(0): direct rendering: XF86DRI Enabled
 (--) RandR disabled
 (II) Initializing built-in extension Generic Event Extension
 (II) Initializing built-in extension SHAPE
@@ -402,9 +454,19 @@
 (II) Initializing built-in extension RANDR
 (II) Initializing built-in extension COMPOSITE
 (II) Initializing built-in extension DAMAGE
-(II) AIGLX: Screen 0 is not DRI capable
-(II) AIGLX: Loaded and initialized /usr/X11R7/lib/modules/dri/swrast_dri.so
-(II) GLX: Initialized DRISWRAST GL provider for screen 0
+drmOpenDevice: node name is /dev/dri/card0
+drmOpenDevice: open result is 12, (OK)
+drmOpenByBusid: Searching for BusID pci:0000:00:02.0
+drmOpenDevice: node name is /dev/dri/card0
+drmOpenDevice: open result is 12, (OK)
+drmOpenByBusid: drmOpenMinor returns 12
+drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
+(II) AIGLX: enabled GLX_SGI_make_current_read
+(II) AIGLX: enabled GLX_MESA_copy_sub_buffer
+(II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
+(II) AIGLX: enabled GLX_texture_from_pixmap with driver support
+(II) AIGLX: Loaded and initialized /usr/X11R7/lib/modules/dri/i915_dri.so
+(II) GLX: Initialized DRI GL provider for screen 0
 (II) intel(0): Setting screen physical size to 286 x 179
 (WW) <default pointer>: No Device specified, looking for one...
 (II) <default pointer>: found Device "/dev/wsmouse"
@@ -440,18 +502,25 @@
 (II) intel(0): Printing DDC gathered Modelines:
 (II) intel(0): Modeline "1280x800"x0.0   71.00  1280 1328 1360 1440  800 803 
809 823 -hsync -vsync (49.3 kHz)
 (II) intel(0): EDID vendor "APP", prod id 40027
-(II) intel(0): xf86BindGARTMemory: bind key 6 at 0x03e00000 (pgoffset 15872)
-(II) intel(0): xf86UnbindGARTMemory: unbind key 6
+(II) intel(0): xf86BindGARTMemory: bind key 5 at 0x08000000 (pgoffset 32768)
+(II) intel(0): [drm] mapped front buffer at 0x81000000, handle = 0x81000000
+(II) intel(0): xf86UnbindGARTMemory: unbind key 5
 (II) intel(0): EDID vendor "APP", prod id 40027
 (II) intel(0): Using hsync ranges from config file
 (II) intel(0): Using vrefresh ranges from config file
 (II) intel(0): Printing DDC gathered Modelines:
 (II) intel(0): Modeline "1280x800"x0.0   71.00  1280 1328 1360 1440  800 803 
809 823 -hsync -vsync (49.3 kHz)
 (II) intel(0): EDID vendor "APP", prod id 40027
-(II) intel(0): xf86BindGARTMemory: bind key 7 at 0x03e00000 (pgoffset 15872)
-(II) intel(0): xf86UnbindGARTMemory: unbind key 7
+(II) intel(0): xf86BindGARTMemory: bind key 6 at 0x08000000 (pgoffset 32768)
+(II) intel(0): xf86UnbindGARTMemory: unbind key 6
 (II) UnloadModule: "mouse"
 (II) UnloadModule: "kbd"
+(II) intel(0): xf86UnbindGARTMemory: unbind key 0
+(II) intel(0): xf86UnbindGARTMemory: unbind key 1
+(II) intel(0): xf86UnbindGARTMemory: unbind key 2
+(II) intel(0): xf86UnbindGARTMemory: unbind key 3
 (II) intel(0): xf86UnbindGARTMemory: unbind key 4
-(II) intel(0): xf86UnbindGARTMemory: unbind key 5
 (WW) intel(0): drmDropMaster failed: Unknown error: 4294967295
+(II) intel(0): [drm] removed 1 reserved context for kernel
+(II) intel(0): [drm] unmapping 8192 bytes of SAREA 0xc3750000 at 0xbb63b000
+(II) intel(0): [drm] Closed DRM master.


Home | Main Index | Thread Index | Old Index