[Bug 88364] Xorg hangs after videocard switching
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Jan 24 13:48:11 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=88364
--- Comment #2 from Liss <lissamour at gmail.com> ---
Looks like I found some regularity in the behavior of my Radeon card.
I I'll try to run something with Radeon after cold start my Xorg will hang. In
dmesg I can found next log:
[ 176.277431] radeon 0000:0a:00.0: ring 0 stalled for more than 10368msec
[ 176.277443] radeon 0000:0a:00.0: GPU lockup (current fence id
0x000000000000008f last fence id 0x0000000000000092 on ring 0)
[ 176.854734] radeon 0000:0a:00.0: Saved 81 dwords of commands on ring 0.
[ 176.854802] radeon 0000:0a:00.0: GPU softreset: 0x00000049
[ 176.854805] radeon 0000:0a:00.0: GRBM_STATUS = 0xE7D28028
[ 176.854808] radeon 0000:0a:00.0: GRBM_STATUS_SE0 = 0xEDC00000
[ 176.854810] radeon 0000:0a:00.0: GRBM_STATUS_SE1 = 0x00000006
[ 176.854813] radeon 0000:0a:00.0: SRBM_STATUS = 0x200000C0
[ 176.854870] radeon 0000:0a:00.0: SRBM_STATUS2 = 0x00000000
[ 176.854872] radeon 0000:0a:00.0: R_008674_CP_STALLED_STAT1 = 0x00000000
[ 176.854875] radeon 0000:0a:00.0: R_008678_CP_STALLED_STAT2 = 0x00010800
[ 176.854878] radeon 0000:0a:00.0: R_00867C_CP_BUSY_STAT = 0x00408006
[ 176.854880] radeon 0000:0a:00.0: R_008680_CP_STAT = 0x84038647
[ 176.854883] radeon 0000:0a:00.0: R_00D034_DMA_STATUS_REG = 0x44C83D57
[ 176.854886] radeon 0000:0a:00.0: R_00D834_DMA_STATUS_REG = 0x44C83D57
[ 176.854888] radeon 0000:0a:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR
0x00000000
[ 176.854891] radeon 0000:0a:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS
0x00000000
[ 177.427677] radeon 0000:0a:00.0: GRBM_SOFT_RESET=0x0000DDFF
[ 177.427732] radeon 0000:0a:00.0: SRBM_SOFT_RESET=0x00000100
[ 177.427887] radeon 0000:0a:00.0: GRBM_STATUS = 0x8000B028
[ 177.427889] radeon 0000:0a:00.0: GRBM_STATUS_SE0 = 0x00000006
[ 177.427892] radeon 0000:0a:00.0: GRBM_STATUS_SE1 = 0x00000006
[ 177.427894] radeon 0000:0a:00.0: SRBM_STATUS = 0x200000C0
[ 177.427951] radeon 0000:0a:00.0: SRBM_STATUS2 = 0x00000000
[ 177.427954] radeon 0000:0a:00.0: R_008674_CP_STALLED_STAT1 = 0x00000000
[ 177.427956] radeon 0000:0a:00.0: R_008678_CP_STALLED_STAT2 = 0x00000000
[ 177.427959] radeon 0000:0a:00.0: R_00867C_CP_BUSY_STAT = 0x00000000
[ 177.427961] radeon 0000:0a:00.0: R_008680_CP_STAT = 0x00000000
[ 177.427964] radeon 0000:0a:00.0: R_00D034_DMA_STATUS_REG = 0x44C83D57
[ 177.427966] radeon 0000:0a:00.0: R_00D834_DMA_STATUS_REG = 0x44C83D57
[ 177.428090] radeon 0000:0a:00.0: GPU reset succeeded, trying to resume
[ 177.440734] [drm] probing gen 2 caps for device 8086:9c18 = 5323c42/0
[ 177.440739] [drm] PCIE gen 2 link speeds already enabled
[ 177.440912] [drm] PCIE GART of 1024M enabled (table at 0x0000000000040000).
[ 177.441017] radeon 0000:0a:00.0: WB enabled
[ 177.441020] radeon 0000:0a:00.0: fence driver on ring 0 use gpu addr
0x0000000040000c00 and cpu addr 0xffff880036b55c00
[ 177.441022] radeon 0000:0a:00.0: fence driver on ring 1 use gpu addr
0x0000000040000c04 and cpu addr 0xffff880036b55c04
[ 177.441024] radeon 0000:0a:00.0: fence driver on ring 2 use gpu addr
0x0000000040000c08 and cpu addr 0xffff880036b55c08
[ 177.441026] radeon 0000:0a:00.0: fence driver on ring 3 use gpu addr
0x0000000040000c0c and cpu addr 0xffff880036b55c0c
[ 177.441028] radeon 0000:0a:00.0: fence driver on ring 4 use gpu addr
0x0000000040000c10 and cpu addr 0xffff880036b55c10
[ 177.830669] [drm:r600_ring_test [radeon]] *ERROR* radeon: ring 0 test failed
(scratch(0x850C)=0xCAFEDEAD)
[ 177.830698] [drm:si_resume [radeon]] *ERROR* si startup failed on resume
If I restart notebook and try to run something again I'll get black window
(Xorg will continue to work) and next dmesg log:
[ 860.035779] [drm] probing gen 2 caps for device 8086:9c18 = 5323c42/0
[ 860.035788] [drm] PCIE gen 2 link speeds already enabled
[ 860.037672] [drm] PCIE GART of 1024M enabled (table at 0x0000000000040000).
[ 860.037836] radeon 0000:0a:00.0: WB enabled
[ 860.037842] radeon 0000:0a:00.0: fence driver on ring 0 use gpu addr
0x0000000040000c00 and cpu addr 0xffff8801584dcc00
[ 860.037846] radeon 0000:0a:00.0: fence driver on ring 1 use gpu addr
0x0000000040000c04 and cpu addr 0xffff8801584dcc04
[ 860.037849] radeon 0000:0a:00.0: fence driver on ring 2 use gpu addr
0x0000000040000c08 and cpu addr 0xffff8801584dcc08
[ 860.037853] radeon 0000:0a:00.0: fence driver on ring 3 use gpu addr
0x0000000040000c0c and cpu addr 0xffff8801584dcc0c
[ 860.037856] radeon 0000:0a:00.0: fence driver on ring 4 use gpu addr
0x0000000040000c10 and cpu addr 0xffff8801584dcc10
[ 860.233816] [drm] ring test on 0 succeeded in 1 usecs
[ 860.233822] [drm] ring test on 1 succeeded in 1 usecs
[ 860.233827] [drm] ring test on 2 succeeded in 1 usecs
[ 860.233836] [drm] ring test on 3 succeeded in 4 usecs
[ 860.233844] [drm] ring test on 4 succeeded in 4 usecs
[ 860.233876] [drm] ib test on ring 0 succeeded in 0 usecs
[ 860.233901] [drm] ib test on ring 1 succeeded in 0 usecs
[ 860.233924] [drm] ib test on ring 2 succeeded in 0 usecs
[ 860.233937] [drm] ib test on ring 3 succeeded in 0 usecs
[ 860.233949] [drm] ib test on ring 4 succeeded in 0 usecs
[ 870.734094] radeon 0000:0a:00.0: ring 0 stalled for more than 10276msec
[ 870.734101] radeon 0000:0a:00.0: GPU lockup (current fence id
0x00000000000000b0 last fence id 0x00000000000000b2 on ring 0)
[ 871.234271] radeon 0000:0a:00.0: ring 0 stalled for more than 10776msec
[ 871.234277] radeon 0000:0a:00.0: GPU lockup (current fence id
0x00000000000000b0 last fence id 0x00000000000000b2 on ring 0)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150124/582576a4/attachment.html>
More information about the dri-devel
mailing list