Serious Sam Fusion hangs system completely
https://bugs.freedesktop.org/show_bug.cgi?id=101961
Bug ID: 101961
Summary: Serious Sam Fusion hangs system completely
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
I'm running Mesa git master 3f38e64270c03c9a9eb5368c06dcfd1896fbf6d0 and my computers stops responding any input after few seconds of playing Serious Sam Fusion. The computer is unreachable over network after the crash, and no related logs are saved on disk. Git master c4652a0a5b5eef32f31baa1187ecd2612ac1009d of yesterday used to work fine.
Hardware: RX 480
Kernel: 4.12.3
Distro: openSUSE 42.2
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
https://bugs.freedesktop.org/show_bug.cgi?id=101961
--- Comment #1 from Samuel Pitoiset <[email protected]> --- It might be related to the CLEAR_STATE changes, can you checkout to 5c1241268ba9b240cb79ab9a30c5255b176c83c9 and try to reproduce the issue? Thanks!
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
https://bugs.freedesktop.org/show_bug.cgi?id=101961
--- Comment #2 from [email protected] ---
(In reply to Samuel Pitoiset from comment #1)
Quoted 3 lines
It might be related to the
CLEAR_STATEchanges, can you checkout to5c1241268ba9b240cb79ab9a30c5255b176c83c9and try to reproduce the issue? Thanks!
It still hangs on 5c1241268ba9b240cb79ab9a30c5255b176c83c9
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
https://bugs.freedesktop.org/show_bug.cgi?id=101961
--- Comment #3 from [email protected] ---
(In reply to network723 from comment #2)
Quoted 1 line
It still hangs on
5c1241268ba9b240cb79ab9a30c5255b176c83c9
I've tried bisecting, and looks like the bad commit somewhere between 7257c171e9eadc05903140cffa26a253f0d0178a and 5c1241268ba9b240cb79ab9a30c5255b176c83c9
Unfortunately, I have no time to bisect it further.
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
https://bugs.freedesktop.org/show_bug.cgi?id=101961
--- Comment #4 from Samuel Pitoiset <[email protected]> --- It looks weird, but can you try reverting 5c1241268b ?
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
https://bugs.freedesktop.org/show_bug.cgi?id=101961
--- Comment #5 from [email protected] ---
(In reply to Samuel Pitoiset from comment #4)
Quoted 1 line
It looks weird, but can you try reverting
5c1241268b?
reverting 5c1241268b helps, no hangs so far.
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
https://bugs.freedesktop.org/show_bug.cgi?id=101961
Marek Olšák <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED--- Comment #6 from Marek Olšák <[email protected]> --- I reverted 5c1241268b. Please reopen if you still get the hang.
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
https://bugs.freedesktop.org/show_bug.cgi?id=101961
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |---
Status|RESOLVED |REOPENED--- Comment #7 from [email protected] ---
Actually, I may have been wrong about revering 5c1241268b fixes the crash. After a really long session in the game system froze again. Here are last lines from the journal:
kernel: gmc_v8_0_process_interrupt: 7 callbacks suppressed
kernel: amdgpu 0000:28:00.0: GPU fault detected: 147 0x00004801
kernel: amdgpu 0000:28:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x05500000
kernel: amdgpu 0000:28:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x02048001
kernel: amdgpu 0000:28:00.0: VM fault (0x01, vmid 1) at page 89128960, read from 'TC4' (0x54433400) (72)
kernel: amdgpu 0000:28:00.0: GPU fault detected: 147 0x00004801
kernel: amdgpu 0000:28:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x05500000
kernel: amdgpu 0000:28:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x02048001
kernel: amdgpu 0000:28:00.0: VM fault (0x01, vmid 1) at page 89128960, read from 'TC4' (0x54433400) (72)
kernel: amdgpu 0000:28:00.0: GPU fault detected: 147 0x00004801
kernel: amdgpu 0000:28:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x05500000
kernel: amdgpu 0000:28:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x02048001
kernel: amdgpu 0000:28:00.0: VM fault (0x01, vmid 1) at page 89128960, read from 'TC4' (0x54433400) (72)
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
https://bugs.freedesktop.org/show_bug.cgi?id=101961
--- Comment #8 from Samuel Pitoiset <[email protected]> --- Okay, I should be able to reproduce tomorrow, I will let you know.
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
https://bugs.freedesktop.org/show_bug.cgi?id=101961
--- Comment #9 from Samuel Pitoiset <[email protected]> --- By the way, do you have some hints about how to reproduce, like which settings, which steps, etc? Also, what version is exactly, I mean the Steam appid?
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
https://bugs.freedesktop.org/show_bug.cgi?id=101961
--- Comment #10 from [email protected] ---
(In reply to Samuel Pitoiset from comment #9)
Quoted 3 lines
By the way, do you have some hints about how to reproduce, like which settings, which steps, etc? Also, what version is exactly, I mean the Steam appid?
It's Serious Sam Fusion 2017 steam current version. Steam AppID: 564310
DLC: 564324 564323 612560 564321 564322 564320
Graphics options
Graphics API: OpenGL
Resolution: 1920x1200
Window Mode: Fullscreen
Max 3D Rendering MPIX: 3.7(QHD 1440)
MSAA: Medium 4x
VSync: disabled
Performance options
CPU Speed: Medium
GPU Speed: Medium
GPU Memory: Medium
Level Caching: High
MAX FPS: Unlimited
The last time it crashed yesterday I was playing multiplayer, but it should crash on 'Death Canyon' map in single player too (Single Player -> Survival -> Multiplayer Levels BFE -> Death Canyon).
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
https://bugs.freedesktop.org/show_bug.cgi?id=101961
--- Comment #11 from Samuel Pitoiset <[email protected]> --- Unfortunately, I can't reproduce the issue with 3f38e64270c03c9a9eb5368c06dcfd1896fbf6d0 and the same settings, etc.
Can you try again with latest mesa and boot your kernel with amdgpu.vm_debug=1? It should be easier to catch all VM faults.
Though, ideally it would be better to record an apitrace which reproduces the hang.
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
https://bugs.freedesktop.org/show_bug.cgi?id=101961
--- Comment #12 from [email protected] ---
(In reply to Samuel Pitoiset from comment #11)
Quoted 8 lines
Unfortunately, I can't reproduce the issue with
3f38e64270c03c9a9eb5368c06dcfd1896fbf6d0and the same settings, etc.Can you try again with latest mesa and boot your kernel with amdgpu.vm_debug=1? It should be easier to catch all VM faults.
Though, ideally it would be better to record an apitrace which reproduces the hang.
Sorry it took so long, I've been updating entire distro, and had trouble building Mesa. Currently I'm on git master 4468764ef0cd0e71db03e14aaed7c650ffa1f77d & llvm revision 310200, and I'm not able to reproduce hangs myself.
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
https://bugs.freedesktop.org/show_bug.cgi?id=101961
--- Comment #13 from Samuel Pitoiset <[email protected]> --- Did you boot with amdgpu.vm_debug=1? Anyway, I think the previous hangs were related to the CLEAR_state changes which are now fixed in master.
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
https://bugs.freedesktop.org/show_bug.cgi?id=101961
Samuel Pitoiset <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |FIXED--- Comment #14 from Samuel Pitoiset <[email protected]> --- As I already said, this was probably related to the CLEAR_state changes. I can't reproduce myself, closing. Please re-open if you still have the issue. Thanks!
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