Bug 89901 - [drm:hsw_unclaimed_reg_detect.isra.12] *ERROR* Unclaimed register detected.
Summary: [drm:hsw_unclaimed_reg_detect.isra.12] *ERROR* Unclaimed register detected.
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium blocker
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-04 09:58 UTC by Georgios Varisteas
Modified: 2017-07-24 22:47 UTC (History)
5 users (show)

See Also:
i915 platform: BDW
i915 features: GPU hang


Attachments
/sys/class/drm/card0/error as .zip due to size > 3MB (22 bytes, text/plain)
2015-04-04 09:58 UTC, Georgios Varisteas
no flags Details
new /sys/class/drm/card0/error (2.81 MB, text/plain)
2015-04-13 18:51 UTC, Georgios Varisteas
no flags Details

Description Georgios Varisteas 2015-04-04 09:58:23 UTC
Created attachment 114861 [details]
/sys/class/drm/card0/error as .zip due to size > 3MB

I just got a Lenovo x250 i5-5300U and Intel HD 5500. I'm running Gentoo Linux with the following packages:

gentoo-kernel-3.19.3
mesa-10.5.1
xf86-video-intel-2.99.917
libdrm-2.4.59
libva-1.5.1
libva-intel-driver-1.5.1
cairo-1.14.2
xorg-server-1.17.1
intel-gpu-tools-1.7
kwin-4.11.17

From xorg.conf:

Section "Device"
        Identifier  "intel5500"
        Driver      "intel"
        Option      "RenderAccel"       "true"
        Option      "AccelDFS"          "true"
        Option      "AccelMethod"       "sna"
        Option      "DebugFlushBatches" "true"
EndSection

KWin crashes after 10 or so minutes of use, every time! The laptop is practically unusable in X.

With effects enables: colors bleed, everything deteriorates and eventually hangs. I need to restart X, wich thankfully I can do by switching to TTY. I do not have an error log at this point.

With effects disabled I get constant error output in dmesg like the following, 
but kwin and X do not hung! Screen flickers momentarily and that's all.


[ 1417.622243] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 19b4000 
DMAR:[fault reason 23] Unknown
[ 1421.925894] [drm] stuck on render ring
[ 1421.927242] [drm] GPU HANG: ecode 8:0:0x85dffffb, in X [262], reason: Ring hung, action: reset
[ 1421.927246] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[ 1421.927248] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[ 1421.927250] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[ 1421.927252] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[ 1421.927255] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[ 1421.928875] drm/i915: Resetting chip after gpu hang
[ 1421.936704] dmar: DRHD: handling fault status reg 2
[ 1421.936712] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 19b4000 
DMAR:[fault reason 23] Unknown
[ 1427.922519] [drm] stuck on render ring
[ 1427.923642] [drm] GPU HANG: ecode 8:0:0x85dffffb, in X [262], reason: Ring hung, action: reset
[ 1427.923731] [drm:i915_context_is_banned] *ERROR* gpu hanging too fast, banning!
[ 1427.925527] drm/i915: Resetting chip after gpu hang
[ 1432.004785] i2c i2c-4: master_xfer[0] W, addr=0x50, len=1
[ 1432.004788] i2c i2c-4: master_xfer[1] R, addr=0x50, len=1
[ 1432.008228] i2c i2c-4: i2c_outb: 0xa0, timeout at bit #7
[ 1432.008231] i2c i2c-4: NAK from device addr 0x50 msg #0
[ 1432.012250] i2c i2c-3: master_xfer[0] W, addr=0x50, len=1
[ 1432.012251] i2c i2c-3: master_xfer[1] R, addr=0x50, len=1
[ 1436.126984] dmar: DRHD: handling fault status reg 2
[ 1436.126990] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 6880000 
DMAR:[fault reason 23] Unknown
[ 1436.174189] dmar: DRHD: handling fault status reg 2
[ 1436.174197] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 6880000 
DMAR:[fault reason 23] Unknown

.
.
.

[ 1668.500758] [drm:hsw_unclaimed_reg_detect.isra.12] *ERROR* Unclaimed register detected. Please use the 
i915.mmio_debug=1 to debug this problem.
[ 1668.507998] [drm:hsw_unclaimed_reg_detect.isra.12] *ERROR* Unclaimed register detected. Please use the 
i915.mmio_debug=1 to debug this problem.
[ 1668.524061] [drm:hsw_unclaimed_reg_detect.isra.12] *ERROR* Unclaimed register detected. Please use the 
i915.mmio_debug=1 to debug this problem.
[ 1668.551722] [drm:hsw_unclaimed_reg_detect.isra.12] *ERROR* Unclaimed register detected. Please use the 
i915.mmio_debug=1 to debug this problem.
[ 1670.298585] [drm:hsw_unclaimed_reg_detect.isra.12] *ERROR* Unclaimed register detected. Please use the 
i915.mmio_debug=1 to debug this problem.
[ 1670.303269] [drm:hsw_unclaimed_reg_detect.isra.12] *ERROR* Unclaimed register detected. Please use the 
i915.mmio_debug=1 to debug this problem.
[ 1670.533205] [drm:hsw_unclaimed_reg_detect.isra.12] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[ 1670.538305] [drm:hsw_unclaimed_reg_detect.isra.12] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[ 1670.552453] [drm:hsw_unclaimed_reg_detect.isra.12] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[ 1670.569236] [drm:hsw_unclaimed_reg_detect.isra.12] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[ 1670.586531] [drm:hsw_unclaimed_reg_detect.isra.12] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[ 1670.616754] [drm:hsw_unclaimed_reg_detect.isra.12] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[ 1670.621099] [drm:hsw_unclaimed_reg_detect.isra.12] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[ 1670.636219] [drm:hsw_unclaimed_reg_detect.isra.12] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[ 1670.652196] [drm:hsw_unclaimed_reg_detect.isra.12] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[ 1670.669208] [drm:hsw_unclaimed_reg_detect.isra.12] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[ 1670.686035] [drm:hsw_unclaimed_reg_detect.isra.12] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[ 1670.702561] [drm:hsw_unclaimed_reg_detect.isra.12] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[ 1670.732537] [drm:hsw_unclaimed_reg_detect.isra.12] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[ 1670.736614] [drm:hsw_unclaimed_reg_detect.isra.12] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[ 1670.752701] [drm:hsw_unclaimed_reg_detect.isra.12] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[ 1670.768974] [drm:hsw_unclaimed_reg_detect.isra.12] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.

.
.
.

[ 1831.701469] [drm] stuck on render ring
[ 1831.702529] [drm] GPU HANG: ecode 8:0:0x009fd5d3, in X [26052], reason: Ring hung, action: reset
[ 1831.704458] drm/i915: Resetting chip after gpu hang
[ 1831.708619] dmar: DRHD: handling fault status reg 3
[ 1831.708626] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr b166000 
DMAR:[fault reason 23] Unknown
[ 1837.694128] [drm] stuck on render ring
[ 1837.695167] [drm] GPU HANG: ecode 8:0:0x86dffffd, in X [26052], reason: Ring hung, action: reset
[ 1837.695360] [drm:i915_context_is_banned] *ERROR* gpu hanging too fast, banning!
[ 1837.697151] drm/i915: Resetting chip after gpu hang
[ 1837.698288] dmar: DRHD: handling fault status reg 3
[ 1837.698295] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr cb04000 
DMAR:[fault reason 23] Unknown
[ 1838.999993] dmar: DRHD: handling fault status reg 3
[ 1839.000000] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr cb05000 
DMAR:[fault reason 23] Unknown

.
.
.
[ 2339.406181] [drm] stuck on render ring
[ 2339.407980] [drm] GPU HANG: ecode 8:0:0xeed7efe7, in steam [26569], reason: Ring hung, action: reset
[ 2339.409847] drm/i915: Resetting chip after gpu hang
[ 2339.411170] dmar: DRHD: handling fault status reg 3
[ 2339.411176] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 7050000 
DMAR:[fault reason 23] Unknown
[ 2339.514925] dmar: DRHD: handling fault status reg 3
[ 2339.514933] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 7051000 
DMAR:[fault reason 23] Unknown
[ 2339.514943] dmar: DRHD: handling fault status reg 3
[ 2339.514946] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 6873000 
DMAR:[fault reason 23] Unknown
[ 2339.514952] dmar: DRHD: handling fault status reg 2
[ 2339.514956] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 6aa0000 
DMAR:[fault reason 23] Unknown
[ 2339.514960] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 6aa1000 
DMAR:[fault reason 23] Unknown
[ 2339.514963] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 6aa2000 
DMAR:[fault reason 23] Unknown
[ 2339.514967] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 6aa3000 
DMAR:[fault reason 23] Unknown
[ 2339.514971] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 6aa4000 
DMAR:[fault reason 23] Unknown
[ 2339.514975] dmar: DRHD: handling fault status reg 2
[ 2339.514978] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 6aa5000 
DMAR:[fault reason 23] Unknown
[ 2339.514982] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 6aa6000 
DMAR:[fault reason 23] Unknown
[ 2339.514986] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 6aa7000 
DMAR:[fault reason 23] Unknown
[ 2341.477846] dmar: DRHD: handling fault status reg 3
[ 2341.477853] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 7044000 
DMAR:[fault reason 23] Unknown
[ 2341.477864] dmar: DRHD: handling fault status reg 3
[ 2341.477868] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 7048000 
DMAR:[fault reason 23] Unknown
[ 2341.477872] dmar: DRHD: handling fault status reg 2
[ 2341.477876] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 704b000 
DMAR:[fault reason 23] Unknown
[ 2341.477880] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 704c000 
DMAR:[fault reason 23] Unknown
[ 2341.477884] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 704d000 
DMAR:[fault reason 23] Unknown
[ 2341.477888] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 704e000 
DMAR:[fault reason 23] Unknown
[ 2341.477891] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 704f000 
DMAR:[fault reason 23] Unknown
[ 2341.477895] dmar: DRHD: handling fault status reg 2
[ 2341.477897] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 7050000 
DMAR:[fault reason 23] Unknown
[ 2341.477900] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 7051000 
DMAR:[fault reason 23] Unknown
[ 2341.477903] dmar: DRHD: handling fault status reg 2
[ 2341.477906] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 7052000 
DMAR:[fault reason 23] Unknown
[ 2341.477908] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 7053000 
DMAR:[fault reason 23] Unknown
[ 2347.409395] [drm] stuck on render ring
[ 2347.410294] [drm] GPU HANG: ecode 8:0:0x00426b6f, in steam [26569], reason: Ring hung, action: reset
[ 2347.412368] drm/i915: Resetting chip after gpu hang
Comment 1 Gordon Jin 2015-04-08 02:10:15 UTC
Let bug team to decide the priority. Might help to try the latest kernel.
Comment 2 Georgios Varisteas 2015-04-13 18:48:06 UTC
Today I upgraded to kernel 4.0 with gentoo patches (gentoo-sources-4.0), I got a bit better results:

with effects the system hang after much longer use. Unfortunately the laptop became unresponsive, forcing me to hard reboot, so I've got no error log.

without effects, the GPU hang again, but the system flickered before returning to normal. I'm unable to execute any advanced graphics though (like kwin effects, matroska videos, and all steam games I've tried so far). Here is the output:

[   48.900496] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   48.913114] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   51.619404] i2c i2c-4: master_xfer[0] W, addr=0x50, len=1
[   51.619408] i2c i2c-4: master_xfer[1] R, addr=0x50, len=1
[   51.623096] i2c i2c-4: i2c_outb: 0xa0, timeout at bit #7
[   51.623098] i2c i2c-4: NAK from device addr 0x50 msg #0
[   51.627119] i2c i2c-3: master_xfer[0] W, addr=0x50, len=1
[   51.627129] i2c i2c-3: master_xfer[1] R, addr=0x50, len=1
[   52.021827] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   52.058231] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   52.205799] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   52.215019] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   52.235575] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   52.244575] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   52.260215] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   52.284328] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   52.293770] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   52.310700] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   52.757937] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   52.789592] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   52.823869] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   53.252511] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   53.274287] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   54.750653] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   54.758479] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   54.773735] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   54.789236] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   54.805901] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   54.822657] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   54.839173] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   54.855739] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   54.887739] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   59.393361] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   59.400059] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   59.894504] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   59.980435] i2c i2c-4: master_xfer[0] W, addr=0x50, len=1
[   59.980442] i2c i2c-4: master_xfer[1] R, addr=0x50, len=1
[   59.984433] i2c i2c-4: i2c_outb: 0xa0, timeout at bit #7
[   59.984435] i2c i2c-4: NAK from device addr 0x50 msg #0
[   59.988459] i2c i2c-3: master_xfer[0] W, addr=0x50, len=1
[   59.988462] i2c i2c-3: master_xfer[1] R, addr=0x50, len=1
[   60.108298] i2c i2c-4: master_xfer[0] W, addr=0x50, len=1
[   60.108302] i2c i2c-4: master_xfer[1] R, addr=0x50, len=1
[   60.112380] i2c i2c-4: i2c_outb: 0xa0, timeout at bit #7
[   60.112381] i2c i2c-4: NAK from device addr 0x50 msg #0
[   60.116414] i2c i2c-3: master_xfer[0] W, addr=0x50, len=1
[   60.116415] i2c i2c-3: master_xfer[1] R, addr=0x50, len=1
[   66.586230] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   66.608862] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   66.640995] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   66.673763] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   66.679642] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   66.696310] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   66.713044] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   66.729587] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   66.746340] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   66.762760] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   66.779356] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   66.796056] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   66.812941] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   66.829363] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   66.846010] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   66.862710] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   66.879233] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   66.895827] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   66.912619] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   66.929282] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   66.946346] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   66.962595] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   66.979051] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   66.995847] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.012287] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.029244] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.045664] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.062409] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.078927] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.095737] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.112221] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.129062] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.145572] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.162284] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.178806] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.195657] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.212179] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.230773] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.245488] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.262237] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.278683] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.295444] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.312040] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.330831] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.345252] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.362078] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.378557] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.395273] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.411912] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.428628] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.445148] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.461886] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.478429] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.495306] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.511736] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.539969] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.572127] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.578232] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.595213] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.611637] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.628325] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.644839] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.661641] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.678173] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.694956] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.711485] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.728091] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.744729] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.761620] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.778037] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.794884] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.811720] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.828217] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.844582] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.861418] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.877974] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.894760] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.911199] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.927956] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.944571] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.961242] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.977840] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   67.994599] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.011141] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.027933] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.044435] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.061346] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.077782] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.095148] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.110952] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.127798] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.144258] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.161072] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.177603] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.194357] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.210905] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.227624] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.244169] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.260963] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.277462] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.294135] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.310838] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.327606] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.344008] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.361092] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.377434] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.396120] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.410645] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.427325] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.443941] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.460667] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.477236] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.493929] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.510475] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.527157] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.543955] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   68.560408] [drm:hsw_unclaimed_reg_detect.isra.10] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
[   99.583319] dmar: DRHD: handling fault status reg 3
[   99.583336] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 20806000 
DMAR:[fault reason 23] Unknown                                                                                                                                                               
[  103.643224] [drm] stuck on render ring
[  103.644265] [drm] GPU HANG: ecode 8:0:0x85df3c1b, in CivBE [3985], reason: Ring hung, action: reset
[  103.644267] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[  103.644268] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[  103.644269] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[  103.644273] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[  103.644274] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[  103.644311] ------------[ cut here ]------------
[  103.644322] WARNING: CPU: 1 PID: 268 at drivers/gpu/drm/drm_crtc.c:4950 drm_mode_page_flip_ioctl+0x253/0x2ab()
[  103.644325] Modules linked in: x86_pkg_temp_thermal iwlmvm snd_hda_codec_hdmi iwlwifi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep
[  103.644341] CPU: 1 PID: 268 Comm: X Not tainted 4.0.0-gentoo #1
[  103.644344] Hardware name: LENOVO 20CMCTO1WW/20CMCTO1WW, BIOS N10ET30W (1.07 ) 03/05/2015
[  103.644346]  0000000000000009 ffff8802433bfd18 ffffffff818634f1 0000000000000054
[  103.644350]  0000000000000000 ffff8802433bfd58 ffffffff8108f3f3 ffff8802fffffffb
[  103.644355]  ffffffff814684c0 0000000000000000 ffff8802433bfe00 ffff880240ab2e00
[  103.644359] Call Trace:
[  103.644365]  [<ffffffff818634f1>] dump_stack+0x4c/0x6e
[  103.644370]  [<ffffffff8108f3f3>] warn_slowpath_common+0x97/0xb1
[  103.644375]  [<ffffffff814684c0>] ? drm_mode_page_flip_ioctl+0x253/0x2ab
[  103.644379]  [<ffffffff8108f4a1>] warn_slowpath_null+0x15/0x17
[  103.644383]  [<ffffffff814684c0>] drm_mode_page_flip_ioctl+0x253/0x2ab
[  103.644388]  [<ffffffff8145b851>] drm_ioctl+0x39a/0x412
[  103.644393]  [<ffffffff8146826d>] ? drm_mode_gamma_get_ioctl+0xc6/0xc6
[  103.644398]  [<ffffffff8138cf7a>] ? timerqueue_add+0x7a/0x98
[  103.644404]  [<ffffffff810ccec0>] ? enqueue_hrtimer+0x19/0x3d
[  103.644409]  [<ffffffff81152c47>] ? __fget+0x67/0x72
[  103.644414]  [<ffffffff8114aef7>] do_vfs_ioctl+0x367/0x421
[  103.644418]  [<ffffffff81152c47>] ? __fget+0x67/0x72
[  103.644422]  [<ffffffff81152cac>] ? __fget_light+0x3d/0x4a
[  103.644426]  [<ffffffff8114afff>] SyS_ioctl+0x4e/0x7c
[  103.644430]  [<ffffffff8186b672>] system_call_fastpath+0x12/0x17
[  103.644433] ---[ end trace 24f631805152cb93 ]---
[  103.646193] drm/i915: Resetting chip after gpu hang
[  103.651214] dmar: DRHD: handling fault status reg 3
[  103.651223] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 630000 
DMAR:[fault reason 23] Unknown                                                                                                                                                               
[  109.651884] [drm] stuck on render ring
[  109.652924] [drm] GPU HANG: ecode 8:0:0x85dffffb, in X [268], reason: Ring hung, action: reset
[  109.652955] ------------[ cut here ]------------
[  109.652964] WARNING: CPU: 1 PID: 87 at drivers/gpu/drm/i915/intel_display.c:9603 intel_mmio_flip_work_func+0x58/0x297()
[  109.652966] WARN_ON(__i915_wait_request(mmio_flip->req, crtc->reset_counter, false, NULL, NULL) != 0)
[  109.652967] Modules linked in:
[  109.652969]  x86_pkg_temp_thermal iwlmvm snd_hda_codec_hdmi iwlwifi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep
[  109.652983] CPU: 1 PID: 87 Comm: kworker/1:2 Tainted: G        W       4.0.0-gentoo #1
[  109.652984] Hardware name: LENOVO 20CMCTO1WW/20CMCTO1WW, BIOS N10ET30W (1.07 ) 03/05/2015
[  109.652988] Workqueue: events intel_mmio_flip_work_func
[  109.652990]  0000000000000009 ffff88024373fd08 ffffffff818634f1 00000000000000de
[  109.652994]  ffff88024373fd58 ffff88024373fd48 ffffffff8108f3f3 ffff880243f8f1c0
[  109.652997]  ffffffff814b8c0e ffff880243fc08b0 ffff88024dc51ec0 ffff880243fc08b0
[  109.653000] Call Trace:
[  109.653006]  [<ffffffff818634f1>] dump_stack+0x4c/0x6e
[  109.653011]  [<ffffffff8108f3f3>] warn_slowpath_common+0x97/0xb1
[  109.653015]  [<ffffffff814b8c0e>] ? intel_mmio_flip_work_func+0x58/0x297
[  109.653018]  [<ffffffff8108f44e>] warn_slowpath_fmt+0x41/0x43
[  109.653021]  [<ffffffff814b8c0e>] intel_mmio_flip_work_func+0x58/0x297
[  109.653024]  [<ffffffff810a7d20>] ? finish_task_switch+0x5d/0xe8
[  109.653028]  [<ffffffff8109fe5a>] process_one_work+0x153/0x21a
[  109.653032]  [<ffffffff810a075e>] worker_thread+0x1bf/0x296
[  109.653035]  [<ffffffff810a059f>] ? cancel_delayed_work_sync+0x10/0x10
[  109.653039]  [<ffffffff810a059f>] ? cancel_delayed_work_sync+0x10/0x10
[  109.653042]  [<ffffffff810a457c>] kthread+0xa0/0xa8
[  109.653046]  [<ffffffff810a0000>] ? destroy_workqueue+0x8b/0x1b9
[  109.653049]  [<ffffffff810a44dc>] ? __kthread_parkme+0x5c/0x5c
[  109.653052]  [<ffffffff8186b5c8>] ret_from_fork+0x58/0x90
[  109.653054]  [<ffffffff810a44dc>] ? __kthread_parkme+0x5c/0x5c
[  109.653057] ---[ end trace 24f631805152cb94 ]---
[  109.654866] drm/i915: Resetting chip after gpu hang
[  115.648560] [drm] stuck on render ring
[  115.649967] [drm] GPU HANG: ecode 8:0:0x00dfffff, reason: Ring hung, action: reset
[  115.650009] ------------[ cut here ]------------
[  115.650023] WARNING: CPU: 3 PID: 201 at drivers/gpu/drm/i915/intel_display.c:9603 intel_mmio_flip_work_func+0x58/0x297()
[  115.650027] WARN_ON(__i915_wait_request(mmio_flip->req, crtc->reset_counter, false, NULL, NULL) != 0)
[  115.650029] Modules linked in:
[  115.650032]  x86_pkg_temp_thermal iwlmvm snd_hda_codec_hdmi iwlwifi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep
[  115.650052] CPU: 3 PID: 201 Comm: kworker/3:2 Tainted: G        W       4.0.0-gentoo #1
[  115.650055] Hardware name: LENOVO 20CMCTO1WW/20CMCTO1WW, BIOS N10ET30W (1.07 ) 03/05/2015
[  115.650062] Workqueue: events intel_mmio_flip_work_func
[  115.650065]  0000000000000009 ffff880242673d08 ffffffff818634f1 0000000000000070
[  115.650072]  ffff880242673d58 ffff880242673d48 ffffffff8108f3f3 ffff8802437c5140
[  115.650077]  ffffffff814b8c0e ffff880243fc08b0 ffff88024dcd1ec0 ffff880243fc08b0
[  115.650083] Call Trace:
[  115.650091]  [<ffffffff818634f1>] dump_stack+0x4c/0x6e
[  115.650099]  [<ffffffff8108f3f3>] warn_slowpath_common+0x97/0xb1
[  115.650105]  [<ffffffff814b8c0e>] ? intel_mmio_flip_work_func+0x58/0x297
[  115.650111]  [<ffffffff8108f44e>] warn_slowpath_fmt+0x41/0x43
[  115.650117]  [<ffffffff814b8c0e>] intel_mmio_flip_work_func+0x58/0x297
[  115.650123]  [<ffffffff810a7d20>] ? finish_task_switch+0x5d/0xe8
[  115.650130]  [<ffffffff8109fe5a>] process_one_work+0x153/0x21a
[  115.650136]  [<ffffffff810a075e>] worker_thread+0x1bf/0x296
[  115.650143]  [<ffffffff810a059f>] ? cancel_delayed_work_sync+0x10/0x10
[  115.650149]  [<ffffffff810a059f>] ? cancel_delayed_work_sync+0x10/0x10
[  115.650154]  [<ffffffff810a457c>] kthread+0xa0/0xa8
[  115.650161]  [<ffffffff810a0000>] ? destroy_workqueue+0x8b/0x1b9
[  115.650166]  [<ffffffff810a44dc>] ? __kthread_parkme+0x5c/0x5c
[  115.650172]  [<ffffffff8186b5c8>] ret_from_fork+0x58/0x90
[  115.650177]  [<ffffffff810a44dc>] ? __kthread_parkme+0x5c/0x5c
[  115.650181] ---[ end trace 24f631805152cb95 ]---
[  115.651511] drm/i915: Resetting chip after gpu hang
[  115.653780] dmar: DRHD: handling fault status reg 3
[  115.653790] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 66c000 
DMAR:[fault reason 23] Unknown
[  121.645209] [drm] stuck on render ring
[  121.646151] [drm] GPU HANG: ecode 8:0:0x85dffffb, in X [268], reason: Ring hung, action: reset
[  121.646217] [drm:i915_context_is_banned] *ERROR* gpu hanging too fast, banning!
[  121.648199] drm/i915: Resetting chip after gpu hang
[  121.648421] ------------[ cut here ]------------
[  121.648440] WARNING: CPU: 3 PID: 268 at drivers/gpu/drm/drm_crtc.c:4950 drm_mode_page_flip_ioctl+0x253/0x2ab()
[  121.648441] Modules linked in: x86_pkg_temp_thermal iwlmvm snd_hda_codec_hdmi iwlwifi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep
[  121.648451] CPU: 3 PID: 268 Comm: X Tainted: G        W       4.0.0-gentoo #1
[  121.648453] Hardware name: LENOVO 20CMCTO1WW/20CMCTO1WW, BIOS N10ET30W (1.07 ) 03/05/2015
[  121.648454]  0000000000000009 ffff8802433bfd18 ffffffff818634f1 000000000000003a
[  121.648457]  0000000000000000 ffff8802433bfd58 ffffffff8108f3f3 ffff8802fffffffb
[  121.648459]  ffffffff814684c0 0000000000000000 ffff8802433bfe00 ffff880240ab2e00
[  121.648461] Call Trace:
[  121.648465]  [<ffffffff818634f1>] dump_stack+0x4c/0x6e
[  121.648469]  [<ffffffff8108f3f3>] warn_slowpath_common+0x97/0xb1
[  121.648472]  [<ffffffff814684c0>] ? drm_mode_page_flip_ioctl+0x253/0x2ab
[  121.648475]  [<ffffffff8108f4a1>] warn_slowpath_null+0x15/0x17
[  121.648478]  [<ffffffff814684c0>] drm_mode_page_flip_ioctl+0x253/0x2ab
[  121.648481]  [<ffffffff8145b851>] drm_ioctl+0x39a/0x412
[  121.648484]  [<ffffffff8146826d>] ? drm_mode_gamma_get_ioctl+0xc6/0xc6
[  121.648490]  [<ffffffff8138cf7a>] ? timerqueue_add+0x7a/0x98
[  121.648493]  [<ffffffff810ccec0>] ? enqueue_hrtimer+0x19/0x3d
[  121.648496]  [<ffffffff81152c47>] ? __fget+0x67/0x72
[  121.648500]  [<ffffffff8114aef7>] do_vfs_ioctl+0x367/0x421
[  121.648502]  [<ffffffff81152c47>] ? __fget+0x67/0x72
[  121.648505]  [<ffffffff81152cac>] ? __fget_light+0x3d/0x4a
[  121.648508]  [<ffffffff8114afff>] SyS_ioctl+0x4e/0x7c
[  121.648510]  [<ffffffff8186b672>] system_call_fastpath+0x12/0x17
[  121.648512] ---[ end trace 24f631805152cb96 ]---
Comment 3 Georgios Varisteas 2015-04-13 18:51:20 UTC
Created attachment 115062 [details]
new /sys/class/drm/card0/error
Comment 4 Georgios Varisteas 2015-04-21 17:18:23 UTC
So I've been running without any crash or even a dmesg entry. I even played a Steam video game.

I did a few things and don't know which did it, maybe all of them.

1) First I noticed I had xorg compiled with glamor support and the intel driver without. Re compiled both without glamor completely. I also removed UXA support from the intel driver.

2) In xorg.conf I added
Option      "TearFree"          "true"
and removed
Option      "DebugFlushBatches" "true"

The complete entry now is:
Section "Device"
        Identifier  "intel5500"
        Driver      "intel"
        Option      "RenderAccel"       "true"
        Option      "AccelDFS"          "true"
        Option      "Monitor-LVDS1"     "eDP1"
        Option      "AccelMethod"       "sna"
        Option      "TearFree"          "true"
EndSection



2) I also changed some seemingly related configuration in the kernel:
Processor type and features  --->
[ ] Enable MPS table    # probably set from the stock configuration
Graphics support  --->
(1)  Maximum number of GPUs   # used to be 16 by default
     Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->
[ ]     Allow to specify an EDID data set instead of probing for it     # also set by default
[ ]     Enable preliminary support for prerelease Intel hardware by default    # set by default!
     Backlight & LCD device support  --->
<*>     Generic GPIO based Backlight Driver    # previously not set, only generic
Sound card support  --->
     Advanced Linux Sound Architecture  --->
[*]     Dynamic device file minor numbers    # was not set



3) Finally I appended the following to my kernel options:
acpi_osi=Linux acpi_backlight=vendor

NOTE: I also tried to add i915.semaphores=1 to the kernel which every time resulted in a quick system freeze right after submitting credentials to KDM and before even fully loading any KDE modules.
Comment 5 Georgios Varisteas 2015-04-21 17:38:31 UTC
Well, I was too quick to judge. Although a short play of Civ5 did not bring the machine down, a gif on firefox did. Complete freeze thus no error log. Next I'll try the same without kwin effects enabled. usually that keeps the system much more stable.
Comment 6 Mika Kuoppala 2015-09-23 12:12:36 UTC
Check if 'intel_iommu=igfx_off' help from
https://bugs.freedesktop.org/show_bug.cgi?id=89360
Comment 7 Jani Nikula 2016-04-21 12:02:49 UTC
(In reply to Mika Kuoppala from comment #6)
> Check if 'intel_iommu=igfx_off' help from
> https://bugs.freedesktop.org/show_bug.cgi?id=89360

Timeout, closing. Please reopen if the problem persists with later kernels, and after you've tried Mika's suggestion.


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.