Bug 103828 - Left 4 dead 2 crashes with GPU HANG: ecode 9:0:0x85dffffb, in hl2_linux [10777], reason: Hang on rcs0, action: reset
Summary: Left 4 dead 2 crashes with GPU HANG: ecode 9:0:0x85dffffb, in hl2_linux [1077...
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: 17.2
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel 3D Bugs Mailing List
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-20 21:24 UTC by Fla
Modified: 2017-12-01 18:55 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
/sys/class/drm/card0/error (56.90 KB, text/plain)
2017-11-20 21:30 UTC, Fla
Details

Description Fla 2017-11-20 21:24:25 UTC
I'm running Linux Mint 18.2 x64.
X.Org X Server 1.18.4
Mesa bumped to 17.2.4 and LLVM 5.0 with x-swat ppa
Reproduced with both DRI2 and DRI3, with kernel 4.8, 4.13 and 4.14 stable. Please tell me if you want me to try with other kernels.

I'm playing Left 4 Dead 2, the game launches correctly and I can play but as soon as there is many zombies / I'm moving fast, the game freezes and then crashes. Here is dmseg output and please find attached the log.

[47279.870113] [drm] GPU HANG: ecode 9:0:0x85dffffb, in hl2_linux [10777], reason: Hang on rcs0, action: reset
[47279.870115] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[47279.870117] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[47279.870118] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[47279.870119] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[47279.870121] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[47279.870130] i915 0000:00:02.0: Resetting rcs0 after gpu hang
[47281.885630] asynchronous wait on fence i915:hl2_linux[10777]/1:7700 timed out
[47287.869837] i915 0000:00:02.0: Resetting rcs0 after gpu hang
[47292.893876] asynchronous wait on fence i915:hl2_linux[10777]/1:770b timed out
[47295.870129] i915 0000:00:02.0: Resetting rcs0 after gpu hang
[47303.870178] i915 0000:00:02.0: Resetting rcs0 after gpu hang
[47311.870371] i915 0000:00:02.0: Resetting rcs0 after gpu hang
[47312.030097] MatQueue0[10844]: segfault at fffffffc ip 00000000b6c1a6fc sp 000000007effd650 error 4 in client.so[b664c000+dd8000]
Comment 1 Chris Wilson 2017-11-20 21:29:13 UTC
Probable dupe of bug 102226
Comment 2 Fla 2017-11-20 21:30:58 UTC
Created attachment 135619 [details]
/sys/class/drm/card0/error
Comment 3 Fla 2017-11-20 21:31:47 UTC
Sorry I had to chmod the log file, it created 500 error in bugzilla when uploading.
Comment 4 Fla 2017-11-20 21:36:44 UTC
My CPU is an Intel(R) Core(TM) i5-7600K CPU @ 3.80GHz
Comment 5 Fla 2017-11-21 18:05:40 UTC
I just tried to bump Mesa to 17.3-rc4 with the 
Padoka Stable PPA https://launchpad.net/~paulo-miguel-dias/+archive/ubuntu/pkppa and the crash is still there. I'm downgrading to 17.0.2 where I was able to play correctly.
Comment 6 Kenneth Graunke 2017-12-01 18:55:47 UTC
Hello, this is most likely fixed in Mesa master by:

commit ee57b15ec764736e2d5360beaef9fb2045ed0f68
Author: Jason Ekstrand <jason.ekstrand@intel.com>
Date:   Wed Nov 29 16:22:42 2017 -0800

    i965: Disable regular fast-clears (CCS_D) on gen9+
    
    This partially reverts commit 3e57e9494c2279580ad6a83ab8c065d01e7e634e
    which caused a bunch of GPU hangs on several Source titles.  To date, we
    have no clue why these hangs are actually happening.  This undoes the
    final effect of 3e57e9494c227 and gets us back to not hanging.  Tested
    with Team Fortress 2.
    
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102435
    Fixes: 3e57e9494c2279580ad6a83ab8c065d01e7e634e
    Cc: mesa-stable@lists.freedesktop.org

It should be fixed in Mesa 17.3.0 as well (once that's released).

Please reopen if you still experience hangs.  Left 4 Dead 2 appears to be working well for me locally.


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.