https://bugs.freedesktop.org/show_bug.cgi?id=97166
Bug ID: 97166 Summary: lockup during gameplay of Batman series of games Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: farmboy0+freedesktop@googlemail.com QA Contact: dri-devel@lists.freedesktop.org
The games in question are: Batman Arkham Asylum GotY Edition Batman Arkham City GotY Edition Batman Arkham Origins
The lockups are kind of random but happen not long after playing one of the games. I have tried the nine tracker and CSMT with opengl. Both exhibit the problem. I tried different kernel versions and also the andgpu-pro module and the lockup always happens. The lockups dont happen with Catalyst 15.12 and wine CSMT.
There is never anything in dmesg or the X.org log.
Hardware is: 001:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Amethyst XT [Radeon R9 M295X Mac Edition] [1002:6938] (rev f1) Subsystem: PC Partner Limited / Sapphire Technology Amethyst XT [Radeon R9 M295X Mac Edition] [174b:e308] Kernel driver in use: amdgpu
I am using LLVM git and Mesa git.
https://bugs.freedesktop.org/show_bug.cgi?id=97166
--- Comment #1 from Vedran Miletić vedran@miletic.net --- Is this Tonga (380/380X) or some other card?
https://bugs.freedesktop.org/show_bug.cgi?id=97166
--- Comment #2 from smoki smoki00790@gmail.com ---
Mobile Tonga it seems.
@farmboy0
Does lockups happens with regular wine?
I remember cases when Catalyst can lockup using wine-csmt too... just a note that wine-csmt isn't perfect always so check regular wine too.
https://bugs.freedesktop.org/show_bug.cgi?id=97166
--- Comment #3 from Vedran Miletić vedran@miletic.net --- (In reply to smoki from comment #2)
Mobile Tonga it seems.
Desktop and mobile chip have the same PCI ID, that's why I ask [1]. I might be able to test Batman on my 380X to confirm the issue.
[1] https://pci-ids.ucw.cz/read/PC/1002/6938
https://bugs.freedesktop.org/show_bug.cgi?id=97166
--- Comment #4 from smoki smoki00790@gmail.com ---
At least AMD listing 00, F0, F1 revs... so pci-ids project might try to differinate descriptions somehow by revs too:
http://developer.amd.com/resources/ati-catalyst-pc-vendor-id-1002-li/
For the bug, i suspect it is one of those "as soon as threading is pushed lockup happens" ;)
https://bugs.freedesktop.org/show_bug.cgi?id=97166
--- Comment #5 from farmboy0+freedesktop@googlemail.com --- This is a desktop Sapphire 380X.
I'll try with normal wine, I *think* I tried that already and it also locked up but Ill test again to be sure.
https://bugs.freedesktop.org/show_bug.cgi?id=97166
--- Comment #6 from farmboy0+freedesktop@googlemail.com --- Yep , also locking up with normal wine.
To test just run the benchmark. It will lock up there and in the normal game.
https://bugs.freedesktop.org/show_bug.cgi?id=97166
--- Comment #7 from Vedran Miletić vedran@miletic.net --- (In reply to farmboy0+freedesktop from comment #6)
Yep , also locking up with normal wine.
To test just run the benchmark. It will lock up there and in the normal game.
How much hassle is to get Batman working? Is it more than wine Steam.exe, Install Batman, Play? If not, I could try it tomorrow.
https://bugs.freedesktop.org/show_bug.cgi?id=97166
--- Comment #8 from farmboy0+freedesktop@googlemail.com --- I *think* you need DotNet installed in your prefix. My Steam install resides there at least. Otherwise yeah Install and play should suffice. You might want to remove the intro movies they are annyoing. Instructions can be found in the PC Gaming Wiki.
https://bugs.freedesktop.org/show_bug.cgi?id=97166
--- Comment #9 from rick.2889@gmail.com --- I'm going to attach part of a journalctl log of the hang/crash. This is an Arch Linux host using the regular 'linux' Arch Linux kernel (version 4.7), Mesa 12.0.1, and Wine 1.9.17 (no matter if I use -staging or -gaming-nine) with a Sapphire R9 280X 3GB GDDR5 OC DUAL-X GPU.
A video of the crash as it happens: http://nanosector.ddns.net:9090/BGLL0XLY/file_309.mp4 Note that I don't know how long that video will be up for.
I've tried mesa-git to see if that eliminates the issue, but it behaves in the same manner.
https://bugs.freedesktop.org/show_bug.cgi?id=97166
--- Comment #10 from rick.2889@gmail.com --- Created attachment 125998 --> https://bugs.freedesktop.org/attachment.cgi?id=125998&action=edit Journalctl log of the crash
https://bugs.freedesktop.org/show_bug.cgi?id=97166
--- Comment #11 from farmboy0+freedesktop@googlemail.com --- Created attachment 126123 --> https://bugs.freedesktop.org/attachment.cgi?id=126123&action=edit ddebug info
https://bugs.freedesktop.org/show_bug.cgi?id=97166
Vedran Miletić vedran@miletic.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #125998|text/x-log |text/plain mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=97166
--- Comment #12 from farmboy0+freedesktop@googlemail.com --- Looks like this patch fixes the problem: https://lists.freedesktop.org/archives/mesa-dev/2016-December/137213.html
https://bugs.freedesktop.org/show_bug.cgi?id=97166
Marek Olšák maraeo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #13 from Marek Olšák maraeo@gmail.com --- GPU hangs in Batman Arkham: Origins were fixed by this commit:
https://cgit.freedesktop.org/mesa/mesa/commit/?id=6dc96de303290e8d1fc294da47...
Closing.
dri-devel@lists.freedesktop.org