Bug 17650 - [GM45 gem-classic] glxgears hangs X
Summary: [GM45 gem-classic] glxgears hangs X
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: high blocker
Assignee: Eric Anholt
QA Contact:
URL:
Whiteboard:
Keywords:
: 17599 17623 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-18 18:26 UTC by liuhaien
Modified: 2008-09-25 01:12 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg.0.log (45.72 KB, text/plain)
2008-09-18 18:26 UTC, liuhaien
Details
xorg conf file (3.67 KB, text/plain)
2008-09-18 18:27 UTC, liuhaien
Details

Description liuhaien 2008-09-18 18:26:42 UTC
Created attachment 18991 [details]
xorg.0.log

System Environment:
--------------------------

--Platform: GM45
--Architecture(32-bit,64-bit,compatiblity): 64-bit
--2D driver: xf86-intel-video-2.5-branch 043b6e71b83eb05339a6f8c4814e6941f8b9695a
--3D driver: intel-2008-q3 branch 4a310d6bd3767d217c433112bc2945a2e001de4e
--DRM:
--libdrm: master 973c634eaa54ee4085a72102c690bc643cb2d7a8
--Xserver: 1.5release 05fb2f9e1249d0b91bf4318cec4fb309217adff4
--Kernel: 2.6.27-rc6

Bug detailed description:
--------------------------
start X, then run glxgears,X will hang .we can not kill X even run "pkill -9 X";
following is the backtrace of X and glxgears which get from gdb and crtl+c:

backtrace from X(gdb and ctrl+c):
#0  0x0000003299edc0b7 in ioctl () from /lib64/libc.so.6
#1  0x00007fd2da3228c1 in drmIoctl (fd=13, request=1074291754,
    arg=0x7fffe3a9db90) at xf86drm.c:183
#2  0x00007fd2da323425 in drmGetLock (fd=13, context=<value optimized out>,
    flags=<value optimized out>) at xf86drm.c:1297
#3  0x00007fd2da52c7d4 in DRILock (pScreen=0x1674ee0, flags=0) at dri.c:2182
#4  0x00007fd2da52c825 in DRIDoWakeupHandler (screenNum=<value optimized out>,
    wakeupData=<value optimized out>, result=<value optimized out>,
    pReadmask=<value optimized out>) at dri.c:1636
#5  0x00007fd2da52b7d6 in DRIWakeupHandler (wakeupData=0x0, result=1,
    pReadmask=0x7c82e0) at dri.c:1608
#6  0x00000000004494c1 in WakeupHandler (result=1, pReadmask=0x7c82e0)
    at dixutils.c:417
#7  0x00000000004dac4b in WaitForSomething (pClientsReady=0x19299d0)
    at WaitFor.c:239
#8  0x000000000044598b in Dispatch () at dispatch.c:375
#9  0x000000000042d92a in main (argc=2, argv=0x7fffe3a9e068,
    envp=<value optimized out>) at main.c:441
***********************************************
backtrace from glxgears(gdb and ctrl+c):
#0  0x00007fec6031449f in alloc_block (bo=<value optimized out>)
    at intel_bufmgr_fake.c:351
#1  0x00007fec603145a9 in evict_and_alloc_block (bo=0x1daccd0)
    at intel_bufmgr_fake.c:593
#2  0x00007fec60314cfc in dri_fake_reloc_and_validate_buffer (bo=0x1daccd0)
    at intel_bufmgr_fake.c:953
#3  0x00007fec60314ade in dri_fake_reloc_and_validate_buffer (bo=0x1cb3770)
    at intel_bufmgr_fake.c:1108
#4  0x00007fec60314e48 in dri_fake_bo_exec (bo=0x1cb3770, used=3112,
    cliprects=0x19a0cb0, num_cliprects=1, DR4=0) at intel_bufmgr_fake.c:1202
#5  0x00007fec6054ba61 in _intel_batchbuffer_flush (batch=0x1c87e50,
    file=<value optimized out>, line=<value optimized out>)
    at intel_batchbuffer.c:152
#6  0x00007fec6054d046 in intelCopyBuffer (dPriv=0x1c98650, rect=0x0)
    at ../intel/intel_batchbuffer.h:123
#7  0x00007fec6054f51a in intelSwapBuffers (dPriv=0x1c98650)
    at intel_buffers.c:809
#8  0x00007fec60548a7f in driSwapBuffers (dPriv=0x1c98650)
    at ../common/dri_util.c:466
#9  0x0000000000403067 in main (argc=<value optimized out>,
    argv=<value optimized out>) at glxgears.c:338

Reproduce steps:
----------------
1. xinit &
2. glxgears
Comment 1 liuhaien 2008-09-18 18:27:23 UTC
Created attachment 18992 [details]
xorg conf file
Comment 2 liuhaien 2008-09-18 22:49:18 UTC
it works well with Mesa-7_2-branch.
Comment 3 haihao 2008-09-18 22:59:50 UTC
This hang issue is also introduced by the move of the bufmgr to libdrm, see the comments #9, #10 for bug #17179
Comment 4 Gordon Jin 2008-09-19 00:02:13 UTC
*** Bug 17599 has been marked as a duplicate of this bug. ***
Comment 5 Gordon Jin 2008-09-19 02:06:23 UTC
*** Bug 17623 has been marked as a duplicate of this bug. ***
Comment 6 liuhaien 2008-09-25 01:12:40 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.