From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98518] [r600g, bisected] regression: NI/Turks MSAA texture corruption with FreeCAD and Wine games Date: Mon, 31 Oct 2016 18:34:45 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0392323808==" 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 D34346E369 for ; Mon, 31 Oct 2016 18:34:45 +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 --===============0392323808== Content-Type: multipart/alternative; boundary="14779388850.FFFCf07.3105"; charset="UTF-8" --14779388850.FFFCf07.3105 Date: Mon, 31 Oct 2016 18:34:45 +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=3D98518 Bug ID: 98518 Summary: [r600g, bisected] regression: NI/Turks MSAA texture corruption with FreeCAD and Wine games Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r600 Assignee: dri-devel@lists.freedesktop.org Reporter: Dieter@nuetzel-hh.de QA Contact: dri-devel@lists.freedesktop.org Created attachment 127646 --> https://bugs.freedesktop.org/attachment.cgi?id=3D127646&action=3Dedit FreeCAD-MSAA-8x-Texure-Bug.png It show up as texture corruption with FreeCAD (MSAA 8x context) and under LS2015 (wine-1.9.21~gallium_nine+staging / MSAA 2+). /opt/mesa> git bisect good 81a95946dab730c1cfcf04ac1373cea5f7908f65 is the first bad commit commit 81a95946dab730c1cfcf04ac1373cea5f7908f65 Author: Marek Ol=C5=A1=C3=A1k Date: Thu Oct 20 22:57:03 2016 +0200 gallium/radeon: fold radeon_winsys::surface_best into radeon/winsys Reviewed-by: Nicolai H=C3=A4hnle :040000 040000 2f6cc85574d5748ddd083215bca3a47496d58f3d 097994b4a81f267d45346adea94746745bb0085f M src git revert 81a9594 will NOT work. --=20 You are receiving this mail because: You are the assignee for the bug.= --14779388850.FFFCf07.3105 Date: Mon, 31 Oct 2016 18:34:45 +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 98518
Summary [r600g, bisected] regression: NI/Turks MSAA texture corruptio= n with FreeCAD and Wine games
Product Mesa
Version git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/r600
Assignee dri-devel@lists.freedesktop.org
Reporter Dieter@nuetzel-hh.de
QA Contact dri-devel@lists.freedesktop.org

Created attachmen=
t 127646 [details]
FreeCAD-MSAA-8x-Texure-Bug.png

It show up as texture corruption with FreeCAD (MSAA 8x context)
and under LS2015 (wine-1.9.21~gallium_nine+staging / MSAA 2+).

/opt/mesa> git bisect good
81a95946dab730c1cfcf04ac1373cea5f7908f65 is the first bad commit
commit 81a95946dab730c1cfcf04ac1373cea5f7908f65
Author: Marek Ol=C5=A1=C3=A1k <marek.olsak@amd.com>
Date:   Thu Oct 20 22:57:03 2016 +0200

    gallium/radeon: fold radeon_winsys::surface_best into radeon/winsys

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

:040000 040000 2f6cc85574d5748ddd083215bca3a47496d58f3d
097994b4a81f267d45346adea94746745bb0085f M src

git revert 81a9594

will NOT work.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14779388850.FFFCf07.3105-- --===============0392323808== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0392323808==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98518] [r600g, bisected] regression: NI/Turks MSAA texture corruption with FreeCAD and Wine games Date: Mon, 31 Oct 2016 18:35:44 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0199221298==" 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 CCB416E36B for ; Mon, 31 Oct 2016 18:35:44 +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 --===============0199221298== Content-Type: multipart/alternative; boundary="14779389440.6FAF.3263"; charset="UTF-8" --14779389440.6FAF.3263 Date: Mon, 31 Oct 2016 18:35:44 +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=3D98518 --- Comment #1 from Dieter N=C3=BCtzel --- Created attachment 127647 --> https://bugs.freedesktop.org/attachment.cgi?id=3D127647&action=3Dedit LS2015-Wine-nine-MSAA-2x+-Texure-Bug.png --=20 You are receiving this mail because: You are the assignee for the bug.= --14779389440.6FAF.3263 Date: Mon, 31 Oct 2016 18:35:44 +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= # 1 on bug 98518<= /a> from Dieter N=C3=BCtzel
Created attachment 127647 [details]
LS2015-Wine-nine-MSAA-2x+-Texure-Bug.png


You are receiving this mail because:
  • You are the assignee for the bug.
= --14779389440.6FAF.3263-- --===============0199221298== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0199221298==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98518] [r600g, bisected] regression: NI/Turks MSAA texture corruption with FreeCAD and Wine games Date: Thu, 03 Nov 2016 03:08:54 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0358926691==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 27AA96E2C8 for ; Thu, 3 Nov 2016 03:08:54 +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 --===============0358926691== Content-Type: multipart/alternative; boundary="14781425341.E7dbe65B.20953"; charset="UTF-8" --14781425341.E7dbe65B.20953 Date: Thu, 3 Nov 2016 03:08:54 +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=3D98518 --- Comment #2 from Dieter N=C3=BCtzel --- Fix is underway. Have a look at Mesa-dev: https://lists.freedesktop.org/archives/mesa-dev/2016-November/134137.html src/gallium/winsys/radeon/drm/radeon_drm_surface.c - if (!(surf_ws->flags & RADEON_SURF_IMPORTED)) { + if (!(flags & (RADEON_SURF_IMPORTED | RADEON_SURF_FMASK))) { A combination of Marek's idea plus Michel's patch [Mesa-dev] [PATCH 3/4] gallium/radeon: Use flags parameter in radeon_winsys_surface_init SOLVED both (FreeCAD and LS2015 on Wine) for me. --=20 You are receiving this mail because: You are the assignee for the bug.= --14781425341.E7dbe65B.20953 Date: Thu, 3 Nov 2016 03:08:54 +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 98518<= /a> from Dieter N=C3=BCtzel
Fix is underway.

Have a look at Mesa-dev:
https://lists.freedesktop.org/archives/mesa-dev/2016-November/13=
4137.html

src/gallium/winsys/radeon/drm/radeon_drm_surface.c

-    if (!(surf_ws->flags & RADEON_SURF_IMPORTED)) {
+    if (!(flags & (RADEON_SURF_IMPORTED | RADEON_SURF_FMASK))) {

A combination of Marek's idea plus Michel's patch
[Mesa-dev] [PATCH 3/4] gallium/radeon: Use flags parameter in
radeon_winsys_surface_init

SOLVED

both (FreeCAD and LS2015 on Wine) for me.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14781425341.E7dbe65B.20953-- --===============0358926691== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0358926691==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98518] [r600g, bisected] regression: NI/Turks MSAA texture corruption with FreeCAD and Wine games Date: Sat, 05 Nov 2016 17:37:33 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0619149582==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 6947F6E23D for ; Sat, 5 Nov 2016 17:37:33 +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 --===============0619149582== Content-Type: multipart/alternative; boundary="14783674530.d403.9183"; charset="UTF-8" --14783674530.d403.9183 Date: Sat, 5 Nov 2016 17:37:33 +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=3D98518 --- Comment #3 from Marek Ol=C5=A1=C3=A1k --- The fix has been pushed to master. Please test and close the bug if it's fi= xed. Thanks. --=20 You are receiving this mail because: You are the assignee for the bug.= --14783674530.d403.9183 Date: Sat, 5 Nov 2016 17:37:33 +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 98518<= /a> from Marek Ol=C5=A1=C3=A1k
The fix has been pushed to master. Please test and close the b=
ug if it's fixed.
Thanks.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14783674530.d403.9183-- --===============0619149582== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0619149582==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98518] [r600g, bisected] regression: NI/Turks MSAA texture corruption with FreeCAD and Wine games Date: Sat, 05 Nov 2016 19:08:51 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0967064981==" 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 1A5E06E0B6 for ; Sat, 5 Nov 2016 19:08:51 +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 --===============0967064981== Content-Type: multipart/alternative; boundary="14783729311.FE826.14688"; charset="UTF-8" --14783729311.FE826.14688 Date: Sat, 5 Nov 2016 19:08:51 +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=3D98518 Dieter N=C3=BCtzel changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Dieter N=C3=BCtzel --- Fixed by git commit in master. Closing. Thanks Marek! --=20 You are receiving this mail because: You are the assignee for the bug.= --14783729311.FE826.14688 Date: Sat, 5 Nov 2016 19:08:51 +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 Dieter N=C3=BCtzel changed bug 98518<= /a>
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Comment= # 4 on bug 98518<= /a> from Dieter N=C3=BCtzel
Fixed by git commit in master.
Closing.

Thanks Marek!


You are receiving this mail because:
  • You are the assignee for the bug.
= --14783729311.FE826.14688-- --===============0967064981== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0967064981==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98518] [r600g, bisected] regression: NI/Turks MSAA texture corruption with FreeCAD and Wine games Date: Sat, 05 Nov 2016 19:09:25 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2029398622==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 0CAB36E1CA for ; Sat, 5 Nov 2016 19:09:25 +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 --===============2029398622== Content-Type: multipart/alternative; boundary="14783729640.D8b6DDa8.15194"; charset="UTF-8" --14783729640.D8b6DDa8.15194 Date: Sat, 5 Nov 2016 19:09:24 +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=3D98518 Dieter N=C3=BCtzel changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --=20 You are receiving this mail because: You are the assignee for the bug.= --14783729640.D8b6DDa8.15194 Date: Sat, 5 Nov 2016 19:09:24 +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 Dieter N=C3=BCtzel changed bug 98518<= /a>
What Removed Added
Status RESOLVED CLOSED


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