Skip to contentSkip to conversation

RX580 ~ ring gfx timeout ~ particular shaders created by a dolphin-emu game can bring down AMDGPU

Bug 107991 [email protected] 1 participant 12 messages Sep 19, 2018 – Oct 1, 2018

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 107991
Summary: RX580 ~ ring gfx timeout ~ particular shaders created
by a dolphin-emu game can bring down AMDGPU
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 141652
--> https://bugs.freedesktop.org/attachment.cgi?id=141652&action=edit
dolphin-emu apitrace

I have successfully captured an apitrace that intercepted the crashy frame before the driver crashed.

The issues occur at very specific parts of Fire Emblem: Path of Radiance, where the frames / shaders / textures generated by dolphin-emu cause the driver to crash.

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

[Bug 107991] RX580 ~ ring gfx timeout ~ particular shaders created by a dolphin-emu game can bring down AMDGPU ~ attached apitrace

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

[email protected] changed:

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

            Summary|RX580 ~ ring gfx timeout ~  |RX580 ~ ring gfx timeout ~
                   |particular shaders created  |particular shaders created
                   |by a dolphin-emu game can   |by a dolphin-emu game can
                   |bring down AMDGPU           |bring down AMDGPU ~
                   |                            |attached apitrace
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

[Bug 107991] RX580 ~ ring gfx timeout ~ particular shaders created by a dolphin-emu game can bring down AMDGPU ~ attached apitrace

In reply to [email protected]

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

--- Comment #1 from [email protected] ---
I'm running Mesa master compiled with LLVM master, and kernel 4.18.8.

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

[Bug 107991] RX580 ~ ring gfx timeout ~ particular shaders created by a dolphin-emu game can bring down AMDGPU ~ attached apitrace

In reply to [email protected]

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

[email protected] changed:

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

            Product|Mesa                        |DRI
          Component|Drivers/Gallium/radeonsi    |DRM/AMDgpu
            Version|git                         |unspecified
         QA Contact|[email protected] |
                   |.org                        |
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

[Bug 107991] RX580 ~ ring gfx timeout ~ particular shaders created by a dolphin-emu game can bring down AMDGPU ~ attached apitrace

In reply to [email protected]

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

Michel Dänzer <[email protected]> changed:

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

          Component|DRM/AMDgpu                  |Drivers/Gallium/radeonsi
         QA Contact|                            |[email protected]
                   |                            |.org
            Product|DRI                         |Mesa

--- Comment #2 from Michel Dänzer <[email protected]> --- FWIW, the apitrace doesn't hang the Bonaire card in my development box.

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

[Bug 107991] RX580 ~ ring gfx timeout ~ particular shaders created by a dolphin-emu game can bring down AMDGPU ~ attached apitrace

In reply to [email protected]

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

--- Comment #3 from [email protected] ---
Hi Michel,

What kernel and Mesa drivers, and versions, are you using?

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

#6 lore raw

[Bug 107991] RX580 ~ ring gfx timeout ~ particular shaders created by a dolphin-emu game can bring down AMDGPU ~ attached apitrace

In reply to [email protected]

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

--- Comment #4 from Michel Dänzer <[email protected]> --- (In reply to kyle.devir from comment #3)

Quoted 1 line

What kernel and Mesa drivers, and versions, are you using?

amdgpu from kernel 4.18.8 + DRM changes for 4.19, Mesa Git master + LLVM trunk.

It's likely a GPU specific issue in radeonsi.

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

[Bug 107991] RX580 ~ ring gfx timeout ~ particular shaders created by a dolphin-emu game can bring down AMDGPU ~ attached apitrace

In reply to [email protected]

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

--- Comment #5 from [email protected] ---

Quoted 1 line

amdgpu from kernel 4.18.8 + DRM changes for 4.19

So, stable upstream plus patches, or is this the AMD Staging kernel?

Quoted 1 line

It's likely a GPU specific issue in radeonsi.

I wonder if there's any way to narrow down this issue any further?

Apart from testing with your kernel config, anyways.

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

[Bug 107991] RX580 ~ ring gfx timeout ~ particular shaders created by a dolphin-emu game can bring down AMDGPU ~ attached apitrace

In reply to [email protected]

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

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
Version|unspecified |git

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

[Bug 107991] RX580 ~ ring gfx timeout ~ particular shaders created by a dolphin-emu game can bring down AMDGPU ~ attached apitrace

In reply to [email protected]

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

--- Comment #6 from Rob Stolarz <[email protected]> ---
I get the same crash (drm amdgpu ring gfx timeout) on an RX 480 in The Legend of Zelda: Twilight Princess (GameCube) with any combination of Arch's linux and linux-git packages, regular Mesa packages+vulkan-radeon and mesa-git, libdrm and libdrm-git, and dolphin-emu and dolphin-emu-git. This crash happens both in Vulkan and OpenGL render modes. It's also easy to reproduce, just start a new game and watch the first cutscene to completion.

Kyle's apitrace crashes my card as well.

I don't mind getting more data about this, I just don't know how to capture it.

If this happens in both Vulkan and OpenGL render modes, is it really a radeonsi issue?

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

[Bug 107991] RX580 ~ ring gfx timeout ~ particular shaders created by a dolphin-emu game can bring down AMDGPU with RadeonSI or RADV ~ attached apitrace

In reply to [email protected]

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

[email protected] changed:

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

            Summary|RX580 ~ ring gfx timeout ~  |RX580 ~ ring gfx timeout ~
                   |particular shaders created  |particular shaders created
                   |by a dolphin-emu game can   |by a dolphin-emu game can
                   |bring down AMDGPU ~         |bring down AMDGPU with
                   |attached apitrace           |RadeonSI or RADV ~ attached
                   |                            |apitrace

--- Comment #7 from [email protected] ---
Ah, that'

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

[Bug 107991] RX580 ~ ring gfx timeout ~ particular shaders created by a dolphin-emu game can bring down AMDGPU with RadeonSI or RADV ~ attached apitrace

In reply to [email protected]

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

[email protected] changed:

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

          Component|Drivers/Gallium/radeonsi    |Other
         QA Contact|[email protected] |[email protected].
                   |.org                        |org
           Assignee|[email protected] |[email protected].
                   |.org                        |org
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