From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96835] "gallium: Force blend color to 16-byte alignment" crash with "-march=native -O3" causes some 32bit games to crash Date: Wed, 06 Jul 2016 23:05:24 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1559872084==" 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 303F36E1F0 for ; Wed, 6 Jul 2016 23:05:24 +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 --===============1559872084== Content-Type: multipart/alternative; boundary="14678463230.Eadc801D.18626"; charset="UTF-8" --14678463230.Eadc801D.18626 Date: Wed, 6 Jul 2016 23:05:23 +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=3D96835 Bug ID: 96835 Summary: "gallium: Force blend color to 16-byte alignment" crash with "-march=3Dnative -O3" causes some 32bit games to crash Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: raffarti@zoho.com QA Contact: dri-devel@lists.freedesktop.org Building mesa with "-march=3Dnative -O3" causes some 32 bit games to crash = at start since "gallium: Force blend color to 16-byte alignment" patch (d8d6091a846ac2a40a011d512d6d57f6c8442e6a). This happens using both opengl = or nine. Everything works as expected using "-march=3Dnative -O2". tested games are: Native: The Talos Princible (32 bit) -- Always crash The Talos Princible (64 bit) -- Works Wine (32bit): League of Legends -- Always crash World of Warcraft 1.21 -- Always crash World of Warcraft 2.4.3 -- Sometimes crashes World of Warcraft 3.3.5 -- Most times works --=20 You are receiving this mail because: You are the assignee for the bug.= --14678463230.Eadc801D.18626 Date: Wed, 6 Jul 2016 23:05:23 +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 96835
Summary "gallium: Force blend color to 16-byte alignment" c= rash with "-march=3Dnative -O3" causes some 32bit games to crash
Product Mesa
Version git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter raffarti@zoho.com
QA Contact dri-devel@lists.freedesktop.org

Building mesa with "-march=3Dnative -O3" causes some=
 32 bit games to crash at
start since "gallium: Force blend color to 16-byte alignment" pat=
ch
(d8d6091a846ac2a40a011d512d6d57f6c8442e6a). This happens using both opengl =
or
nine. Everything works as expected using "-march=3Dnative -O2".
tested games are:
Native:
The Talos Princible (32 bit) -- Always crash
The Talos Princible (64 bit) -- Works
Wine (32bit):
League of Legends -- Always crash
World of Warcraft 1.21 -- Always crash
World of Warcraft 2.4.3 -- Sometimes crashes
World of Warcraft 3.3.5 -- Most times works


You are receiving this mail because:
  • You are the assignee for the bug.
= --14678463230.Eadc801D.18626-- --===============1559872084== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1559872084==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96835] "gallium: Force blend color to 16-byte alignment" crash with "-march=native -O3" causes some 32bit games to crash Date: Thu, 07 Jul 2016 00:43:16 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0538936794==" 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 551E76E6EB for ; Thu, 7 Jul 2016 00:43: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 --===============0538936794== Content-Type: multipart/alternative; boundary="14678521962.A7c1fedfa.7737"; charset="UTF-8" --14678521962.A7c1fedfa.7737 Date: Thu, 7 Jul 2016 00:43: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=3D96835 Michel D=C3=A4nzer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chuck.atkins@kitware.com --- Comment #1 from Michel D=C3=A4nzer --- Please attach a gdb backtrace of a crash. --=20 You are receiving this mail because: You are the assignee for the bug.= --14678521962.A7c1fedfa.7737 Date: Thu, 7 Jul 2016 00:43: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 = Michel D=C3=A4nzer changed bug 96835<= /a>
What Removed Added
CC   chuck.atkins@kitware.com

Comment= # 1 on bug 96835<= /a> from Michel D=C3=A4nzer
Please attach a gdb backtrace of a crash.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14678521962.A7c1fedfa.7737-- --===============0538936794== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0538936794==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96835] "gallium: Force blend color to 16-byte alignment" crash with "-march=native -O3" causes some 32bit games to crash Date: Thu, 07 Jul 2016 07:17:31 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0854360130==" 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 E0B466E738 for ; Thu, 7 Jul 2016 07:17:31 +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 --===============0854360130== Content-Type: multipart/alternative; boundary="14678758510.49b62F5Be.18899"; charset="UTF-8" --14678758510.49b62F5Be.18899 Date: Thu, 7 Jul 2016 07:17:31 +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=3D96835 --- Comment #2 from raffarti@zoho.com --- Created attachment 124940 --> https://bugs.freedesktop.org/attachment.cgi?id=3D124940&action=3Dedit steam gdb backtrace Steam crashes (it's 32 bit) --=20 You are receiving this mail because: You are the assignee for the bug.= --14678758510.49b62F5Be.18899 Date: Thu, 7 Jul 2016 07:17:31 +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= # 2 on bug 96835<= /a> from raffarti@zoho.co= m
Created attachment 124940 [details]
steam gdb backtrace

Steam crashes (it's 32 bit)


You are receiving this mail because:
  • You are the assignee for the bug.
= --14678758510.49b62F5Be.18899-- --===============0854360130== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0854360130==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96835] "gallium: Force blend color to 16-byte alignment" crash with "-march=native -O3" causes some 32bit games to crash Date: Thu, 07 Jul 2016 13:17:02 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1536648751==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 71D866E7D7 for ; Thu, 7 Jul 2016 13:17:02 +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 --===============1536648751== Content-Type: multipart/alternative; boundary="14678974221.42c85eEd.31417"; charset="UTF-8" --14678974221.42c85eEd.31417 Date: Thu, 7 Jul 2016 13:17:02 +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=3D96835 --- Comment #3 from Nicolai H=C3=A4hnle --- The backtrace looks completely unrelated to the commit you cite. Why do you think that this particular commit is at fault? Just to be sure, could you please provide a backtrace with debug symbols enabled (-g)? --=20 You are receiving this mail because: You are the assignee for the bug.= --14678974221.42c85eEd.31417 Date: Thu, 7 Jul 2016 13:17:02 +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= # 3 on bug 96835<= /a> from Nicolai H=C3=A4hnle
The backtrace looks completely unrelated to the commit you cit=
e. Why do you
think that this particular commit is at fault?

Just to be sure, could you please provide a backtrace with debug symbols
enabled (-g)?


You are receiving this mail because:
  • You are the assignee for the bug.
= --14678974221.42c85eEd.31417-- --===============1536648751== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1536648751==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96835] "gallium: Force blend color to 16-byte alignment" crash with "-march=native -O3" causes some 32bit games to crash Date: Thu, 07 Jul 2016 16:37:13 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0401437088==" 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 BEBF66E80D for ; Thu, 7 Jul 2016 16:37: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 --===============0401437088== Content-Type: multipart/alternative; boundary="14679094321.07ee7a8.28220"; charset="UTF-8" --14679094321.07ee7a8.28220 Date: Thu, 7 Jul 2016 16:37: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=3D96835 --- Comment #4 from raffarti@zoho.com --- The previous commit does just fine, this one does not. I've found the traces to be different with and without the gallium hud, so = I'm attaching both traces. --=20 You are receiving this mail because: You are the assignee for the bug.= --14679094321.07ee7a8.28220 Date: Thu, 7 Jul 2016 16:37: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

Comment= # 4 on bug 96835<= /a> from raffarti@zoho.co= m
The previous commit does just fine, this one does not.
I've found the traces to be different with and without the gallium hud, so =
I'm
attaching both traces.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14679094321.07ee7a8.28220-- --===============0401437088== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0401437088==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96835] "gallium: Force blend color to 16-byte alignment" crash with "-march=native -O3" causes some 32bit games to crash Date: Thu, 07 Jul 2016 16:38:20 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1474807079==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id DC85D6E811 for ; Thu, 7 Jul 2016 16:38:19 +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 --===============1474807079== Content-Type: multipart/alternative; boundary="14679094990.34ffB9.28494"; charset="UTF-8" --14679094990.34ffB9.28494 Date: Thu, 7 Jul 2016 16:38:19 +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=3D96835 --- Comment #5 from raffarti@zoho.com --- Created attachment 124947 --> https://bugs.freedesktop.org/attachment.cgi?id=3D124947&action=3Dedit steam gdb stack trace with gallium hud and mesa debug --=20 You are receiving this mail because: You are the assignee for the bug.= --14679094990.34ffB9.28494 Date: Thu, 7 Jul 2016 16:38:19 +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= # 5 on bug 96835<= /a> from raffarti@zoho.co= m
Created attachment 124947 [details]
steam gdb stack trace with gallium hud and mesa debug


You are receiving this mail because:
  • You are the assignee for the bug.
= --14679094990.34ffB9.28494-- --===============1474807079== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1474807079==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96835] "gallium: Force blend color to 16-byte alignment" crash with "-march=native -O3" causes some 32bit games to crash Date: Thu, 07 Jul 2016 16:38:57 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0604354064==" 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 CBF3C6E812 for ; Thu, 7 Jul 2016 16:38:57 +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 --===============0604354064== Content-Type: multipart/alternative; boundary="14679095371.1DBA.28614"; charset="UTF-8" --14679095371.1DBA.28614 Date: Thu, 7 Jul 2016 16:38:57 +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=3D96835 --- Comment #6 from raffarti@zoho.com --- Created attachment 124948 --> https://bugs.freedesktop.org/attachment.cgi?id=3D124948&action=3Dedit steam gdb stack trace without gallium hud and mesa debug --=20 You are receiving this mail because: You are the assignee for the bug.= --14679095371.1DBA.28614 Date: Thu, 7 Jul 2016 16:38:57 +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= # 6 on bug 96835<= /a> from raffarti@zoho.co= m
Created attachment 124948 [details]
steam gdb stack trace without gallium hud and mesa debug


You are receiving this mail because:
  • You are the assignee for the bug.
= --14679095371.1DBA.28614-- --===============0604354064== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0604354064==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96835] "gallium: Force blend color to 16-byte alignment" crash with "-march=native -O3" causes some 32bit games to crash Date: Fri, 08 Jul 2016 03:11:43 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0952554902==" 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 0C7426E85D for ; Fri, 8 Jul 2016 03:11:43 +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 --===============0952554902== Content-Type: multipart/alternative; boundary="14679475020.61DAFD.12920"; charset="UTF-8" --14679475020.61DAFD.12920 Date: Fri, 8 Jul 2016 03:11:42 +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=3D96835 --- Comment #7 from Roland Scheidegger --- On second look, I am actually wondering if that commit really is doing the right thing. Shouldn't we try to set the alignment on the struct itself instead? And regardless, if someone uses an ordinary malloc for it it's not going to be aligned anyway (meaning if it's passed to drivers somewhere and= the called functions are relying on this to be aligned they might be in for some surprise). (That said I have no idea if this is really related to this bug.) --=20 You are receiving this mail because: You are the assignee for the bug.= --14679475020.61DAFD.12920 Date: Fri, 8 Jul 2016 03:11:42 +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 96835<= /a> from Roland Scheidegger
On second look, I am actually wondering if that commit really =
is doing the
right thing. Shouldn't we try to set the alignment on the struct itself
instead? And regardless, if someone uses an ordinary malloc for it it's not
going to be aligned anyway (meaning if it's passed to drivers somewhere and=
 the
called functions are relying on this to be aligned they might be in for some
surprise).

(That said I have no idea if this is really related to this bug.)


You are receiving this mail because:
  • You are the assignee for the bug.
= --14679475020.61DAFD.12920-- --===============0952554902== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0952554902==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96835] "gallium: Force blend color to 16-byte alignment" crash with "-march=native -O3" causes some 32bit games to crash Date: Fri, 08 Jul 2016 09:13:36 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1953053771==" 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 934286E8CB for ; Fri, 8 Jul 2016 09:13:36 +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 --===============1953053771== Content-Type: multipart/alternative; boundary="14679692160.252dBEA0a.30714"; charset="UTF-8" --14679692160.252dBEA0a.30714 Date: Fri, 8 Jul 2016 09:13:36 +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=3D96835 Nicolai H=C3=A4hnle changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop. |.org |org Component|Drivers/Gallium/radeonsi |Mesa core Assignee|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop. |.org |org --- Comment #8 from Nicolai H=C3=A4hnle --- (The Gallium HUD crash is "benign": you enabled more graphs than there are pre-defined colors. Annoying, but unrelated to the problem at hand.) My understanding is that malloc should return pointers with the largest alignment requirement possible for the size that it allocates. Although, perhaps that's less than 16 bytes on 32 bits? Actually, I think that's it: the backtrace shows ctx=3D0x569cbfc8, i.e. ctx= is only 8-byte aligned even though it contains a pipe_blend_color structure. Moving to Mesa core since it's not really radeonsi-specific. --=20 You are receiving this mail because: You are the assignee for the bug.= --14679692160.252dBEA0a.30714 Date: Fri, 8 Jul 2016 09:13:36 +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 Nicolai H=C3=A4hnle changed bug 96835<= /a>
What Removed Added
QA Contact dri-devel@lists.freedesktop.org mesa-dev@lists.freedesktop.org
Component Drivers/Gallium/radeonsi Mesa core
Assignee dri-devel@lists.freedesktop.org mesa-dev@lists.freedesktop.org

Comment= # 8 on bug 96835<= /a> from Nicolai H=C3=A4hnle
(The Gallium HUD crash is "benign": you enabled more=
 graphs than there are
pre-defined colors. Annoying, but unrelated to the problem at hand.)

My understanding is that malloc should return pointers with the largest
alignment requirement possible for the size that it allocates. Although,
perhaps that's less than 16 bytes on 32 bits?

Actually, I think that's it: the backtrace shows ctx=3D0x569cbfc8, i.e. ctx=
 is
only 8-byte aligned even though it contains a pipe_blend_color structure.

Moving to Mesa core since it's not really radeonsi-specific.


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