From: bugzilla-daemon@freedesktop.org Subject: [Bug 109955] amdgpu [RX Vega 64] system freeze while gaming Date: Mon, 12 Aug 2019 14:10:11 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1977090980==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 0CD686E52E for ; Mon, 12 Aug 2019 14:10: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 --===============1977090980== Content-Type: multipart/alternative; boundary="15656190110.d8bBDAAb1.31843" Content-Transfer-Encoding: 7bit --15656190110.d8bBDAAb1.31843 Date: Mon, 12 Aug 2019 14:10:10 +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=3D109955 --- Comment #85 from Mauro Gaspari --- (In reply to Pierre-Eric Pelloux-Prayer from comment #84) > (In reply to Mauro Gaspari from comment #82) > > (In reply to Pierre-Eric Pelloux-Prayer from comment #81) > > > Can anyone provide a apitrace/renderdoc capture that can reliably rep= roduce > > > the crash/freeze? > >=20 > > Hello, Sadly my freezes are hard to reproduce. Sometimes I can play for= a > > day with no freeze, sometimes it freezes in 10 minutes, one hour, and s= o on. > >=20 >=20 > Ok. >=20 > This patch https://patchwork.freedesktop.org/series/64792/ might help: it > won't fix any issue, but when a timeout is detected it should allow the s= oft > recovery of the GPU. >=20 > Other things worth trying: setting AMD_DEBUG environment variables. I'd > suggest: >=20 > AMD_DEBUG=3Dzerovram,nodma,nodpbb >=20 > There are others (see mesa/src/gallium/drivers/radeonsi/si_pipe.c) to try= if > these don't help. Thank you. I will first try to reintroduce the kernel parameters I previously used. Do= you think those can help at all? CPU rcu_nocbs=3D0-15 (adjust to the number of cores of your cpu) idle=3Dnomwait processor.max_cstate=3D5 pcie_aspm=3Doff=20 GPU amdgpu.dc=3D1 amdgpu.vm_update_mode=3D0 amdgpu.dpm=3D-1 amdgpu.ppfeaturemask=3D0xffffffff amdgpu.vm_fault_stop=3D2 amdgpu.vm_debug=3D1 amdgpu.gpu_recovery=3D0 --=20 You are receiving this mail because: You are the assignee for the bug.= --15656190110.d8bBDAAb1.31843 Date: Mon, 12 Aug 2019 14:10: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

Comme= nt # 85 on bug 10995= 5 from = Mauro Gaspari
(In reply to Pierre-Eric Pelloux-Prayer from comment #84)
> (In reply to Mauro Gaspari from comment #82)
> > (In reply to Pierre-Eric Pelloux-Prayer from comment #81)
> > > Can anyone provide a apitrace/renderdoc capture that can rel=
iably reproduce
> > > the crash/freeze?
> >=20
> > Hello, Sadly my freezes are hard to reproduce. Sometimes I can pl=
ay for a
> > day with no freeze, sometimes it freezes in 10 minutes, one hour,=
 and so on.
> >=20
>=20
> Ok.
>=20
> This patch https://patchwork.freedesktop.org/series/64792/ might help: it
> won't fix any issue, but when a timeout is detected it should allow th=
e soft
> recovery of the GPU.
>=20
> Other things worth trying: setting AMD_DEBUG environment variables. I'd
> suggest:
>=20
>    AMD_DEBUG=3Dzerovram,nodma,nodpbb
>=20
> There are others (see mesa/src/gallium/drivers/radeonsi/si_pipe.c) to =
try if
> these don't help.

Thank you.

I will first try to reintroduce the kernel parameters I previously used. Do=
 you
think those can help at all?

CPU
rcu_nocbs=3D0-15 (adjust to the number of cores of your cpu)
idle=3Dnomwait
processor.max_cstate=3D5
pcie_aspm=3Doff=20

GPU
amdgpu.dc=3D1
amdgpu.vm_update_mode=3D0
amdgpu.dpm=3D-1
amdgpu.ppfeaturemask=3D0xffffffff
amdgpu.vm_fault_stop=3D2
amdgpu.vm_debug=3D1
amdgpu.gpu_recovery=3D0


You are receiving this mail because:
  • You are the assignee for the bug.
= --15656190110.d8bBDAAb1.31843-- --===============1977090980== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1977090980==--