Bug 20283

Summary: [g45]openarena hangs X with gnome-session but works with naked xinit
Product: Mesa Reporter: liuhaien <haien.liu>
Component: Drivers/DRI/i965Assignee: Eric Anholt <eric>
Status: VERIFIED FIXED QA Contact:
Severity: critical    
Priority: high    
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 20277    
Attachments: xorg.0.log
xorg conf file

Description liuhaien 2009-02-23 17:54:11 UTC
System Environment:
--------------------------
Platform: g45
Architecture(32-bit,64-bit,compatiblity): 64-bit 
Libdrm:         (master)4a0d19ef4f210cea9e60c5acc355df03723ef808
Mesa:            (mesa_7_4_branch)e2092bb23c956ba9ab940935f803ef843db81af2
Xserver:         (server-1.6-branch)4557b3f6c4273cd83b701beaf7a150c806fed298
Xf86_video_intel:       
(master)81c652e9a666a7459bcc5217c8a5ec518b6e00da
GEM_Kernel (for-airlied)99d31f896d243c13bb90b56620d33b416a5cffa7

Bug detailed description:
--------------------------
start X and gnome-session, X will hang when running openarena,but it works without gnome-session. after X  hanging ,we can use "pkill -9 X" to kill it and we will get below error when restart X:
(EE)intel(0): [drm] Failed to initialized agp heap manager

following is the backtrace from gdb and ctrl+c:

#0  0x00000034cb4076dd in pthread_join () from /lib64/libpthread.so.0
#1  0x00000034da41021e in SDL_WaitThread () from /usr/lib64/libSDL-1.2.so.0
#2  0x00000034da40885a in SDL_AudioQuit () from /usr/lib64/libSDL-1.2.so.0
#3  0x00000034da407df5 in SDL_QuitSubSystem () from /usr/lib64/libSDL-1.2.so.0
#4  0x00000038b5031e09 in glArrayElement ()
    at ../../../src/mesa/x86-64/glapi_x86-64.S:11028
#5  0x00000038b503292f in glArrayElement ()
    at ../../../src/mesa/x86-64/glapi_x86-64.S:11028
#6  0x00000038b503554d in glArrayElement ()
    at ../../../src/mesa/x86-64/glapi_x86-64.S:11028
#7  0x00000038b5034595 in alcMakeContextCurrent ()
   from /usr/lib64/libopenal.so.0
#8  0x000000000046b56c in S_AL_Init ()
#9  0x0000000000466fb2 in S_Init ()
#10 0x000000000041f4df in CL_StartHunkUsers ()
#11 0x00000000004439d7 in Com_Init ()
#12 0x0000000000551167 in main ()


Reproduce steps:
----------------
1.xinit&
2.gnome-session&
3.openarena
Comment 1 liuhaien 2009-02-23 17:54:55 UTC
Created attachment 23241 [details]
xorg.0.log
Comment 2 liuhaien 2009-02-23 17:55:10 UTC
Created attachment 23242 [details]
xorg conf file
Comment 3 liuhaien 2009-03-15 19:20:45 UTC
it works against these commit:
Libdrm:		(master)82eac8060b98b425f29051bfd7830ba3622be7d8
Mesa:		(mesa_7_4_branch)119360cccdd49475eed67dde6344bf9f9904bc1b
Xserver:	(server-1.6-branch)60c161545af80eb78eb790a05bde79409dfdf16e
Xf86_video_intel:		(2.7)490cb578aef761e3fdd0a559bec36cdab96e6b2a
Kernel:       (for-airlied)dc529a4fe1ae4667c819437a94185e8581e1e680
Comment 4 liuhaien 2009-03-15 19:21:08 UTC
verified.

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.