https://bugs.freedesktop.org/show_bug.cgi?id=74892
Priority: medium Bug ID: 74892 Assignee: dri-devel@lists.freedesktop.org Summary: HyperZ GPU lockup with radeonsi 7970M PITCAIRN and Distance Alpha game Severity: normal Classification: Unclassified OS: All Reporter: haagch.christoph@googlemail.com Hardware: Other Status: NEW Version: git Component: Drivers/Gallium/radeonsi Product: Mesa
The kernel people at https://bugzilla.kernel.org/show_bug.cgi?id=70411 told me this needs to be fixed in mesa, so here it is.
The interesting part:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wimbledon XT [Radeon HD 7970M]
Latest mesa git, but has probably been happening since HyperZ was enabled by default.
dmesg is attached there: https://bugzilla.kernel.org/attachment.cgi?id=125651
It's reproducible every time so I can later get more detail. For now there's the dmesg: Starting the game and showing some intro works, but shortly before displaying the menu X freezes for a few seconds and after it is usable again, I see the stuff starting at 82688.801309 in dmesg.
HyperZ seems to work fine for everything else I have tried so far. It only happens in the Distance Alpha that's only (officially) available to kickstarter backers.
https://bugs.freedesktop.org/show_bug.cgi?id=74892
--- Comment #1 from Christoph Haag haagch.christoph@googlemail.com --- Created attachment 94093 --> https://bugs.freedesktop.org/attachment.cgi?id=94093&action=edit crashing again with patch from #8
(In reply to comment #8)
Created attachment 94078 [details] Patch to test
Can you test this patch and post the output of R600_DEBUG=cs
It's crashing again with
0x7f76ed4687c0: i32 = ExternalSymbol'__muldi3'
For some reason the output seems to be doubled in my log.
I hope it's not a problem that llvm was built from a newer revision than clang.
https://bugs.freedesktop.org/show_bug.cgi?id=74892
Christoph Haag haagch.christoph@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #94093|crashing again with patch |please ignore description|from #8 | Attachment #94093|text/plain |application/octet-stream mime type| | Attachment #94093|0 |1 is obsolete| |
--- Comment #2 from Christoph Haag haagch.christoph@googlemail.com --- Comment on attachment 94093 --> https://bugs.freedesktop.org/attachment.cgi?id=94093 please ignore
Sorry to whoever got mails now, didn't mean to post this here.
https://bugs.freedesktop.org/show_bug.cgi?id=74892
Andreas Boll andreas.boll.dev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |75112
https://bugs.freedesktop.org/show_bug.cgi?id=74892
--- Comment #3 from Marek Olšák maraeo@gmail.com --- Is this fixed with current Mesa git?
If not, could you please make and upload a trace file using apitrace:
https://github.com/apitrace/apitrace
Thanks.
https://bugs.freedesktop.org/show_bug.cgi?id=74892
Christoph Haag haagch@frickel.club changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Christoph Haag haagch@frickel.club --- Yes, seems to work now after a few short tests. No hangs.
Thanks!
https://bugs.freedesktop.org/show_bug.cgi?id=74892
--- Comment #5 from Marek Olšák maraeo@gmail.com --- Did you set this environment variable before testing?
R600_DEBUG=hyperz
https://bugs.freedesktop.org/show_bug.cgi?id=74892
--- Comment #6 from Christoph Haag haagch@frickel.club --- (In reply to comment #5)
Did you set this environment variable before testing?
R600_DEBUG=hyperz
There are times when I don't know what I'm doing but this time I used this in steam:
DRI_PRIME=1 GALLIUM_HUD="fps,VRAM-usage+GTT-usage" R600_DEBUG=hyperz %command%
https://bugs.freedesktop.org/show_bug.cgi?id=74892
--- Comment #7 from Marek Olšák maraeo@gmail.com --- Ok, that looks good. Thanks.
dri-devel@lists.freedesktop.org