dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 93648] Random lines being rendered when playing Dolphin on radeonsi (w/ apitrace)
@ 2016-01-09 16:49 bugzilla-daemon
  2016-01-09 18:15 ` bugzilla-daemon
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-01-09 16:49 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 93648
           Summary: Random lines being rendered when playing Dolphin on
                    radeonsi (w/ apitrace)
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: delroth@gmail.com
        QA Contact: dri-devel@lists.freedesktop.org

We recently setup Dolphin's automated rendering tests on Fiji XT with
Mesa/amdgpu. It started detected a random rendering issue which I think we can
attribute to a driver bug.

See https://fifoci.dolphin-emu.org/compare/1086020-1085934/ . Left side has the
"bad" rendering, right side the "good" rendering.

The issue is properly captured in this apitrace:
http://delroth.net/radeon-unpredictable.trace -- rendering it on my Fiji XT
system shows the lines but rendering it on i965 doesn't.

We have also had reports of users seeing this in action on Pitcairn GPUs:
https://bugs.dolphin-emu.org/issues/9239

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

[-- Attachment #1.2: Type: text/html, Size: 2768 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] 8+ messages in thread

* [Bug 93648] Random lines being rendered when playing Dolphin on radeonsi (w/ apitrace)
  2016-01-09 16:49 [Bug 93648] Random lines being rendered when playing Dolphin on radeonsi (w/ apitrace) bugzilla-daemon
@ 2016-01-09 18:15 ` bugzilla-daemon
  2016-01-16  8:17 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-01-09 18:15 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Pierre Bourdon <delroth@gmail.com> ---
Someone on IRC just reported something that sounds like the same issue, but on
r600.

It's likely that this issue comes from geometry shaders, which we are using to
generate stripes from lines. Disabling the use of geometry shaders breaks some
features in Dolphin but fixes that particular problem.

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

[-- Attachment #1.2: Type: text/html, Size: 1301 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] 8+ messages in thread

* [Bug 93648] Random lines being rendered when playing Dolphin on radeonsi (w/ apitrace)
  2016-01-09 16:49 [Bug 93648] Random lines being rendered when playing Dolphin on radeonsi (w/ apitrace) bugzilla-daemon
  2016-01-09 18:15 ` bugzilla-daemon
@ 2016-01-16  8:17 ` bugzilla-daemon
  2016-01-16  8:36 ` [Bug 93648] Random lines being rendered when playing Dolphin (geometry shaders related, w/ apitrace) bugzilla-daemon
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-01-16  8:17 UTC (permalink / raw)
  To: dri-devel


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

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

Pierre Bourdon <delroth@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Drivers/Gallium/radeonsi    |Mesa core
           Assignee|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop.
                   |.org                        |org
         QA Contact|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop.
                   |.org                        |org

--- Comment #2 from Pierre Bourdon <delroth@gmail.com> ---
I haven't been able to test that myself, but other Dolphin users have reported
the same symptoms on Intel Sandybridge IGPs. Our automated tests on Broadwell
don't seem see that issue however, and my own laptop on Haswell doesn't see
that issue either.

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

[-- Attachment #1.2: Type: text/html, Size: 2496 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] 8+ messages in thread

* [Bug 93648] Random lines being rendered when playing Dolphin (geometry shaders related, w/ apitrace)
  2016-01-09 16:49 [Bug 93648] Random lines being rendered when playing Dolphin on radeonsi (w/ apitrace) bugzilla-daemon
  2016-01-09 18:15 ` bugzilla-daemon
  2016-01-16  8:17 ` bugzilla-daemon
@ 2016-01-16  8:36 ` bugzilla-daemon
  2016-01-16 10:31 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-01-16  8:36 UTC (permalink / raw)
  To: dri-devel


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

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

Ilia Mirkin <imirkin@alum.mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Mesa core                   |Drivers/Gallium/radeonsi
           Assignee|mesa-dev@lists.freedesktop. |dri-devel@lists.freedesktop
                   |org                         |.org
         QA Contact|mesa-dev@lists.freedesktop. |dri-devel@lists.freedesktop
                   |org                         |.org

--- Comment #3 from Ilia Mirkin <imirkin@alum.mit.edu> ---
I tested on a SNB and couldn't reproduce any artifacts on the apitrace (after
forcing ARB_conservative_depth on). Even if I could, it'd be very surprising if
the issues were related. Unless you have concrete evidence to the contrary, I'd
keep it to one bug per issue that you see. Issues can be combined later on, but
are difficult to break apart. Switching this one back to radeonsi.

Any issues you see on other hardware should include an apitrace taken on that
hw.

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

[-- Attachment #1.2: Type: text/html, Size: 2754 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] 8+ messages in thread

* [Bug 93648] Random lines being rendered when playing Dolphin (geometry shaders related, w/ apitrace)
  2016-01-09 16:49 [Bug 93648] Random lines being rendered when playing Dolphin on radeonsi (w/ apitrace) bugzilla-daemon
                   ` (2 preceding siblings ...)
  2016-01-16  8:36 ` [Bug 93648] Random lines being rendered when playing Dolphin (geometry shaders related, w/ apitrace) bugzilla-daemon
@ 2016-01-16 10:31 ` bugzilla-daemon
  2016-01-20 15:14 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-01-16 10:31 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Timothy Arceri <t_arceri@yahoo.com.au> ---
(In reply to Ilia Mirkin from comment #3)
> I tested on a SNB and couldn't reproduce any artifacts on the apitrace
> (after forcing ARB_conservative_depth on). Even if I could, it'd be very
> surprising if the issues were related. Unless you have concrete evidence to
> the contrary, I'd keep it to one bug per issue that you see. Issues can be
> combined later on, but are difficult to break apart. Switching this one back
> to radeonsi.
> 
> Any issues you see on other hardware should include an apitrace taken on
> that hw.

I think Pierre was referring to bug #93418 it already has an apitrace for SNB I
tried it a while ago on my Ivy Bridge and it also worked fine there.

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

[-- Attachment #1.2: Type: text/html, Size: 1967 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] 8+ messages in thread

* [Bug 93648] Random lines being rendered when playing Dolphin (geometry shaders related, w/ apitrace)
  2016-01-09 16:49 [Bug 93648] Random lines being rendered when playing Dolphin on radeonsi (w/ apitrace) bugzilla-daemon
                   ` (3 preceding siblings ...)
  2016-01-16 10:31 ` bugzilla-daemon
@ 2016-01-20 15:14 ` bugzilla-daemon
  2016-01-22 22:59 ` bugzilla-daemon
  2016-01-25 15:23 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-01-20 15:14 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Nicolai Hähnle <nhaehnle@gmail.com> ---
Thanks again for the report. Analysing the apitrace suggests we're not handling
geometry shader primitive types correctly, I'm looking into it.

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

[-- Attachment #1.2: Type: text/html, Size: 1175 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] 8+ messages in thread

* [Bug 93648] Random lines being rendered when playing Dolphin (geometry shaders related, w/ apitrace)
  2016-01-09 16:49 [Bug 93648] Random lines being rendered when playing Dolphin on radeonsi (w/ apitrace) bugzilla-daemon
                   ` (4 preceding siblings ...)
  2016-01-20 15:14 ` bugzilla-daemon
@ 2016-01-22 22:59 ` bugzilla-daemon
  2016-01-25 15:23 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-01-22 22:59 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Nicolai Hähnle <nhaehnle@gmail.com> ---
Found the bug: we didn't properly update a piece of state in a specific (but
not all that unusual) sequence of operations involving geometry shaders.

I have a preliminary series containing the fix at
http://cgit.freedesktop.org/~nh/mesa/log/?h=shader-state

I remember that you mentioned other rendering bugs in Dolphin that showed up
using your automated tests, but I don't think you've filed bug reports for
them. Of course they may well have had the same root cause, but if any of them
persist after the fix for this bug, I appreciate similarly high quality bug
reports in the future :)

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

[-- Attachment #1.2: Type: text/html, Size: 1693 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] 8+ messages in thread

* [Bug 93648] Random lines being rendered when playing Dolphin (geometry shaders related, w/ apitrace)
  2016-01-09 16:49 [Bug 93648] Random lines being rendered when playing Dolphin on radeonsi (w/ apitrace) bugzilla-daemon
                   ` (5 preceding siblings ...)
  2016-01-22 22:59 ` bugzilla-daemon
@ 2016-01-25 15:23 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-01-25 15:23 UTC (permalink / raw)
  To: dri-devel


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

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

Nicolai Hähnle <nhaehnle@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Nicolai Hähnle <nhaehnle@gmail.com> ---
The fix is now in Mesa master:

commit 004fcd423011d45f746d571be47062feeea75455
Author: Nicolai Hähnle <nicolai.haehnle@amd.com>
Date:   Fri Jan 22 17:04:48 2016 -0500

    radeonsi: ensure that VGT_GS_MODE is sent when necessary

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

[-- Attachment #1.2: Type: text/html, Size: 2350 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] 8+ messages in thread

end of thread, other threads:[~2016-01-25 15:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-09 16:49 [Bug 93648] Random lines being rendered when playing Dolphin on radeonsi (w/ apitrace) bugzilla-daemon
2016-01-09 18:15 ` bugzilla-daemon
2016-01-16  8:17 ` bugzilla-daemon
2016-01-16  8:36 ` [Bug 93648] Random lines being rendered when playing Dolphin (geometry shaders related, w/ apitrace) bugzilla-daemon
2016-01-16 10:31 ` bugzilla-daemon
2016-01-20 15:14 ` bugzilla-daemon
2016-01-22 22:59 ` bugzilla-daemon
2016-01-25 15:23 ` 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).