From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 99799] Civilization VI makes nouveau crash on register allocation Date: Sun, 17 Dec 2017 14:06:29 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0725628381==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0725628381== Content-Type: multipart/alternative; boundary="15135195890.4Cc0D9.7013"; charset="UTF-8" --15135195890.4Cc0D9.7013 Date: Sun, 17 Dec 2017 14:06:29 +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=3D99799 --- Comment #7 from Karol Herbst --- (In reply to Rhys Kidd from comment #6) > As an update, the latest Civ6 (v1.0.0.167) doesn't experience a crash in > game with either of the two following graphics stack combinations on GP10= 7M > for me: >=20 > Mesa 17.2.2 / libdrm 2.4.83 / Kernel 4.15-rc1 > Mesa 17.4.0-devel (git-546633dce2) / libdrm 2.4.83 / Kernel 4.15-rc1 >=20 > I ran both the benchmark mode and also the 'Play Now' option. >=20 > Note: Visual corruptions remain - a number of blocks of blue colour and > incorrectly clipped visual elements. well on Pascal we have 255 registers, on Kepler1 just 63. (In reply to Gediminas Jakutis from comment #4) > It now consistently segfaults in another point instead. > Backtrace and whatnot: https://seriouss.am/etc/civ-gdb-2017-02-16 >=20 > I should note that NV50_PROG_OPTIMIZE=3D0 prevents a segfault, same as wi= thout > the patch. yeah, I know what the problem here is. With higher optimization levels we g= et wide values being a block of more than just one register. Currently we can't spill those values. I tried to fix it, but also kind of failed... --=20 You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.= --15135195890.4Cc0D9.7013 Date: Sun, 17 Dec 2017 14:06:29 +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

Comment= # 7 on bug 99799<= /a> from Karol Herbst
(In reply to Rhys Kidd from comment #6)
> As an update, the latest Civ6 (v1.0.0.167) doesn=
't experience a crash in
> game with either of the two following graphics stack combinations on G=
P107M
> for me:
>=20
> Mesa 17.2.2 / libdrm 2.4.83 / Kernel 4.15-rc1
> Mesa 17.4.0-devel (git-546633dce2) / libdrm 2.4.83 / Kernel 4.15-rc1
>=20
> I ran both the benchmark mode and also the 'Play Now' option.
>=20
> Note: Visual corruptions remain - a number of blocks of blue colour and
> incorrectly clipped visual elements.

well on Pascal we have 255 registers, on Kepler1 just 63.


(In reply to Gediminas Jakutis from =
comment #4)
> It now consistently segfaults in another point i=
nstead.
> Backtrace and whatnot: https://seriouss.am/etc/civ-gdb-2017-02-16
>=20
> I should note that NV50_PROG_OPTIMIZE=3D0 prevents a segfault, same as=
 without
> the patch.

yeah, I know what the problem here is. With higher optimization levels we g=
et
wide values being a block of more than just one register. Currently we can't
spill those values. I tried to fix it, but also kind of failed...


You are receiving this mail because:
  • You are the assignee for the bug.
  • You are the QA Contact for the bug.
= --15135195890.4Cc0D9.7013-- --===============0725628381== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============0725628381==--