dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2
@ 2016-01-19  6:28 bugzilla-daemon
  2016-01-19  6:35 ` bugzilla-daemon
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-01-19  6:28 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 2197 bytes --]

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

            Bug ID: 93767
           Summary: Glitches with soft shadows and MSAA in Knights of the
                    Old Republic 2
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: daniel@constexpr.org
        QA Contact: dri-devel@lists.freedesktop.org

Created attachment 121127
  --> https://bugs.freedesktop.org/attachment.cgi?id=121127&action=edit
Screenshot of the glitch

When enabling both soft shadows and antialiasing in Knights of the Old Republic
2 [0], there are lines visible in addition to the shadows.

Here is an apitrace showing the problem:

 http://constexpr.org/tmp/KotOR2-shadows-radeonsi.trace.xz (37 MiB)

The same trace (and the game) render fine with Catalyst 15.12.

Disabling either soft shadows or antialiasing also fixes the rendering.

GPU: Radeon HD 7950 (TAHITI)
Mesa 11.2.0-devel (git-d018619)
LLVM r255414

>From what I can tell the problem first appears in e.g. draw call 1919333 in my
trace - the stencil buffer has value 127 everywhere except for parts covered by
the shadow volumes. The color buffer however contains jagged lines afterwards
in addition to the pixels covered by the shadows.

NB: The game also has fog issues like those worked around in the ATI_fs
implementation [1] for the first KotOR game, but they are also present with
Catalyst and even in one of the official screenshots [2] on the game's Steam
store page. I think its fair to assume that that is a game bug, but if anyone
wants to try it out with another driver / HW, here is another apitrace:

 http://constexpr.org/tmp/KotOR2-fog-radeonsi.trace.xz (35 MiB)

[0] http://store.steampowered.com/app/208580/
[1] http://lists.freedesktop.org/archives/mesa-dev/2015-December/103263.html
[2]
http://cdn.akamai.steamstatic.com/steam/apps/208580/ss_e2043ae5d872d5576fd160acb3aa1169a5d0222c.1920x1080.jpg?t=1451421385

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 4058 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

end of thread, other threads:[~2016-04-27 16:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2016-04-01 15:48 ` bugzilla-daemon
2016-04-06  4:06 ` bugzilla-daemon
2016-04-06  6:22 ` bugzilla-daemon
2016-04-06  7:04 ` bugzilla-daemon
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).