Bug 103900 - [SUMO][TURKS] Launching War Thunder make GPU stuck, and then system is hard lockup
Summary: [SUMO][TURKS] Launching War Thunder make GPU stuck, and then system is hard l...
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: 17.3
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-25 07:41 UTC by russianneuromancer
Modified: 2019-09-18 19:24 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
GPU lockup dmesg (81.32 KB, text/plain)
2017-11-25 07:42 UTC, russianneuromancer
Details

Description russianneuromancer 2017-11-25 07:41:47 UTC
Hello!

Launching War Thunder make GPU stuck, and then system is hard lockup. This issue is starting to happen after upgrade from Mesa 17.2.2 with libdrm 2.4.83 to 17.3.0rc4 with libdrm 2.4.85 (from Padoka Stable PPA https://launchpad.net/~paulo-miguel-dias/+archive/ubuntu/pkppa ) on Kubuntu 17.10 x86_64. As soon as I rollback to Mesa 17.2.2 and libdrm 2.4.83, GPU lockup is no longer reproducible, but then there is another issue: bug 100387

Issue is reproducible on both of iGPU and dGPU. Please look into attached log.

Hardware: 
Acer Aspire 7560G, AMD A8-3500M
AMD Radeon HD 6620G iGPU, AMD Radeon HD 6650M dGPU.

Software:
Kubuntu 17.10 x86_64, Linux 4.14.1.
radeon DDX and modesetting DDX was tested, no difference.
Comment 1 russianneuromancer 2017-11-25 07:42:55 UTC
Created attachment 135708 [details]
GPU lockup dmesg
Comment 2 aceman 2017-11-25 11:49:52 UTC
Yes I can confirm this on Radeon HD 4350. Even the game itself shows a dialog about hangup, but then the GPU is hung for a while. I think it restarts eventually and takes down the X server (and KDE session). But then I can normally login to KDE again.
Comment 3 rene 2018-01-25 18:54:23 UTC
After turning off shader optimization with R600_DEBUG=nosb 
War Thunder works and doesn't crash.
Comment 4 mirh 2018-12-21 23:26:42 UTC
There was quite of an improvement in sb, in the last couple of mesa releases (even though bug 105371 would make me hesitant to say now it's 100% fixed)

Does war thunder work then in 18.3?
Comment 5 Syfer Polski 2019-03-27 15:19:17 UTC
Based on https://forum.warthunder.com/index.php?/topic/422637-game-crashes-before-going-into-hangar/&do=findComment&comment=8058647, I seems like this bug hasn't been fixed(although the user in question didn't supply their version of Mesa).

A user in the linked source supplied the following system specifications:
Dell Precision M4600
Ubuntu 18.04.2
i7 2720QM CPU @ 2.20GHz x 8
32GB RAM
GPU AMD Turks (FirePro M5950)

The default version of Mesa in Ubuntu 18.04 is 18.0.0rc5.
Comment 6 GitLab Migration User 2019-09-18 19:24:42 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/619.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.