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 14:29:13 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0889045899==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 10A176E045 for ; Sun, 16 Oct 2016 14:29:13 +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 --===============0889045899== Content-Type: multipart/alternative; boundary="14766281520.fa8fBfC.10648"; charset="UTF-8" --14766281520.fa8fBfC.10648 Date: Sun, 16 Oct 2016 14:29:12 +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 #37 from Micael Bergeron --- The number of shaders is quite astonishing. Could using the r600 shader compiler LLVM (--enable-r600-llvm-compiler) fix this? As for the future, I think a persistent shader cache is probably the quicke= st way to patch this so the game is enjoyable. After that, a more subtle appro= ach could be used: > 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 Rocket League is a really popular game, which I think the Linux community should embrace. Thank you guys for making this work. --=20 You are receiving this mail because: You are on the CC list for the bug.= --14766281520.fa8fBfC.10648 Date: Sun, 16 Oct 2016 14:29:12 +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 # 37 on bug 97879<= /a> from Micael Bergeron
The number of shaders is quite astonishing.

Could using the r600 shader compiler LLVM (--enable-r600-llvm-compiler) fix
this?

As for the future, I think a persistent shader cache is probably the quicke=
st
way to patch this so the game is enjoyable. After that, a more subtle appro=
ach
could be used:

> 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

Rocket League is a really popular game, which I think the Linux community
should embrace. Thank you guys for making this work.


You are receiving this mail because:
  • You are on the CC list for the bug.
= --14766281520.fa8fBfC.10648-- --===============0889045899== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0889045899==--