Bug 770443

Summary: radeon [HD 3450] regular freeze in the gdm
Product: [openSUSE] openSUSE 12.2 Reporter: Stanislav Brabec <sbrabec>
Component: X.OrgAssignee: E-mail List <xorg-maintainer-bugs>
Status: RESOLVED WONTFIX QA Contact: E-mail List <xorg-maintainer-bugs>
Severity: Critical    
Priority: P3 - Medium CC: ensonic
Version: Beta 2   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 12.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Xorg.0.log

Description Stanislav Brabec 2012-07-09 13:22:24 UTC
When starting gdm, the ati_drv now regularly freezes in gdm. Nothing is displayed except busy cursor.

chvt is not possible, remote chvt is not possible, killing (-9) Xorg does not restore normal behavior of console.

Work-around: rm /usr/lib64/xorg/modules/drivers/ati_drv.so (radeonhd has a version clash, this operation forces fbdev driver).

Xorg has a high system load. When attaching from gdb in the ssh session, I get:

0x00007fb544ef97c7 in ioctl () at ../sysdeps/unix/syscall-template.S:82
82	../sysdeps/unix/syscall-template.S: No such file or directory.

Thread 9 (Thread 0x7fb52b5c0700 (LWP 4082)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb52b77e733 in pipe_semaphore_wait (sema=0x24c8108) at ../../../../src/gallium/auxiliary/os/os_thread.h:432
#2  thread_function (init_data=0x24c8088) at lp_rast.c:805
#3  0x00007fb545f95e0e in start_thread (arg=0x7fb52b5c0700) at pthread_create.c:305
#4  0x00007fb544f0028d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 8 (Thread 0x7fb52adbf700 (LWP 4083)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb52b77e733 in pipe_semaphore_wait (sema=0x24c8248) at ../../../../src/gallium/auxiliary/os/os_thread.h:432
#2  thread_function (init_data=0x24c81c8) at lp_rast.c:805
#3  0x00007fb545f95e0e in start_thread (arg=0x7fb52adbf700) at pthread_create.c:305
#4  0x00007fb544f0028d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 7 (Thread 0x7fb52a5be700 (LWP 4084)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb52b77e733 in pipe_semaphore_wait (sema=0x24c8388) at ../../../../src/gallium/auxiliary/os/os_thread.h:432
#2  thread_function (init_data=0x24c8308) at lp_rast.c:805
#3  0x00007fb545f95e0e in start_thread (arg=0x7fb52a5be700) at pthread_create.c:305
#4  0x00007fb544f0028d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 6 (Thread 0x7fb529dbd700 (LWP 4085)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb52b77e733 in pipe_semaphore_wait (sema=0x24c84c8) at ../../../../src/gallium/auxiliary/os/os_thread.h:432
#2  thread_function (init_data=0x24c8448) at lp_rast.c:805
#3  0x00007fb545f95e0e in start_thread (arg=0x7fb529dbd700) at pthread_create.c:305
#4  0x00007fb544f0028d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7fb5295bc700 (LWP 4086)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb52b77e733 in pipe_semaphore_wait (sema=0x24c8608) at ../../../../src/gallium/auxiliary/os/os_thread.h:432
#2  thread_function (init_data=0x24c8588) at lp_rast.c:805
#3  0x00007fb545f95e0e in start_thread (arg=0x7fb5295bc700) at pthread_create.c:305
#4  0x00007fb544f0028d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7fb528dbb700 (LWP 4087)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb52b77e733 in pipe_semaphore_wait (sema=0x24c8748) at ../../../../src/gallium/auxiliary/os/os_thread.h:432
#2  thread_function (init_data=0x24c86c8) at lp_rast.c:805
#3  0x00007fb545f95e0e in start_thread (arg=0x7fb528dbb700) at pthread_create.c:305
#4  0x00007fb544f0028d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7fb5285ba700 (LWP 4088)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb52b77e733 in pipe_semaphore_wait (sema=0x24c8888) at ../../../../src/gallium/auxiliary/os/os_thread.h:432
#2  thread_function (init_data=0x24c8808) at lp_rast.c:805
#3  0x00007fb545f95e0e in start_thread (arg=0x7fb5285ba700) at pthread_create.c:305
#4  0x00007fb544f0028d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fb527db9700 (LWP 4089)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb52b77e733 in pipe_semaphore_wait (sema=0x24c89c8) at ../../../../src/gallium/auxiliary/os/os_thread.h:432
#2  thread_function (init_data=0x24c8948) at lp_rast.c:805
#3  0x00007fb545f95e0e in start_thread (arg=0x7fb527db9700) at pthread_create.c:305
#4  0x00007fb544f0028d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fb546d96880 (LWP 4077)):
#0  0x00007fb544ef97c7 in ioctl () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fb54414baf8 in drmIoctl (fd=9, request=request@entry=25668, arg=arg@entry=0x0) at xf86drm.c:167
#2  0x00007fb54414dea6 in drmCommandNone (fd=<optimized out>, drmCommandIndex=drmCommandIndex@entry=4) at xf86drm.c:2357
#3  0x00007fb540f5ac34 in RADEONWaitForIdleCP (pScrn=pScrn@entry=0x2433540) at radeon_commonfuncs.c:958
#4  0x00007fb540fd7104 in R600CopyToVRAM (pScrn=pScrn@entry=0x2433540, src=0x7fb525f568c8 "-}H", src@entry=0x7fb525f4f0c8 "2{I", 
    src_pitch=37978768, src_pitch@entry=5120, dst_pitch=dst_pitch@entry=1280, dst_mc_addr=<optimized out>, 
    dst_width=<optimized out>, dst_height=1024, bpp=32, x=x@entry=0, y=y@entry=0, w=1280, h=1018) at r600_exa.c:1705
#5  0x00007fb540fd726e in R600UploadToScreen (pDst=pDst@entry=0x7fb525f4f010, x=0, y=0, w=<optimized out>, h=<optimized out>, 
    src=0x7fb525f4f0c8 "2{I", src_pitch=5120) at r600_exa.c:1737
#6  0x00007fb53feabd6b in exaCopyDirty (migrate=migrate@entry=0x7fffaaf7d7e8, pValidDst=0x7fb525f4f0a8, pValidSrc=0x7fb525f4f098, 
    transfer=0x7fb540fd71a0 <R600UploadToScreen>, fallback_index=fallback_index@entry=0, sync=sync@entry=0x0)
    at exa_migration_classic.c:220
#7  0x00007fb53feac1e7 in exaCopyDirtyToFb (migrate=migrate@entry=0x7fffaaf7d7e8) at exa_migration_classic.c:303
#8  0x00007fb53feac39c in exaDoMoveInPixmap (migrate=migrate@entry=0x7fffaaf7d7e8) at exa_migration_classic.c:361
#9  0x00007fb53feacb84 in exaDoMigration_classic (pixmaps=0x7fffaaf7d7d0, npixmaps=<optimized out>, can_accel=1)
    at exa_migration_classic.c:725
#10 0x00007fb53feaf879 in exaHWCopyNtoN (pSrcDrawable=pSrcDrawable@entry=0x7fb525f4f010, pDstDrawable=0x29539d0, 
    pGC=pGC@entry=0x28c75b0, pbox=pbox@entry=0x7fffaaf7d9e0, nbox=nbox@entry=1, dx=dx@entry=0, dy=dy@entry=0, 
    reverse=reverse@entry=0, upsidedown=upsidedown@entry=0) at exa_accel.c:468
#11 0x00007fb53feb02c8 in exaCopyNtoN (pSrcDrawable=pSrcDrawable@entry=0x7fb525f4f010, pDstDrawable=0x29539d0, pGC=0x28c75b0, 
    pbox=pbox@entry=0x7fffaaf7d9e0, nbox=nbox@entry=1, dx=dx@entry=0, dy=dy@entry=0, reverse=reverse@entry=0, upsidedown=0, 
    bitplane=bitplane@entry=0, closure=0x0) at exa_accel.c:582
#12 0x00000000005437c5 in miCopyRegion (pSrcDrawable=pSrcDrawable@entry=0x7fb525f4f010, pDstDrawable=pDstDrawable@entry=0x29539d0, 
    pGC=pGC@entry=0x28c75b0, pDstRegion=pDstRegion@entry=0x7fffaaf7d9e0, dx=dx@entry=0, dy=dy@entry=0, 
    copyProc=copyProc@entry=0x7fb53feb01c0 <exaCopyNtoN>, bitPlane=bitPlane@entry=0, closure=closure@entry=0x0) at micopy.c:121
#13 0x0000000000543d66 in miDoCopy (pSrcDrawable=0x7fb525f4f010, pDstDrawable=0x29539d0, pGC=0x28c75b0, xIn=0, yIn=0, 
    widthSrc=1280, heightSrc=heightSrc@entry=1024, xOut=xOut@entry=0, yOut=yOut@entry=0, 
    copyProc=copyProc@entry=0x7fb53feb01c0 <exaCopyNtoN>, bitPlane=bitPlane@entry=0, closure=closure@entry=0x0) at micopy.c:297
#14 0x00007fb53feae9f6 in exaCopyArea (dsty=0, dstx=0, height=1024, width=<optimized out>, srcy=<optimized out>, 
    srcx=<optimized out>, pGC=<optimized out>, pDstDrawable=<optimized out>, pSrcDrawable=<optimized out>) at exa_accel.c:608
#15 exaCopyArea (pSrcDrawable=<optimized out>, pDstDrawable=<optimized out>, pGC=<optimized out>, srcx=<optimized out>, 
    srcy=<optimized out>, width=<optimized out>, height=1024, dstx=0, dsty=0) at exa_accel.c:598
#16 0x00000000004f948d in damageCopyArea (pSrc=0x7fb525f4f010, pDst=0x29539d0, pGC=0x28c75b0, srcx=0, srcy=<optimized out>, 
    width=1280, height=1024, dstx=0, dsty=0) at damage.c:824
#17 0x000000000043493b in ProcCopyArea (client=0x28a7660) at dispatch.c:1623
#18 0x00000000004388a1 in Dispatch () at dispatch.c:428
#19 0x0000000000427965 in main (argc=9, argv=0x7fffaaf7dd28, envp=<optimized out>) at main.c:288
Comment 1 Stanislav Brabec 2012-07-09 13:25:50 UTC
Created attachment 497796 [details]
Xorg.0.log

Xorg.0.log from the frozen session.

My hwinfo could be found in the bug 769416 comment 1.
Comment 2 Stefan Dirsch 2014-05-22 12:37:46 UTC
openSUSE 12.2 is no longer supported. Hence the issue won't be fixed for this product. In case the issue still is reproducable with a supported product (openSUSE 12.3/13.1 at the moment) or with openSUSE:Factory, please feel free to reopen. Thanks.