gsutre / netbsd-drmgem

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

Gpu hang with glxgears #1

Closed gsutre closed 13 years ago

gsutre commented 13 years ago

Running glxgears works for a few seconds and then freezes the X server (sort of). Switching to console VT is still possible, though.

startx log

/usr/xsrc/external/mit/libdrm/dist/intel/intel_bufmgr_gem.c:953: Error setting to CPU domain 1: Input/output error
(EE) intel(0): Failed to submit batch buffer, expect rendering corruption or even a frozen display: Input/output error.

/var/log/messages

/netbsd: inteldrm0: gpu hung!

/var/log/Xorg.0.log

[   103.395] 
X.Org X Server 1.9.2
Release Date: 2010-10-30
[   103.395] X Protocol Version 11, Revision 0
[   103.395] Build Operating System: NetBSD/i386  - 
[   103.395] Current Operating System: NetBSD niagara 5.99.44 NetBSD 5.99.44 (GENERIC) #6: Fri Jan 28 15:37:52 CET 2011  sutre@niagara:/usr/src/sys/arch/i386/compile/GENERIC i386
[   103.396] Build Date: 23 November 2010  01:33:05AM
[   103.396]  
[   103.396] Current version of pixman: 0.21.2
[   103.396]    Before reporting problems, check http://wiki.X.Org
    to make sure that you have the latest version.
[   103.396] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   103.397] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jan 28 16:08:11 2011
[   103.397] (II) Loader magic: 0x82277dc
[   103.397] (II) Module ABI versions:
[   103.397]    X.Org ANSI C Emulation: 0.4
[   103.397]    X.Org Video Driver: 8.0
[   103.397]    X.Org XInput driver : 11.0
[   103.398]    X.Org Server Extension : 4.0
[   103.403] (--) PCI:*(0:0:2:0) 8086:2592:10cf:12e2 rev 4, Mem @ 0xb0080000/524288, 0xc0000000/268435456, 0xb0040000/262144, I/O @ 0x00001400/8
[   103.403] (--) PCI: (0:0:2:1) 8086:2792:10cf:12e2 rev 4, Mem @ 0x00000000/524288
[   103.404] (==) Using default built-in configuration (30 lines)
[   103.404] (==) --- Start of built-in configuration ---
[   103.404]    Section "Device"
[   103.404]        Identifier  "Builtin Default intel Device 0"
[   103.404]        Driver  "intel"
[   103.404]    EndSection
[   103.404]    Section "Screen"
[   103.404]        Identifier  "Builtin Default intel Screen 0"
[   103.404]        Device  "Builtin Default intel Device 0"
[   103.404]    EndSection
[   103.404]    Section "Device"
[   103.404]        Identifier  "Builtin Default vesa Device 0"
[   103.404]        Driver  "vesa"
[   103.404]    EndSection
[   103.404]    Section "Screen"
[   103.404]        Identifier  "Builtin Default vesa Screen 0"
[   103.404]        Device  "Builtin Default vesa Device 0"
[   103.404]    EndSection
[   103.404]    Section "Device"
[   103.404]        Identifier  "Builtin Default fbdev Device 0"
[   103.404]        Driver  "fbdev"
[   103.404]    EndSection
[   103.404]    Section "Screen"
[   103.404]        Identifier  "Builtin Default fbdev Screen 0"
[   103.405]        Device  "Builtin Default fbdev Device 0"
[   103.405]    EndSection
[   103.405]    Section "ServerLayout"
[   103.405]        Identifier  "Builtin Default Layout"
[   103.405]        Screen  "Builtin Default intel Screen 0"
[   103.405]        Screen  "Builtin Default vesa Screen 0"
[   103.405]        Screen  "Builtin Default fbdev Screen 0"
[   103.405]    EndSection
[   103.405] (==) --- End of built-in configuration ---
[   103.405] (==) ServerLayout "Builtin Default Layout"
[   103.405] (**) |-->Screen "Builtin Default intel Screen 0" (0)
[   103.405] (**) |   |-->Monitor ""
[   103.406] (**) |   |-->Device "Builtin Default intel Device 0"
[   103.406] (==) No monitor specified for screen "Builtin Default intel Screen 0".
    Using a default monitor configuration.
[   103.406] (**) |-->Screen "Builtin Default vesa Screen 0" (1)
[   103.406] (**) |   |-->Monitor ""
[   103.407] (**) |   |-->Device "Builtin Default vesa Device 0"
[   103.407] (==) No monitor specified for screen "Builtin Default vesa Screen 0".
    Using a default monitor configuration.
[   103.407] (**) |-->Screen "Builtin Default fbdev Screen 0" (2)
[   103.407] (**) |   |-->Monitor ""
[   103.407] (**) |   |-->Device "Builtin Default fbdev Device 0"
[   103.407] (==) No monitor specified for screen "Builtin Default fbdev Screen 0".
    Using a default monitor configuration.
[   103.407] (==) Not automatically adding devices
[   103.407] (==) Not automatically enabling devices
[   103.408] (==) 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/
[   103.408] (==) ModulePath set to "/usr/X11R7/lib/modules"
[   103.408] (==) |-->Input Device ""
[   103.408] (==) |-->Input Device ""
[   103.408] (==) The core pointer device wasn't specified explicitly in the layout.
    Using the default mouse configuration.
[   103.408] (==) The core keyboard device wasn't specified explicitly in the layout.
    Using the default keyboard configuration.
[   103.408] (II) LoadModule: "extmod"
[   103.412] (II) Loading /usr/X11R7/lib/modules/extensions/libextmod.so
[   103.413] (II) Module extmod: vendor="X.Org Foundation"
[   103.413]    compiled for 1.9.2, module version = 1.0.0
[   103.413]    Module class: X.Org Server Extension
[   103.413]    ABI class: X.Org Server Extension, version 4.0
[   103.413] (II) Loading extension MIT-SCREEN-SAVER
[   103.413] (II) Loading extension XFree86-VidModeExtension
[   103.413] (II) Loading extension XFree86-DGA
[   103.413] (II) Loading extension DPMS
[   103.414] (II) Loading extension XVideo
[   103.414] (II) Loading extension XVideo-MotionCompensation
[   103.414] (II) Loading extension X-Resource
[   103.414] (II) LoadModule: "dbe"
[   103.417] (II) Loading /usr/X11R7/lib/modules/extensions/libdbe.so
[   103.418] (II) Module dbe: vendor="X.Org Foundation"
[   103.418]    compiled for 1.9.2, module version = 1.0.0
[   103.418]    Module class: X.Org Server Extension
[   103.418]    ABI class: X.Org Server Extension, version 4.0
[   103.418] (II) Loading extension DOUBLE-BUFFER
[   103.418] (II) LoadModule: "glx"
[   103.422] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so
[   103.422] (II) Module glx: vendor="X.Org Foundation"
[   103.422]    compiled for 1.9.2, module version = 1.0.0
[   103.422]    ABI class: X.Org Server Extension, version 4.0
[   103.422] (==) AIGLX enabled
[   103.422] (II) Loading extension GLX
[   103.422] (II) LoadModule: "record"
[   103.427] (II) Loading /usr/X11R7/lib/modules/extensions/librecord.so
[   103.427] (II) Module record: vendor="X.Org Foundation"
[   103.459]    compiled for 1.9.2, module version = 1.13.0
[   103.459]    Module class: X.Org Server Extension
[   103.459]    ABI class: X.Org Server Extension, version 4.0
[   103.459] (II) Loading extension RECORD
[   103.459] (II) LoadModule: "dri"
[   103.463] (II) Loading /usr/X11R7/lib/modules/extensions/libdri.so
[   103.463] (II) Module dri: vendor="X.Org Foundation"
[   103.464]    compiled for 1.9.2, module version = 1.0.0
[   103.464]    ABI class: X.Org Server Extension, version 4.0
[   103.464] (II) Loading extension XFree86-DRI
[   103.464] (II) LoadModule: "dri2"
[   103.467] (II) Loading /usr/X11R7/lib/modules/extensions/libdri2.so
[   103.468] (II) Module dri2: vendor="X.Org Foundation"
[   103.468]    compiled for 1.9.2, module version = 1.2.0
[   103.468]    ABI class: X.Org Server Extension, version 4.0
[   103.468] (II) Loading extension DRI2
[   103.468] (II) LoadModule: "intel"
[   103.470] (II) Loading /usr/X11R7/lib/modules/drivers/intel_drv.so
[   103.471] (II) Module intel: vendor="X.Org Foundation"
[   103.471]    compiled for 1.9.2, module version = 2.9.1
[   103.472]    Module class: X.Org Video Driver
[   103.472]    ABI class: X.Org Video Driver, version 8.0
[   103.472] (II) LoadModule: "vesa"
[   103.475] (II) Loading /usr/X11R7/lib/modules/drivers/vesa_drv.so
[   103.475] (II) Module vesa: vendor="X.Org Foundation"
[   103.475]    compiled for 1.9.2, module version = 2.3.0
[   103.475]    Module class: X.Org Video Driver
[   103.475]    ABI class: X.Org Video Driver, version 8.0
[   103.475] (II) LoadModule: "fbdev"
[   103.484] (WW) Warning, couldn't open module fbdev
[   103.484] (II) UnloadModule: "fbdev"
[   103.484] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   103.484] (II) LoadModule: "mouse"
[   103.486] (II) Loading /usr/X11R7/lib/modules/drivers/mouse_drv.so
[   103.486] (II) Module mouse: vendor="X.Org Foundation"
[   103.486]    compiled for 1.9.2, module version = 1.6.0
[   103.487]    Module class: X.Org XInput Driver
[   103.487]    ABI class: X.Org XInput driver, version 11.0
[   103.487] (II) LoadModule: "kbd"
[   103.489] (II) Loading /usr/X11R7/lib/modules/drivers/kbd_drv.so
[   103.489] (II) Module kbd: vendor="X.Org Foundation"
[   103.489]    compiled for 1.9.2, module version = 1.5.0
[   103.489]    Module class: X.Org XInput Driver
[   103.489]    ABI class: X.Org XInput driver, version 11.0
[   103.489] (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
[   103.491] (II) VESA: driver for VESA chipsets: vesa
[   103.491] (--) Using wscons driver on /dev/ttyE4 in pcvt compatibility mode (version 3.32)
[   103.491] (--) using VT number 5

[   103.499] (WW) Falling back to old probe method for vesa
[   103.499] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   103.499] (II) Loading sub module "vgahw"
[   103.500] (II) LoadModule: "vgahw"
[   103.504] (II) Loading /usr/X11R7/lib/modules/libvgahw.so
[   103.505] (II) Module vgahw: vendor="X.Org Foundation"
[   103.505]    compiled for 1.9.2, module version = 0.1.0
[   103.505]    ABI class: X.Org Video Driver, version 8.0
[   103.505] (II) Loading sub module "ramdac"
[   103.505] (II) LoadModule: "ramdac"
[   103.505] (II) Module "ramdac" already built-in
[   103.505] drmOpenDevice: node name is /dev/dri/card0
[   103.505] drmOpenDevice: open result is 10, (OK)
[   103.506] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
[   103.506] drmOpenDevice: node name is /dev/dri/card0
[   103.506] drmOpenDevice: open result is 10, (OK)
[   103.506] drmOpenByBusid: drmOpenMinor returns 10
[   103.506] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
[   103.506] (II) intel(0): Creating default Display subsection in Screen section
    "Builtin Default intel Screen 0" for depth/fbbpp 24/32
[   103.506] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[   103.506] (==) intel(0): RGB weight 888
[   103.506] (==) intel(0): Default visual is TrueColor
[   103.506] (II) intel(0): Integrated Graphics Chipset: Intel(R) 915GM
[   103.506] (--) intel(0): Chipset: "915GM"
[   103.506] (--) intel(0): Linear framebuffer at 0xC0000000
[   103.506] (--) intel(0): IO registers at addr 0xB0080000 size 524288
[   103.506] (WW) intel(0): libpciaccess reported 0 rom size, guessing 64kB
[   103.507] (II) intel(0): No SDVO device is found in VBT
[   103.507] (II) intel(0): 2 display pipes available.
[   103.507] (II) Loading sub module "ddc"
[   103.507] (II) LoadModule: "ddc"
[   103.508] (II) Module "ddc" already built-in
[   103.508] (II) Loading sub module "i2c"
[   103.508] (II) LoadModule: "i2c"
[   103.508] (II) Module "i2c" already built-in
[   103.508] (II) intel(0): Output VGA has no monitor section
[   103.508] (II) intel(0): Output LVDS has no monitor section
[   103.508] (II) intel(0): I2C bus "LVDSDDC_C" initialized.
[   103.508] (II) intel(0): Attempting to determine panel fixed mode.
[   103.508] (II) intel(0): I2C device "LVDSDDC_C:ddc2" registered at address 0xA0.
[   103.514] (II) intel(0): EDID for output LVDS
[   103.514] (II) intel(0): Output TV has no monitor section
[   103.514] (WW) intel(0): remove MTRR a0000 - b0000
[   103.897] (II) intel(0): I2C bus "CRTDDC_A" initialized.
[   103.898] (II) intel(0): I2C bus "CRTDDC_A" removed.
[   104.608] (II) intel(0): EDID for output VGA
[   104.613] (II) intel(0): EDID for output LVDS
[   104.614] (II) intel(0): Not using default mode "320x175" (doublescan mode not supported)
[   104.614] (II) intel(0): Not using default mode "320x200" (doublescan mode not supported)
[   104.614] (II) intel(0): Not using default mode "360x200" (doublescan mode not supported)
[   104.614] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
[   104.614] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
[   104.614] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
[   104.614] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
[   104.614] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[   104.614] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[   104.614] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[   104.614] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[   104.614] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[   104.614] (II) intel(0): Not using default mode "1024x768i" (interlace mode not supported)
[   104.614] (II) intel(0): Not using default mode "512x384i" (doublescan mode not supported)
[   104.614] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
[   104.614] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
[   104.615] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
[   104.615] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
[   104.615] (II) intel(0): Not using default mode "1152x864" (exceeds panel dimensions)
[   104.615] (II) intel(0): Not using default mode "576x432" (doublescan mode not supported)
[   104.615] (II) intel(0): Not using default mode "1280x960" (exceeds panel dimensions)
[   104.615] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
[   104.615] (II) intel(0): Not using default mode "1280x960" (exceeds panel dimensions)
[   104.615] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
[   104.615] (II) intel(0): Not using default mode "1280x1024" (exceeds panel dimensions)
[   104.615] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
[   104.615] (II) intel(0): Not using default mode "1280x1024" (exceeds panel dimensions)
[   104.615] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
[   104.615] (II) intel(0): Not using default mode "1280x1024" (exceeds panel dimensions)
[   104.615] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
[   104.615] (II) intel(0): Not using default mode "1600x1200" (exceeds panel dimensions)
[   104.615] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
[   104.615] (II) intel(0): Not using default mode "1600x1200" (exceeds panel dimensions)
[   104.615] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
[   104.615] (II) intel(0): Not using default mode "1600x1200" (exceeds panel dimensions)
[   104.615] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
[   104.615] (II) intel(0): Not using default mode "1600x1200" (exceeds panel dimensions)
[   104.616] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
[   104.616] (II) intel(0): Not using default mode "1600x1200" (exceeds panel dimensions)
[   104.616] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
[   104.616] (II) intel(0): Not using default mode "1792x1344" (exceeds panel dimensions)
[   104.616] (II) intel(0): Not using default mode "896x672" (doublescan mode not supported)
[   104.616] (II) intel(0): Not using default mode "1792x1344" (exceeds panel dimensions)
[   104.616] (II) intel(0): Not using default mode "896x672" (doublescan mode not supported)
[   104.616] (II) intel(0): Not using default mode "1856x1392" (exceeds panel dimensions)
[   104.616] (II) intel(0): Not using default mode "928x696" (doublescan mode not supported)
[   104.616] (II) intel(0): Not using default mode "1856x1392" (exceeds panel dimensions)
[   104.616] (II) intel(0): Not using default mode "928x696" (doublescan mode not supported)
[   104.616] (II) intel(0): Not using default mode "1920x1440" (exceeds panel dimensions)
[   104.616] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
[   104.616] (II) intel(0): Not using default mode "1920x1440" (exceeds panel dimensions)
[   104.616] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
[   104.616] (II) intel(0): Not using default mode "416x312" (doublescan mode not supported)
[   104.616] (II) intel(0): Not using default mode "1400x1050" (exceeds panel dimensions)
[   104.616] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
[   104.616] (II) intel(0): Not using default mode "1400x1050" (exceeds panel dimensions)
[   104.616] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
[   104.616] (II) intel(0): Not using default mode "1920x1440" (exceeds panel dimensions)
[   104.617] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
[   104.617] (II) intel(0): Not using default mode "2048x1536" (exceeds panel dimensions)
[   104.617] (II) intel(0): Not using default mode "1024x768" (doublescan mode not supported)
[   104.617] (II) intel(0): Not using default mode "2048x1536" (exceeds panel dimensions)
[   104.617] (II) intel(0): Not using default mode "1024x768" (doublescan mode not supported)
[   104.617] (II) intel(0): Not using default mode "2048x1536" (exceeds panel dimensions)
[   104.617] (II) intel(0): Not using default mode "1024x768" (doublescan mode not supported)
[   104.617] (II) intel(0): Printing probed modes for output LVDS
[   104.617] (II) intel(0): Modeline "1280x768"x59.8   81.00  1280 1328 1440 1688  768 771 777 802 (48.0 kHz)
[   104.617] (II) intel(0): Modeline "1024x768"x85.0   94.50  1024 1072 1168 1376  768 769 772 808 +hsync +vsync (68.7 kHz)
[   104.617] (II) intel(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz)
[   104.617] (II) intel(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz)
[   104.617] (II) intel(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[   104.617] (II) intel(0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz)
[   104.617] (II) intel(0): Modeline "800x600"x85.1   56.30  800 832 896 1048  600 601 604 631 +hsync +vsync (53.7 kHz)
[   104.617] (II) intel(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz)
[   104.617] (II) intel(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz)
[   104.618] (II) intel(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[   104.618] (II) intel(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz)
[   104.618] (II) intel(0): Modeline "640x480"x85.0   36.00  640 696 752 832  480 481 484 509 -hsync -vsync (43.3 kHz)
[   104.618] (II) intel(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz)
[   104.618] (II) intel(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz)
[   104.618] (II) intel(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[   104.618] (II) intel(0): Modeline "720x400"x85.0   35.50  720 756 828 936  400 401 404 446 -hsync +vsync (37.9 kHz)
[   104.618] (II) intel(0): Modeline "640x400"x85.1   31.50  640 672 736 832  400 401 404 445 -hsync +vsync (37.9 kHz)
[   104.618] (II) intel(0): Modeline "640x350"x85.1   31.50  640 672 736 832  350 382 385 445 +hsync -vsync (37.9 kHz)
[   105.258] (II) intel(0): EDID for output TV
[   105.258] (II) intel(0): Output VGA disconnected
[   105.258] (II) intel(0): Output LVDS connected
[   105.258] (II) intel(0): Output TV disconnected
[   105.258] (II) intel(0): Using exact sizes for initial modes
[   105.258] (II) intel(0): Output LVDS using initial mode 1280x768
[   105.258] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[   105.258] 
##############################################
*** In function RestoreHWState, on line 1900, in file /usr/xsrc/external/mit/xf86-video-intel/dist/src/i830_driver.c ***
[   105.258] RestoreHWState
[   105.258] ##############################################

[   105.758] (WW) intel(0): remove MTRR a0000 - b0000
[   105.798] (II) intel(0): detected 256 kB GTT.
[   105.798] (II) intel(0): detected 7932 kB stolen memory.
[   105.798] (==) intel(0): video overlay key set to 0x101fe
[   105.798] (==) intel(0): DPI set to (96, 96)
[   105.798] (II) Loading sub module "fb"
[   105.798] (II) LoadModule: "fb"
[   105.803] (II) Loading /usr/X11R7/lib/modules/libfb.so
[   105.803] (II) Module fb: vendor="X.Org Foundation"
[   105.803]    compiled for 1.9.2, module version = 1.0.0
[   105.803]    ABI class: X.Org ANSI C Emulation, version 0.4
[   105.803] (II) UnloadModule: "vesa"
[   105.804] (II) Unloading /usr/X11R7/lib/modules/drivers/vesa_drv.so
[   105.804] (==) Depth 24 pixmap format is 32 bpp
[   105.804] (II) intel(0): Kernel reported 491520 total, 0 used
[   105.804] (II) intel(0): I830CheckAvailableMemory: 1966080 kB available
[   105.804] (II) intel(0): [DRI2] Setup complete
[   105.804] (II) intel(0): [DRI2]   DRI driver: i915
[   105.804] (**) intel(0): Framebuffer compression disabled
[   105.804] (**) intel(0): Tiling enabled
[   105.804] (**) intel(0): SwapBuffers wait enabled
[   105.854] (==) intel(0): VideoRam: 262144 KB
[   105.854] (II) intel(0): Attempting memory allocation with tiled buffers.
[   105.854] (II) intel(0): Tiled allocation successful.
[   105.854] (II) intel(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
[   105.855] 
##############################################
*** In function I830ScreenInit, on line 2641, in file /usr/xsrc/external/mit/xf86-video-intel/dist/src/i830_driver.c ***
[   105.855] assert( if(!vgaHWMapMem(scrn)) )
[   105.855] ##############################################

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

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

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

[   105.982] (II) intel(0): adjusting plane->pipe mappings to allow for framebuffer compression
[   106.782] (II) intel(0): Fixed memory allocation layout:
[   106.783] (II) intel(0): 0x00000000-0x00009fff: HW cursors (40 kB, 0x000000005f800000 physical
)
[   106.783] (II) intel(0): 0x0000a000-0x0000afff: overlay registers (4 kB, 0x000000005f80a000 physical
)
[   106.783] (II) intel(0): 0x007bf000:            end of stolen memory
[   106.783] (II) intel(0): 0x007bf000-0x0fff4fff: DRI memory manager (254168 kB)
[   106.783] (II) intel(0): 0x10000000:            end of aperture
[   106.783] (II) intel(0): BO memory allocation layout:
[   106.783] (II) intel(0): 0x007bf000:            start of memory manager
[   106.783] (II) intel(0): 0x00800000-0x00ffffff: front buffer (8192 kB) X tiled
[   106.783] (II) intel(0): 0x0fff5000:            end of memory manager
[   106.783] 
##############################################
*** In function I830InitHWCursor, on line 82, in file /usr/xsrc/external/mit/xf86-video-intel/dist/src/i830_cursor.c ***
[   106.783] I830InitHWCursor
[   106.783] ##############################################

[   107.009] (II) intel(0): using SSC reference clock of 96 MHz
[   107.029] (II) intel(0): Selecting standard 18 bit TMDS pixel format.
[   107.449] (II) intel(0): Output configuration:
[   107.449] (II) intel(0):   Pipe A is off
[   107.449] (II) intel(0):   Display plane B is now disabled and connected to pipe A.
[   107.449] (II) intel(0):   Pipe B is on
[   107.449] (II) intel(0):   Display plane A is now enabled and connected to pipe B.
[   107.449] (II) intel(0):   Output VGA is connected to pipe none
[   107.449] (II) intel(0):   Output LVDS is connected to pipe B
[   107.450] (II) intel(0):   Output TV is connected to pipe none
[   107.450] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[   107.450] 
##############################################
*** In function I830ScreenInit, on line 2726, in file /usr/xsrc/external/mit/xf86-video-intel/dist/src/i830_driver.c ***
[   107.450] assert( if(!miCreateDefColormap(screen)) )
[   107.450] ##############################################

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

[   107.450] (==) intel(0): DPMS enabled
[   107.450] (II) intel(0): Set up textured video
[   107.450] (II) intel(0): Set up overlay video
[   107.450] (II) intel(0): direct rendering: DRI2 Enabled
[   107.451] (--) RandR disabled
[   107.451] (II) Initializing built-in extension Generic Event Extension
[   107.451] (II) Initializing built-in extension SHAPE
[   107.451] (II) Initializing built-in extension MIT-SHM
[   107.451] (II) Initializing built-in extension XInputExtension
[   107.451] (II) Initializing built-in extension XTEST
[   107.451] (II) Initializing built-in extension BIG-REQUESTS
[   107.451] (II) Initializing built-in extension SYNC
[   107.451] (II) Initializing built-in extension XKEYBOARD
[   107.451] (II) Initializing built-in extension XC-MISC
[   107.451] (II) Initializing built-in extension SECURITY
[   107.451] (II) Initializing built-in extension XINERAMA
[   107.451] (II) Initializing built-in extension XFIXES
[   107.451] (II) Initializing built-in extension XFree86-Bigfont
[   107.451] (II) Initializing built-in extension RENDER
[   107.451] (II) Initializing built-in extension RANDR
[   107.451] (II) Initializing built-in extension COMPOSITE
[   107.451] (II) Initializing built-in extension DAMAGE
[   107.478] (II) AIGLX: Screen 0 is not DRI capable
[   107.497] (II) AIGLX: Loaded and initialized /usr/X11R7/lib/modules/dri/swrast_dri.so
[   107.497] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[   107.499] (II) intel(0): Setting screen physical size to 338 x 203
[   107.881] (WW) : No Device specified, looking for one...
[   107.884] (II) : found Device "/dev/wsmouse"
[   107.920] (**) : Protocol: WSMouse
[   107.920] (**) Option "CorePointer"
[   107.920] (**) : always reports core events
[   107.920] (**) Option "Device" "/dev/wsmouse"
[   107.960] (==) : Emulate3Buttons, Emulate3Timeout: 50
[   107.960] (**) : ZAxisMapping: buttons 4 and 5
[   107.960] (**) : Buttons: 9
[   107.960] (II) XINPUT: Adding extended input device "" (type: MOUSE)
[   107.960] (**) : (accel) keeping acceleration scheme 1
[   107.960] (**) : (accel) acceleration profile 0
[   107.960] (**) : (accel) acceleration factor: 2.000
[   107.960] (**) : (accel) acceleration threshold: 4
[   107.963] (**) Option "CoreKeyboard"
[   107.963] (**) : always reports core events
[   107.963] (**) Option "Protocol" "standard"
[   107.963] (**) : Protocol: standard
[   107.963] (**) Option "XkbRules" "base"
[   107.964] (**) : XkbRules: "base"
[   107.964] (**) Option "XkbModel" "pc105"
[   107.964] (**) : XkbModel: "pc105"
[   107.964] (**) Option "XkbLayout" "us"
[   107.964] (**) : XkbLayout: "us"
[   107.964] (**) Option "CustomKeycodes" "off"
[   107.964] (**) : CustomKeycodes disabled
[   107.964] (II) XINPUT: Adding extended input device "" (type: KEYBOARD)
[   127.392] (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Input/output error
[   127.396] (EE) intel(0): Failed to submit batch buffer, expect rendering corruption or even a frozen display: Input/output error.
[   140.680] (II) UnloadModule: "mouse"
[   140.680] (II) UnloadModule: "kbd"
[   140.681] 
##############################################
*** In function I830LeaveVT, on line 2824, in file /usr/xsrc/external/mit/xf86-video-intel/dist/src/i830_driver.c ***
[   140.681] Leave VT
[   140.681] ##############################################

[   140.681] 
##############################################
*** In function RestoreHWState, on line 1900, in file /usr/xsrc/external/mit/xf86-video-intel/dist/src/i830_driver.c ***
[   140.681] RestoreHWState
[   140.681] ##############################################

[   142.094] 
##############################################
*** In function I830CloseScreen, on line 3013, in file /usr/xsrc/external/mit/xf86-video-intel/dist/src/i830_driver.c ***
[   142.094] 
Unmapping memory
[   142.094] ##############################################

dmesg

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.99.44 (GENERIC) #6: Fri Jan 28 15:37:52 CET 2011
    sutre@niagara:/usr/src/sys/arch/i386/compile/GENERIC
total memory = 1526 MB
avail memory = 1488 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
FUJITSU SIEMENS LIFEBOOK P7120 ( )
mainbus0 (root)
cpu0 at mainbus0 apid 0: Intel(R) Pentium(R) M processor 1.20GHz, id 0x6d8
ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 20, 24 pins
acpi0 at mainbus0: Intel ACPICA 20100528
acpi0: X/RSDT: OemId , AslId 
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
CPU0 (ACPI Object Type 'Processor') at acpi0 not configured
MCFG (PNP0C02) at acpi0 not configured
acpivga0 at acpi0 (GFX0): ACPI Display Adapter
acpiout0 at acpivga0 (CRT, 0x0100): ACPI Display Output Device
acpiout1 at acpivga0 (LCD, 0x0400): ACPI Display Output Device
acpiout1: brightness levels: 1 15 29 43 57 71 85 100
acpiout2 at acpivga0 (TV, 0x0200): ACPI Display Output Device
acpiout3 at acpivga0 (DVI, 0x0300): ACPI Display Output Device
acpivga0: connected output devices:
acpivga0:   0x0100 (acpiout0): Ext. Monitor, head 0, bios detect
acpivga0:   0x0400 (acpiout1): Unknown Output Device, head 0, bios detect
acpivga0:   0x0200 (acpiout2): TV, head 0, bios detect
acpivga0:   0x0300 (acpiout3): Unknown Output Device, head 0, bios detect
MBIO (PNP0C02) at acpi0 not configured
fujbp0 at acpi0 (FJEX, FUJ02B1): Fujitsu Brightness & Pointer
attimer1 at acpi0 (TIME, PNP0100): io 0x40-0x43 irq 0
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
npx1 at acpi0 (MATH, PNP0C04): io 0xf0-0xfe irq 13
npx1: reported by CPUID; using exception 16
pckbc1 at acpi0 (KBC, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (PS2M, PNP0F13) (aux port): irq 12
fujhk0 at acpi0 (FEXT, FUJ02E3): Fujitsu Hotkeys
acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
acpiacad0 at acpi0 (AC, ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (CMB1, PNP0C0A-1): ACPI Battery
acpibat0: Fujitsu LION rechargeable battery
acpibat0: model number CP234019, serial number 1
acpibat0: granularity: low->warn 0.001 Ah, warn->full 0.001 Ah
acpibat1 at acpi0 (CMB2, PNP0C0A-2): ACPI Battery
acpibat1: Fujitsu LION rechargeable battery
acpibat1: model number CP194250 / CP194251, serial number 2
acpibat1: granularity: low->warn 0.001 Ah, warn->full 0.001 Ah
acpitz0 at acpi0 (TZ00)
acpitz0: levels: critical 105.0 C, passive cooling
apm0 at acpi0: Power Management spec V1.2
attimer1: attached to pcppi1
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pms0: Synaptics touchpad version 6.2
pms0: Up/down buttons, Palm detect, Multi-finger
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 0x8086 product 0x2590 (rev. 0x04)
agp0 at pchb0: detected 7932k stolen memory
agp0: aperture at 0xc0000000, size 0x10000000
vga1 at pci0 dev 2 function 0: vendor 0x8086 product 0x2592 (rev. 0x04)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
inteldrm0 at vga1: ioapic0 pin 16
drmdev0 at inteldrm0
vendor 0x8086 product 0x2792 (miscellaneous display, revision 0x04) at pci0 dev 2 function 1 not configured
hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
hdaudio0: interrupting at ioapic0 pin 16
hdafg0 at hdaudio0: Realtek ALC260
hdafg0: duplicate pin in association
hdafg0: ADC01 2ch: Line In [Built-In], AUX [Built-In], Mic In [Jack]
hdafg0: 0ch/2ch 44100Hz 48000Hz 96000Hz 192000Hz 16/16 20/32 24/32
audio0 at hdafg0: full duplex, playback, capture, independent
hdvsmfg at hdaudio0 not configured
uhci0 at pci0 dev 29 function 0: vendor 0x8086 product 0x2658 (rev. 0x04)
uhci0: interrupting at ioapic0 pin 23
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 29 function 1: vendor 0x8086 product 0x2659 (rev. 0x04)
uhci1: interrupting at ioapic0 pin 19
usb1 at uhci1: USB revision 1.0
uhci2 at pci0 dev 29 function 2: vendor 0x8086 product 0x265a (rev. 0x04)
uhci2: interrupting at ioapic0 pin 18
usb2 at uhci2: USB revision 1.0
uhci3 at pci0 dev 29 function 3: vendor 0x8086 product 0x265b (rev. 0x04)
uhci3: interrupting at ioapic0 pin 16
usb3 at uhci3: USB revision 1.0
ehci0 at pci0 dev 29 function 7: vendor 0x8086 product 0x265c (rev. 0x04)
ehci0: interrupting at ioapic0 pin 23
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
ppb0 at pci0 dev 30 function 0: vendor 0x8086 product 0x2448 (rev. 0xd4)
pci1 at ppb0 bus 6
pci1: i/o space, memory space enabled
cbb0 at pci1 dev 3 function 0: vendor 0x1180 product 0x0476 (rev. 0xb3)
fwohci0 at pci1 dev 3 function 1: vendor 0x1180 product 0x0552 (rev. 0x08)
fwohci0: interrupting at ioapic0 pin 17
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:00:0e:10:03:8b:4c:05
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
sdhc0 at pci1 dev 3 function 2: vendor 0x1180 product 0x0822 (rev. 0x17)
sdhc0: interrupting at ioapic0 pin 16
sdmmc0 at sdhc0
vendor 0x1180 product 0x0592 (miscellaneous system, revision 0x08) at pci1 dev 3 function 3 not configured
vendor 0x1180 product 0x0852 (miscellaneous system, revision 0x03) at pci1 dev 3 function 4 not configured
rtk0 at pci1 dev 4 function 0: Realtek 8139 10/100BaseTX (rev. 0x10)
rtk0: interrupting at ioapic0 pin 20
rtk0: Ethernet address 00:17:42:02:39:db
rlphy0 at rtk0 phy 7: Realtek internal PHY
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
iwi0 at pci1 dev 5 function 0: vendor 0x8086 product 0x4223 (rev. 0x05)
iwi0: interrupting at ioapic0 pin 18
iwi0: 802.11 address 00:16:6f:75:e7:5f
iwi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
cbb0: cacheline 0x0 lattimer 0x40
cbb0: bhlc 0x824000
cbb0: interrupting at ioapic0 pin 16
cardslot0 at cbb0
cardbus0 at cardslot0: bus 7
pcmcia0 at cardslot0
ichlpcib0 at pci0 dev 31 function 0: vendor 0x8086 product 0x2641 (rev. 0x04)
timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
ichlpcib0: 24-bit timer
ichlpcib0: TCO (watchdog) timer configured.
gpiobus at ichlpcib0 not configured
piixide0 at pci0 dev 31 function 1: Intel 82801FB IDE Controller (ICH6) (rev. 0x04)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel ignored (disabled)
piixide1 at pci0 dev 31 function 2: Intel 82801FBM Serial ATA Controller (ICH6) (rev. 0x04)
piixide1: bus-master DMA support present
piixide1: primary channel configured to native-PCI mode
piixide1: using ioapic0 pin 19 for native-PCI interrupt
atabus1 at piixide1 channel 0
piixide1: secondary channel configured to native-PCI mode
atabus2 at piixide1 channel 1
ichsmb0 at pci0 dev 31 function 3: vendor 0x8086 product 0x266a (rev. 0x04)
ichsmb0: interrupting at ioapic0 pin 19
iic0 at ichsmb0: I2C bus
isa0 at ichlpcib0
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me)
ieee1394if0: bus manager 0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
acpiacad0: AC adapter online.
uhub0 at usb0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2 at usb2: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub3 at usb3: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
uhub4 at usb4: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
wd0 at atabus0 drive 0: 
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 57231 MB, 116280 cyl, 16 head, 63 sec, 512 bytes/sect x 117210240 sectors
uhidev0 at uhub0 port 2 configuration 1 interface 0
uhidev0: LITEON Technology USB Multimedia Keyboard, rev 1.10/1.01, addr 2, iclass 3/1
ukbd0 at uhidev0
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
Kernelized RAIDframe activated
uhidev1 at uhub1 port 1 configuration 1 interface 0
uhidev1: Logitech USB RECEIVER, rev 1.10/25.10, addr 2, iclass 3/1
ums0 at uhidev1: 16 buttons, W and Z dirs
wsmouse1 at ums0 mux 0
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev2 at uhub0 port 2 configuration 1 interface 1
uhidev2: LITEON Technology USB Multimedia Keyboard, rev 1.10/1.01, addr 2, iclass 3/0
uhidev2: 1 report ids
uhid0 at uhidev2 reportid 1: input=1, output=0, feature=0
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
ugen0 at uhub2 port 1
ugen0: AuthenTec Fingerprint Sensor, rev 1.10/6.21, addr 2
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wsdisplay0: screen 5 added (80x25, vt100 emulation)
wsdisplay0: screen 6 added (80x25, vt100 emulation)
wsdisplay0: screen 7 added (80x25, vt100 emulation)
gsutre commented 13 years ago

Applied fix from OpenBSD in commit 3a32fa0b567af67c03853bc6a271362631221698.

However, this requires rebuilding and installing the i915_dri Xorg module. The corresponding build directory in NetBSD's source tree is: src/external/mit/xorg/lib/dri/i915

An alternative simpler solution is to apply the same fix as for issue #2, namely enable the option DebugWait in xorg.conf (cf. intel(4)), but this results in a signifant loss of performance.