From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 104306] Mesa 17.3 breaks Firefox and other Xwayland apps on AMD HD7750 Date: Tue, 09 Jan 2018 00:50:11 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1581317189==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 7BDB46E060 for ; Tue, 9 Jan 2018 00:50:11 +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 --===============1581317189== Content-Type: multipart/alternative; boundary="15154590110.8CbbCE82f.7285"; charset="UTF-8" --15154590110.8CbbCE82f.7285 Date: Tue, 9 Jan 2018 00:50:11 +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=3D104306 --- Comment #12 from eric vz --- Subsequent bisects (starting at different ranges so different commits would= be tested) have led me to the same place. No idea why I thought 255573996 work= ed for a while; all new builds from it break for me. I have Pacman packages f= or every build I've made if anyone would find them useful. I narrowed the problem to the final return statement by replacing it with "return true;" which resulted in a working build. I also tried to rule out side-effects from the call by adding "bind =3D screen->check_resource_capability(screen, image->texture, bind) ? 1 : 0;" before the return true so the method would be called but its return value ignored, assuming the compiler is not smart enough to optimize that out. T= hat build worked too.=20 I assume that capability check must sometimes be returning false in some unexpected situations, and something is not handling that. I tried making a debug build of mesa-demos, then gdb glxinfo and set a breakpoint on dri2_validate_usage, but that method appears not to be called before the process hangs. I assume something during system startup calls it, caches t= he result, and leads to these issues downstream? If anyone has any guidance on next steps, I'd appreciate it. --=20 You are receiving this mail because: You are the assignee for the bug.= --15154590110.8CbbCE82f.7285 Date: Tue, 9 Jan 2018 00:50:11 +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 # 12 on bug 10430= 6 from eric vz
Subsequent bisects (starting at different ranges so different =
commits would be
tested) have led me to the same place. No idea why I thought 255573996 work=
ed
for a while; all new builds from it break for me.  I have Pacman packages f=
or
every build I've made if anyone would find them useful.

I narrowed the problem to the final return statement by replacing it with
"return true;" which resulted in a working build.  I also tried t=
o rule out
side-effects from the call by adding "bind =3D
screen->check_resource_capability(screen, image->texture, bind) ? 1 :=
 0;"
before the return true so the method would be called but its return value
ignored, assuming the compiler is not smart enough to optimize that out.  T=
hat
build worked too.=20

I assume that capability check must sometimes be returning false in some
unexpected situations, and something is not handling that.  I tried making a
debug build of mesa-demos, then gdb glxinfo and set a breakpoint on
dri2_validate_usage, but that method appears not to be called before the
process hangs.  I assume something during system startup calls it, caches t=
he
result, and leads to these issues downstream?

If anyone has any guidance on next steps, I'd appreciate it.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15154590110.8CbbCE82f.7285-- --===============1581317189== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1581317189==--