From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 109955] amdgpu [RX Vega 64] system freeze while gaming Date: Sun, 07 Jul 2019 05:31:34 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1082189564==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 82D3A89C48 for ; Sun, 7 Jul 2019 05:31:34 +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 --===============1082189564== Content-Type: multipart/alternative; boundary="15624774941.ffebD2.25711" Content-Transfer-Encoding: 7bit --15624774941.ffebD2.25711 Date: Sun, 7 Jul 2019 05:31:34 +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 #36 from Mauro Gaspari --- (In reply to shadow.archemage from comment #35) > (In reply to Mauro Gaspari from comment #22) >=20 > > The only issue I have not being able to reproduce the issue quickly, is= to > > clearly understand when the issue is resolved by Mesa. It takes hours f= or me > > to get the freeze sometimes.=20 > > If someone has a quick way to trigger system freeze, I am happy to run = more > > tests. >=20 > Hi Mauro, >=20 > The issue happened to me much more frequently when I opted into Steam beta > and ran Monster Hunter: World. Before opting in, the crashes happen around > 1-2 hours after the game starts. With Steam beta though, it happens around > <5 minutes in. >=20 > The only change that I noted when I opted into Steam beta was that the ga= mes > suddenly downloaded some shader pre-caching stuff. Unfortunately, I'm not > too familiar with it, and I'm not too sure if it is related to the proble= m. >=20 > I am running Manjaro, Gnome 3.32.2, Kernel version 5.1.15-1, Mesa 19.1.1. > Let me know if I missed something. >=20 > Thanks, > Eph I am not an expert, but I am quite sure shaders have a big part in this. If= you can, disable shader caching. There are a few tests you can do: 1. Did you try with the kernel parameters I posted above? I always ran all = the parameters together. GPU+CPU and at the time, I did not have crashes for we= eks on my Vega64. I am using a RadeonVII now and it seems those parameters are = not needed. 2. Valve sponsored an interesting project that removes dependency of AMD Me= sa from LLVM. And instead uses ACO. Valve made this available for Arch based systems via AUR, and Ubuntu based system via PPA. If you want to test it, y= ou can check the posts below. I am going to test this myself on both Arch and Ubuntu.=20 https://steamcommunity.com/games/221410/announcements/detail/16026346096368= 94200 https://steamcommunity.com/app/221410/discussions/0/1640915206474070669/ --=20 You are receiving this mail because: You are the assignee for the bug.= --15624774941.ffebD2.25711 Date: Sun, 7 Jul 2019 05:31:34 +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 # 36 on bug 10995= 5 from = Mauro Gaspari
(In reply to shadow.archemage from comment #35)
> (In reply to Mauro Gaspari from comment #22)
>=20
> > The only issue I have not being able to reproduce the issue quick=
ly, is to
> > clearly understand when the issue is resolved by Mesa. It takes h=
ours for me
> > to get the freeze sometimes.=20
> > If someone has a quick way to trigger system freeze, I am happy t=
o run more
> > tests.
>=20
> Hi Mauro,
>=20
> The issue happened to me much more frequently when I opted into Steam =
beta
> and ran Monster Hunter: World. Before opting in, the crashes happen ar=
ound
> 1-2 hours after the game starts. With Steam beta though, it happens ar=
ound
> <5 minutes in.
>=20
> The only change that I noted when I opted into Steam beta was that the=
 games
> suddenly downloaded some shader pre-caching stuff. Unfortunately, I'm =
not
> too familiar with it, and I'm not too sure if it is related to the pro=
blem.
>=20
> I am running Manjaro, Gnome 3.32.2, Kernel version 5.1.15-1, Mesa 19.1=
.1.
> Let me know if I missed something.
>=20
> Thanks,
> Eph

I am not an expert, but I am quite sure shaders have a big part in this. If=
 you
can, disable shader caching.
There are a few tests you can do:
1. Did you try with the kernel parameters I posted above? I always ran all =
the
parameters together. GPU+CPU and at the time, I did not have crashes for we=
eks
on my Vega64. I am using a RadeonVII now and it seems those parameters are =
not
needed.
2. Valve sponsored an interesting project that removes dependency of AMD Me=
sa
from LLVM. And instead uses ACO. Valve made this available for Arch based
systems via AUR, and Ubuntu based system via PPA. If you want to test it, y=
ou
can check the posts below. I am going to test this myself on both Arch and
Ubuntu.=20
https://steamcommunity.com/games/221410/announcements/det=
ail/1602634609636894200
https://steamcommunity.com/app/221410/discussions/0/1640915206474=
070669/


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