From: bugzilla-daemon@freedesktop.org Subject: [Bug 107655] X segfaults on startup in r300_dri.so, making system unusable Date: Mon, 27 Aug 2018 15:05:32 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0908551183==" 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 325056E0C9 for ; Mon, 27 Aug 2018 15:05:32 +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 --===============0908551183== Content-Type: multipart/alternative; boundary="15353823320.4AB7a96fF.15687" Content-Transfer-Encoding: 7bit --15353823320.4AB7a96fF.15687 Date: Mon, 27 Aug 2018 15:05:32 +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=3D107655 Michel D=C3=A4nzer changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop. |.org |org Status|RESOLVED |REOPENED QA Contact|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop. |.org |org Component|Drivers/Gallium/r300 |Drivers/Gallium/swr Resolution|NOTOURBUG |--- --- Comment #5 from Michel D=C3=A4nzer --- (In reply to Sergey Kondakov from comment #4) > I don't know the actual reason of the crash but the guys there figured ou= t that > the crash was coming from AVX instruction in Mesa's SWR code. The affected > machine does not support any kind of AVX, so it threw out the error. But = it's > unclear why SWR even been trying to initialize during the load of r300_dr= i. I think it's the combination of two things: * All Gallium drivers are linked into a single binary (so-called mega-drive= r) * SWR is compiled with AVX support and has initializers which are automatic= ally executed when the above binary is dlopen()ed. Until there's a solution for this, SWR cannot be enabled in a build which h= as to run on non-AVX capable CPUs. --=20 You are receiving this mail because: You are the assignee for the bug.= --15353823320.4AB7a96fF.15687 Date: Mon, 27 Aug 2018 15:05:32 +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 10765= 5
What Removed Added
Assignee dri-devel@lists.freedesktop.org mesa-dev@lists.freedesktop.org
Status RESOLVED REOPENED
QA Contact dri-devel@lists.freedesktop.org mesa-dev@lists.freedesktop.org
Component Drivers/Gallium/r300 Drivers/Gallium/swr
Resolution NOTOURBUG ---

Commen= t # 5 on bug 10765= 5 from Michel D=C3=A4nzer
(In reply to Sergey Kondakov from comment #4)
> I don't know the actual reason of the crash but =
the guys there figured out that
> the crash was coming from AVX instruction in Mesa's SWR code. The affe=
cted
> machine does not support any kind of AVX, so it threw out the error. B=
ut it's
> unclear why SWR even been trying to initialize during the load of r300=
_dri.

I think it's the combination of two things:

* All Gallium drivers are linked into a single binary (so-called mega-drive=
r)

* SWR is compiled with AVX support and has initializers which are automatic=
ally
executed when the above binary is dlopen()ed.

Until there's a solution for this, SWR cannot be enabled in a build which h=
as
to run on non-AVX capable CPUs.


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