From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 66425] New: "failed testing IB on ring 5" when suspending to disk Date: Mon, 01 Jul 2013 01:19:05 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0936981597==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 2A4A4E5C14 for ; Sun, 30 Jun 2013 18:19:06 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0936981597== Content-Type: multipart/alternative; boundary="1372641546.f86520.20788"; charset="us-ascii" --1372641546.f86520.20788 Date: Mon, 1 Jul 2013 01:19:05 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=66425 Priority: medium Bug ID: 66425 Assignee: dri-devel@lists.freedesktop.org Summary: "failed testing IB on ring 5" when suspending to disk Severity: normal Classification: Unclassified OS: Linux (All) Reporter: austin.lund@gmail.com Hardware: x86-64 (AMD64) Status: NEW Version: DRI CVS Component: DRM/Radeon Product: DRI Created attachment 81770 --> https://bugs.freedesktop.org/attachment.cgi?id=81770&action=edit Full log from suspend test With kernel 3.10 suspend to disk seems to case a problem with my GPU. I did this to test suspend: echo devices > /sys/power/pm_test echo disk > /sys/power/state It takes quite a while to return to the console and the system becomes unstable. Strangely suspend to ram doesn't seem to have any problems. The relevant log lines seem to be: PM: Allocated 2886788 kbytes in 0.39 seconds (7402.02 MB/s) Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. Suspending console(s) (use no_console_suspend to debug) apple-gmux 00:07: System wakeup disabled by ACPI radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000174118 and cpu addr 0xffffc9001d233118 PM: freeze of devices complete after 292.114 msecs hibernation debug: Waiting for 5 seconds. [drm] Wrong MCH_SSKPD value: 0x16040307 [drm] This can cause pipe underruns and display issues. [drm] Please upgrade your BIOS to fix this. [drm] PCIE gen 2 link speeds already enabled [drm] PCIE GART of 512M enabled (table at 0x0000000000142000). radeon 0000:01:00.0: WB enabled radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff88025f328c00 radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff88025f328c0c radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000a9d118 and cpu addr 0xffffc9001e3b2118 [drm] ring test on 0 succeeded in 2 usecs [drm] ring test on 3 succeeded in 1 usecs [drm] ring test on 5 succeeded in 1 usecs [drm] UVD initialized successfully. [drm] ib test on ring 0 succeeded in 0 usecs [drm] ib test on ring 3 succeeded in 1 usecs radeon 0000:01:00.0: GPU lockup CP stall for more than 10000msec radeon 0000:01:00.0: GPU lockup (waiting for 0x0000000000000004 last fence id 0x0000000000000002) [drm:r600_uvd_ib_test] *ERROR* radeon: fence wait failed (-35). [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on ring 5 (-35). Full log attached. $ uname -a Linux lund-macbookpro 3.10.0+ #14 SMP PREEMPT Mon Jul 1 09:12:13 EST 2013 x86_64 GNU/Linux (+ due to two patches which are unrelated to this driver, but otherwise vanilla 3.10) $ sudo lspci -v -s 01:00.0 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Whistler [Radeon HD 6630M/6650M/6750M/7670M/7690M] (prog-if 00 [VGA controller]) Subsystem: Apple Inc. MacBookPro8,2 [Core i7, 15", Late 2011] Flags: bus master, fast devsel, latency 0, IRQ 49 Memory at 90000000 (64-bit, prefetchable) [size=256M] Memory at b0800000 (64-bit, non-prefetchable) [size=128K] I/O ports at 2000 [size=256] Expansion ROM at b0820000 [disabled] [size=128K] Capabilities: [50] Power Management version 3 Capabilities: [58] Express Legacy Endpoint, MSI 00 Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 Capabilities: [150] Advanced Error Reporting Kernel driver in use: radeon Kernel modules: radeon -- You are receiving this mail because: You are the assignee for the bug. --1372641546.f86520.20788 Date: Mon, 1 Jul 2013 01:19:06 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 66425
Assignee dri-devel@lists.freedesktop.org
Summary "failed testing IB on ring 5" when suspending to disk
Severity normal
Classification Unclassified
OS Linux (All)
Reporter austin.lund@gmail.com
Hardware x86-64 (AMD64)
Status NEW
Version DRI CVS
Component DRM/Radeon
Product DRI

Created attachment 81770 [details]
Full log from suspend test

With kernel 3.10 suspend to disk seems to case a problem with my GPU.  I did
this to test suspend:

echo devices > /sys/power/pm_test
echo disk > /sys/power/state

It takes quite a while to return to the console and the system becomes
unstable.  Strangely suspend to ram doesn't seem to have any problems.

The relevant log lines seem to be:

PM: Allocated 2886788 kbytes in 0.39 seconds (7402.02 MB/s)
Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
apple-gmux 00:07: System wakeup disabled by ACPI
radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000174118 and
cpu addr 0xffffc9001d233118
PM: freeze of devices complete after 292.114 msecs
hibernation debug: Waiting for 5 seconds.
[drm] Wrong MCH_SSKPD value: 0x16040307
[drm] This can cause pipe underruns and display issues.
[drm] Please upgrade your BIOS to fix this.
[drm] PCIE gen 2 link speeds already enabled
[drm] PCIE GART of 512M enabled (table at 0x0000000000142000).
radeon 0000:01:00.0: WB enabled
radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and
cpu addr 0xffff88025f328c00
radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and
cpu addr 0xffff88025f328c0c
radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000a9d118 and
cpu addr 0xffffc9001e3b2118
[drm] ring test on 0 succeeded in 2 usecs
[drm] ring test on 3 succeeded in 1 usecs
[drm] ring test on 5 succeeded in 1 usecs
[drm] UVD initialized successfully.
[drm] ib test on ring 0 succeeded in 0 usecs
[drm] ib test on ring 3 succeeded in 1 usecs
radeon 0000:01:00.0: GPU lockup CP stall for more than 10000msec
radeon 0000:01:00.0: GPU lockup (waiting for 0x0000000000000004 last fence id
0x0000000000000002)
[drm:r600_uvd_ib_test] *ERROR* radeon: fence wait failed (-35).
[drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on ring 5 (-35).

Full log attached.

$ uname -a
Linux lund-macbookpro 3.10.0+ #14 SMP PREEMPT Mon Jul 1 09:12:13 EST 2013
x86_64 GNU/Linux

(+ due to two patches which are unrelated to this driver, but otherwise vanilla
3.10)

$ sudo lspci -v -s 01:00.0
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Whistler [Radeon HD 6630M/6650M/6750M/7670M/7690M] (prog-if 00 [VGA
controller])
    Subsystem: Apple Inc. MacBookPro8,2 [Core i7, 15", Late 2011]
    Flags: bus master, fast devsel, latency 0, IRQ 49
    Memory at 90000000 (64-bit, prefetchable) [size=256M]
    Memory at b0800000 (64-bit, non-prefetchable) [size=128K]
    I/O ports at 2000 [size=256]
    Expansion ROM at b0820000 [disabled] [size=128K]
    Capabilities: [50] Power Management version 3
    Capabilities: [58] Express Legacy Endpoint, MSI 00
    Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
    Capabilities: [150] Advanced Error Reporting
    Kernel driver in use: radeon
    Kernel modules: radeon


You are receiving this mail because:
  • You are the assignee for the bug.
--1372641546.f86520.20788-- --===============0936981597== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0936981597==--