From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76501] New: fences regression Date: Sun, 23 Mar 2014 09:47:02 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1160097071==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 09B8489700 for ; Sun, 23 Mar 2014 02:47:03 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1160097071== Content-Type: multipart/alternative; boundary="1395568022.310820.14636"; charset="us-ascii" --1395568022.310820.14636 Date: Sun, 23 Mar 2014 09:47:02 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D76501 Priority: medium Bug ID: 76501 Assignee: dri-devel@lists.freedesktop.org Summary: fences regression Severity: normal Classification: Unclassified OS: Linux (All) Reporter: odi@odi.ch Hardware: x86-64 (AMD64) Status: NEW Version: XOrg CVS Component: DRM/Radeon Product: DRI Created attachment 96233 --> https://bugs.freedesktop.org/attachment.cgi?id=3D96233&action=3Dedit dmesg 3.12 I am seeing a GPU lockup from any v3.13 up to 3.14-rc7, which basically ren= ders my computer unusable under recent kernels :-( [ 55.762710] radeon 0000:01:00.0: GPU lockup CP stall for more than 10000= msec [ 55.762715] radeon 0000:01:00.0: GPU lockup (waiting for 0x0000000000000= 004 last fence id 0x000000000000000 on ring 5) [ 55.762717] [drm:uvd_v1_0_ib_test] *ERROR* radeon: fence wait failed (-3= 5). [ 55.762720] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB= on ring 5 (-35). Hardware is an iMac 11,2 with a Radeon 4670 M96XT (RV730), 256MB GDDR3.=20 working up to 3.12, broken as of 3.13. Xorg comes up after some dalays with a mostly black screen, some colored rectangular artifacts where the login fields are, a working mouse cursor. Console fb still works. Bisected to this commit: commit f9eaf9ae782d6480f179850e27e6f4911ac10227 Author: Christian K=C3=B6nig Date: Tue Oct 29 20:14:47 2013 +0100 drm/radeon: rework and fix reset detection v2 Stop fiddling with jiffies, always wait for RADEON_FENCE_JIFFIES_TIMEOU= T. Consolidate the two wait sequence implementations into just one functio= n. Activate all waiters and remember if the reset was already done instead= of trying to reset from only one thread. v2: clear reset flag earlier to avoid timeout in IB test --=20 You are receiving this mail because: You are the assignee for the bug. --1395568022.310820.14636 Date: Sun, 23 Mar 2014 09:47:02 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Priority medium
Bug ID 76501
Assignee dri-devel@lists.freedesktop.org
Summary fences regression
Severity normal
Classification Unclassified
OS Linux (All)
Reporter odi@odi.ch
Hardware x86-64 (AMD64)
Status NEW
Version XOrg CVS
Component DRM/Radeon
Product DRI

Created attachment 96233 [details=
]
dmesg 3.12

I am seeing a GPU lockup from any v3.13 up to 3.14-rc7, which basically ren=
ders
my computer unusable under recent kernels :-(

[   55.762710] radeon 0000:01:00.0: GPU lockup CP stall for more than 10000=
msec
[   55.762715] radeon 0000:01:00.0: GPU lockup (waiting for 0x0000000000000=
004
last fence id 0x000000000000000 on ring 5)
[   55.762717] [drm:uvd_v1_0_ib_test] *ERROR* radeon: fence wait failed (-3=
5).
[   55.762720] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB=
 on
ring 5 (-35).

Hardware is an iMac 11,2 with a Radeon 4670 M96XT (RV730), 256MB GDDR3.=20

working up to 3.12, broken as of 3.13.

Xorg comes up after some dalays with a mostly black screen, some colored
rectangular artifacts where the login fields are, a working mouse cursor.

Console fb still works.


Bisected to this commit:

commit f9eaf9ae782d6480f179850e27e6f4911ac10227
Author: Christian K=C3=B6nig <christian.koenig@amd.com>
Date:   Tue Oct 29 20:14:47 2013 +0100

    drm/radeon: rework and fix reset detection v2

    Stop fiddling with jiffies, always wait for RADEON_FENCE_JIFFIES_TIMEOU=
T.
    Consolidate the two wait sequence implementations into just one functio=
n.
    Activate all waiters and remember if the reset was already done instead=
 of
    trying to reset from only one thread.

    v2: clear reset flag earlier to avoid timeout in IB test


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1395568022.310820.14636-- --===============1160097071== 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 --===============1160097071==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76501] fences regression Date: Sun, 23 Mar 2014 09:47:28 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0500283210==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 9FC9689722 for ; Sun, 23 Mar 2014 02:47:28 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0500283210== Content-Type: multipart/alternative; boundary="1395568048.22DA0.14723"; charset="us-ascii" --1395568048.22DA0.14723 Date: Sun, 23 Mar 2014 09:47:28 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D76501 --- Comment #1 from Ortwin Gl=C3=BCck --- Created attachment 96234 --> https://bugs.freedesktop.org/attachment.cgi?id=3D96234&action=3Dedit dmesg 3.14 --=20 You are receiving this mail because: You are the assignee for the bug. --1395568048.22DA0.14723 Date: Sun, 23 Mar 2014 09:47:28 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1395568048.22DA0.14723-- --===============0500283210== 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 --===============0500283210==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76501] fences regression Date: Sun, 23 Mar 2014 10:04:30 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2003149298==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 4F8D56E3CE for ; Sun, 23 Mar 2014 03:04:30 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2003149298== Content-Type: multipart/alternative; boundary="1395569070.1DE6b0.19167"; charset="us-ascii" --1395569070.1DE6b0.19167 Date: Sun, 23 Mar 2014 10:04:30 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D76501 --- Comment #2 from Ortwin Gl=C3=BCck --- NB: the UVD init does not occur each time. But the "GPU lockup" message doe= s. --=20 You are receiving this mail because: You are the assignee for the bug. --1395569070.1DE6b0.19167 Date: Sun, 23 Mar 2014 10:04:30 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 2 on bug 76501<= /a> from Ortwin Gl=C3=BCck
NB: the UVD init does not occur each time. But the "GPU l=
ockup" message does.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1395569070.1DE6b0.19167-- --===============2003149298== 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 --===============2003149298==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76501] fences regression Date: Sun, 23 Mar 2014 15:29:58 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0448284607==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 8F1D56E6D5 for ; Sun, 23 Mar 2014 08:29:58 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0448284607== Content-Type: multipart/alternative; boundary="1395588598.DeebdFF21.30539"; charset="us-ascii" --1395588598.DeebdFF21.30539 Date: Sun, 23 Mar 2014 15:29:58 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D76501 --- Comment #3 from Christian K=C3=B6nig --- please provide a dmesg from commit f9eaf9ae782d6480f179850e27e6f4911ac10227= and 1dac28eb726109e7ac256051b157baf60b21a5f7 as well. Thansk in advance, Christian. --=20 You are receiving this mail because: You are the assignee for the bug. --1395588598.DeebdFF21.30539 Date: Sun, 23 Mar 2014 15:29:58 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 3 on bug 76501<= /a> from Christian K=C3=B6nig
please provide a dmesg from commit f9eaf9ae782d6480f179850e27e=
6f4911ac10227 and
1dac28eb726109e7ac256051b157baf60b21a5f7 as well.

Thansk in advance,
Christian.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1395588598.DeebdFF21.30539-- --===============0448284607== 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 --===============0448284607==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76501] fences regression Date: Mon, 24 Mar 2014 20:43:31 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1029343550==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id BBDD989CE3 for ; Mon, 24 Mar 2014 13:43:31 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1029343550== Content-Type: multipart/alternative; boundary="1395693811.AffedF0.24301"; charset="us-ascii" --1395693811.AffedF0.24301 Date: Mon, 24 Mar 2014 20:43:31 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D76501 --- Comment #4 from Ortwin Gl=C3=BCck --- Created attachment 96315 --> https://bugs.freedesktop.org/attachment.cgi?id=3D96315&action=3Dedit last good commit --=20 You are receiving this mail because: You are the assignee for the bug. --1395693811.AffedF0.24301 Date: Mon, 24 Mar 2014 20:43:31 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1395693811.AffedF0.24301-- --===============1029343550== 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 --===============1029343550==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76501] fences regression Date: Mon, 24 Mar 2014 20:43:58 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1093625327==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 2CE9D89CF7 for ; Mon, 24 Mar 2014 13:43:58 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1093625327== Content-Type: multipart/alternative; boundary="1395693838.1A511Afd0.24415"; charset="us-ascii" --1395693838.1A511Afd0.24415 Date: Mon, 24 Mar 2014 20:43:58 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D76501 --- Comment #5 from Ortwin Gl=C3=BCck --- Created attachment 96316 --> https://bugs.freedesktop.org/attachment.cgi?id=3D96316&action=3Dedit first bad commit --=20 You are receiving this mail because: You are the assignee for the bug. --1395693838.1A511Afd0.24415 Date: Mon, 24 Mar 2014 20:43:58 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1395693838.1A511Afd0.24415-- --===============1093625327== 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 --===============1093625327==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76501] fences regression Date: Mon, 24 Mar 2014 20:55:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0825762612==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 84AD689D52 for ; Mon, 24 Mar 2014 13:55:52 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0825762612== Content-Type: multipart/alternative; boundary="1395694552.BECEC0.27224"; charset="us-ascii" --1395694552.BECEC0.27224 Date: Mon, 24 Mar 2014 20:55:52 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D76501 --- Comment #6 from Ortwin Gl=C3=BCck --- interestingly also the last good commit produces the following log: [ 7.573975] [drm] UVD initialized successfully. [ 7.574210] [drm] Enabling audio 0 support [ 7.574240] [drm] ib test on ring 0 succeeded in 0 usecs [ 7.574263] [drm] ib test on ring 3 succeeded in 0 usecs [ 17.730386] radeon 0000:01:00.0: GPU lockup CP stall for more than 10000= msec [ 17.730390] radeon 0000:01:00.0: GPU lockup (waiting for 0x0000000000000= 002 last fence id 0x0000000000000000) [ 17.730393] [drm:uvd_v1_0_ib_test] *ERROR* radeon: fence wait failed (-3= 5). [ 17.730397] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB= on ring 5 (-35). So that seems unrelated to the issue at hand. --=20 You are receiving this mail because: You are the assignee for the bug. --1395694552.BECEC0.27224 Date: Mon, 24 Mar 2014 20:55:52 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 6 on bug 76501<= /a> from Ortwin Gl=C3=BCck
interestingly also the last good commit produces the following=
 log:
[    7.573975] [drm] UVD initialized successfully.
[    7.574210] [drm] Enabling audio 0 support
[    7.574240] [drm] ib test on ring 0 succeeded in 0 usecs
[    7.574263] [drm] ib test on ring 3 succeeded in 0 usecs
[   17.730386] radeon 0000:01:00.0: GPU lockup CP stall for more than 10000=
msec
[   17.730390] radeon 0000:01:00.0: GPU lockup (waiting for 0x0000000000000=
002
last fence id 0x0000000000000000)
[   17.730393] [drm:uvd_v1_0_ib_test] *ERROR* radeon: fence wait failed (-3=
5).
[   17.730397] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB=
 on
ring 5 (-35).


So that seems unrelated to the issue at hand.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1395694552.BECEC0.27224-- --===============0825762612== 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 --===============0825762612==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76501] fences regression Date: Tue, 25 Mar 2014 10:44:41 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1737973624==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 497A76E14F for ; Tue, 25 Mar 2014 03:44:41 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1737973624== Content-Type: multipart/alternative; boundary="1395744281.D2Fca1.23879"; charset="us-ascii" --1395744281.D2Fca1.23879 Date: Tue, 25 Mar 2014 10:44:41 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D76501 --- Comment #7 from Christian K=C3=B6nig --- Created attachment 96360 --> https://bugs.freedesktop.org/attachment.cgi?id=3D96360&action=3Dedit Possible fix --=20 You are receiving this mail because: You are the assignee for the bug. --1395744281.D2Fca1.23879 Date: Tue, 25 Mar 2014 10:44:41 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1395744281.D2Fca1.23879-- --===============1737973624== 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 --===============1737973624==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76501] fences regression Date: Tue, 25 Mar 2014 10:49:44 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1756939993==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id A873A6E160 for ; Tue, 25 Mar 2014 03:49:44 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1756939993== Content-Type: multipart/alternative; boundary="1395744584.34A57c280.25246"; charset="us-ascii" --1395744584.34A57c280.25246 Date: Tue, 25 Mar 2014 10:49:44 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D76501 --- Comment #8 from Ortwin Gl=C3=BCck --- Thanks, I will test the patch tonight. Also I will bisect the first commit that produces the GPU lockup (without visible artifacts), as that seems to me the real problem. Probably f9eaf9 o= nly exposes that bug visibly. --=20 You are receiving this mail because: You are the assignee for the bug. --1395744584.34A57c280.25246 Date: Tue, 25 Mar 2014 10:49:44 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 8 on bug 76501<= /a> from Ortwin Gl=C3=BCck
Thanks, I will test the patch tonight.

Also I will bisect the first commit that produces the GPU lockup (without
visible artifacts), as that seems to me the real problem. Probably f9eaf9 o=
nly
exposes that bug visibly.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1395744584.34A57c280.25246-- --===============1756939993== 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 --===============1756939993==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76501] fences regression Date: Tue, 25 Mar 2014 10:52:27 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0247083935==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 357176E164 for ; Tue, 25 Mar 2014 03:52:27 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0247083935== Content-Type: multipart/alternative; boundary="1395744747.A70A1.25886"; charset="us-ascii" --1395744747.A70A1.25886 Date: Tue, 25 Mar 2014 10:52:27 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D76501 --- Comment #9 from Christian K=C3=B6nig --- (In reply to comment #6) > interestingly also the last good commit produces the following log: > [ 7.573975] [drm] UVD initialized successfully. > [ 7.574210] [drm] Enabling audio 0 support > [ 7.574240] [drm] ib test on ring 0 succeeded in 0 usecs > [ 7.574263] [drm] ib test on ring 3 succeeded in 0 usecs > [ 17.730386] radeon 0000:01:00.0: GPU lockup CP stall for more than > 10000msec > [ 17.730390] radeon 0000:01:00.0: GPU lockup (waiting for > 0x0000000000000002 last fence id 0x0000000000000000) > [ 17.730393] [drm:uvd_v1_0_ib_test] *ERROR* radeon: fence wait failed > (-35). > [ 17.730397] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing = IB > on ring 5 (-35). >=20 >=20 > So that seems unrelated to the issue at hand. Actually it is related, and now the behaviours makes perfect sense. Somewhere between 3.12 and your "last good" commit we have a patch that bre= aks UVD IB testing. But that isn't critical (3D still works fine) until the res= et detection rework, cause after that one we try to get the UVD ring working a= gain with each new IOCTL made to the card. Please give the attached patch a try, it clears the "needs_reset" flag if t= he IB test failed for some reason. So that if the initial bringup fails we won= 't try to get it working over and over again. Additional to that please bisect what commit breaks UVD IB testing between = 3.12 and the "last good" commit and open up a new bug report for this issue. Thanks for the help, Christian. --=20 You are receiving this mail because: You are the assignee for the bug. --1395744747.A70A1.25886 Date: Tue, 25 Mar 2014 10:52:27 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 9 on bug 76501<= /a> from Christian K=C3=B6nig
(In reply to comment #6=
)
> interestingly also the last good commit produces=
 the following log:
> [    7.573975] [drm] UVD initialized successfully.
> [    7.574210] [drm] Enabling audio 0 support
> [    7.574240] [drm] ib test on ring 0 succeeded in 0 usecs
> [    7.574263] [drm] ib test on ring 3 succeeded in 0 usecs
> [   17.730386] radeon 0000:01:00.0: GPU lockup CP stall for more than
> 10000msec
> [   17.730390] radeon 0000:01:00.0: GPU lockup (waiting for
> 0x0000000000000002 last fence id 0x0000000000000000)
> [   17.730393] [drm:uvd_v1_0_ib_test] *ERROR* radeon: fence wait failed
> (-35).
> [   17.730397] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testi=
ng IB
> on ring 5 (-35).
>=20
>=20
> So that seems unrelated to the issue at hand.

Actually it is related, and now the behaviours makes perfect sense.

Somewhere between 3.12 and your "last good" commit we have a patc=
h that breaks
UVD IB testing. But that isn't critical (3D still works fine) until the res=
et
detection rework, cause after that one we try to get the UVD ring working a=
gain
with each new IOCTL made to the card.

Please give the attached patch a try, it clears the "needs_reset"=
 flag if the
IB test failed for some reason. So that if the initial bringup fails we won=
't
try to get it working over and over again.

Additional to that please bisect what commit breaks UVD IB testing between =
3.12
and the "last good" commit and open up a new bug report for this =
issue.

Thanks for the help,
Christian.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1395744747.A70A1.25886-- --===============0247083935== 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 --===============0247083935==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76501] fences regression Date: Tue, 25 Mar 2014 19:42:42 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2003326551==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 52AF16E0E6 for ; Tue, 25 Mar 2014 12:42:42 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2003326551== Content-Type: multipart/alternative; boundary="1395776562.CBAf0.15845"; charset="us-ascii" --1395776562.CBAf0.15845 Date: Tue, 25 Mar 2014 19:42:42 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D76501 --- Comment #10 from Ortwin Gl=C3=BCck --- I confirm that the patch fixes the screen output (3D). The GPU lockup is st= ill present in dmesg, as expected. Bisecting now and will open a new bug report= for it. --=20 You are receiving this mail because: You are the assignee for the bug. --1395776562.CBAf0.15845 Date: Tue, 25 Mar 2014 19:42:42 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 10 on bug 76501<= /a> from Ortwin Gl=C3=BCck
I confirm that the patch fixes the screen output (3D). The GPU=
 lockup is still
present in dmesg, as expected. Bisecting now and will open a new bug report=
 for
it.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1395776562.CBAf0.15845-- --===============2003326551== 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 --===============2003326551==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76501] fences regression Date: Wed, 26 Mar 2014 13:53:30 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0264845864==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id F36856E629 for ; Wed, 26 Mar 2014 06:53:29 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0264845864== Content-Type: multipart/alternative; boundary="1395842009.6B4d1.17928"; charset="us-ascii" --1395842009.6B4d1.17928 Date: Wed, 26 Mar 2014 13:53:29 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D76501 Christian K=C3=B6nig changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #11 from Christian K=C3=B6nig --- Perfect, thanks for the help. Patch is on it's way upstream so any objections to closing this bug then? --=20 You are receiving this mail because: You are the assignee for the bug. --1395842009.6B4d1.17928 Date: Wed, 26 Mar 2014 13:53:29 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Christian K=C3=B6nig changed bug 76501<= /a>
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Commen= t # 11 on bug 76501<= /a> from Christian K=C3=B6nig
Perfect, thanks for the help.

Patch is on it's way upstream so any objections to closing this bug then?
        


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1395842009.6B4d1.17928-- --===============0264845864== 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 --===============0264845864==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76501] fences regression Date: Wed, 26 Mar 2014 14:10:30 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1656561385==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E4DE76E630 for ; Wed, 26 Mar 2014 07:10:29 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1656561385== Content-Type: multipart/alternative; boundary="1395843029.70b82fCa0.23102"; charset="us-ascii" --1395843029.70b82fCa0.23102 Date: Wed, 26 Mar 2014 14:10:29 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D76501 --- Comment #12 from Ortwin Gl=C3=BCck --- OK to closing. The other problem has resolved itself, by the way. For convenience I had al= ways booted these kernels via kexec, which was the reason for the GPU lockup. Af= ter a normal warm boot the problem went away. --=20 You are receiving this mail because: You are the assignee for the bug. --1395843029.70b82fCa0.23102 Date: Wed, 26 Mar 2014 14:10:29 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 12 on bug 76501<= /a> from Ortwin Gl=C3=BCck
OK to closing.

The other problem has resolved itself, by the way. For convenience I had al=
ways
booted these kernels via kexec, which was the reason for the GPU lockup. Af=
ter
a normal warm boot the problem went away.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1395843029.70b82fCa0.23102-- --===============1656561385== 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 --===============1656561385==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76501] fences regression Date: Wed, 26 Mar 2014 14:13:32 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0647532802==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 13E3F6E632 for ; Wed, 26 Mar 2014 07:13:32 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0647532802== Content-Type: multipart/alternative; boundary="1395843212.aCFF6611.23979"; charset="us-ascii" --1395843212.aCFF6611.23979 Date: Wed, 26 Mar 2014 14:13:32 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D76501 Christian K=C3=B6nig changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #13 from Christian K=C3=B6nig --- Ah, ok. That makes sense, cause kexec and UVD are known to not work togethe= r by design. Closing this. --=20 You are receiving this mail because: You are the assignee for the bug. --1395843212.aCFF6611.23979 Date: Wed, 26 Mar 2014 14:13:32 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Christian K=C3=B6nig changed bug 76501<= /a>
What Removed Added
Status RESOLVED CLOSED

Commen= t # 13 on bug 76501<= /a> from Christian K=C3=B6nig
Ah, ok. That makes sense, cause kexec and UVD are known to not=
 work together by
design.

Closing this.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1395843212.aCFF6611.23979-- --===============0647532802== 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 --===============0647532802==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76501] fences regression Date: Thu, 03 Apr 2014 16:31:51 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0536021508==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 173BF6E7C2 for ; Thu, 3 Apr 2014 09:31:51 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0536021508== Content-Type: multipart/alternative; boundary="1396542711.C2E07521.21659"; charset="us-ascii" --1396542711.C2E07521.21659 Date: Thu, 3 Apr 2014 16:31:51 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76501 --- Comment #14 from Shawn Starr --- Does this fix issues where when GPU locks up X is able to resume? when X resumes for me, there is no ability to resume using the display server and most of the time it just GPU wedges and then I need to do a reset. -- You are receiving this mail because: You are the assignee for the bug. --1396542711.C2E07521.21659 Date: Thu, 3 Apr 2014 16:31:51 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 14 on bug 76501 from
Does this fix issues where when GPU locks up X is able to resume? when X
resumes for me, there is no ability to resume using the display server and most
of the time it just GPU wedges and then I need to do a reset.


You are receiving this mail because:
  • You are the assignee for the bug.
--1396542711.C2E07521.21659-- --===============0536021508== 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 --===============0536021508==--