Skip to contentSkip to conversation

Blue-ish textures in Shadow of Mordor

Bug 94671 [email protected] 1 participant 13 messages Mar 23, 2016 – Mar 24, 2016

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 94671
Summary: [radeonsi] Blue-ish textures in Shadow of Mordor
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]

Red fabric/cloth in Shadow of Mordor benchmark is rendered in blue color.

mesa-git built date: 2016-Mar-22 07:16:38 CET

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=94671

--- Comment #1 from Jan Ziak <[email protected]> --- Created attachment 122494
--> https://bugs.freedesktop.org/attachment.cgi?id=122494&action=edit
Screenshot: AMD OpenGL driver

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=94671

--- Comment #2 from Jan Ziak <[email protected]> --- Created attachment 122495
--> https://bugs.freedesktop.org/attachment.cgi?id=122495&action=edit
Screenshot: Mesa radeonsi OpenGL

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=94671

--- Comment #3 from Jan Ziak <[email protected]> --- Further information:

- Linux kernel 4.5.0
- Kernel module: radeon

$ glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD HAWAII (DRM 2.43.0, LLVM 3.8.0)
OpenGL core profile version string: 4.1 (Core Profile) Mesa 11.3.0-devel
(git-530593d)
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=94671

Jan Ziak <[email protected]> changed:

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

           Hardware|Other                       |x86-64 (AMD64)
                 OS|All                         |Linux (All)
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=94671

Jan Ziak <[email protected]> changed:

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

           Hardware|x86-64 (AMD64)              |All
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

#7 lore raw
In reply to [email protected]

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

--- Comment #5 from Nicolai H�hnle <[email protected]> --- Thank you for the report.

I suspect some of the BGR <-> RGB changes for shader image bitcasts are responsible. Could one of you please provide an apitrace that shows the problem? That would be very helpful.

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

#8 lore raw
In reply to [email protected]

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

--- Comment #6 from Jan Ziak <[email protected]> --- (In reply to Nicolai H�hnle from comment #5)

Quoted 5 lines

Thank you for the report.

I suspect some of the BGR <-> RGB changes for shader image bitcasts are responsible. Could one of you please provide an apitrace that shows the problem? That would be very helpful.

Running Shadow of Mordor under apitrace 6.1 is very slow. I didn't run the benchmark because the ingame menu screen wasn't responding. However, the menu screen already has the blue-ish tint that shouldn't be there.

The trace is quite large: 392 MB uncompressed, 219 MB compressed with xz.

Do you still want the trace despite its size?

If not, do you want me to run apitrace on AMD's Opengl library and then perform "apitrace diff ShadowOfMordor-radeonsi.trace ShadowOfMordor-amd.trace"?

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

#9 lore raw
In reply to [email protected]

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

--- Comment #7 from Nicolai H�hnle <[email protected]> --- Hi Jan! First, please try this patch which fixes a similar bug:
https://patchwork.freedesktop.org/patch/78118/

If that doesn't fix the problem: I'd appreciate if you could upload the apitrace somewhere (Dropbox, Google Drive, etc.). A diff is not going to be useful.

But first, try if the problem is already fixed with the patch above :)

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

#10 lore raw
In reply to [email protected]

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

--- Comment #8 from Jan Ziak <[email protected]> --- (In reply to Nicolai H�hnle from comment #7)

Quoted 8 lines

Hi Jan! First, please try this patch which fixes a similar bug:
https://patchwork.freedesktop.org/patch/78118/

If that doesn't fix the problem: I'd appreciate if you could upload the apitrace somewhere (Dropbox, Google Drive, etc.). A diff is not going to be useful.

But first, try if the problem is already fixed with the patch above :)

The patch works!

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

#11 lore raw
In reply to [email protected]

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

--- Comment #9 from Jan Ziak <[email protected]> --- Created attachment 122511
--> https://bugs.freedesktop.org/attachment.cgi?id=122511&action=edit
Screenshot: Mesa radeonsi OpenGL - patched

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

#12 lore raw
In reply to [email protected]

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

Nicolai H�hnle <[email protected]> changed:

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

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

--- Comment #10 from Nicolai H�hnle <[email protected]> --- Fixed in Mesa master, commit 6b763c0

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