You are not logged in.

#1 2013-04-12 09:00:56

LunaVorax
Member
Registered: 2012-03-01
Posts: 18

[AMD Radeon HD 6470M] GPU Lockup with the open-source driver.

Hello,

Since the last update of xf86-video-ati / ati-dri I'm experiencing GPU Lockups apparently when the GPU is asked certains operations (because on some applications it happens always under precises circumstances).
What happens is that the vido completely freeze, then after a short period of time, the screen flashes black and re-display the current application. The problem is, any application asking for the GPU to work goes insanely slower and I have to shut X off and on again to have hardware acceleration back.

I have no clue how to identify that bug and how/where to report it.
So far, here's what dmesg output when that happens:

[ 7512.174003] radeon 0000:01:00.0: GPU lockup CP stall for more than 10000msec
[ 7512.174018] radeon 0000:01:00.0: GPU lockup (waiting for 0x00000000001381cc last fence id 0x00000000001381be)
[ 7512.175115] radeon 0000:01:00.0: Saved 455 dwords of commands on ring 0.
[ 7512.175127] radeon 0000:01:00.0: GPU softreset: 0x00000007
[ 7512.181996] radeon 0000:01:00.0:   GRBM_STATUS               = 0xA77308A0
[ 7512.182007] radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x7C000001
[ 7512.182015] radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000007
[ 7512.182023] radeon 0000:01:00.0:   SRBM_STATUS               = 0x200000C0
[ 7512.182031] radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x01000000
[ 7512.182039] radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00001000
[ 7512.182046] radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00028406
[ 7512.182054] radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x80828647
[ 7512.182062] radeon 0000:01:00.0:   GRBM_SOFT_RESET=0x00007F6B
[ 7512.182121] radeon 0000:01:00.0:   GRBM_STATUS               = 0x00003828
[ 7512.182129] radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x00000007
[ 7512.182137] radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000007
[ 7512.182145] radeon 0000:01:00.0:   SRBM_STATUS               = 0x200000C0
[ 7512.182152] radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
[ 7512.182160] radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00000000
[ 7512.182168] radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
[ 7512.182175] radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x00000000
[ 7512.182184] radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   = 0x44483106
[ 7512.182243] radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
[ 7512.199564] radeon 0000:01:00.0: GPU reset succeeded, trying to resume
[ 7512.217924] [drm] probing gen 2 caps for device 8086:101 = 2/0
[ 7512.217928] [drm] PCIE gen 2 link speeds already enabled
[ 7512.221847] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
[ 7512.221955] radeon 0000:01:00.0: WB enabled
[ 7512.221958] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff880134ec7c00
[ 7512.221961] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff880134ec7c0c
[ 7512.238273] [drm] ring test on 0 succeeded in 2 usecs
[ 7512.603762] [drm:r600_dma_ring_test] *ERROR* radeon: ring 3 test failed (0xCAFEDEAD)
[ 7512.603765] [drm:evergreen_resume] *ERROR* evergreen startup failed on resume
[ 7512.692179] [drm] ib test on ring 0 succeeded in 0 usecs

Thank you for your answers and suggestions!

Offline

#2 2013-04-17 04:45:05

beej
Member
From: Bend, OR
Registered: 2009-01-27
Posts: 22
Website

Re: [AMD Radeon HD 6470M] GPU Lockup with the open-source driver.

I don't have anything more to contribute except that I get the same thing. Booting with radeon.no_wb=1 doesn't help.

Running Minecraft full screen will repo 100% of the time in under 10 seconds. I've also seen it with Google Earth.

[   94.927888] radeon 0000:01:00.0: GPU lockup CP stall for more than 10000msec
[   94.927901] radeon 0000:01:00.0: GPU lockup (waiting for 0x00000000000021e0 last fence id 0x00000000000021dc)
[   94.928969] radeon 0000:01:00.0: Saved 215 dwords of commands on ring 0.
[   94.928978] radeon 0000:01:00.0: GPU softreset: 0x00000003
[   94.944379] radeon 0000:01:00.0:   GRBM_STATUS               = 0xE77308A3
[   94.944381] radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0xFC000001
[   94.944382] radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000007
[   94.944384] radeon 0000:01:00.0:   SRBM_STATUS               = 0x200000C0
[   94.944386] radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x04000000
[   94.944387] radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00000000
[   94.944389] radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00008406
[   94.944390] radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x80828647
[   94.944391] radeon 0000:01:00.0:   GRBM_SOFT_RESET=0x00007F6B
[   94.944444] radeon 0000:01:00.0:   GRBM_STATUS               = 0x00003828
[   94.944445] radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x00000007
[   94.944447] radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000007
[   94.944449] radeon 0000:01:00.0:   SRBM_STATUS               = 0x200000C0
[   94.944450] radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
[   94.944453] radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00000000
[   94.944454] radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
[   94.944462] radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x00000000
[   94.961893] radeon 0000:01:00.0: GPU reset succeeded, trying to resume
[   94.979739] [drm] probing gen 2 caps for device 1022:9603 = 2/0
[   94.979741] [drm] PCIE gen 2 link speeds already enabled
[   94.981473] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
[   94.981555] radeon 0000:01:00.0: WB disabled
[   94.981558] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000004 and cpu addr 0xffff8801291ce004
[   94.981559] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff8801291cec0c
[   94.997632] [drm] ring test on 0 succeeded in 1 usecs
[   94.997688] [drm] ring test on 3 succeeded in 1 usecs
[   95.005164] [drm] ib test on ring 0 succeeded in 0 usecs
[   95.005205] [drm] ib test on ring 3 succeeded in 1 usecs

Offline

#3 2013-04-17 04:53:59

Jodell
Member
Registered: 2009-10-09
Posts: 285

Re: [AMD Radeon HD 6470M] GPU Lockup with the open-source driver.

Can you guys post your Xorg.0.log when it happens?

Offline

#4 2013-04-17 05:52:23

beej
Member
From: Bend, OR
Registered: 2009-01-27
Posts: 22
Website

Re: [AMD Radeon HD 6470M] GPU Lockup with the open-source driver.

Usually there didn't seem to be anything of note in the Xorg log, but I recently booted with the xf86-video-ati-git package and found some EEs in it:

http://pastebin.com/HYftQNM1

Edit: I first noticed this about 2-3 weeks ago, but I don't know exactly when it started.

Last edited by beej (2013-04-17 05:53:33)

Offline

#5 2013-04-17 05:58:52

Jodell
Member
Registered: 2009-10-09
Posts: 285

Re: [AMD Radeon HD 6470M] GPU Lockup with the open-source driver.

Something tells me that this is upstream. The same is happening with me and the Intel drivers.

Offline

#6 2013-04-17 22:11:06

beej
Member
From: Bend, OR
Registered: 2009-01-27
Posts: 22
Website

Re: [AMD Radeon HD 6470M] GPU Lockup with the open-source driver.

I found this bug https://bugs.freedesktop.org/show_bug.cgi?id=62721 that applies for me.

Setting the environment variable R600_HYPERZ to 0 before running fixed Minecraft and Google Earth for me:

export R600_HYPERZ=0

Offline

Board footer

Powered by FluxBB