From: bugzilla-daemon@freedesktop.org
Subject: [Bug 107762] [Intel GFX CI] *ERROR* ring sdma0 timeout, signaled
seq=137, emitted seq=137
Date: Thu, 06 Sep 2018 15:30:11 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1916659687=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 1BC096E6DF
for ; Thu, 6 Sep 2018 15:30:11 +0000 (UTC)
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
--===============1916659687==
Content-Type: multipart/alternative; boundary="15362478110.b8cCd.15545"
Content-Transfer-Encoding: 7bit
--15362478110.b8cCd.15545
Date: Thu, 6 Sep 2018 15:30:11 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D107762
--- Comment #4 from Martin Peres ---
(In reply to Michel D=C3=A4nzer from comment #2)
> (In reply to Martin Peres from comment #0)
> > [ 358.292609] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma0 ti=
meout, signaled seq=3D137, emitted seq=3D137
> > [ 358.292635] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma1 ti=
meout, signaled seq=3D145, emitted seq=3D145
>=20
> (In reply to Martin Peres from comment #1)
> > [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma0 timeout, signaled=
seq=3D137, emitted seq=3D137
> > [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma0 timeout, signaled=
seq=3D147, emitted seq=3D147
>=20
> Hmm, signalled and emitted sequence numbers are always the same, meaning =
the
> hardware hasn't actually timed out?
>=20
> I can think of two possibilities:
>=20
> * A GPU scheduler bug causing the job timeout handling to be triggered
> spuriously. (Could something be stalling the system work queue, so the it=
ems
> scheduled by drm_sched_job_finish_cb can't call drm_sched_job_finish in
> time?)
>=20
> * A problem with the handling of the GPU's interrupts. Do the numbers on =
the
> amdgpu line in /proc/interrupts still increase after these messages
> appeared, or at least in the ten seconds before they appear?
Here is the IGT run log:
[283/301] skip: 65, pass: 218 -
running: igt/amdgpu/amd_cs_nop/sync-fork-gfx0
[283/301] skip: 65, pass: 218 \=20=20=20=20=20=20=20=20=20=20=20=20=20=20
dmesg-warn: igt/amdgpu/amd_cs_nop/sync-fork-gfx0
[284/301] skip: 65, pass: 218, dmesg-warn: 1 \
running: igt/amdgpu/amd_prime/i915-to-amd=20=20=20=20=20
[284/301] skip: 65, pass: 218, dmesg-warn: 1 |
pass: igt/amdgpu/amd_prime/i915-to-amd=20=20=20=20=20=20=20=20
[285/301] skip: 65, pass: 219, dmesg-warn: 1 |
running: igt/amdgpu/amd_prime/amd-to-i915=20=20=20=20=20
[285/301] skip: 65, pass: 219, dmesg-warn: 1 /
dmesg-fail: igt/amdgpu/amd_prime/amd-to-i915=20=20
It shows that both the tests #283 and #285 generated the timeout, yet the s=
eqno
has increased by 10 between the two tests, suggesting that the GPU is not h=
ung.
I can't easily check if interrupts in /proc/interrupts are still increasing=
on
a machine that is part of our CI, but I guess if this is what it takes to g=
et
this bug forward, I will try to get my hands on a KBLg platform and help you
trigger.
However, if it is scheduler bug, I would assume this issue to be reproducib=
le
on any AMD GPU. Can you try running igt@amdgpu/amd_cs_nop@sync-fork-gfx0 in=
a
loop for an hour or so?
Your second proposal would point at a KBLg-specific bug, but let's first ru=
le
out the scheduler as being part of the problem.
In any case, thanks for your answer :)
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15362478110.b8cCd.15545
Date: Thu, 6 Sep 2018 15:30:11 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
Commen=
t # 4
on bug 10776=
2
from Martin Peres
(In reply to Michel D=C3=A4nzer from comment #2)
> (In reply to Martin Peres from comment #0)
> > [ 358.292609] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sd=
ma0 timeout, signaled seq=3D137, emitted seq=3D137
> > [ 358.292635] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sd=
ma1 timeout, signaled seq=3D145, emitted seq=3D145
>=20
> (In reply to Martin Peres from comment #1)
> > [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma0 timeout, si=
gnaled seq=3D137, emitted seq=3D137
> > [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma0 timeout, si=
gnaled seq=3D147, emitted seq=3D147
>=20
> Hmm, signalled and emitted sequence numbers are always the same, meani=
ng the
> hardware hasn't actually timed out?
>=20
> I can think of two possibilities:
>=20
> * A GPU scheduler bug causing the job timeout handling to be triggered
> spuriously. (Could something be stalling the system work queue, so the=
items
> scheduled by drm_sched_job_finish_cb can't call drm_sched_job_finish in
> time?)
>=20
> * A problem with the handling of the GPU's interrupts. Do the numbers =
on the
> amdgpu line in /proc/interrupts still increase after these messages
> appeared, or at least in the ten seconds before they appear?
Here is the IGT run log:
[283/301] skip: 65, pass: 218 -
running: igt/amdgpu/amd_cs_nop/sync-fork-gfx0
[283/301] skip: 65, pass: 218 \=20=20=20=20=20=20=20=20=20=20=20=20=20=20
dmesg-warn: igt/amdgpu/amd_cs_nop/sync-fork-gfx0
[284/301] skip: 65, pass: 218, dmesg-warn: 1 \
running: igt/amdgpu/amd_prime/i915-to-amd=20=20=20=20=20
[284/301] skip: 65, pass: 218, dmesg-warn: 1 |
pass: igt/amdgpu/amd_prime/i915-to-amd=20=20=20=20=20=20=20=20
[285/301] skip: 65, pass: 219, dmesg-warn: 1 |
running: igt/amdgpu/amd_prime/amd-to-i915=20=20=20=20=20
[285/301] skip: 65, pass: 219, dmesg-warn: 1 /
dmesg-fail: igt/amdgpu/amd_prime/amd-to-i915=20=20
It shows that both the tests #283 and #285 generated the timeout, yet the s=
eqno
has increased by 10 between the two tests, suggesting that the GPU is not h=
ung.
I can't easily check if interrupts in /proc/interrupts are still increasing=
on
a machine that is part of our CI, but I guess if this is what it takes to g=
et
this bug forward, I will try to get my hands on a KBLg platform and help you
trigger.
However, if it is scheduler bug, I would assume this issue to be reproducib=
le
on any AMD GPU. Can you try running igt@amdgpu/amd_cs_nop@sync-fork=
-gfx0 in a
loop for an hour or so?
Your second proposal would point at a KBLg-specific bug, but let's first ru=
le
out the scheduler as being part of the problem.
In any case, thanks for your answer :)
You are receiving this mail because:
- You are the assignee for the bug.
=
--15362478110.b8cCd.15545--
--===============1916659687==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1916659687==--