Skip to contentSkip to conversation

regression: NI/Turks MSAA texture corruption with FreeCAD and Wine games

Bug 98518 [email protected] 1 participant 6 messages Oct 31, 2016 – Nov 5, 2016

lore
Share & tools
lore

[email protected]

author Reviewed-by Nicolai Hähnle
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=98518

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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 127646
--> https://bugs.freedesktop.org/attachment.cgi?id=127646&action=edit
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šák <[email protected]>
Date:   Thu Oct 20 22:57:03 2016 +0200

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

:040000 040000 2f6cc85574d5748ddd083215bca3a47496d58f3d 097994b4a81f267d45346adea94746745bb0085f M src

git revert 81a9594

will NOT work.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=98518

--- Comment #1 from Dieter Nützel <[email protected]> --- Created attachment 127647
--> https://bugs.freedesktop.org/attachment.cgi?id=127647&action=edit
LS2015-Wine-nine-MSAA-2x+-Texure-Bug.png

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98518

--- Comment #2 from Dieter Nützel <[email protected]> --- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98518

--- Comment #3 from Marek Olšák <[email protected]> ---
The fix has been pushed to master. Please test and close the bug if it's fixed. Thanks.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98518

Dieter Nützel <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Dieter Nützel <[email protected]> --- Fixed by git commit in master.
Closing.

Thanks Marek!

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98518

Dieter Nützel <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel