From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 104804] A gpu lockup occurred on E6760 while using qtcreator Date: Sat, 27 Jan 2018 02:47:15 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1715435260==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 3D5BC6E500 for ; Sat, 27 Jan 2018 02:47:15 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1715435260== Content-Type: multipart/alternative; boundary="15170212350.B0Ec.10882" Content-Transfer-Encoding: 7bit --15170212350.B0Ec.10882 Date: Sat, 27 Jan 2018 02:47:15 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D104804 Bug ID: 104804 Summary: A gpu lockup occurred on E6760 while using qtcreator Product: Mesa Version: 11.2 Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r600 Assignee: dri-devel@lists.freedesktop.org Reporter: appenper@gmail.com QA Contact: dri-devel@lists.freedesktop.org Created attachment 136980 --> https://bugs.freedesktop.org/attachment.cgi?id=3D136980&action=3Dedit lspci output [ 695.093933] radeon 0000:01:00.0: ring 0 stalled for more than 10150msec [ 695.100523] radeon 0000:01:00.0: GPU lockup (current fence id 0x000000000000befe last fence id 0x000000000000bf3e on ring 0) [ 695.100673] radeon 0000:01:00.0: failed to get a new IB (-35) [ 695.100676] radeon 0000:01:00.0: failed to get a new IB (-35) [ 695.100678] radeon 0000:01:00.0: failed to get a new IB (-35) [ 695.100681] radeon 0000:01:00.0: failed to get a new IB (-35) [ 695.100691] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib ! [ 695.100695] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib ! [ 695.100701] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib ! [ 695.100707] radeon 0000:01:00.0: failed to get a new IB (-35) [ 695.100710] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib ! [ 695.100712] radeon 0000:01:00.0: failed to get a new IB (-35) [ 695.100715] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib ! [ 695.100721] radeon 0000:01:00.0: failed to get a new IB (-35) [ 695.100723] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib ! [ 695.100727] radeon 0000:01:00.0: failed to get a new IB (-35) [ 695.100730] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib ! [ 695.100734] radeon 0000:01:00.0: failed to get a new IB (-35) [ 695.100737] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib ! [ 695.100741] radeon 0000:01:00.0: failed to get a new IB (-35) [ 695.100744] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib ! [ 695.100747] radeon 0000:01:00.0: failed to get a new IB (-35) [ 695.100749] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib ! [ 695.100753] radeon 0000:01:00.0: failed to get a new IB (-35) [ 695.100756] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib ! [ 695.100759] radeon 0000:01:00.0: failed to get a new IB (-35) [ 695.100762] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib ! [ 695.100766] radeon 0000:01:00.0: failed to get a new IB (-35) [ 695.119228] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib ! [ 695.968594] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib ! [ 696.004823] radeon 0000:01:00.0: Saved 2034 dwords of commands on ring 0. [ 696.004856] radeon 0000:01:00.0: GPU softreset: 0x00000008 [ 696.004861] radeon 0000:01:00.0: GRBM_STATUS =3D 0xA0003= 828 [ 696.004866] radeon 0000:01:00.0: GRBM_STATUS_SE0 =3D 0x00000= 007 [ 696.004871] radeon 0000:01:00.0: GRBM_STATUS_SE1 =3D 0x00000= 007 [ 696.004876] radeon 0000:01:00.0: SRBM_STATUS =3D 0x20000= 0C0 [ 696.004880] radeon 0000:01:00.0: SRBM_STATUS2 =3D 0x00000= 000 [ 696.004885] radeon 0000:01:00.0: R_008674_CP_STALLED_STAT1 =3D 0x00000= 000 [ 696.004889] radeon 0000:01:00.0: R_008678_CP_STALLED_STAT2 =3D 0x00004= 100 [ 696.004894] radeon 0000:01:00.0: R_00867C_CP_BUSY_STAT =3D 0x00020= 182 [ 696.004899] radeon 0000:01:00.0: R_008680_CP_STAT =3D 0x80028= 243 [ 696.004903] radeon 0000:01:00.0: R_00D034_DMA_STATUS_REG =3D 0x44C83= D57 [ 696.054035] radeon 0000:01:00.0: GRBM_SOFT_RESET=3D0x00004001 [ 696.054093] radeon 0000:01:00.0: SRBM_SOFT_RESET=3D0x00000100 [ 696.055256] radeon 0000:01:00.0: GRBM_STATUS =3D 0x00003= 828 [ 696.055260] radeon 0000:01:00.0: GRBM_STATUS_SE0 =3D 0x00000= 007 [ 696.055265] radeon 0000:01:00.0: GRBM_STATUS_SE1 =3D 0x00000= 007 [ 696.055269] radeon 0000:01:00.0: SRBM_STATUS =3D 0x20000= 0C0 [ 696.055274] radeon 0000:01:00.0: SRBM_STATUS2 =3D 0x00000= 000 [ 696.055278] radeon 0000:01:00.0: R_008674_CP_STALLED_STAT1 =3D 0x00000= 000 [ 696.055282] radeon 0000:01:00.0: R_008678_CP_STALLED_STAT2 =3D 0x00000= 000 [ 696.055286] radeon 0000:01:00.0: R_00867C_CP_BUSY_STAT =3D 0x00000= 000 [ 696.055290] radeon 0000:01:00.0: R_008680_CP_STAT =3D 0x00000= 000 [ 696.055295] radeon 0000:01:00.0: R_00D034_DMA_STATUS_REG =3D 0x44C83= D57 [ 696.055332] radeon 0000:01:00.0: GPU reset succeeded, trying to resume [ 696.067624] [drm] PCIE gen 2 link speeds already enabled [ 696.129090] [drm] PCIE GART of 1024M enabled (table at 0x000000000016200= 0). [ 696.129270] radeon 0000:01:00.0: WB enabled [ 696.129277] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0xffffffc4eaa7bc00 [ 696.129283] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000020000c0c and cpu addr 0xffffffc4eaa7bc0c [ 696.151289] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000072118 and cpu addr 0xffffff8018332118 [ 696.168311] [drm] ring test on 0 succeeded in 2 usecs [ 696.168328] [drm] ring test on 3 succeeded in 7 usecs [ 696.345018] [drm] ring test on 5 succeeded in 2 usecs [ 696.345031] [drm] UVD initialized successfully. [ 696.379172] [drm] ib test on ring 0 succeeded in 0 usecs [ 696.379236] [drm] ib test on ring 3 succeeded in 0 usecs [ 696.530311] [drm] ib test on ring 5 succeeded Sometimes when using qtcreator for a while a gpu lockup error occurred, on = this basis, we guess that this gpulock error caused by qtcreator's welcome plugi= n, so we use a script to test the qtcreator's Welcome plugin as follows: while true do for i in `seq 100` do qtcreator -test Welcome & done wait done The time of the error is random, and sometimes appear once a half hour, sometimes half a day, that is , not a fixed time. Currently we have tried a= lot of ways to deal with cpu and gpu out of sync. E.g: dpm=3D0/pm_method=3Dprof= ile. Pipeline timeout. Use GTT for stream resources. OS Details: kernel 4.4 with 4.9drm. xorg-server 1.18.3 xf86-video-ati 1:7.7 libdrm 2.4.65 mesa 11.2.0 --=20 You are receiving this mail because: You are the assignee for the bug.= --15170212350.B0Ec.10882 Date: Sat, 27 Jan 2018 02:47:15 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 104804
Summary A gpu lockup occurred on E6760 while using qtcreator
Product Mesa
Version 11.2
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/r600
Assignee dri-devel@lists.freedesktop.org
Reporter appenper@gmail.com
QA Contact dri-devel@lists.freedesktop.org

Created attachment 136980 =
[details]
lspci output

[  695.093933] radeon 0000:01:00.0: ring 0 stalled for more than 10150msec
[  695.100523] radeon 0000:01:00.0: GPU lockup (current fence id
0x000000000000befe last fence id 0x000000000000bf3e on ring 0)
[  695.100673] radeon 0000:01:00.0: failed to get a new IB (-35)
[  695.100676] radeon 0000:01:00.0: failed to get a new IB (-35)
[  695.100678] radeon 0000:01:00.0: failed to get a new IB (-35)
[  695.100681] radeon 0000:01:00.0: failed to get a new IB (-35)
[  695.100691] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib !
[  695.100695] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib !
[  695.100701] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib !
[  695.100707] radeon 0000:01:00.0: failed to get a new IB (-35)
[  695.100710] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib !
[  695.100712] radeon 0000:01:00.0: failed to get a new IB (-35)
[  695.100715] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib !
[  695.100721] radeon 0000:01:00.0: failed to get a new IB (-35)
[  695.100723] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib !
[  695.100727] radeon 0000:01:00.0: failed to get a new IB (-35)
[  695.100730] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib !
[  695.100734] radeon 0000:01:00.0: failed to get a new IB (-35)
[  695.100737] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib !
[  695.100741] radeon 0000:01:00.0: failed to get a new IB (-35)
[  695.100744] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib !
[  695.100747] radeon 0000:01:00.0: failed to get a new IB (-35)
[  695.100749] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib !
[  695.100753] radeon 0000:01:00.0: failed to get a new IB (-35)
[  695.100756] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib !
[  695.100759] radeon 0000:01:00.0: failed to get a new IB (-35)
[  695.100762] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib !
[  695.100766] radeon 0000:01:00.0: failed to get a new IB (-35)
[  695.119228] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib !
[  695.968594] [drm:radeon_cs_ioctl] *ERROR* Failed to get ib !
[  696.004823] radeon 0000:01:00.0: Saved 2034 dwords of commands on ring 0.
[  696.004856] radeon 0000:01:00.0: GPU softreset: 0x00000008
[  696.004861] radeon 0000:01:00.0:   GRBM_STATUS               =3D 0xA0003=
828
[  696.004866] radeon 0000:01:00.0:   GRBM_STATUS_SE0           =3D 0x00000=
007
[  696.004871] radeon 0000:01:00.0:   GRBM_STATUS_SE1           =3D 0x00000=
007
[  696.004876] radeon 0000:01:00.0:   SRBM_STATUS               =3D 0x20000=
0C0
[  696.004880] radeon 0000:01:00.0:   SRBM_STATUS2              =3D 0x00000=
000
[  696.004885] radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 =3D 0x00000=
000
[  696.004889] radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 =3D 0x00004=
100
[  696.004894] radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     =3D 0x00020=
182
[  696.004899] radeon 0000:01:00.0:   R_008680_CP_STAT          =3D 0x80028=
243
[  696.004903] radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   =3D 0x44C83=
D57
[  696.054035] radeon 0000:01:00.0: GRBM_SOFT_RESET=3D0x00004001
[  696.054093] radeon 0000:01:00.0: SRBM_SOFT_RESET=3D0x00000100
[  696.055256] radeon 0000:01:00.0:   GRBM_STATUS               =3D 0x00003=
828
[  696.055260] radeon 0000:01:00.0:   GRBM_STATUS_SE0           =3D 0x00000=
007
[  696.055265] radeon 0000:01:00.0:   GRBM_STATUS_SE1           =3D 0x00000=
007
[  696.055269] radeon 0000:01:00.0:   SRBM_STATUS               =3D 0x20000=
0C0
[  696.055274] radeon 0000:01:00.0:   SRBM_STATUS2              =3D 0x00000=
000
[  696.055278] radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 =3D 0x00000=
000
[  696.055282] radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 =3D 0x00000=
000
[  696.055286] radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     =3D 0x00000=
000
[  696.055290] radeon 0000:01:00.0:   R_008680_CP_STAT          =3D 0x00000=
000
[  696.055295] radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   =3D 0x44C83=
D57
[  696.055332] radeon 0000:01:00.0: GPU reset succeeded, trying to resume
[  696.067624] [drm] PCIE gen 2 link speeds already enabled
[  696.129090] [drm] PCIE GART of 1024M enabled (table at 0x000000000016200=
0).
[  696.129270] radeon 0000:01:00.0: WB enabled
[  696.129277] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr
0x0000000020000c00 and cpu addr 0xffffffc4eaa7bc00
[  696.129283] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr
0x0000000020000c0c and cpu addr 0xffffffc4eaa7bc0c
[  696.151289] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr
0x0000000000072118 and cpu addr 0xffffff8018332118
[  696.168311] [drm] ring test on 0 succeeded in 2 usecs
[  696.168328] [drm] ring test on 3 succeeded in 7 usecs
[  696.345018] [drm] ring test on 5 succeeded in 2 usecs
[  696.345031] [drm] UVD initialized successfully.
[  696.379172] [drm] ib test on ring 0 succeeded in 0 usecs
[  696.379236] [drm] ib test on ring 3 succeeded in 0 usecs
[  696.530311] [drm] ib test on ring 5 succeeded


Sometimes when using qtcreator for a while a gpu lockup error occurred, on =
this
basis, we guess that this gpulock error caused by qtcreator's welcome plugi=
n,
so we use a script to test the qtcreator's Welcome plugin as follows:

while true
do
for i in `seq 100`
do
qtcreator -test Welcome &
done
wait
done

The time of the error is random, and sometimes appear once a half hour,
sometimes half a day, that is , not a fixed time. Currently we have tried a=
 lot
of ways to deal with cpu and gpu out of sync. E.g: dpm=3D0/pm_method=3Dprof=
ile.
Pipeline timeout. Use GTT for stream resources.



OS Details:
kernel 4.4 with 4.9drm.
xorg-server 1.18.3
xf86-video-ati 1:7.7
libdrm 2.4.65
mesa 11.2.0


You are receiving this mail because:
  • You are the assignee for the bug.
= --15170212350.B0Ec.10882-- --===============1715435260== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1715435260==--