gsutre / netbsd-drmgem

Porting DRM/GEM from OpenBSD to NetBSD (Intel only)
14 stars 3 forks source link

Display become garbled, again #9

Open dmatveev opened 12 years ago

dmatveev commented 12 years ago

Hello,

After running X for ~15 hours, I have tried to open many images at the same time in the Firefox. The system has hang up for some seconds (and mplayer stopped playing), but then returned but display was garbled. netbsd-drmgem rev 35f9144, NetBSD 5.99.56 amd64

Xorg.0.log

[    19.929] 
X.Org X Server 1.10.3
Release Date: 2011-07-08
[    19.929] X Protocol Version 11, Revision 0
[    19.929] Build Operating System: NetBSD/amd64  - 
[    19.929] Current Operating System: NetBSD vault 5.99.56 NetBSD 5.99.56 (GENERIC) #2: Mon Oct 17 04:31:52 MSK 2011  dm@vault:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
[    19.929] Build Date: 01 August 2011  01:01:00AM
[    19.930]  
[    19.930] Current version of pixman: 0.23.2
[    19.930]    Before reporting problems, check http://wiki.X.Org
    to make sure that you have the latest version.
[    19.930] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    19.930] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Nov  3 01:27:35 2011
[    19.937] (==) Using config file: "/etc/X11/xorg.conf"
[    19.953] (==) ServerLayout "X.org Configured"
[    19.953] (**) |-->Screen "Screen0" (0)
[    19.953] (**) |   |-->Monitor "Monitor0"
[    19.962] (**) |   |-->Device "Card0"
[    19.962] (**) |-->Screen "Screen1" (1)
[    19.962] (**) |   |-->Monitor "Monitor1"
[    19.962] (**) |   |-->Device "Card1"
[    19.962] (**) |-->Input Device "Mouse0"
[    19.962] (**) |-->Input Device "Keyboard0"
[    19.962] (==) Not automatically adding devices
[    19.962] (==) Not automatically enabling devices
[    19.997] (WW) `fonts.dir' not found (or not valid) in "/usr/X11R7/lib/X11/fonts/cyrillic/".
[    19.997]    Entry deleted from font path.
[    19.997]    (Run 'mkfontdir' on "/usr/X11R7/lib/X11/fonts/cyrillic/").
[    19.997] (**) FontPath set to:
    /usr/X11R7/lib/X11/fonts/misc/,
    /usr/X11R7/lib/X11/fonts/TTF/,
    /usr/X11R7/lib/X11/fonts/Type1/,
    /usr/X11R7/lib/X11/fonts/75dpi/,
    /usr/X11R7/lib/X11/fonts/100dpi/,
    /usr/X11R7/lib/X11/fonts/misc/,
    /usr/X11R7/lib/X11/fonts/TTF/,
    /usr/X11R7/lib/X11/fonts/Type1/,
    /usr/X11R7/lib/X11/fonts/75dpi/,
    /usr/X11R7/lib/X11/fonts/100dpi/
[    19.997] (**) ModulePath set to "/usr/X11R7/lib/modules"
[    20.008] (II) Loader magic: 0x82fc60
[    20.008] (II) Module ABI versions:
[    20.008]    X.Org ANSI C Emulation: 0.4
[    20.008]    X.Org Video Driver: 10.0
[    20.008]    X.Org XInput driver : 12.2
[    20.008]    X.Org Server Extension : 5.0
[    20.014] (--) PCI:*(0:0:2:0) 8086:2e32:1462:7592 rev 3, Mem @ 0xfe400000/4194304, 0xd0000000/268435456, I/O @ 0x0000cc00/8
[    20.014] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
[    20.014] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
[    20.014] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    20.014] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
[    20.014] (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
[    20.014] (II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
[    20.014] (II) LoadModule: "dbe"
[    20.063] (II) Loading /usr/X11R7/lib/modules/extensions/libdbe.so
[    20.077] (II) Module dbe: vendor="X.Org Foundation"
[    20.077]    compiled for 1.10.3, module version = 1.0.0
[    20.077]    Module class: X.Org Server Extension
[    20.077]    ABI class: X.Org Server Extension, version 5.0
[    20.077] (II) Loading extension DOUBLE-BUFFER
[    20.077] (II) LoadModule: "dri"
[    20.078] (II) Loading /usr/X11R7/lib/modules/extensions/libdri.so
[    20.086] (II) Module dri: vendor="X.Org Foundation"
[    20.092]    compiled for 1.10.3, module version = 1.0.0
[    20.092]    ABI class: X.Org Server Extension, version 5.0
[    20.097] (II) Loading extension XFree86-DRI
[    20.097] (II) LoadModule: "dri2"
[    20.098] (II) Loading /usr/X11R7/lib/modules/extensions/libdri2.so
[    20.105] (II) Module dri2: vendor="X.Org Foundation"
[    20.106]    compiled for 1.10.3, module version = 1.2.0
[    20.106]    ABI class: X.Org Server Extension, version 5.0
[    20.106] (II) Loading extension DRI2
[    20.106] (II) LoadModule: "extmod"
[    20.106] (II) Loading /usr/X11R7/lib/modules/extensions/libextmod.so
[    20.115] (II) Module extmod: vendor="X.Org Foundation"
[    20.115]    compiled for 1.10.3, module version = 1.0.0
[    20.115]    Module class: X.Org Server Extension
[    20.115]    ABI class: X.Org Server Extension, version 5.0
[    20.115] (II) Loading extension MIT-SCREEN-SAVER
[    20.115] (II) Loading extension XFree86-VidModeExtension
[    20.115] (II) Loading extension XFree86-DGA
[    20.116] (II) Loading extension DPMS
[    20.116] (II) Loading extension XVideo
[    20.116] (II) Loading extension XVideo-MotionCompensation
[    20.116] (II) Loading extension X-Resource
[    20.116] (II) LoadModule: "glx"
[    20.117] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so
[    20.125] (II) Module glx: vendor="X.Org Foundation"
[    20.125]    compiled for 1.10.3, module version = 1.0.0
[    20.125]    ABI class: X.Org Server Extension, version 5.0
[    20.129] (==) AIGLX enabled
[    20.129] (II) Loading extension GLX
[    20.129] (II) LoadModule: "record"
[    20.130] (II) Loading /usr/X11R7/lib/modules/extensions/librecord.so
[    20.133] (II) Module record: vendor="X.Org Foundation"
[    20.133]    compiled for 1.10.3, module version = 1.13.0
[    20.133]    Module class: X.Org Server Extension
[    20.133]    ABI class: X.Org Server Extension, version 5.0
[    20.134] (II) Loading extension RECORD
[    20.134] (II) LoadModule: "shadow"
[    20.135] (II) Loading /usr/X11R7/lib/modules/extensions/libshadow.so
[    20.139] (II) Module shadow: vendor="X.Org Foundation"
[    20.139]    compiled for 1.10.3, module version = 1.1.0
[    20.139]    ABI class: X.Org ANSI C Emulation, version 0.4
[    20.139] (II) LoadModule: "intel"
[    20.139] (II) Loading /usr/X11R7/lib/modules/drivers/intel_drv.so
[    20.169] (II) Module intel: vendor="X.Org Foundation"
[    20.169]    compiled for 1.10.3, module version = 2.9.1
[    20.169]    Module class: X.Org Video Driver
[    20.169]    ABI class: X.Org Video Driver, version 10.0
[    20.169] (II) LoadModule: "vesa"
[    20.170] (II) Loading /usr/X11R7/lib/modules/drivers/vesa_drv.so
[    20.187] (II) Module vesa: vendor="X.Org Foundation"
[    20.187]    compiled for 1.10.3, module version = 2.3.0
[    20.187]    Module class: X.Org Video Driver
[    20.187]    ABI class: X.Org Video Driver, version 10.0
[    20.187] (II) LoadModule: "mouse"
[    20.188] (II) Loading /usr/X11R7/lib/modules/drivers/mouse_drv.so
[    20.193] (II) Module mouse: vendor="X.Org Foundation"
[    20.193]    compiled for 1.10.3, module version = 1.7.1
[    20.193]    Module class: X.Org XInput Driver
[    20.193]    ABI class: X.Org XInput driver, version 12.2
[    20.193] (II) LoadModule: "kbd"
[    20.194] (II) Loading /usr/X11R7/lib/modules/drivers/kbd_drv.so
[    20.204] (II) Module kbd: vendor="X.Org Foundation"
[    20.204]    compiled for 1.10.3, module version = 1.6.0
[    20.204]    Module class: X.Org XInput Driver
[    20.204]    ABI class: X.Org XInput driver, version 12.2
[    20.204] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
    i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
    E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
    965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
    4 Series, G45/G43, Q45/Q43, G41, B43, Clarkdale, Arrandale
[    20.205] (II) VESA: driver for VESA chipsets: vesa
[    20.205] (--) Using wscons driver on /dev/ttyE0 in pcvt compatibility mode (version 3.32)
[    20.205] (--) using VT number 1

[    20.205] (II) Loading /usr/X11R7/lib/modules/drivers/intel_drv.so
[    20.205] (WW) Falling back to old probe method for vesa
[    20.205] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    20.206] (II) Loading sub module "vgahw"
[    20.206] (II) LoadModule: "vgahw"
[    20.211] (II) Loading /usr/X11R7/lib/modules/libvgahw.so
[    20.215] (II) Module vgahw: vendor="X.Org Foundation"
[    20.215]    compiled for 1.10.3, module version = 0.1.0
[    20.215]    ABI class: X.Org Video Driver, version 10.0
[    20.215] (II) Loading sub module "ramdac"
[    20.215] (II) LoadModule: "ramdac"
[    20.215] (II) Module "ramdac" already built-in
[    20.216] drmOpenDevice: node name is /dev/dri/card0
[    20.216] drmOpenDevice: open result is 13, (OK)
[    20.216] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
[    20.216] drmOpenDevice: node name is /dev/dri/card0
[    20.216] drmOpenDevice: open result is 13, (OK)
[    20.216] drmOpenByBusid: drmOpenMinor returns 13
[    20.216] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
[    20.216] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    20.216] (==) intel(0): RGB weight 888
[    20.216] (==) intel(0): Default visual is TrueColor
[    20.216] (II) intel(0): Integrated Graphics Chipset: Intel(R) G41
[    20.216] (--) intel(0): Chipset: "G41"
[    20.216] (--) intel(0): Linear framebuffer at 0xD0000000
[    20.216] (--) intel(0): IO registers at addr 0xFE400000 size 4194304
[    20.216] (WW) intel(0): libpciaccess reported 0 rom size, guessing 64kB
[    20.216] (II) intel(0): No SDVO device is found in VBT
[    20.221] (II) intel(0): 2 display pipes available.
[    20.221] (II) Loading sub module "ddc"
[    20.221] (II) LoadModule: "ddc"
[    20.221] (II) Module "ddc" already built-in
[    20.221] (II) Loading sub module "i2c"
[    20.221] (II) LoadModule: "i2c"
[    20.221] (II) Module "i2c" already built-in
[    20.240] (II) intel(0): Output VGA using monitor section Monitor0
[    20.240] (WW) intel(0): remove MTRR a0000 - b0000
[    20.320] (II) intel(0): I2C bus "CRTDDC_A" initialized.
[    20.320] (II) intel(0): I2C device "CRTDDC_A:ddc2" registered at address 0xA0.
[    20.369] (II) intel(0): I2C device "CRTDDC_A:ddc2" removed.
[    20.369] (II) intel(0): I2C bus "CRTDDC_A" removed.
[    20.369] (II) intel(0): EDID for output VGA
[    20.369] (II) intel(0): Manufacturer: DEL  Model: f010  Serial#: 827930700
[    20.369] (II) intel(0): Year: 2010  Week: 49
[    20.369] (II) intel(0): EDID Version: 1.3
[    20.369] (II) intel(0): Analog Display Input,  Input Voltage Level: 0.700/0.700 V
[    20.369] (II) intel(0): Sync:  Separate
[    20.369] (II) intel(0): Max Image Size [cm]: horiz.: 47  vert.: 30
[    20.369] (II) intel(0): Gamma: 2.20
[    20.369] (II) intel(0): DPMS capabilities: Off; RGB/Color Display
[    20.369] (II) intel(0): Default color space is primary color space
[    20.369] (II) intel(0): First detailed timing is preferred mode
[    20.369] (II) intel(0): redX: 0.640 redY: 0.330   greenX: 0.300 greenY: 0.600
[    20.369] (II) intel(0): blueX: 0.150 blueY: 0.060   whiteX: 0.313 whiteY: 0.329
[    20.369] (II) intel(0): Supported established timings:
[    20.369] (II) intel(0): 720x400@70Hz
[    20.369] (II) intel(0): 640x480@60Hz
[    20.369] (II) intel(0): 640x480@75Hz
[    20.369] (II) intel(0): 800x600@60Hz
[    20.369] (II) intel(0): 800x600@75Hz
[    20.369] (II) intel(0): 1024x768@60Hz
[    20.369] (II) intel(0): 1024x768@75Hz
[    20.369] (II) intel(0): 1280x1024@75Hz
[    20.369] (II) intel(0): Manufacturer's mask: 0
[    20.369] (II) intel(0): Supported standard timings:
[    20.369] (II) intel(0): #0: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[    20.369] (II) intel(0): #1: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[    20.369] (II) intel(0): #2: hsize: 1680  vsize 1050  refresh: 60  vid: 179
[    20.369] (II) intel(0): Supported detailed timing:
[    20.370] (II) intel(0): clock: 146.2 MHz   Image Size:  474 x 296 mm
[    20.370] (II) intel(0): h_active: 1680  h_sync: 1784  h_sync_end 1960 h_blank_end 2240 h_border: 0
[    20.370] (II) intel(0): v_active: 1050  v_sync: 1053  v_sync_end 1059 v_blanking: 1089 v_border: 0
[    20.370] (II) intel(0): Serial No: H735H0BU1Y8L
[    20.370] (II) intel(0): Monitor name: DELL 2209WA
[    20.370] (II) intel(0): Ranges: V min: 56 V max: 75 Hz, H min: 30 H max: 83 kHz, PixClock max 165 MHz
[    20.370] (II) intel(0): EDID (in hex):
[    20.370] (II) intel(0):     00ffffffffffff0010ac10f04c385931
[    20.370] (II) intel(0):     31140103682f1e782eee95a3544c9926
[    20.370] (II) intel(0):     0f5054a54b00714f8180b30001010101
[    20.370] (II) intel(0):     01010101010121399030621a274068b0
[    20.370] (II) intel(0):     3600da281100001c000000ff00483733
[    20.370] (II) intel(0):     35483042553159384c0a000000fc0044
[    20.370] (II) intel(0):     454c4c203232303957410a20000000fd
[    20.370] (II) intel(0):     00384b1e5310000a20202020202000d4
[    20.370] (II) intel(0): EDID vendor "DEL", prod id 61456
[    20.370] (II) intel(0): Using EDID range info for horizontal sync
[    20.370] (II) intel(0): Using EDID range info for vertical refresh
[    20.370] (II) intel(0): Printing DDC gathered Modelines:
[    20.370] (II) intel(0): Modeline "1680x1050"x0.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz)
[    20.370] (II) intel(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[    20.370] (II) intel(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz)
[    20.370] (II) intel(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[    20.370] (II) intel(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz)
[    20.370] (II) intel(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz)
[    20.370] (II) intel(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz)
[    20.370] (II) intel(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[    20.370] (II) intel(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz)
[    20.370] (II) intel(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz)
[    20.370] (II) intel(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[    20.370] (II) intel(0): EDID vendor "DEL", prod id 61456
[    20.370] (II) intel(0): Printing probed modes for output VGA
[    20.370] (II) intel(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz)
[    20.370] (II) intel(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz)
[    20.370] (II) intel(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[    20.370] (II) intel(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz)
[    20.370] (II) intel(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz)
[    20.370] (II) intel(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[    20.370] (II) intel(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz)
[    20.370] (II) intel(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[    20.370] (II) intel(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz)
[    20.370] (II) intel(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[    20.370] (II) intel(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz)
[    20.370] (II) intel(0): Output VGA connected
[    20.370] (II) intel(0): Using exact sizes for initial modes
[    20.370] (II) intel(0): Output VGA using initial mode 1680x1050
[    20.370] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[    20.370] 
##############################################
*** In function RestoreHWState, on line 1902, in file /usr/xsrc/external/mit/xf86-video-intel/dist/src/i830_driver.c ***
[    20.370] RestoreHWState
[    20.370] ##############################################

[    20.887] (WW) intel(0): remove MTRR a0000 - b0000
[    20.920] (II) intel(0): detected 512 kB GTT.
[    20.920] (II) intel(0): detected 32764 kB stolen memory.
[    20.920] (==) intel(0): video overlay key set to 0x101fe
[    20.920] (**) intel(0): Display dimensions: (470, 300) mm
[    20.920] (**) intel(0): DPI set to (90, 88)
[    20.920] (II) Loading sub module "fb"
[    20.920] (II) LoadModule: "fb"
[    20.921] (II) Loading /usr/X11R7/lib/modules/libfb.so
[    20.927] (II) Module fb: vendor="X.Org Foundation"
[    20.927]    compiled for 1.10.3, module version = 1.0.0
[    20.927]    ABI class: X.Org ANSI C Emulation, version 0.4
[    20.927] (II) UnloadModule: "vesa"
[    20.927] (II) Unloading vesa
[    20.931] (==) Depth 24 pixmap format is 32 bpp
[    20.932] (II) intel(0): Kernel reported 1006592 total, 0 used
[    20.932] (II) intel(0): I830CheckAvailableMemory: 4026368 kB available
[    20.937] (II) intel(0): [DRI2] Setup complete
[    20.937] (II) intel(0): [DRI2]   DRI driver: i965
[    20.937] (**) intel(0): Framebuffer compression disabled
[    20.937] (**) intel(0): Tiling enabled
[    20.937] (**) intel(0): SwapBuffers wait enabled
[    20.995] (==) intel(0): VideoRam: 262144 KB
[    20.995] (II) intel(0): Attempting memory allocation with tiled buffers.
[    20.995] (II) intel(0): Tiled allocation successful.
[    20.995] (II) intel(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
[    20.995] 
##############################################
*** In function I830ScreenInit, on line 2643, in file /usr/xsrc/external/mit/xf86-video-intel/dist/src/i830_driver.c ***
[    20.995] assert( if(!vgaHWMapMem(scrn)) )
[    20.995] ##############################################

[    20.995] (WW) intel(0): remove MTRR a0000 - b0000
[    20.996] 
##############################################
*** In function I830ScreenInit, on line 2648, in file /usr/xsrc/external/mit/xf86-video-intel/dist/src/i830_driver.c ***
[    20.996] assert( if(!I830EnterVT(scrnIndex, 0)) )
[    20.996] ##############################################

[    20.996] 
##############################################
*** In function I830ScreenInit, on line 2659, in file /usr/xsrc/external/mit/xf86-video-intel/dist/src/i830_driver.c ***
[    20.996] assert( if(!fbScreenInit(screen, ...) )
[    20.996] ##############################################

[    21.039] (II) UXA(0): Driver registered support for the following operations:
[    21.039] (II)         solid
[    21.039] (II)         copy
[    21.039] (II)         composite (RENDER acceleration)
[    21.039] (II)         put_image
[    21.039] (II)         get_image
[    21.039] (==) intel(0): Backing store disabled
[    21.039] (==) intel(0): Silken mouse enabled
[    21.040] (II) intel(0): Initializing HW Cursor
[    21.041] 
##############################################
*** In function I830EnterVT, on line 2888, in file /usr/xsrc/external/mit/xf86-video-intel/dist/src/i830_driver.c ***
[    21.041] Enter VT
[    21.041] ##############################################

[    21.352] (II) intel(0): Fixed memory allocation layout:
[    21.352] (II) intel(0): 0x01fff000:            end of stolen memory
[    21.352] (II) intel(0): 0x01fff000-0x0fffffff: DRI memory manager (229380 kB)
[    21.352] (II) intel(0): 0x10000000:            end of aperture
[    21.352] (II) intel(0): BO memory allocation layout:
[    21.352] (II) intel(0): 0x01fff000:            start of memory manager
[    21.352] (II) intel(0): 0x02020000-0x0274dfff: front buffer (7352 kB) X tiled
[    21.352] (II) intel(0): 0x02820000-0x02829fff: HW cursors (40 kB)
[    21.352] (II) intel(0): 0x10000000:            end of memory manager
[    21.511] 
##############################################
*** In function I830InitHWCursor, on line 82, in file /usr/xsrc/external/mit/xf86-video-intel/dist/src/i830_cursor.c ***
[    21.511] I830InitHWCursor
[    21.511] ##############################################

[    21.876] (II) intel(0): Output configuration:
[    21.876] (II) intel(0):   Pipe A is on
[    21.876] (II) intel(0):   Display plane A is now enabled and connected to pipe A.
[    21.876] (II) intel(0):   Pipe B is off
[    21.876] (II) intel(0):   Display plane B is now disabled and connected to pipe B.
[    21.876] (II) intel(0):   Output VGA is connected to pipe A
[    21.876] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    21.887] 
##############################################
*** In function I830ScreenInit, on line 2728, in file /usr/xsrc/external/mit/xf86-video-intel/dist/src/i830_driver.c ***
[    21.887] assert( if(!miCreateDefColormap(screen)) )
[    21.887] ##############################################

[    21.896] 
##############################################
*** In function I830ScreenInit, on line 2732, in file /usr/xsrc/external/mit/xf86-video-intel/dist/src/i830_driver.c ***
[    21.896] assert( if(!xf86HandleColormaps(screen, ...)) )
[    21.896] ##############################################

[    21.896] (==) intel(0): DPMS enabled
[    21.903] (II) intel(0): Set up textured video
[    21.910] (II) intel(0): direct rendering: DRI2 Enabled
[    21.910] (--) RandR disabled
[    21.910] (II) Initializing built-in extension Generic Event Extension
[    21.910] (II) Initializing built-in extension SHAPE
[    21.910] (II) Initializing built-in extension MIT-SHM
[    21.910] (II) Initializing built-in extension XInputExtension
[    21.910] (II) Initializing built-in extension XTEST
[    21.910] (II) Initializing built-in extension BIG-REQUESTS
[    21.910] (II) Initializing built-in extension SYNC
[    21.910] (II) Initializing built-in extension XKEYBOARD
[    21.910] (II) Initializing built-in extension XC-MISC
[    21.910] (II) Initializing built-in extension SECURITY
[    21.910] (II) Initializing built-in extension XINERAMA
[    21.910] (II) Initializing built-in extension XFIXES
[    21.910] (II) Initializing built-in extension XFree86-Bigfont
[    21.910] (II) Initializing built-in extension RENDER
[    21.910] (II) Initializing built-in extension RANDR
[    21.910] (II) Initializing built-in extension COMPOSITE
[    21.910] (II) Initializing built-in extension DAMAGE
[    21.927] (II) AIGLX: Screen 0 is not DRI capable
[    22.040] (II) AIGLX: Loaded and initialized /usr/X11R7/lib/modules/dri/swrast_dri.so
[    22.040] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    22.041] (II) intel(0): Setting screen physical size to 444 x 277
[    22.847] (II) Using input driver 'mouse' for 'Mouse0'
[    22.847] (II) Loading /usr/X11R7/lib/modules/drivers/mouse_drv.so
[    22.847] (**) Option "CorePointer"
[    22.847] (**) Mouse0: always reports core events
[    22.855] (**) Option "Protocol" "wsmouse"
[    22.855] (**) Option "Device" "/dev/wsmouse"
[    22.855] (**) Mouse0: Protocol: "wsmouse"
[    22.855] (**) Mouse0: always reports core events
[    22.885] (==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
[    22.885] (**) Option "ZAxisMapping" "4 5 6 7"
[    22.885] (**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7
[    22.885] (**) Mouse0: Buttons: 11
[    22.885] (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
[    22.885] (**) Mouse0: (accel) keeping acceleration scheme 1
[    22.885] (**) Mouse0: (accel) acceleration profile 0
[    22.885] (**) Mouse0: (accel) acceleration factor: 2.000
[    22.885] (**) Mouse0: (accel) acceleration threshold: 4
[    22.885] (II) Using input driver 'kbd' for 'Keyboard0'
[    22.885] (II) Loading /usr/X11R7/lib/modules/drivers/kbd_drv.so
[    22.885] (**) Option "CoreKeyboard"
[    22.885] (**) Keyboard0: always reports core events
[    22.886] (**) Keyboard0: always reports core events
[    22.886] (**) Option "Protocol" "standard"
[    22.886] (**) Option "XkbRules" "xorg"
[    22.886] (**) Option "XkbModel" "pc105"
[    22.886] (**) Option "XkbLayout" "us,ru"
[    22.886] (**) Option "XkbVariant" ",winkeys"
[    22.886] (**) Option "XkbOptions" "grp:alt_shift_toggle"
[    22.886] (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
[    24.003] (II) intel(0): I2C bus "CRTDDC_A" initialized.
[    24.003] (II) intel(0): I2C device "CRTDDC_A:ddc2" registered at address 0xA0.
[    24.052] (II) intel(0): I2C device "CRTDDC_A:ddc2" removed.
[    24.052] (II) intel(0): I2C bus "CRTDDC_A" removed.
[    24.052] (II) intel(0): EDID vendor "DEL", prod id 61456
[    24.052] (II) intel(0): Using hsync ranges from config file
[    24.052] (II) intel(0): Using vrefresh ranges from config file
[    24.052] (II) intel(0): Printing DDC gathered Modelines:
[    24.052] (II) intel(0): Modeline "1680x1050"x0.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz)
[    24.052] (II) intel(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[    24.052] (II) intel(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz)
[    24.052] (II) intel(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[    24.052] (II) intel(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz)
[    24.052] (II) intel(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz)
[    24.052] (II) intel(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz)
[    24.052] (II) intel(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[    24.052] (II) intel(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz)
[    24.052] (II) intel(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz)
[    24.052] (II) intel(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[    24.052] (II) intel(0): EDID vendor "DEL", prod id 61456
[    24.069] (II) intel(0): I2C bus "CRTDDC_A" initialized.
[    24.069] (II) intel(0): I2C device "CRTDDC_A:ddc2" registered at address 0xA0.
[    24.118] (II) intel(0): I2C device "CRTDDC_A:ddc2" removed.
[    24.118] (II) intel(0): I2C bus "CRTDDC_A" removed.
[    24.118] (II) intel(0): EDID vendor "DEL", prod id 61456
[    24.118] (II) intel(0): Using hsync ranges from config file
[    24.118] (II) intel(0): Using vrefresh ranges from config file
[    24.118] (II) intel(0): Printing DDC gathered Modelines:
[    24.118] (II) intel(0): Modeline "1680x1050"x0.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz)
[    24.118] (II) intel(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[    24.118] (II) intel(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz)
[    24.118] (II) intel(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[    24.118] (II) intel(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz)
[    24.118] (II) intel(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz)
[    24.118] (II) intel(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz)
[    24.118] (II) intel(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[    24.118] (II) intel(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz)
[    24.118] (II) intel(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz)
[    24.118] (II) intel(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[    24.118] (II) intel(0): EDID vendor "DEL", prod id 61456
[ 58145.933] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.933] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.933] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.933] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.933] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.933] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.933] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.933] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.933] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.933] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.933] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.934] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.934] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.934] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.934] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.934] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.934] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.934] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.934] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.934] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.934] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.934] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.934] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.934] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.934] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.934] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.934] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.934] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.934] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.934] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.934] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.935] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.935] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.935] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.935] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.935] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.935] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.935] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.935] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.935] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.935] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[ 58145.937] (EE) intel(0): Failed to submit batch buffer, expect rendering corruption or even a frozen display: Input/output error.

The rest of dmesg:

sg_dmamap_load_raw: unable to allocate extent subregion: 35
sg_dmamap_load_raw: unable to allocate extent subregion: 35
sg_dmamap_load_raw: unable to allocate extent subregion: 35
...
(a lot of it)
...
sg_dmamap_load_raw: unable to allocate extent subregion: 35
sg_dmamap_load_raw: unable to allocate extent subregion: 35
sg_dmamap_load_raw: unable to allocate extent subregion: 35
inteldrm0: gpu hung!

Dmitry

gsutre commented 12 years ago

Thanks for the report. I believe that the symptoms match those of issue #2, which is good news since your dmesg provides more information. Note that, to avoid this problem in the future, you might want to enable DebugWait in your xorg.conf as described in a comment of issue #2.

At first glance, this error means that the extent_alloc_subregion1() call returned EAGAIN in sg_dmamap_load_raw(). The only way for extent_alloc_subregion1() to return EAGAIN is, according to the comment in the function, when no space is currently available in the extent. A possible cause would be that extent chunks are not freed properly in the sg_dma code, or that the inteldrm driver misses some bus_dma_unload() calls.

I'll have to look deeper into this, but this probably won't happen before the Christmas holidays.

dmatveev commented 11 years ago

Hello Gregoire,

~ $ dmesg | tail
sg_dmamap_load_raw: unable to allocate extent subregion: 35
sg_dmamap_load_raw: unable to allocate extent subregion: 35
sg_dmamap_load_raw: unable to allocate extent subregion: 35
sg_dmamap_load_raw: unable to allocate extent subregion: 35
sg_dmamap_load_raw: unable to allocate extent subregion: 35
sg_dmamap_load_raw: unable to allocate extent subregion: 35
sg_dmamap_load_raw: unable to allocate extent subregion: 35
sg_dmamap_load_raw: unable to allocate extent subregion: 35
sg_dmamap_load_raw: unable to allocate extent subregion: 35
sg_dmamap_load_raw: unable to allocate extent subregion: 35

The problem has been reproduced on the recent patch version, but after a long uptime (7+ days instead of 2-3 days in 2011). I will try to use DebugWait option as suggested, and inform you about the result.

Actually, the system is still usable, no artifacts on the screen, everything works now.

Dmitry

gsutre commented 11 years ago

Thanks for the update. I was wondering whether the problem was fixed by the changes that have been committed in the meantime. No such luck...

dmatveev commented 1 year ago

I believe after all these years there's no reason to keep this open. Times goes by..)