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: Mon, 18 Dec 2017 00:53:49 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1221984639==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7B0F489C1F for ; Mon, 18 Dec 2017 00:53:49 +0000 (UTC) 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 --===============1221984639== Content-Type: multipart/alternative; boundary="15135584290.6c4dBDAB.28584"; charset="UTF-8" --15135584290.6c4dBDAB.28584 Date: Mon, 18 Dec 2017 00:53:49 +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 Bug ID: 104306 Summary: Mesa 17.3 breaks Firefox and other Xwayland apps on AMD HD7750 Product: Mesa Version: 17.3 Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: mesabug11@p33.org QA Contact: dri-devel@lists.freedesktop.org On latest stable Archlinux with AMD HD7750, Mesa 17.3 breaks Firefox, Libreoffice, mpv with X11 backend and Chromium (when running WebGL). Launching firefox or glxinfo from command line results in no response and no crashes. There are no errors in dmesg or journalctl, except Probe failed wi= th amdkfd, but blacklisting amdkfd doesn't solve the issue. Using strace on firefox there are system interrupted notices. Chromium works, but opening a= ny WebGL page freezes Chromium. mpv with X11 backend shows Bad Drawable, server failed to allocate resource. Downgrading to mesa 17.2.6 solves the issue. --=20 You are receiving this mail because: You are the assignee for the bug.= --15135584290.6c4dBDAB.28584 Date: Mon, 18 Dec 2017 00:53:49 +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
Bug ID 104306
Summary Mesa 17.3 breaks Firefox and other Xwayland apps on AMD HD7750
Product Mesa
Version 17.3
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter mesabug11@p33.org
QA Contact dri-devel@lists.freedesktop.org

On latest stable Archlinux with AMD HD7750, Mesa 17.3 breaks F=
irefox,
Libreoffice, mpv with X11 backend and Chromium (when running WebGL).

Launching firefox or glxinfo from command line results in no response and no
crashes. There are no errors in dmesg or journalctl, except Probe failed wi=
th
amdkfd, but blacklisting amdkfd doesn't solve the issue. Using strace on
firefox there are system interrupted notices. Chromium works, but opening a=
ny
WebGL page freezes Chromium. mpv with X11 backend shows Bad Drawable, server
failed to allocate resource.

Downgrading to mesa 17.2.6 solves the issue.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15135584290.6c4dBDAB.28584-- --===============1221984639== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1221984639==-- 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, 19 Dec 2017 00:21:47 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0215263830==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 837276E23B for ; Tue, 19 Dec 2017 00:21:47 +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 --===============0215263830== Content-Type: multipart/alternative; boundary="15136429071.4601AAAA3.4054"; charset="UTF-8" --15136429071.4601AAAA3.4054 Date: Tue, 19 Dec 2017 00:21:47 +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 #1 from eric vz --- Similar experience here on Arch Linux with a Radeon HD 8870M / R9 M270X/M37= 0X.=20 Firefox hangs on launch before drawing a window, and Chromium won't start either unless I --disable-gpu. Similar strace results, no amdkfd errors. Archive package 2017/12/15/extra/os/x86_64/mesa-17.2.6-1 works fine, 2017/12/16/extra/os/x86_64/mesa-17.3.0-2 doesn't. Kernel 4.9.69-1-lts #1 S= MP Thu Dec 14 19:51:07 CET 2017 x86_64 GNU/Linux, if it matters. I notice the Arch maintainer changed the build arg --enable-omx to --enable-omx-bellagio in this release. I know nothing of Mesa's build proc= ess, this being my first encounter, but I thought that might be useful to mentio= n in case it's relevant. --=20 You are receiving this mail because: You are the assignee for the bug.= --15136429071.4601AAAA3.4054 Date: Tue, 19 Dec 2017 00:21:47 +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 # 1 on bug 10430= 6 from eric vz
Similar experience here on Arch Linux with a Radeon HD 8870M /=
 R9 M270X/M370X.=20
Firefox hangs on launch before drawing a window, and Chromium won't start
either unless I --disable-gpu.  Similar strace results, no amdkfd errors.

Archive package 2017/12/15/extra/os/x86_64/mesa-17.2.6-1 works fine,
2017/12/16/extra/os/x86_64/mesa-17.3.0-2 doesn't.  Kernel 4.9.69-1-lts #1 S=
MP
Thu Dec 14 19:51:07 CET 2017 x86_64 GNU/Linux, if it matters.

I notice the Arch maintainer changed the build arg --enable-omx to
--enable-omx-bellagio in this release.  I know nothing of Mesa's build proc=
ess,
this being my first encounter, but I thought that might be useful to mentio=
n in
case it's relevant.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15136429071.4601AAAA3.4054-- --===============0215263830== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0215263830==-- 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, 19 Dec 2017 22:30:13 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1647494287==" 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 393F06E359 for ; Tue, 19 Dec 2017 22:30: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 --===============1647494287== Content-Type: multipart/alternative; boundary="15137226130.Eb4542F.31211"; charset="UTF-8" --15137226130.Eb4542F.31211 Date: Tue, 19 Dec 2017 22:30:13 +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 #2 from eric vz --- Working on narrowing down the source of the issue, I've found so far that 17.2.7 builds work fine (though I had to change --enable-omx-bellagio back = to --enable-omx), and 17.3.0-rc3 does not. I'll try an -rc1 build, then I may= be on to learning how to package from a locally bisected git. --=20 You are receiving this mail because: You are the assignee for the bug.= --15137226130.Eb4542F.31211 Date: Tue, 19 Dec 2017 22:30:13 +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 # 2 on bug 10430= 6 from eric vz
Working on narrowing down the source of the issue, I've found =
so far that
17.2.7 builds work fine (though I had to change --enable-omx-bellagio back =
to
--enable-omx), and 17.3.0-rc3 does not.  I'll try an -rc1 build, then I may=
 be
on to learning how to package from a locally bisected git.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15137226130.Eb4542F.31211-- --===============1647494287== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1647494287==-- 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: Wed, 20 Dec 2017 19:12:34 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1094963609==" 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 4D3BE89831 for ; Wed, 20 Dec 2017 19:12:34 +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 --===============1094963609== Content-Type: multipart/alternative; boundary="15137971540.06DA.15457"; charset="UTF-8" --15137971540.06DA.15457 Date: Wed, 20 Dec 2017 19:12:34 +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 #3 from eric vz --- A cycle of git bisect building leads me here: 255573996cc997cb61be9adad3e8fcaa78db5d1f is the first bad commit commit 255573996cc997cb61be9adad3e8fcaa78db5d1f Author: Marek Ol=C5=A1=C3=A1k Date: Mon Oct 9 18:56:22 2017 +0200 st/dri: implement __DRIimageExtension::validateUsage properly Reviewed-by: Daniel Stone Reviewed-by: Nicolai H=C3=A4hnle :040000 040000 691ace5458e444a262bd2632b0234f7c08711674 181aa1f345cafc40db98187dd9e66b115c8f7e52 M src I'm not familiar enough with C or this codebase to render an opinion about = why this commit would have broken things, but I'd love to assist if someone with more perspective needs me to run/test things to determine a resolution here. --=20 You are receiving this mail because: You are the assignee for the bug.= --15137971540.06DA.15457 Date: Wed, 20 Dec 2017 19:12:34 +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 # 3 on bug 10430= 6 from eric vz
A cycle of git bisect building leads me here:

255573996cc997cb61be9adad3e8fcaa78db5d1f is the first bad commit
commit 255573996cc997cb61be9adad3e8fcaa78db5d1f
Author: Marek Ol=C5=A1=C3=A1k <marek.olsak@amd.com>
Date:   Mon Oct 9 18:56:22 2017 +0200

    st/dri: implement __DRIimageExtension::validateUsage properly

    Reviewed-by: Daniel Stone <daniels@collabora.com>
    Reviewed-by: Nicolai H=C3=A4hnle <nicolai.haehnle@amd.com>

:040000 040000 691ace5458e444a262bd2632b0234f7c08711674
181aa1f345cafc40db98187dd9e66b115c8f7e52 M      src

I'm not familiar enough with C or this codebase to render an opinion about =
why
this commit would have broken things, but I'd love to assist if someone with
more perspective needs me to run/test things to determine a resolution here=
.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15137971540.06DA.15457-- --===============1094963609== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1094963609==-- 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: Wed, 20 Dec 2017 19:26:28 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0302145669==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 83EA36E504 for ; Wed, 20 Dec 2017 19:26:28 +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 --===============0302145669== Content-Type: multipart/alternative; boundary="15137979881.E4Dc.18788"; charset="UTF-8" --15137979881.E4Dc.18788 Date: Wed, 20 Dec 2017 19:26:28 +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 #4 from eric vz --- Created attachment 136333 --> https://bugs.freedesktop.org/attachment.cgi?id=3D136333&action=3Dedit Bisect log Bisect log attached. I also had to revert c4ed39f85b (which I did via cherrypick applying b6f41e393e)to build some of these versions. --=20 You are receiving this mail because: You are the assignee for the bug.= --15137979881.E4Dc.18788 Date: Wed, 20 Dec 2017 19:26:28 +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 # 4 on bug 10430= 6 from eric vz
Created attachment 136333 [det=
ails]
Bisect log

Bisect log attached.  I also had to revert c4ed39f85b (which I did via
cherrypick applying b6f41e393e)to build some of these versions.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15137979881.E4Dc.18788-- --===============0302145669== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0302145669==-- 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: Thu, 21 Dec 2017 16:45:49 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0861391094==" 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 388BE6E3D9 for ; Thu, 21 Dec 2017 16:45:49 +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 --===============0861391094== Content-Type: multipart/alternative; boundary="15138747490.02eCD67.17995"; charset="UTF-8" --15138747490.02eCD67.17995 Date: Thu, 21 Dec 2017 16:45:49 +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 #5 from Michel D=C3=A4nzer --- I can't reproduce this with weston or gnome-shell. Which Wayland compositor and which version of Xwayland are you using? Can you get a gdb backtrace of glxinfo when it hangs? --=20 You are receiving this mail because: You are the assignee for the bug.= --15138747490.02eCD67.17995 Date: Thu, 21 Dec 2017 16:45:49 +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 # 5 on bug 10430= 6 from Michel D=C3=A4nzer
I can't reproduce this with weston or gnome-shell.

Which Wayland compositor and which version of Xwayland are you using?

Can you get a gdb backtrace of glxinfo when it hangs?


You are receiving this mail because:
  • You are the assignee for the bug.
= --15138747490.02eCD67.17995-- --===============0861391094== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0861391094==-- 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: Thu, 21 Dec 2017 17:18:09 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1015735245==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 19A986E3E5 for ; Thu, 21 Dec 2017 17:18:09 +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 --===============1015735245== Content-Type: multipart/alternative; boundary="15138766890.1d394EA.26743"; charset="UTF-8" --15138766890.1d394EA.26743 Date: Thu, 21 Dec 2017 17:18:09 +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 #6 from eric vz --- Created attachment 136345 --> https://bugs.freedesktop.org/attachment.cgi?id=3D136345&action=3Dedit Hung glxinfo backtrace gnome-shell 3.26.2+9+ga3736d3a3-1 xorg-server-xwayland 1.19.5-1 Backtrace attached. I've also got strace output if it would be useful. Th= anks for your help! --=20 You are receiving this mail because: You are the assignee for the bug.= --15138766890.1d394EA.26743 Date: Thu, 21 Dec 2017 17:18:09 +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 # 6 on bug 10430= 6 from eric vz
Created attachment 136345=
 [details]
Hung glxinfo backtrace

gnome-shell 3.26.2+9+ga3736d3a3-1
xorg-server-xwayland 1.19.5-1

Backtrace attached.  I've also got strace output if it would be useful.  Th=
anks
for your help!


You are receiving this mail because:
  • You are the assignee for the bug.
= --15138766890.1d394EA.26743-- --===============1015735245== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1015735245==-- 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: Thu, 21 Dec 2017 20:33:16 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0518914079==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id A6D756E681 for ; Thu, 21 Dec 2017 20:33:16 +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 --===============0518914079== Content-Type: multipart/alternative; boundary="15138883960.DAcDaCD.11929"; charset="UTF-8" --15138883960.DAcDaCD.11929 Date: Thu, 21 Dec 2017 20:33:16 +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 eric vz changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #136345|0 |1 is obsolete| | --- Comment #7 from eric vz --- Created attachment 136350 --> https://bugs.freedesktop.org/attachment.cgi?id=3D136350&action=3Dedit Hung glxinfo backtrace - mesa 17.3.1-1 On the chance you'd want to see a newer version, I built mesa 17.3.1-1 (with debug symbols this time!) and have the same issue. Backtrace attached. --=20 You are receiving this mail because: You are the assignee for the bug.= --15138883960.DAcDaCD.11929 Date: Thu, 21 Dec 2017 20:33:16 +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 eric vz changed bug 10430= 6
What Removed Added
Attachment #136345 is obsolete   1

Commen= t # 7 on bug 10430= 6 from eric vz
Created a=
ttachment 136350 [details]
Hung glxinfo backtrace - mesa 17.3.1-1

On the chance you'd want to see a newer version, I built mesa 17.3.1-1 (with
debug symbols this time!) and have the same issue.  Backtrace attached.
        


You are receiving this mail because:
  • You are the assignee for the bug.
= --15138883960.DAcDaCD.11929-- --===============0518914079== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0518914079==-- 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: Thu, 28 Dec 2017 20:28:30 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1672069565==" 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 16861894C9 for ; Thu, 28 Dec 2017 20:28:30 +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 --===============1672069565== Content-Type: multipart/alternative; boundary="15144929101.AB03.15134"; charset="UTF-8" --15144929101.AB03.15134 Date: Thu, 28 Dec 2017 20:28:30 +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 Emil Velikov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |breno.ec@gmail.com --- Comment #8 from Emil Velikov --- *** Bug 104351 has been marked as a duplicate of this bug. *** --=20 You are receiving this mail because: You are the assignee for the bug.= --15144929101.AB03.15134 Date: Thu, 28 Dec 2017 20:28:30 +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 Emil Velikov changed bug 10430= 6
What Removed Added
CC   breno.ec@gmail.com

Commen= t # 8 on bug 10430= 6 from Emil Velikov
*** Bug 104351 has been marked as a du=
plicate of this bug. ***


You are receiving this mail because:
  • You are the assignee for the bug.
= --15144929101.AB03.15134-- --===============1672069565== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1672069565==-- 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, 02 Jan 2018 21:14:38 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1086209604==" 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 88B6C893D5 for ; Tue, 2 Jan 2018 21:14:38 +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 --===============1086209604== Content-Type: multipart/alternative; boundary="15149276781.ACb9eeEB6.27592"; charset="UTF-8" --15149276781.ACb9eeEB6.27592 Date: Tue, 2 Jan 2018 21:14:38 +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 #9 from Jonathan Williams --- I also have this problem on Arch Linux with a Radeon HD 7770, mesa 17.3.1-2, gnome-shell 3.26.2+9+ga3736d3a3-1. The Gnome Wayland session starts, but several XWayland apps (Firefox, Thunderbird, steam client) do not. glxinfo shows no response when run, as reported above. Downgrading to mesa 17.2.6 appears to fix it, but for this card I can also = work around it by switching to the amdgpu kernel module instead of the default radeon, which appears to resolve the issues under mesa 17.3. --=20 You are receiving this mail because: You are the assignee for the bug.= --15149276781.ACb9eeEB6.27592 Date: Tue, 2 Jan 2018 21:14:38 +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 # 9 on bug 10430= 6 from Jonathan Williams
I also have this problem on Arch Linux with a Radeon HD 7770, =
mesa 17.3.1-2,
gnome-shell 3.26.2+9+ga3736d3a3-1.  The Gnome Wayland session starts, but
several XWayland apps (Firefox, Thunderbird, steam client) do not.  glxinfo
shows no response when run, as reported above.

Downgrading to mesa 17.2.6 appears to fix it, but for this card I can also =
work
around it by switching to the amdgpu kernel module instead of the default
radeon, which appears to resolve the issues under mesa 17.3.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15149276781.ACb9eeEB6.27592-- --===============1086209604== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1086209604==-- 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: Wed, 03 Jan 2018 19:51:09 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1007979371==" 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 EE4676E034 for ; Wed, 3 Jan 2018 19:51:08 +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 --===============1007979371== Content-Type: multipart/alternative; boundary="15150090680.835b9f.14062"; charset="UTF-8" --15150090680.835b9f.14062 Date: Wed, 3 Jan 2018 19:51:08 +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 #10 from eric vz --- Following up on this, it looks like my bisect wa bad. I retried commit 255573996cc997cb61be9adad3e8fcaa78db5d1f and it works fine.=20 I will re-bisect to find the real offending commit and report when I have an answer. --=20 You are receiving this mail because: You are the assignee for the bug.= --15150090680.835b9f.14062 Date: Wed, 3 Jan 2018 19:51:08 +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 # 10 on bug 10430= 6 from eric vz
Following up on this, it looks like my bisect wa bad.  I retri=
ed commit
255573996cc997cb61be9adad3e8fcaa78db5d1f and it works fine.=20

I will re-bisect to find the real offending commit and report when I have an
answer.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15150090680.835b9f.14062-- --===============1007979371== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1007979371==-- 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: Fri, 05 Jan 2018 06:22:58 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1063313411==" 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 2EEC36E2C3 for ; Fri, 5 Jan 2018 06:22:58 +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 --===============1063313411== Content-Type: multipart/alternative; boundary="15151333781.BEA11a9.29697"; charset="UTF-8" --15151333781.BEA11a9.29697 Date: Fri, 5 Jan 2018 06:22:58 +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 #11 from Sergey Kvachonok --- I can confirm that switching from radeon to amdgpu on 03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn XT [Radeon HD 7870 GHz Edition] Device: AMD Radeon HD 7800 Series (PITCAIRN / DRM 3.19.0 / 4.14.11-1-ARCH, = LLVM 5.0.1) (0x6818) fixes the issue. --=20 You are receiving this mail because: You are the assignee for the bug.= --15151333781.BEA11a9.29697 Date: Fri, 5 Jan 2018 06:22:58 +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 # 11 on bug 10430= 6 from Sergey Kvachonok
I can confirm that switching from radeon to amdgpu on

03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Pitcairn XT [Radeon HD 7870 GHz Edition]

Device: AMD Radeon HD 7800 Series (PITCAIRN / DRM 3.19.0 / 4.14.11-1-ARCH, =
LLVM
5.0.1) (0x6818)

fixes the issue.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15151333781.BEA11a9.29697-- --===============1063313411== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1063313411==-- 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==-- 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 13:53:35 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1870416849==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 0A4F36E0F8 for ; Tue, 9 Jan 2018 13:53:35 +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 --===============1870416849== Content-Type: multipart/alternative; boundary="15155060150.D6D45dB80.31993"; charset="UTF-8" --15155060150.D6D45dB80.31993 Date: Tue, 9 Jan 2018 13:53:35 +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 #13 from Michel D=C3=A4nzer --- (In reply to eric vz from comment #12) > [...] gdb glxinfo and set a breakpoint on dri2_validate_usage, but that m= ethod > appears not to be called before the process hangs. It's not called in the client but in the Wayland compositor process, or may= be in Xwayland. --=20 You are receiving this mail because: You are the assignee for the bug.= --15155060150.D6D45dB80.31993 Date: Tue, 9 Jan 2018 13:53:35 +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 # 13 on bug 10430= 6 from Michel D=C3=A4nzer
(In reply to eric vz from comment #12)
> [...] gdb glxinfo and set a breakpoint on dri2_v=
alidate_usage, but that method
> appears not to be called before the process hangs.

It's not called in the client but in the Wayland compositor process, or may=
be
in Xwayland.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15155060150.D6D45dB80.31993-- --===============1870416849== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1870416849==-- 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: Wed, 10 Jan 2018 16:47:17 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0378086949==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 060CC6E31A for ; Wed, 10 Jan 2018 16:47:17 +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 --===============0378086949== Content-Type: multipart/alternative; boundary="15156028362.FC44.23445"; charset="UTF-8" --15156028362.FC44.23445 Date: Wed, 10 Jan 2018 16:47:16 +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 #14 from eric vz --- Thanks, Michel. On a hanging call to glxinfo, dri2_validate_usage is being called from gbm_dri_bo_import, which gets parameters of a 100x100 FD image buffer for usage 5 (scanout | rendering). However, the image texture winds= up with is_displayable =3D 0, so si_check_resource_capabilities returns false, gbm_dri_bo_import destroys the image, and glxinfo hangs. I confirmed that = if I set variable usage =3D 0 the problem does not occur. I have not yet been a= ble to trace where the texture flags are set, but I got far enough to find that they're being read from the image buffer as metadata.=20=20 However, it occurs to me that as a newcomer to the domain (e.g., I had to google what a scanout is), I don't know the real problem: * Should usage include scanout? * Should the image metadata include is_displayable?=20 * Should the null return from gbm_dri_bo_import cause the caller to hang? Either point 1 or point 2 seems like it must be wrong, and might be the eas= iest fix. Point 1 seems the stronger case, since glxinfo doesn't actually draw anything as far as I'm aware. Since Firefox, Chromium, and other apps also = seem to fail on this, I'm expecting to find some kind of common initialization c= ode that does it. Will report back when I get time to dig. Or, if anyone knows better than I do which avenue to pursue, I'm happy to be redirected. I don= 't expect to have time to look at this until the weekend. --=20 You are receiving this mail because: You are the assignee for the bug.= --15156028362.FC44.23445 Date: Wed, 10 Jan 2018 16:47:16 +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 # 14 on bug 10430= 6 from eric vz
Thanks, Michel.  On a hanging call to glxinfo, dri2_validate_u=
sage is being
called from gbm_dri_bo_import, which gets parameters of a 100x100 FD image
buffer for usage 5 (scanout | rendering).  However, the image texture winds=
 up
with is_displayable =3D 0, so si_check_resource_capabilities returns false,
gbm_dri_bo_import destroys the image, and glxinfo hangs.  I confirmed that =
if I
set variable usage =3D 0 the problem does not occur.  I have not yet been a=
ble to
trace where the texture flags are set, but I got far enough to find that
they're being read from the image buffer as metadata.=20=20

However, it occurs to me that as a newcomer to the domain (e.g., I had to
google what a scanout is), I don't know the real problem:

* Should usage include scanout?
* Should the image metadata include is_displayable?=20
* Should the null return from gbm_dri_bo_import cause the caller to hang?

Either point 1 or point 2 seems like it must be wrong, and might be the eas=
iest
fix. Point 1 seems the stronger case, since glxinfo doesn't actually draw
anything as far as I'm aware. Since Firefox, Chromium, and other apps also =
seem
to fail on this, I'm expecting to find some kind of common initialization c=
ode
that does it.  Will report back when I get time to dig.  Or, if anyone knows
better than I do which avenue to pursue, I'm happy to be redirected.  I don=
't
expect to have time to look at this until the weekend.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15156028362.FC44.23445-- --===============0378086949== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0378086949==-- 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: Fri, 26 Jan 2018 17:35:01 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0187702907==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 48CF96E444 for ; Fri, 26 Jan 2018 17:35:01 +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 --===============0187702907== Content-Type: multipart/alternative; boundary="15169881011.a8ea0Ba2.11757" Content-Transfer-Encoding: 7bit --15169881011.a8ea0Ba2.11757 Date: Fri, 26 Jan 2018 17:35:01 +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 #15 from Michel D=C3=A4nzer --- Thanks for the help, Eric. https://patchwork.freedesktop.org/patch/200999/ fixes this for me. --=20 You are receiving this mail because: You are the assignee for the bug.= --15169881011.a8ea0Ba2.11757 Date: Fri, 26 Jan 2018 17:35:01 +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


You are receiving this mail because:
  • You are the assignee for the bug.
= --15169881011.a8ea0Ba2.11757-- --===============0187702907== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0187702907==-- 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: Fri, 26 Jan 2018 23:24:13 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0273454489==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E14966E75D for ; Fri, 26 Jan 2018 23:24:12 +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 --===============0273454489== Content-Type: multipart/alternative; boundary="15170090520.5AdC908De.8714" Content-Transfer-Encoding: 7bit --15170090520.5AdC908De.8714 Date: Fri, 26 Jan 2018 23:24: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=3D104306 --- Comment #16 from eric vz --- Thanks a lot, Michel! I confirmed that 255573996 plus the linked patch wor= ks for me as well. --=20 You are receiving this mail because: You are the assignee for the bug.= --15170090520.5AdC908De.8714 Date: Fri, 26 Jan 2018 23:24: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

Comme= nt # 16 on bug 10430= 6 from eric vz
Thanks a lot, Michel!  I confirmed that 255573996 plus the lin=
ked patch works
for me as well.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15170090520.5AdC908De.8714-- --===============0273454489== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0273454489==-- 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: Wed, 31 Jan 2018 09:07:46 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2061253076==" 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 A87836EB59 for ; Wed, 31 Jan 2018 09:07:46 +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 --===============2061253076== Content-Type: multipart/alternative; boundary="15173896661.37fAE246B.15577" Content-Transfer-Encoding: 7bit --15173896661.37fAE246B.15577 Date: Wed, 31 Jan 2018 09:07:46 +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 Michel D=C3=A4nzer changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #17 from Michel D=C3=A4nzer --- Thanks for the report, fixed in Git master (and should get backported to a future 17.3.y release): Commit: 1cf1bf32eff5ffca0b928c0884b0e792207b61b7 URL:=20=20=20 http://cgit.freedesktop.org/mesa/mesa/commit/?id=3D1cf1bf32eff5ffca0b928c08= 84b0e792207b61b7 Author: Michel D=C3=A4nzer Date: Fri Jan 26 18:32:32 2018 +0100 winsys/radeon: Compute is_displayable in surf_drm_to_winsys --=20 You are receiving this mail because: You are the assignee for the bug.= --15173896661.37fAE246B.15577 Date: Wed, 31 Jan 2018 09:07:46 +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 = Michel D=C3=A4nzer changed bug 10430= 6
What Removed Added
Resolution --- FIXED
Status NEW RESOLVED

Comme= nt # 17 on bug 10430= 6 from Michel D=C3=A4nzer
Thanks for the report, fixed in Git master (and should get bac=
kported to a
future 17.3.y release):

Commit: 1cf1bf32eff5ffca0b928c0884b0e792207b61b7
URL:=20=20=20
http://cgit.freedesktop.org/mesa/mesa/commit/?=
id=3D1cf1bf32eff5ffca0b928c0884b0e792207b61b7

Author: Michel D=C3=A4nzer <michel.daenzer@amd.com>
Date:   Fri Jan 26 18:32:32 2018 +0100

winsys/radeon: Compute is_displayable in surf_drm_to_winsys


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