Bug 110377 - [ANV] System freezes in some games (Unreal Engine 4 games, Dark Souls 3, Sekiro)
Summary: [ANV] System freezes in some games (Unreal Engine 4 games, Dark Souls 3, Sekiro)
Status: RESOLVED DUPLICATE of bug 110228
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Vulkan/intel (show other bugs)
Version: 19.0
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Intel 3D Bugs Mailing List
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-10 09:50 UTC by Philip
Modified: 2019-06-27 10:15 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
patch to disable dispatches in anv (3.18 KB, patch)
2019-04-10 11:29 UTC, Danylo
Details | Splinter Review

Description Philip 2019-04-10 09:50:52 UTC
Some games running using Wine with DXVK causes system to freeze completely (SysRq doesn't work). It happens only with DXVK and doesn't happens with WineD3D (which is, roughly speaking, OpenGL) so i suppose the problem is in the Vulkan driver.

Reproducible in:

* Astroneer and Breathedge (UE4). Just run the game and system will hang within a few seconds.
* Dark Souls 3 and Sekiro: Shadows Die Twice. Run the game, start a new game and run a few meters, system will hang.

Some other games causes system hangs as well, but i can't remember their names.

My specs:

GPU: Intel HD 630
OS: Arch Linux
Kernel: 5.0.7
Mesa: 19.0.1

It happens with other Mesa versions too (i tried 18.0, 18.1, 18.2, 18.3).
Comment 1 Denis 2019-04-10 10:02:15 UTC
Hi, could you please clarify - behaviour is the same for all mentioned games? Asking because we already investigating this report https://bugs.freedesktop.org/show_bug.cgi?id=110228

Which has also gpu hang + kernel hang.
Comment 2 Philip 2019-04-10 10:50:34 UTC
Well, all games causes kernel freeze, but i don't know if gpu hangs. At that moment i only have Astroneer installed, and i can't find anyting related to gpu hang in journal.
Comment 3 Denis 2019-04-10 10:53:33 UTC
then maybe try 4.20 kernel or older? Who knows - maybe that's only kernel related.
Comment 4 Philip 2019-04-10 10:57:52 UTC
I tried different kernel versions (4.14-5.0 and iirc 4.9 too) and in all cases kernel freezes.
Comment 5 Danylo 2019-04-10 11:29:07 UTC
Created attachment 143917 [details] [review]
patch to disable dispatches in anv

Hi, thanks for the report.

It looks similar to https://bugs.freedesktop.org/show_bug.cgi?id=110228 where UE4 editor hangs. In that case it is due compute workload however I still don't know why it hangs and why it hangs so badly.

So to test if these issues are related could you apply the patch I have attached? It will disable compute workload; this may break how games render but I'm only interested in hangs disappearance.
Comment 6 Philip 2019-04-10 12:59:21 UTC
Hangs disappeared after applying your patch.

I only tested Astroneer yet, but i will also test Sekiro a little later.
Comment 7 Danylo 2019-04-10 13:29:18 UTC
Thanks for testing, then I can assume that the issues are related.
Comment 8 Philip 2019-04-10 13:43:58 UTC
I tested Sekiro and it doesn't hangs with your patch too, so the issues are related.
Comment 9 Denis 2019-06-27 10:15:43 UTC

*** This bug has been marked as a duplicate of bug 110228 ***


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.