Skip to contentSkip to conversation

regression bisected radeonsi: don't change pipe_resource in resource_copy_region

Bug 91444 [email protected] 1 participant 10 messages Jul 24, 2015 – Aug 2, 2015

lore
Share & tools
lore

[email protected]

author Reviewed-by Michel Dänzer
#0 lore raw

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

Bug ID: 91444
Summary: regression bisected radeonsi: don't change
pipe_resource in resource_copy_region
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

While playing ARK: Survival Evolved, I ran into image corruption and can reproduce it easy in game, it came down to this commit:

commit 46b2b3bda8d962fce02838e09c742ac06fbec45f

Author: Marek Olšák <[email protected]>
Date:   Thu Jul 16 13:17:14 2015 +0200

radeonsi: don't change pipe_resource in resource_copy_region

Copied from r600g. pipe_resource can be shared by multiple threads, so we shouldn't change it.

Reverting this fixed corruption seen, I've attached a picture of the corruption noticed, but it manifests itself in striped transparency of certain objects.

See attachment of image

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

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

#1 lore raw

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

--- Comment #1 from Shawn Starr <[email protected]> --- Created attachment 117328
--> https://bugs.freedesktop.org/attachment.cgi?id=117328&action=edit
ARK: Survival Evolved corruption

ARK: Survival Evolved corruption

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

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

#2 lore raw
In reply to [email protected]

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

Shawn Starr <[email protected]> changed:

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

 Attachment #117328|0                           |1
        is obsolete|                            |
 Attachment #117328|text/plain                  |image/jpeg
          mime type|                            |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

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

#3 lore raw
In reply to [email protected]

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

Shawn Starr <[email protected]> changed:

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

 Attachment #117328|1                           |0

is obsolete| |

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

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

#5 lore raw
In reply to [email protected]

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

--- Comment #3 from Marek Olšák <[email protected]> ---
Could you please create and attach (or send a link to) an apitrace reproducing the issue?

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

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

#6 lore raw
In reply to [email protected]

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

--- Comment #4 from Shawn Starr <[email protected]> --- Here is the apitrace, decompress with XZ-
https://drive.google.com/open?id=0Bze7CJKD12nOYkhrdlZERXBKMDA

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

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

#7 lore raw
In reply to [email protected]

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

--- Comment #5 from Shawn Starr <[email protected]> ---
http://www.sh0n.net/spstarr/radeon/player-stat-glyph-corrupt.png - Copy region OK
http://www.sh0n.net/spstarr/radeon/player-stat-glyph-region-corrupt.png - Copy region corruption

There is glyph corruption but this pre-dates this issue and will be a separate bug report.

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

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

#8 lore raw
In reply to [email protected]

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

--- Comment #6 from Shawn Starr <[email protected]> --- Marek's has fixed this in
http://cgit.freedesktop.org/~mareko/mesa/commit/?id=21f4eb11d76d45c8b4099e0df36d1263901c39a2

This has been tested, works for me now.

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

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

#9 lore raw
In reply to [email protected]

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

Marek Olšák <[email protected]> changed:

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

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

--- Comment #7 from Marek Olšák <[email protected]> --- (In reply to Shawn Starr from comment #6)

Quoted 5 lines

Marek's has fixed this in
http://cgit.freedesktop.org/~mareko/mesa/commit/
?id=21f4eb11d76d45c8b4099e0df36d1263901c39a2

This has been tested, works for me now.

Closing.

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

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