From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 97879] [amdgpu] Rocket League: long hangs (several seconds)
when loading assets (models/textures/shaders?)
Date: Sun, 16 Oct 2016 12:41:14 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1485077182=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 461A46E099
for ; Sun, 16 Oct 2016 12:41:14 +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
--===============1485077182==
Content-Type: multipart/alternative; boundary="14766216744.83fC13437.2557";
charset="UTF-8"
--14766216744.83fC13437.2557
Date: Sun, 16 Oct 2016 12:41:14 +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=3D97879
--- Comment #36 from Silvan Jegen ---
(In reply to Marek Ol=C5=A1=C3=A1k from comment #35)
> Well, it's unreal engine 3, so it doesn't surprise me that it compiles
> shaders on demand. All UE3 games are affected in the same way.
>=20
> Possible solution 1:
> - persistent shader cache on the disk
>=20
> Possible solution 2:
> - convert shaders from TGSI to ISA in Mesa (we can use the LLVM assembler,
> but we need good register allocation for TGSI)
> - LLVM compilation should follow and be fully asynchronous
>=20
> Comments welcome.
Is it save to assume that the amount of shaders to be compiled is what caus=
es
these stalls?
I am not familiar enough with the problem space to be able to tell you which
one would be better. According to the following quote (from further above)
> Micael Bergeron 2016-09-27 16:07:38 UTC
> I can reproduce this every time.=20
> Using amdgpu-pro seems to fix the problem.
amdgpu-pro doesn't seem to have this issue. Do we know what AMD does in its
closed driver (persistent shader cache or something else)?
Even if it works for AMD's closed driver it doesn't meant that the same
approach would be feasible for the Open Source one of course.
--=20
You are receiving this mail because:
You are on the CC list for the bug.=
--14766216744.83fC13437.2557
Date: Sun, 16 Oct 2016 12:41:14 +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 # 36
on bug 97879<=
/a>
from Silvan Jegen
(In reply to Marek Ol=C5=A1=C3=A1k from comment #35)
> Well, it's unreal engine 3, so it doesn't surpri=
se me that it compiles
> shaders on demand. All UE3 games are affected in the same way.
>=20
> Possible solution 1:
> - persistent shader cache on the disk
>=20
> Possible solution 2:
> - convert shaders from TGSI to ISA in Mesa (we can use the LLVM assemb=
ler,
> but we need good register allocation for TGSI)
> - LLVM compilation should follow and be fully asynchronous
>=20
> Comments welcome.
Is it save to assume that the amount of shaders to be compiled is what caus=
es
these stalls?
I am not familiar enough with the problem space to be able to tell you which
one would be better. According to the following quote (from further above)
> Micael Bergeron 2016-09-27 16:07:38 UTC
> I can reproduce this every time.=20
> Using amdgpu-pro seems to fix the problem.
amdgpu-pro doesn't seem to have this issue. Do we know what AMD does in its
closed driver (persistent shader cache or something else)?
Even if it works for AMD's closed driver it doesn't meant that the same
approach would be feasible for the Open Source one of course.
You are receiving this mail because:
- You are on the CC list for the bug.
=
--14766216744.83fC13437.2557--
--===============1485077182==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1485077182==--