Bug 63748 - GPU Lockup playing urban terror
Summary: GPU Lockup playing urban terror
Status: RESOLVED DUPLICATE of bug 62466
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: 9.0
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-20 05:43 UTC by dinolib
Modified: 2014-04-10 00:45 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description dinolib 2013-04-20 05:43:12 UTC
Playing UrT just few minutes, bring to CPU lockup rescued in some seconds with a softreset. Sometimes the system can't recover from this state.

Before Mesa 9 (and relative dri drivers) update never happened.

01:05.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RS880M [Mobility Radeon HD 4200 Series]

Kernel 3.7.6 (Chakra linux)

Environment: KDE (both OpenGL and XRender)

Tested with any kind of radeon power management (dynamic, high and low profile).

dmesg log:

[646081.016040] radeon 0000:01:05.0: GPU lockup CP stall for more than 10000msec
[646081.016048] radeon 0000:01:05.0: GPU lockup (waiting for 0x00000000003b66b2 last fence id 0x00000000003b66ac)
[646081.017095] radeon 0000:01:05.0: Saved 185 dwords of commands on ring 0.
[646081.017099] radeon 0000:01:05.0: GPU softreset 
[646081.017102] radeon 0000:01:05.0:   R_008010_GRBM_STATUS=0xA00024AC
[646081.017104] radeon 0000:01:05.0:   R_008014_GRBM_STATUS2=0x00000003
[646081.017106] radeon 0000:01:05.0:   R_000E50_SRBM_STATUS=0x20000040
[646081.017109] radeon 0000:01:05.0:   R_008674_CP_STALLED_STAT1 = 0x04000000
[646081.017111] radeon 0000:01:05.0:   R_008678_CP_STALLED_STAT2 = 0x00040002
[646081.017114] radeon 0000:01:05.0:   R_00867C_CP_BUSY_STAT     = 0x00008484
[646081.017116] radeon 0000:01:05.0:   R_008680_CP_STAT          = 0x80858645
[646081.017122] radeon 0000:01:05.0:   R_008020_GRBM_SOFT_RESET=0x00007FEE
[646081.032099] radeon 0000:01:05.0: R_008020_GRBM_SOFT_RESET=0x00000001
[646081.048074] radeon 0000:01:05.0:   R_008010_GRBM_STATUS=0xA0003030
[646081.048077] radeon 0000:01:05.0:   R_008014_GRBM_STATUS2=0x00000003
[646081.048079] radeon 0000:01:05.0:   R_000E50_SRBM_STATUS=0x20008040
[646081.048082] radeon 0000:01:05.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
[646081.048084] radeon 0000:01:05.0:   R_008678_CP_STALLED_STAT2 = 0x00000000
[646081.048086] radeon 0000:01:05.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
[646081.048089] radeon 0000:01:05.0:   R_008680_CP_STAT          = 0x80100000
[646081.049090] radeon 0000:01:05.0: GPU reset succeeded, trying to resume
[646081.053294] [drm] PCIE GART of 512M enabled (table at 0x00000000C0040000).
[646081.053366] radeon 0000:01:05.0: WB enabled
[646081.053370] radeon 0000:01:05.0: fence driver on ring 0 use gpu addr 0x00000000a0000c00 and cpu addr 0xffff8800c884dc00
[646081.053639] radeon 0000:01:05.0: setting latency timer to 64
[646081.085618] [drm] ring test on 0 succeeded in 0 usecs
[646081.094844] [drm] ib test on ring 0 succeeded in 0 usecs

No errors in Xorg.log
Comment 1 Alex Deucher 2013-04-20 19:06:11 UTC
Can you bisect mesa to find out what broke it?  Also please attach your xorg log and dmesg output.
Comment 2 dinolib 2013-04-21 19:03:22 UTC
I'm sorry, I'm not able to bisect mesa. Never done.

Actually in our repositories we have mesa 9.0.2. No other version in test repositories.

I pasted the dmesg output in the description. I'll attach the requested files as soon as possible.
Comment 3 inbox-3VOAHXJJYNDO 2013-04-22 13:35:31 UTC
I am sure 62466 is either duplicate, or I am having exactly the same issue, but posted the info into 62466. Affects me as well.
Comment 4 Alex Deucher 2013-04-22 13:39:30 UTC

*** This bug has been marked as a duplicate of bug 62466 ***
Comment 5 dinolib 2013-04-25 06:41:33 UTC
I compiled tag mesa-9.1.1 from git.

After 30 minutes no lockups!

Compile parameters:
./configure --prefix=/usr \
    --with-dri-driverdir=/usr/lib/xorg/modules/dri \
    --with-gallium-drivers=r300,r600,nouveau,svga,swrast \
    --with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast \
    --enable-gallium-llvm \
    --enable-gallium-egl \
    --with-egl-platforms=x11,drm \
    --enable-shared-glapi \
    --enable-gbm \
    --enable-glx-tls \
    --enable-dri \
    --enable-glx \
    --enable-osmesa \
    --enable-gles1 \
    --enable-gles2 \
    --enable-egl \
    --enable-texture-float \
    --enable-xa \
    --enable-vdpau


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.