Bug 9199

Summary: X server crashes on the second time one of Java3D demos (https://j3d-webstart.dev.java.net/test/) is run
Product: Mesa Reporter: Alex <alex_programs>
Component: Drivers/DRI/i915Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED NOTABUG QA Contact:
Severity: major    
Priority: medium Keywords: have-backtrace, NEEDINFO
Version: 6.5   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Alex 2006-11-29 19:15:23 UTC
When I try running one of the Java3D demos it only works the first time.  The second time I run one 
of the demos X server crashes (https://j3d-webstart.dev.java.net/test/).  These demos work fine on 
windows.

Here are parts of my /var/log/Xorg.0.log.old:

------------------------------------------------------

==> append : to filename to view the  data source
X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.17-4mdv i686
Current Operating System: Linux host-226-166.dhcp.pdx.edu 2.6.17-5mdv #1 SMP Wed Sep 13 
14:32:31 EDT 2006 i686
Build Date: 17 September 2006
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
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/Xorg.0.log", Time: Wed Nov 29 18:11:00 2006
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "layout1"
(**) |-->Screen "screen1" (0)
(**) |   |-->Monitor "monitor1"
(**) |   |-->Device "device1"
(**) |-->Input Device "Keyboard1"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "SynapticsMouse1"

..........................

(II) Bus -1: bridge is at (0:31:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(--) PCI:*(0:2:0) Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics 
Controller rev 3, Mem @ 0xeff00000/19, 0xd0000000/2

..........................

(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
        compiled for 7.1.1, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.3
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
        compiled for 7.1.1, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.3
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/lib/xorg/modules/linux/libdrm.so
(II) Module drm: vendor="X.Org Foundation"
        compiled for 7.1.1, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.3
(II) Loading extension XFree86-DRI
(II) LoadModule: "i810"
(II) Loading /usr/lib/xorg/modules/drivers/i810_drv.so
(II) Module i810: vendor="X.Org Foundation"
        compiled for 7.1.1, module version = 1.6.5
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 1.0

..........................

(II) v4l driver for Video4Linux
(II) I810: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100,
        i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G, E7221 (i915),
        915GM, 945G, 945GM, 965G, 965G, 965Q, 946GZ
(II) Primary Device is: PCI 00:02:0
(--) Assigning device section with no busID to primary device
(WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found
(--) Chipset 945GM found
(II) resource ranges after xf86ClaimFixedResources() call:
        [0] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [1] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [2] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [3] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [4] -1  0       0xefdfc000 - 0xefdfffff (0x4000) MX[B]
        [5] -1  0       0xef9fd700 - 0xef9fd7ff (0x100) MX[B]
        [6] -1  0       0xef9fd600 - 0xef9fd6ff (0x100) MX[B]
 
..........................

(II) I810(0): Rotating to 0 degrees
(--) RandR disabled
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: drmOpenMinor returns 9
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(WW) AIGLX: 3D driver claims to not support visual 0x23
(WW) AIGLX: 3D driver claims to not support visual 0x24
(WW) AIGLX: 3D driver claims to not support visual 0x25
(WW) AIGLX: 3D driver claims to not support visual 0x26
(WW) AIGLX: 3D driver claims to not support visual 0x27
(WW) AIGLX: 3D driver claims to not support visual 0x28
(WW) AIGLX: 3D driver claims to not support visual 0x29
(WW) AIGLX: 3D driver claims to not support visual 0x2a
(WW) AIGLX: 3D driver claims to not support visual 0x2b
(WW) AIGLX: 3D driver claims to not support visual 0x2c
(WW) AIGLX: 3D driver claims to not support visual 0x2d
(WW) AIGLX: 3D driver claims to not support visual 0x2e
(WW) AIGLX: 3D driver claims to not support visual 0x2f
(WW) AIGLX: 3D driver claims to not support visual 0x30
(WW) AIGLX: 3D driver claims to not support visual 0x31
(WW) AIGLX: 3D driver claims to not support visual 0x32
(II) AIGLX: Loaded and initialized /usr/lib/dri/i915_dri.so
(II) GLX: Initialized DRI GL provider for screen 0
Synaptics DeviceInit called
SynapticsCtrl called.
(II) Mouse1: ps2EnableDataReporting: succeeded
Synaptics DeviceOn called
(--) SynapticsMouse1 auto-dev sets device to /dev/input/event1
(**) Option "Device" "/dev/input/event1"
(--) SynapticsMouse1 touchpad found
Backtrace:
0: /usr/bin/Xorg(xf86SigHandler+0x88) [0x80c7b78]
1: [0xbfffe420]
2: /lib/i686/libc.so.6(memcpy+0x1c) [0xb7d518bc]
3: /usr/lib/xorg/modules/extensions/libglx.so [0xb7c4473a]
4: /usr/lib/dri/i915_dri.so(__driUtilUpdateDrawableInfo+0xe7) [0xa77194b7]
5: /usr/lib/dri/i915_dri.so(intelGetLock+0xdd) [0xa773352d]
6: /usr/lib/dri/i915_dri.so(intelClearWithBlit+0x6d6) [0xa77317d6]
7: /usr/lib/dri/i915_dri.so(intelClear+0x155) [0xa77356b5]
8: /usr/lib/dri/i915_dri.so(_mesa_Clear+0x18d) [0xa78748bd]
9: /usr/lib/xorg/modules/extensions/libglx.so [0xb7c213f7]
10: /usr/lib/xorg/modules/extensions/libglx.so(__glXRender+0xf1) [0xb7c19091]
11: /usr/lib/xorg/modules/extensions/libglx.so [0xb7c1e365]
12: /usr/bin/Xorg(Dispatch+0x19c) [0x80897fc]
13: /usr/bin/Xorg(main+0x49a) [0x807088a]
14: /lib/i686/libc.so.6(__libc_start_main+0xdc) [0xb7cfa75c]
15: /usr/bin/Xorg(FontFileCompleteXLFD+0xbd) [0x806fba1]
Fatal server error:
Caught signal 11.  Server aborting
(II) AIGLX: Suspending AIGLX clients for VT switch
(WW) I810(0): Successfully set original devices
(WW) I810(0): Setting the original video mode instead of restoring
        the saved state
(--) I810(0): A non-CRT device is attached to pipe B.
        No refresh rate overrides will be attempted.
(II) I810(0): BIOS call 0x5f05 not supported, setting refresh with VBE 3 method.
(II) I810(0): xf86UnbindGARTMemory: unbind key 8
(II) I810(0): xf86UnbindGARTMemory: unbind key 0
(II) I810(0): xf86UnbindGARTMemory: unbind key 1
(II) I810(0): xf86UnbindGARTMemory: unbind key 3
(II) I810(0): xf86UnbindGARTMemory: unbind key 2
(II) I810(0): xf86UnbindGARTMemory: unbind key 4
(II) I810(0): xf86UnbindGARTMemory: unbind key 5
(II) I810(0): xf86UnbindGARTMemory: unbind key 6
(II) I810(0): xf86UnbindGARTMemory: unbind key 7
(WW) I810(0): Successfully set original devices (2)

------------------------------------------------------

I am running Mandriva 2007 without any updates.

uname -a

Linux host-226-166.dhcp.pdx.edu 2.6.17-5mdv #1 SMP Wed Sep 13 14:32:31 EDT 2006 i686 
Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz GNU/Linux
Comment 1 Daniel Stone 2007-02-27 01:34:55 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 2 Brice Goglin 2007-03-28 13:09:11 UTC
The backtrace indicates that it is the same problem than in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=396037

I don't know why the bug has been assigned to XGL, I don't see anything XGL-related in the report. I think it should be either Mesa or libglx, which are both near the top of the backtrace.  Since this report and the Debian one use the same board (945GM/GMS/940GML), I vote for something i915 specific and thus reassign to the corresponding mesa driver.
Comment 3 Michel Dänzer 2007-03-28 22:30:38 UTC
This might not happen with direct rendering.
Comment 4 Michael Fu 2008-02-18 23:01:25 UTC
Alex, It's been long time since the bug was reported. Would you please try the latest mesa and dri driver to see if this bug still there?
Comment 5 Michael Fu 2008-02-29 16:14:38 UTC
reject this bug due to no response. please reopen if it still happen. thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.