* [Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2
2016-01-19 6:28 [Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2 bugzilla-daemon
@ 2016-01-19 6:35 ` bugzilla-daemon
2016-03-31 21:08 ` bugzilla-daemon
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-01-19 6:35 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 418 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=93767
Daniel Scharrer <daniel@constexpr.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #121127|text/plain |image/jpeg
mime type| |
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1091 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread* [Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2
2016-01-19 6:28 [Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2 bugzilla-daemon
2016-01-19 6:35 ` bugzilla-daemon
@ 2016-03-31 21:08 ` bugzilla-daemon
2016-03-31 23:23 ` bugzilla-daemon
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-03-31 21:08 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 710 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=93767
--- Comment #1 from almos <aaalmosss@gmail.com> ---
With the ATI_fs patch series v4 applied (even the ones that are not in master
yet), I see no such glitches in KotOR 2. Shadows are correct, and fog is
correct. The only problem I see is that enabling soft shadows makes the shadows
so faint they are barely visible, but I think that's a bug in the game.
I'm using latest Mesa from git, llvm 3.7.1, Wine 1.9.6.
Note that Steam only offers the remastered version of KotOR2 now, which doesn't
use ATI_fs anymore. The screenshots on the store page may be from the old
version though.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1506 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread* [Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2
2016-01-19 6:28 [Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2 bugzilla-daemon
2016-01-19 6:35 ` bugzilla-daemon
2016-03-31 21:08 ` bugzilla-daemon
@ 2016-03-31 23:23 ` bugzilla-daemon
2016-04-01 14:54 ` bugzilla-daemon
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-03-31 23:23 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 600 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=93767
--- Comment #2 from Daniel Scharrer <daniel@constexpr.org> ---
> Note that Steam only offers the remastered version of KotOR2 now, which
> doesn't use ATI_fs anymore.
Yes, I'm talking about the remastered version (the only one that has a native
linux release). Did you test the original?
Anyway, I'm still seeing the glitches here. Soft shadows aren't any fainter
than hard shadows as far as I can tell.
GPU: R9 380X (tonga)
Mesa 11.3.0-devel (git-9076e04)
LLVM r265023
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1441 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread* [Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2
2016-01-19 6:28 [Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2 bugzilla-daemon
` (2 preceding siblings ...)
2016-03-31 23:23 ` bugzilla-daemon
@ 2016-04-01 14:54 ` bugzilla-daemon
2016-04-01 15:48 ` bugzilla-daemon
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-04-01 14:54 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 859 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=93767
--- Comment #3 from almos <aaalmosss@gmail.com> ---
(In reply to Daniel Scharrer from comment #2)
> > Note that Steam only offers the remastered version of KotOR2 now, which
> > doesn't use ATI_fs anymore.
>
> Yes, I'm talking about the remastered version (the only one that has a
> native linux release). Did you test the original?
>
> Anyway, I'm still seeing the glitches here. Soft shadows aren't any fainter
> than hard shadows as far as I can tell.
>
> GPU: R9 380X (tonga)
> Mesa 11.3.0-devel (git-9076e04)
> LLVM r265023
My last comment was about the original version. Now I checked the remastered,
and it seems fine, although I haven't gotten very far yet. I see that they
fixed the faint soft shadows in the remaster.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1764 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread* [Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2
2016-01-19 6:28 [Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2 bugzilla-daemon
` (3 preceding siblings ...)
2016-04-01 14:54 ` bugzilla-daemon
@ 2016-04-01 15:48 ` bugzilla-daemon
2016-04-06 4:06 ` bugzilla-daemon
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-04-01 15:48 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 727 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=93767
almos <aaalmosss@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aaalmosss@gmail.com
--- Comment #4 from almos <aaalmosss@gmail.com> ---
I took a look at your traces. The shadow trace renders fine here. I examined
both call 1919333 and the final frame, and I see no corruption. In the fog
trace some surfaces get no fog, while others get too much. I'm very far from
reaching that point in the remastered version, so I can't verify this in-game.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2068 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread* [Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2
2016-01-19 6:28 [Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2 bugzilla-daemon
` (4 preceding siblings ...)
2016-04-01 15:48 ` bugzilla-daemon
@ 2016-04-06 4:06 ` bugzilla-daemon
2016-04-06 6:22 ` bugzilla-daemon
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-04-06 4:06 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 631 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=93767
--- Comment #5 from Nicolai Hähnle <nhaehnle@gmail.com> ---
Hi Daniel, thanks for the apitrace and preliminary investigation. I can confirm
that the trace shows a rendering error on Verde, Bonaire, and Tonga. A
workaround for now is to set R600_DEBUG=nohyperz.
Could you please test whether the problem appears also on lower MSAA levels?
almos, I'm surprised that you're not seeing the glitch. What's your system
setup and hardware?
A proper fix may involve disabling ALLOW_EXPCLEAR for MSAA stencil.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1435 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread* [Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2
2016-01-19 6:28 [Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2 bugzilla-daemon
` (5 preceding siblings ...)
2016-04-06 4:06 ` bugzilla-daemon
@ 2016-04-06 6:22 ` bugzilla-daemon
2016-04-06 7:04 ` bugzilla-daemon
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-04-06 6:22 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 484 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=93767
--- Comment #6 from Daniel Scharrer <daniel@constexpr.org> ---
Hi, thanks for looking into this.
The problem happens on all MSAA levels the game offers: 2, 4 and 6 (I assume
this maps to 8). The there are less lines with lower MSAA levels though, or at
least they are less noticeable.
R600_DEBUG=nohyperz does get rid of the glitches for all MSAA levels.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1291 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread* [Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2
2016-01-19 6:28 [Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2 bugzilla-daemon
` (6 preceding siblings ...)
2016-04-06 6:22 ` bugzilla-daemon
@ 2016-04-06 7:04 ` bugzilla-daemon
2016-04-06 14:36 ` bugzilla-daemon
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-04-06 7:04 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 717 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=93767
--- Comment #7 from almos <aaalmosss@gmail.com> ---
Created attachment 122748
--> https://bugs.freedesktop.org/attachment.cgi?id=122748&action=edit
kotor2-shadows-frame296.png
(In reply to Nicolai Hähnle from comment #5)
> almos, I'm surprised that you're not seeing the glitch. What's your system
> setup and hardware?
I attached the saved image of frame 296 (which contains call 1919333 mentioned
in the original report) from the shadows trace. I don't see corruption on it,
even though MSAA seems to be enabled in glretrace. My card is a R9 270x, and I
have Mesa 11.1.2, LLVM 3.7.1.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1733 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread* [Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2
2016-01-19 6:28 [Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2 bugzilla-daemon
` (7 preceding siblings ...)
2016-04-06 7:04 ` bugzilla-daemon
@ 2016-04-06 14:36 ` bugzilla-daemon
2016-04-23 12:58 ` bugzilla-daemon
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-04-06 14:36 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 335 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=93767
--- Comment #8 from Nicolai Hähnle <nhaehnle@gmail.com> ---
This makes sense. Mesa 11.1 does not contain the stencil fast clear changes.
I'm going to try to get some clarification on what's going wrong here.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1139 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread* [Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2
2016-01-19 6:28 [Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2 bugzilla-daemon
` (8 preceding siblings ...)
2016-04-06 14:36 ` bugzilla-daemon
@ 2016-04-23 12:58 ` bugzilla-daemon
2016-04-23 15:42 ` bugzilla-daemon
2016-04-27 16:18 ` bugzilla-daemon
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-04-23 12:58 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 334 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=93767
--- Comment #9 from almos <aaalmosss@gmail.com> ---
I confirm that the glitch occurs with Mesa 11.3-dev, and the patch "radeonsi:
work around an MSAA fast stencil clear problem" posted to mesa-dev fixes it.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1140 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread* [Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2
2016-01-19 6:28 [Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2 bugzilla-daemon
` (9 preceding siblings ...)
2016-04-23 12:58 ` bugzilla-daemon
@ 2016-04-23 15:42 ` bugzilla-daemon
2016-04-27 16:18 ` bugzilla-daemon
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-04-23 15:42 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 256 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=93767
--- Comment #10 from Daniel Scharrer <daniel@constexpr.org> ---
I can also confirm that the patch fixes the issue with the game.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1064 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread* [Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2
2016-01-19 6:28 [Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2 bugzilla-daemon
` (10 preceding siblings ...)
2016-04-23 15:42 ` bugzilla-daemon
@ 2016-04-27 16:18 ` bugzilla-daemon
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-04-27 16:18 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 566 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=93767
Nicolai Hähnle <nhaehnle@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #11 from Nicolai Hähnle <nhaehnle@gmail.com> ---
The workaround is now in Mesa master, commit
8c43c06e0463515c1339d44cbb8f78169e6a06fb
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2089 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread