Bug 54341

Summary: Glxgears crash with latest git (9.0)
Product: Mesa Reporter: Marco <mpiazza>
Component: Drivers/Gallium/i915gAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Marco 2012-08-31 23:13:43 UTC
Using i915g driver in mesa git lead to a crash in every glx demo.

The dump from glxgears is this:

Thread 1 (Thread 0xb714b710 (LWP 6588)):
#0  0xb5f50e2e in ?? () from /usr/lib/i386-linux-gnu/dri/i915_dri.so
#1  0xb5f512d6 in ?? () from /usr/lib/i386-linux-gnu/dri/i915_dri.so
#2  0xb5f5a124 in ?? () from /usr/lib/i386-linux-gnu/dri/i915_dri.so
#3  0xb6162697 in ?? () from /usr/lib/i386-linux-gnu/dri/i915_dri.so
#4  0xb6162f33 in ?? () from /usr/lib/i386-linux-gnu/dri/i915_dri.so
#5  0xb5f2aca0 in ?? () from /usr/lib/i386-linux-gnu/dri/i915_dri.so
#6  0xb769d429 in ?? () from /usr/lib/i386-linux-gnu/libGL.so.1
#7  0xb7671017 in glXSwapBuffers () from /usr/lib/i386-linux-gnu/libGL.so.1
#8  0x08049a46 in ?? ()
#9  0xb739ee46 in __libc_start_main (main=0x80492c0 <glDeleteLists@plt+16>, 
    argc=1, ubp_av=0xbf97c754, init=0x804b210 <glDeleteLists@plt+8032>, 
    fini=0x804b200 <glDeleteLists@plt+8016>, rtld_fini=0xb77c2300, 
    stack_end=0xbf97c74c) at libc-start.c:228
#10 0x0804a075 in ?? ()
(gdb) 

My video card is:
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
	Subsystem: Acer Incorporated [ALI] Device 012e
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at d0300000 (32-bit, non-prefetchable) [size=512K]
	Region 1: I/O ports at 5088 [size=8]
	Region 2: Memory at c0000000 (32-bit, prefetchable) [size=256M]
	Region 3: Memory at d0400000 (32-bit, non-prefetchable) [size=256K]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: <access denied>
	Kernel driver in use: i915

Using latest drm git and xf86-video-intel from git.
My kernel is 3.5.3.

P.S: Using standard i915 (non gallium) driver, glxgears work well.
Comment 1 Marco 2012-09-01 21:45:41 UTC
Sorry, my mistake!

I wrote something wrong in the .drirc file leading to the crash.
Removing .drirc makes glxgears (and all othe GL applications) start fine.

Sorry for the noise.

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.