Bug 104587 - [skl] GPU hang in Xorg: Random hang when resizing a window.
Summary: [skl] GPU hang in Xorg: Random hang when resizing a window.
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Intel 3D Bugs Mailing List
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-11 18:58 UTC by Derick Rethans
Modified: 2019-09-25 19:07 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Error log from /sys/class/drm/card0/error (55.32 KB, text/x-log)
2018-01-11 18:58 UTC, Derick Rethans
Details
Another crash log (55.34 KB, text/plain)
2018-01-12 11:39 UTC, Derick Rethans
Details

Description Derick Rethans 2018-01-11 18:58:08 UTC
Created attachment 136666 [details]
Error log from /sys/class/drm/card0/error

Random hang when resizing a window.

"sudo dmesg" told me to file a new bug report:

[ 5599.030950] [drm] GPU HANG: ecode 9:0:0x85dffffb, in Xorg [1101], reason: Hang on rcs0, action: reset
[ 5599.030952] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[ 5599.030952] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[ 5599.030952] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[ 5599.030952] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[ 5599.030953] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[ 5599.030958] i915 0000:00:02.0: Resetting rcs0 after gpu hang
[ 5606.987519] i915 0000:00:02.0: Resetting rcs0 after gpu hang
[ 5614.987422] i915 0000:00:02.0: Resetting rcs0 after gpu hang
[ 5622.987358] i915 0000:00:02.0: Resetting rcs0 after gpu hang
[ 5630.987294] i915 0000:00:02.0: Resetting rcs0 after gpu hang

Sadly, I don't know how to reliably reproduce this.
Comment 1 Derick Rethans 2018-01-12 11:39:43 UTC
Created attachment 136676 [details]
Another crash log

Once again, I think it happened when I resized (with wmctrl) outside of the right margin of the screen
Comment 2 Andriy Khulap 2018-01-19 13:17:16 UTC
Derick, could you please share more details about your system?

I can'n reproduce it on:
Ubuntu 16.04 LTS (Kernel 4.4.0-109-generic)
Intel(R) HD Graphics 530 (Skylake GT2)  (0x191b)
X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0

Tried mesa versions:
git master (1cbcd70b6486)
mesa-17.1.10 (git-834d6c60db26)
mesa-13.0.0 (git-df1b0a5a86ba)

Used commands like wmctrl -i -r 0x05000001 -e 0,1000,200,1200,600
to resize terminal and chrome windows inside and outside the screen. But all was functioning as expected.
Comment 3 Derick Rethans 2018-01-31 16:57:42 UTC
It still happens regularly, though not always. I would love to give you more information, but I don't know what you would like to see.

I'm running the latest Debian unstable packages.

derick@singlemalt:~ $ uname -a
Linux singlemalt 4.14.0-3-amd64 #1 SMP Debian 4.14.13-1 (2018-01-14) x86_64 GNU/Linux

00:00.0 Host bridge: Intel Corporation Skylake Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 520 (rev 07)

X.Org X Server 1.19.5
Release Date: 2017-10-12
[ 91813.973] X Protocol Version 11, Revision 0

derick@singlemalt:~ $ sudo dpkg -l mesa*
ii  mesa-common-dev:amd64                     17.3.3-1                  amd64                     Developer documentation for Mesa
un  mesa-glide2-dev                           <none>                    <none>                    (no description available)
ii  mesa-utils                                8.3.0-5                   amd64                     Miscellaneous Mesa GL utilities
ii  mesa-va-drivers:amd64                     17.3.3-1                  amd64                     Mesa VA-API video acceleration drivers
ii  mesa-vdpau-drivers:amd64                  17.3.3-1                  amd64                     Mesa VDPAU video acceleration drivers
Comment 4 Elizabeth 2018-03-06 20:05:36 UTC
Hi, could you try the new mesa 17.3.6 release? It has some fixes for gpu hangs, though not sure if it going to improve your specific case, since we don't know root-cause yet. Thank you.
Comment 5 Derick Rethans 2018-03-07 09:41:51 UTC
Seems that I had already upgraded to this version since January:

derick@singlemalt:~ $ sudo dpkg -l mesa*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  mesa-common-de 17.3.6-1     amd64        Developer documentation for Mesa
un  mesa-glide2-de <none>       <none>       (no description available)
ii  mesa-utils     8.4.0-1      amd64        Miscellaneous Mesa GL utilities
ii  mesa-va-driver 17.3.6-1     amd64        Mesa VA-API video acceleration dr
ii  mesa-vdpau-dri 17.3.6-1     amd64        Mesa VDPAU video acceleration dri
un  mesag-dev      <none>       <none>       (no description available)
un  mesag3         <none>       <none>       (no description available)
un  mesag3+ggi-dev <none>       <none>       (no description available)


I'll try to do the things I've been avoiding to stop the crashes, to see if things are fixed now. I'll report back in a short while.
Comment 6 GitLab Migration User 2019-09-25 19:07:20 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/1673.


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.