[Bug 199749] amdgpu on Ryzen 2400G freeze randomly

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Sat Jun 30 04:17:36 UTC 2018


https://bugzilla.kernel.org/show_bug.cgi?id=199749

--- Comment #29 from notsyncing (song.fc at gmail.com) ---
I just upgraded to mesa 18.1.3 and kernel 4.17.3. I ran firefox with
GALLIUM_DDEBUG after reboot. It produces these after I opened some tabs and
firefox stopped responsing.

---
Gallium debugger active. Logging all calls.
Hang detection timeout is 1000ms.
dd: can't create a directory (13)
dd: failed to open /home/sfc/ddebug_dumps/firefox_5057_00000000
dd: can't create a directory (13)
dd: failed to open /home/sfc/ddebug_dumps/firefox_5057_00000001
dd: can't create a directory (13)
dd: failed to open /home/sfc/ddebug_dumps/firefox_5057_00000002
dd: can't create a directory (13)
dd: failed to open /home/sfc/ddebug_dumps/firefox_5057_00000003
dd: can't create a directory (13)
dd: failed to open /home/sfc/ddebug_dumps/firefox_5057_00000004
dd: can't create a directory (13)
dd: failed to open /home/sfc/ddebug_dumps/firefox_5057_00000005
dd: can't create a directory (13)
dd: failed to open /home/sfc/ddebug_dumps/firefox_5057_00000006
dd: can't create a directory (13)
dd: failed to open /home/sfc/ddebug_dumps/firefox_5057_00000007
dd: can't create a directory (13)
dd: failed to open /home/sfc/ddebug_dumps/firefox_5057_00000008
dd: can't create a directory (13)
dd: failed to open /home/sfc/ddebug_dumps/firefox_5057_00000009
dd: can't create a directory (13)
dd: failed to open /home/sfc/ddebug_dumps/firefox_5057_00000010
dd: can't create a directory (13)
dd: can't create a directory (13)
dd: can't create a directory (13)
dd: failed to open /home/sfc/ddebug_dumps/firefox_5057_00000011
dd: failed to open /home/sfc/ddebug_dumps/firefox_5057_00000012
dd: can't create a directory (13)
dd: failed to open /home/sfc/ddebug_dumps/firefox_5057_00000013
dd: failed to open /home/sfc/ddebug_dumps/firefox_5057_00000014
dd: can't create a directory (13)
dd: failed to open /home/sfc/ddebug_dumps/firefox_5057_00000015
dd: can't create a directory (13)
dd: failed to open /home/sfc/ddebug_dumps/firefox_5057_00000016
dd: can't create a directory (13)
dd: failed to open /home/sfc/ddebug_dumps/firefox_5057_00000017
dd: can't create a directory (13)
dd: failed to open /home/sfc/ddebug_dumps/firefox_5057_00000018
GPU hang detected, collecting information...

Draw #   driver  prev BOP  TOP  BOP  dump file
-------------------------------------------------------------
8         YES      NO      NO   NO   dd: can't create a directory (13)
fopen failed

Done.
Sandbox: seccomp sandbox violation: pid 5057, tid 5268, syscall 162, args
140631883336544 7 140633020008624 140632174061559 7 140632344285188.
dd: Aborting the process...
[Parent 4748, Gecko_IOThread] WARNING: pipe error (72): 连接被对方重设: file
/build/firefox-m9FtQy/firefox-60.0.2+build1/ipc/chromium/src/chrome/common/ipc_channel_posix.cc,
line 353
[Parent 4748, Gecko_IOThread] WARNING: pipe error (113): 连接被对方重设: file
/build/firefox-m9FtQy/firefox-60.0.2+build1/ipc/chromium/src/chrome/common/ipc_channel_posix.cc,
line 353

###!!! [Parent][MessageChannel] Error:
(msgtype=0x15007F,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv


---

The umr commands are:

---
sfc at sfc-DESKTOP:~$ sudo umr -lb
        raven1.gfx91
        raven1.vcn10
        raven1.dcn10
        raven1.nbio70
        raven1.sdma041
        raven1.hdp40
        raven1.oss40
        raven1.mmhub91
        raven1.mp100
sfc at sfc-DESKTOP:~$ sudo umr -O verbose,follow_ib -R gfx[.]
error: Unknown option [follow_ib]
sfc at sfc-DESKTOP:~$ sudo umr -O bits -wa
No active waves!
sfc at sfc-DESKTOP:~$ sudo umr -O many,bits  -r*.*.mmGRBM_STATUS
[ERROR]: Unknown option <-r*.*.mmGRBM_STATUS>
sfc at sfc-DESKTOP:~$ sudo umr -O many,bits  -r *.*.HEADER_DUMP
gfx91.mmCP_MEC_ME1_HEADER_DUMP => 0xc0000e00
        .HEADER_DUMP[0:31]                                               ==
3221229056 (0xc0000e00)
gfx91.mmCP_MEC_ME2_HEADER_DUMP => 0xdef0def0
        .HEADER_DUMP[0:31]                                               ==
3740327664 (0xdef0def0)
gfx91.mmCP_ME_HEADER_DUMP => 0xc0004200
        .ME_HEADER_DUMP[0:31]                                            ==
3221242368 (0xc0004200)
gfx91.mmCP_PFP_HEADER_DUMP => 0xffff1000
        .PFP_HEADER_DUMP[0:31]                                           ==
4294905856 (0xffff1000)
gfx91.mmCP_CE_HEADER_DUMP => 0xffff1000
        .CE_HEADER_DUMP[0:31]                                            ==
4294905856 (0xffff1000)
sfc at sfc-DESKTOP:~$ sudo umr -O many,bits  -r *.*.CP_EOP
gfx91.mmCP_EOPQ_WAIT_TIME => 0x0000052c
        .WAIT_TIME[0:9]                                                  ==    
 300 (0x0000012c)
        .SCALE_COUNT[10:17]                                              ==    
   1 (0x00000001)
gfx91.mmCP_EOP_DONE_ADDR_LO => 0x00609000
        .ADDR_LO[2:31]                                                   == 
1582080 (0x00182400)
gfx91.mmCP_EOP_DONE_ADDR_HI => 0x000000f5
        .ADDR_HI[0:15]                                                   ==    
 245 (0x000000f5)
gfx91.mmCP_EOP_DONE_DATA_LO => 0x00001d01
        .DATA_LO[0:31]                                                   ==    
7425 (0x00001d01)
gfx91.mmCP_EOP_DONE_DATA_HI => 0x00000000
        .DATA_HI[0:31]                                                   ==    
   0 (0x00000000)
gfx91.mmCP_EOP_LAST_FENCE_LO => 0x00001d01
        .LAST_FENCE_LO[0:31]                                             ==    
7425 (0x00001d01)
gfx91.mmCP_EOP_LAST_FENCE_HI => 0x00000000
        .LAST_FENCE_HI[0:31]                                             ==    
   0 (0x00000000)
gfx91.mmCP_EOP_DONE_EVENT_CNTL => 0x00038060
        .WBINV_TC_OP[0:6]                                                ==    
  96 (0x00000060)
        .WBINV_ACTION_ENA[12:17]                                         ==    
  56 (0x00000038)
        .CACHE_POLICY[25:25]                                             ==    
   0 (0x00000000)
        .EXECUTE[28:28]                                                  ==    
   0 (0x00000000)
gfx91.mmCP_EOP_DONE_DATA_CNTL => 0x40010000
        .DST_SEL[16:17]                                                  ==    
   1 (0x00000001)
        .INT_SEL[24:26]                                                  ==    
   0 (0x00000000)
        .DATA_SEL[29:31]                                                 ==    
   2 (0x00000002)
gfx91.mmCP_EOP_DONE_CNTX_ID => 0x00000000
        .CNTX_ID[0:31]                                                   ==    
   0 (0x00000000)
---


No GPU hang log in dmesg.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the dri-devel mailing list