Bug 73178 - Driver lockup with radeon r7 260x: *ERROR* radeon: ring 1 test failed (scratch(0x3010C)=0xCAFEDEAD)
Summary: Driver lockup with radeon r7 260x: *ERROR* radeon: ring 1 test failed (scratc...
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-31 02:43 UTC by Richard Eames
Modified: 2014-01-05 21:47 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Richard Eames 2013-12-31 02:43:40 UTC
I'm trying to get a radeon r7 260x working on ubuntu. Ideally, I'm trying to get a multi-device setup working, the other device being a radeon hd 4850. With both cards active, I get a colourful screen: http://picpaste.com/Screenshot_from_2013-12-27_21_25_34-Ndbr8Zv3.png (4850 is the far right screen)

I've removed the 4850, and still get lockups. Following is the information that I've collected, please let me know if there's anything else I can do to help.

$ apt-cache policy xserver-xorg-video-radeon
xserver-xorg-video-radeon:
  Installed: 1:7.2.0+git1312250730.04ef03~gd~s
  Candidate: 1:7.2.0+git1312250730.04ef03~gd~s
  Version table:
 *** 1:7.2.0+git1312250730.04ef03~gd~s 0
        500 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu/ saucy/main amd64 Packages
        100 /var/lib/dpkg/status
     1:7.2.0-0ubuntu10 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages

lspci -vvv: http://paste.ubuntu.com/6666288/

dmesg snippet:
[   24.579445] [drm:atom_execute_table_locked] *ERROR* atombios stuck executing CEA0 (len 116, WS 0, PS 0) @ 0xCF09
[   64.469663] radeon 0000:01:00.0: GPU lockup CP stall for more than 10000msec
[   64.469672] radeon 0000:01:00.0: GPU lockup (waiting for 0x000000000000b7a7)
[   64.469678] radeon 0000:01:00.0: failed to get a new IB (-35)
[   64.469682] [drm:radeon_cs_ib_vm_chunk] *ERROR* Failed to get ib !
[   64.469866] radeon 0000:01:00.0: sa_manager is not empty, clearing anyway
[   64.476971] radeon 0000:01:00.0: Saved 6051 dwords of commands on ring 0.
[   64.476989] radeon 0000:01:00.0: GPU softreset: 0x00000008
[   64.476991] radeon 0000:01:00.0:   GRBM_STATUS=0xA0003028
[   64.476993] radeon 0000:01:00.0:   GRBM_STATUS2=0x50000008
[   64.476995] radeon 0000:01:00.0:   GRBM_STATUS_SE0=0x00000006
[   64.476997] radeon 0000:01:00.0:   GRBM_STATUS_SE1=0x00000006
[   64.476999] radeon 0000:01:00.0:   GRBM_STATUS_SE2=0x00000006
[   64.477001] radeon 0000:01:00.0:   GRBM_STATUS_SE3=0x00000006
[   64.477003] radeon 0000:01:00.0:   SRBM_STATUS=0x20000040
[   64.477004] radeon 0000:01:00.0:   SRBM_STATUS2=0x00000000
[   64.477006] radeon 0000:01:00.0:   SDMA0_STATUS_REG   = 0x46CEE557
[   64.477008] radeon 0000:01:00.0:   SDMA1_STATUS_REG   = 0x46CEED57
[   64.477010] radeon 0000:01:00.0:   CP_STAT = 0x84010200
[   64.477012] radeon 0000:01:00.0:   CP_STALLED_STAT1 = 0x00000c00
[   64.477014] radeon 0000:01:00.0:   CP_STALLED_STAT2 = 0x00010000
[   64.477016] radeon 0000:01:00.0:   CP_STALLED_STAT3 = 0x00000400
[   64.477018] radeon 0000:01:00.0:   CP_CPF_BUSY_STAT = 0x00000002
[   64.477019] radeon 0000:01:00.0:   CP_CPF_STALLED_STAT1 = 0x00000001
[   64.477021] radeon 0000:01:00.0:   CP_CPF_STATUS = 0x80000023
[   64.477023] radeon 0000:01:00.0:   CP_CPC_BUSY_STAT = 0x00000000
[   64.477025] radeon 0000:01:00.0:   CP_CPC_STALLED_STAT1 = 0x00000000
[   64.477027] radeon 0000:01:00.0:   CP_CPC_STATUS = 0x00000000
[   64.477029] radeon 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x00000000
[   64.477031] radeon 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x00000000
[   64.491299] radeon 0000:01:00.0: GRBM_SOFT_RESET=0x00010001
[   64.491353] radeon 0000:01:00.0: SRBM_SOFT_RESET=0x00000100
[   64.492498] radeon 0000:01:00.0:   GRBM_STATUS=0x00003028
[   64.492500] radeon 0000:01:00.0:   GRBM_STATUS2=0x00000008
[   64.492502] radeon 0000:01:00.0:   GRBM_STATUS_SE0=0x00000006
[   64.492503] radeon 0000:01:00.0:   GRBM_STATUS_SE1=0x00000006
[   64.492505] radeon 0000:01:00.0:   GRBM_STATUS_SE2=0x00000006
[   64.492507] radeon 0000:01:00.0:   GRBM_STATUS_SE3=0x00000006
[   64.492509] radeon 0000:01:00.0:   SRBM_STATUS=0x20000040
[   64.492510] radeon 0000:01:00.0:   SRBM_STATUS2=0x00000000
[   64.492512] radeon 0000:01:00.0:   SDMA0_STATUS_REG   = 0x46CEE557
[   64.492514] radeon 0000:01:00.0:   SDMA1_STATUS_REG   = 0x46CEED57
[   64.492516] radeon 0000:01:00.0:   CP_STAT = 0x00000000
[   64.492518] radeon 0000:01:00.0:   CP_STALLED_STAT1 = 0x00000000
[   64.492520] radeon 0000:01:00.0:   CP_STALLED_STAT2 = 0x00000000
[   64.492522] radeon 0000:01:00.0:   CP_STALLED_STAT3 = 0x00000000
[   64.492524] radeon 0000:01:00.0:   CP_CPF_BUSY_STAT = 0x00000000
[   64.492525] radeon 0000:01:00.0:   CP_CPF_STALLED_STAT1 = 0x00000000
[   64.492527] radeon 0000:01:00.0:   CP_CPF_STATUS = 0x00000000
[   64.492529] radeon 0000:01:00.0:   CP_CPC_BUSY_STAT = 0x00000000
[   64.492531] radeon 0000:01:00.0:   CP_CPC_STALLED_STAT1 = 0x00000000
[   64.492533] radeon 0000:01:00.0:   CP_CPC_STATUS = 0x00000000
[   64.492544] radeon 0000:01:00.0: GPU reset succeeded, trying to resume
[   64.512696] [drm] PCIE GART of 512M enabled (table at 0x0000000000277000).
[   64.512782] radeon 0000:01:00.0: WB enabled
[   64.512790] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0xffff8804253cbc00
[   64.512792] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0xffff8804253cbc04
[   64.512794] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0xffff8804253cbc08
[   64.512796] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0xffff8804253cbc0c
[   64.512798] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0xffff8804253cbc10
[   64.513182] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000076c98 and cpu addr 0xffffc90011d36c98
[   64.529775] [drm] ring test on 0 succeeded in 3 usecs
[   64.701983] [drm:cik_ring_test] *ERROR* radeon: ring 1 test failed (scratch(0x3010C)=0xCAFEDEAD)
[   64.702127] [drm] ring test on 3 succeeded in 2 usecs
[   64.702136] [drm] ring test on 4 succeeded in 1 usecs
[   64.747762] [drm] ring test on 5 succeeded in 1 usecs
[   64.747766] [drm] UVD initialized successfully.
[

Full dmesg: http://paste.ubuntu.com/6666267/


Xorg.0.log snippet:
(EE) [mi] EQ overflowing.  Additional events will be discarded until existing events are processed.
(EE) 
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x3d) [0x7fcd1ce7202d]
(EE) 1: /usr/bin/X (mieqEnqueue+0x22b) [0x7fcd1ce53f6b]
(EE) 2: /usr/bin/X (QueuePointerEvents+0x52) [0x7fcd1cd3b6d2]
(EE) 3: /usr/lib/xorg/modules/input/evdev_drv.so (0x7fcd10f58000+0x566f) [0x7fcd10f5d66f]
(EE) 4: /usr/bin/X (0x7fcd1ccd0000+0x91af8) [0x7fcd1cd61af8]
(EE) 5: /usr/bin/X (0x7fcd1ccd0000+0xba520) [0x7fcd1cd8a520]
(EE) 6: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7fcd1bdb0000+0xfbb0) [0x7fcd1bdbfbb0]
(EE) 7: /lib/x86_64-linux-gnu/libpthread.so.0 (pthread_cond_wait+0xc4) [0x7fcd1bdbbc84]
(EE) 8: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7fcd155a0000+0x353fbb) [0x7fcd158f3fbb]
(EE) 9: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7fcd155a0000+0x35495b) [0x7fcd158f495b]
(EE) 10: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7fcd155a0000+0x337add) [0x7fcd158d7add]
(EE) 11: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7fcd155a0000+0x151a94) [0x7fcd156f1a94]
(EE) 12: /usr/lib/x86_64-linux-gnu/libglamor.so.0 (glamor_block_handler+0x32) [0x7fcd18dcb9f2]
(EE) 13: /usr/bin/X (_CallCallbacks+0x34) [0x7fcd1cd299e4]
(EE) 14: /usr/bin/X (FlushAllOutput+0x2b) [0x7fcd1ce7535b]
(EE) 15: /usr/bin/X (0x7fcd1ccd0000+0x54eb3) [0x7fcd1cd24eb3]
(EE) 16: /usr/bin/X (0x7fcd1ccd0000+0x4456a) [0x7fcd1cd1456a]
(EE) 17: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7fcd1a9d1de5]
(EE) 18: /usr/bin/X (0x7fcd1ccd0000+0x448af) [0x7fcd1cd148af]
(EE) 
(EE) [mi] These backtraces from mieqEnqueue may point to a culprit higher up the stack.
(EE) [mi] mieq is *NOT* the cause.  It is a victim.
(EE) [mi] EQ overflow continuing.  100 events have been dropped.

xorg.0.log: http://paste.ubuntu.com/6666269/
Comment 1 Marek Olšák 2014-01-02 18:13:16 UTC
Can you test the latest kernel? (the master branch ideally)
Comment 2 Richard Eames 2014-01-05 04:34:47 UTC
I've been using the 2/Jan/14 daily build the past few days and haven't run into this lockup. Should I assume it's fixed and just wait for the kernel to trickle downstream? Or is there anything you'd like me to do?
Comment 3 Marek Olšák 2014-01-05 10:53:48 UTC
Feel free to close the bug. You can reopen it if you run into this issue again.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.