dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 88364] Xorg hangs after videocard switching
Date: Sat, 24 Jan 2015 21:48:11 +0000	[thread overview]
Message-ID: <bug-88364-502-eLfjSDG6jF@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-88364-502@http.bugs.freedesktop.org/>


[-- Attachment #1.1: Type: text/plain, Size: 5809 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=88364

--- Comment #2 from Liss <lissamour@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.

[-- Attachment #1.2: Type: text/html, Size: 6540 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2015-01-24 21:48 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-13 10:33 [Bug 88364] Xorg hangs after videocard switching bugzilla-daemon
2015-01-13 19:57 ` bugzilla-daemon
2015-01-24 21:48 ` bugzilla-daemon [this message]
2015-01-28  7:10 ` bugzilla-daemon
2015-01-29 20:47 ` bugzilla-daemon
2015-02-05 22:32 ` bugzilla-daemon
2015-02-05 22:34 ` bugzilla-daemon
2015-02-09  8:13 ` bugzilla-daemon
2015-04-08 21:44 ` bugzilla-daemon
2015-04-09 13:23 ` bugzilla-daemon
2015-04-10 20:05 ` bugzilla-daemon
2015-04-10 20:06 ` bugzilla-daemon
2015-06-19  9:11 ` bugzilla-daemon
2015-08-14 21:23 ` bugzilla-daemon
2019-11-19  9:00 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-88364-502-eLfjSDG6jF@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox