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.
Created attachment 94093 [details]
(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.
Comment on attachment 94093 [details]
Sorry to whoever got mails now, didn't mean to post this here.
Is this fixed with current Mesa git?
If not, could you please make and upload a trace file using apitrace:
Yes, seems to work now after a few short tests. No hangs.
Did you set this environment variable before testing?
(In reply to comment #5)
> Did you set this environment variable before testing?
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%
Ok, that looks good. Thanks.