From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 95659] HD 7450, R9-270, GPU locked when testing glmark2
Date: Tue, 24 May 2016 12:03:53 +0000
Message-ID:
Bug ID
95659
Summary
HD 7450, R9-270, GPU locked when testing glmark2
Product
DRI
Version
XOrg git
Hardware
Other
OS
Linux (All)
Status
NEW
Severity
normal
Priority
medium
Component
DRM/Radeon
Assignee
dri-devel@lists.freedesktop.org
Reporter
zduo006@163.com
[ 427.367567] radeon 0000:01:00.0: ring 0 stalled for more th=
an 10070msec
[ 427.374151] radeon 0000:01:00.0: GPU lockup (current fence id
0x000000000000ea28 last fence id 0x000000000000ea2d on ring 0)
[ 427.500439] radeon 0000:01:00.0: Saved 151 dwords of commands on ring 0.
[ 427.500464] radeon 0000:01:00.0: GPU softreset: 0x00000009
[ 427.500471] radeon 0000:01:00.0: GRBM_STATUS =3D 0xB2732=
828
[ 427.500476] radeon 0000:01:00.0: GRBM_STATUS_SE0 =3D 0x1C000=
005
[ 427.500481] radeon 0000:01:00.0: GRBM_STATUS_SE1 =3D 0x00000=
007
[ 427.500486] radeon 0000:01:00.0: SRBM_STATUS =3D 0x20000=
AC0
[ 427.500491] radeon 0000:01:00.0: SRBM_STATUS2 =3D 0x00000=
000
[ 427.500495] radeon 0000:01:00.0: R_008674_CP_STALLED_STAT1 =3D 0x00000=
000
[ 427.500500] radeon 0000:01:00.0: R_008678_CP_STALLED_STAT2 =3D 0x400C0=
000
[ 427.500505] radeon 0000:01:00.0: R_00867C_CP_BUSY_STAT =3D 0x00048=
004
[ 427.500509] radeon 0000:01:00.0: R_008680_CP_STAT =3D 0x80268=
647
[ 427.500513] radeon 0000:01:00.0: R_00D034_DMA_STATUS_REG =3D 0x44C83=
D57
[ 427.513320] radeon 0000:01:00.0: GRBM_SOFT_RESET=3D0x00007F6B
[ 427.513378] radeon 0000:01:00.0: SRBM_SOFT_RESET=3D0x00000100
[ 427.514540] radeon 0000:01:00.0: GRBM_STATUS =3D 0x00003=
828
[ 427.514544] radeon 0000:01:00.0: GRBM_STATUS_SE0 =3D 0x00000=
007
[ 427.514549] radeon 0000:01:00.0: GRBM_STATUS_SE1 =3D 0x00000=
007
[ 427.514554] radeon 0000:01:00.0: SRBM_STATUS =3D 0x20000=
0C0
[ 427.514558] radeon 0000:01:00.0: SRBM_STATUS2 =3D 0x00000=
000
[ 427.514563] radeon 0000:01:00.0: R_008674_CP_STALLED_STAT1 =3D 0x00000=
000
[ 427.514567] radeon 0000:01:00.0: R_008678_CP_STALLED_STAT2 =3D 0x00000=
000
[ 427.514571] radeon 0000:01:00.0: R_00867C_CP_BUSY_STAT =3D 0x00000=
000
[ 427.514576] radeon 0000:01:00.0: R_008680_CP_STAT =3D 0x00000=
000
[ 427.514580] radeon 0000:01:00.0: R_00D034_DMA_STATUS_REG =3D 0x44C83=
D57
[ 427.514607] radeon 0000:01:00.0: GPU reset succeeded, trying to resume
[ 427.543125] [drm] enabling PCIE gen 2 link speeds, disable with
radeon.pcie_gen2=3D0
[ 427.612472] [drm] PCIE GART of 1024M enabled (table at 0x000000000027400=
0).
[ 427.612666] radeon 0000:01:00.0: WB enabled
[ 427.612673] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr
0x0000000040000c00 and cpu addr 0xffffffc8dc366c00
[ 427.612678] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr
0x0000000040000c0c and cpu addr 0xffffffc8dc366c0c
[ 427.662677] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr
0x0000000000072118 and cpu addr 0xffffff8018332118
[ 427.679867] [drm] ring test on 0 succeeded in 1 usecs
[ 427.679884] [drm] ring test on 3 succeeded in 7 usecs
[ 427.856598] [drm] ring test on 5 succeeded in 2 usecs
[ 427.856613] [drm] UVD initialized successfully.
[ 427.977870] [drm] ib test on ring 0 succeeded in 0 usecs
[ 427.977919] [drm] ib test on ring 3 succeeded in 0 usecs
[ 428.128994] [drm] ib test on ring 5 succeeded
[ 792.996810] radeon 0000:01:00.0: ring 0 stalled for more than 10140msec
[ 793.003403] radeon 0000:01:00.0: GPU lockup (current fence id
0x00000000000184b0 last fence id 0x00000000000184b5 on ring 0)
[ 793.140947] radeon 0000:01:00.0: Saved 151 dwords of commands on ring 0.
[ 793.140974] radeon 0000:01:00.0: GPU softreset: 0x00000009
[ 793.140981] radeon 0000:01:00.0: GRBM_STATUS =3D 0xF7730=
828
[ 793.140986] radeon 0000:01:00.0: GRBM_STATUS_SE0 =3D 0xFC000=
001
[ 793.140992] radeon 0000:01:00.0: GRBM_STATUS_SE1 =3D 0x00000=
007
[ 793.140996] radeon 0000:01:00.0: SRBM_STATUS =3D 0x20000=
0C0
[ 793.141001] radeon 0000:01:00.0: SRBM_STATUS2 =3D 0x00000=
000
[ 793.141006] radeon 0000:01:00.0: R_008674_CP_STALLED_STAT1 =3D 0x00000=
000
[ 793.141010] radeon 0000:01:00.0: R_008678_CP_STALLED_STAT2 =3D 0x400C0=
000
[ 793.141015] radeon 0000:01:00.0: R_00867C_CP_BUSY_STAT =3D 0x00048=
004
[ 793.141019] radeon 0000:01:00.0: R_008680_CP_STAT =3D 0x80268=
647
[ 793.141024] radeon 0000:01:00.0: R_00D034_DMA_STATUS_REG =3D 0x44C83=
D57
[ 793.154522] radeon 0000:01:00.0: GRBM_SOFT_RESET=3D0x00007F6B
[ 793.154580] radeon 0000:01:00.0: SRBM_SOFT_RESET=3D0x00000100
[ 793.155741] radeon 0000:01:00.0: GRBM_STATUS =3D 0x00003=
828
[ 793.155746] radeon 0000:01:00.0: GRBM_STATUS_SE0 =3D 0x00000=
007
[ 793.155751] radeon 0000:01:00.0: GRBM_STATUS_SE1 =3D 0x00000=
007
[ 793.155755] radeon 0000:01:00.0: SRBM_STATUS =3D 0x20000=
0C0
[ 793.155759] radeon 0000:01:00.0: SRBM_STATUS2 =3D 0x00000=
000
[ 793.155764] radeon 0000:01:00.0: R_008674_CP_STALLED_STAT1 =3D 0x00000=
000
[ 793.155768] radeon 0000:01:00.0: R_008678_CP_STALLED_STAT2 =3D 0x00000=
000
[ 793.155772] radeon 0000:01:00.0: R_00867C_CP_BUSY_STAT =3D 0x00000=
000
[ 793.155777] radeon 0000:01:00.0: R_008680_CP_STAT =3D 0x00000=
000
[ 793.155781] radeon 0000:01:00.0: R_00D034_DMA_STATUS_REG =3D 0x44C83=
D57
[ 793.155808] radeon 0000:01:00.0: GPU reset succeeded, trying to resume
[ 793.184357] [drm] enabling PCIE gen 2 link speeds, disable with
radeon.pcie_gen2=3D0
[ 793.253690] [drm] PCIE GART of 1024M enabled (table at 0x000000000027400=
0).
[ 793.253884] radeon 0000:01:00.0: WB enabled
[ 793.253891] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr
0x0000000040000c00 and cpu addr 0xffffffc8dc366c00
[ 793.253896] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr
0x0000000040000c0c and cpu addr 0xffffffc8dc366c0c
[ 793.303888] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr
0x0000000000072118 and cpu addr 0xffffff8018332118
[ 793.321047] [drm] ring test on 0 succeeded in 2 usecs
[ 793.321064] [drm] ring test on 3 succeeded in 7 usecs
[ 793.497767] [drm] ring test on 5 succeeded in 2 usecs
[ 793.497781] [drm] UVD initialized successfully.
[ 793.619052] [drm] ib test on ring 0 succeeded in 0 usecs
[ 793.619102] [drm] ib test on ring 3 succeeded in 0 usecs
[ 793.770188] [drm] ib test on ring 5 succeeded
when testing the following cases, GPU locked. First it stops responding for
some seconds and screen goes black, then it return to normal.
loop:vertex-step=3D5, fragment-steps=3D5, fragment-loop=3Dfalse;
loop:vertex-step=3D5, fragment-steps=3D5, fragment-uniform=3Dfalse;
loop:vertex-step=3D5, fragment-steps=3D5, fragment-uniform=3Dture;
I've already tried several radeon boot flags, such as DPM on and off,
radeon_lockup_timeout =3D 20000, without success. Upgrading the kernel vers=
ion to
4.5.3 and 4.6.0 but it not fixed.=20
The problem does not occur when i add a delay=EF=BC=88such as 1ms using msl=
eep=EF=BC=89 in the
problem scene's draw function.
I thought is the problem of Synchronization between the cpu and gpu using
fence , can anyone have some idea?
lspci:01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/=
ATI]
Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]
libdrm 2.4.67,=20
xserver-xorg-video-ati 7.6.0,=20=20
xorg-server 1.18.2,=20=20=20
mesa 11.2.0
kernel 4.4