From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 80419] XCOM: Enemy Unknown Causes lockup Date: Tue, 22 Dec 2015 22:38:04 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1425431541==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3F8476E45E for ; Tue, 22 Dec 2015 14:38:04 -0800 (PST) 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 --===============1425431541== Content-Type: multipart/alternative; boundary="1450823884.ce6fCBa2.5933"; charset="UTF-8" --1450823884.ce6fCBa2.5933 Date: Tue, 22 Dec 2015 22:38:04 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D80419 --- Comment #87 from Kamil P=C3=A1ral --- Created attachment 120655 --> https://bugs.freedesktop.org/attachment.cgi?id=3D120655&action=3Dedit gdb backtrace from xorg when system locks up during glretrace replay Thanks Nicolai and others for looking into this. I have some good news. The apitrace developer patched glretrace, so that it no longer crashes duri= ng replay. He says it's a bug inside XCOM. He also says the problem might like= ly cause the radeonsi driver crash as well. See his comment here: https://github.com/apitrace/apitrace/issues/407#issuecomment-166619366 (If this indeed turns out to be an XCOM bug, it would be nice if we could p= ut some safeguards into the driver and didn't crash for invalid commands, but = I'm saying that as someone who knows exactly zero about gpu driver programming). Also, now that glretrace does not crash, I'm able to easily loop the trace until its very end. In just a handful of replays, my system locked up 3 tim= es. I haven't seen all lockups, but at least once it occurred exactly at the po= int where the lockup occurred while recording (at the very end). So it seems I'm able to reproduce this with reasonable likelihood, and therefore can test s= ome fixes if needed. (In reply to Michel D=C3=A4nzer from comment #77) > No need, it's not important. The assumption for now is that the Xorg crash > is caused by the GPU hang. If you happen to get a gdb backtrace of it in = the > future, that will help verify this assumption, but it's no more than nice= to > have. I have it now, attaching. --=20 You are receiving this mail because: You are the assignee for the bug. --1450823884.ce6fCBa2.5933 Date: Tue, 22 Dec 2015 22:38:04 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 87 on bug 80419<= /a> from Kamil P=C3=A1ral
Created attachment 120655 [details]
gdb backtrace from xorg when system locks up during glretrace replay

Thanks Nicolai and others for looking into this. I have some good news.

The apitrace developer patched glretrace, so that it no longer crashes duri=
ng
replay. He says it's a bug inside XCOM. He also says the problem might like=
ly
cause the radeonsi driver crash as well. See his comment here:
https://github.com/apitrace/apitrace/issues/407#issuecomment-166619=
366

(If this indeed turns out to be an XCOM bug, it would be nice if we could p=
ut
some safeguards into the driver and didn't crash for invalid commands, but =
I'm
saying that as someone who knows exactly zero about gpu driver programming).

Also, now that glretrace does not crash, I'm able to easily loop the trace
until its very end. In just a handful of replays, my system locked up 3 tim=
es.
I haven't seen all lockups, but at least once it occurred exactly at the po=
int
where the lockup occurred while recording (at the very end). So it seems I'm
able to reproduce this with reasonable likelihood, and therefore can test s=
ome
fixes if needed.

(In reply to Michel D=C3=A4nzer from comment #77)
> No need, it's not important. The assumption for =
now is that the Xorg crash
> is caused by the GPU hang. If you happen to get a gdb backtrace of it =
in the
> future, that will help verify this assumption, but it's no more than n=
ice to
> have.

I have it now, attaching.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1450823884.ce6fCBa2.5933-- --===============1425431541== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1425431541==--