← Back to team overview

kernel-packages team mailing list archive

[Bug 1564759] Re: [i915_bpo] Disable RC6 on SKL GT3 & GT4

 

Launchpad has imported 23 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=94161.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2016-02-15T16:34:18+00:00 Mikael-w wrote:

Created attachment 121772
GPU crash dump

I have experienced GPU hangs with all kernels after 4.3.

I'm running a MS Surface Pro 4.

Feb 15 17:27:22 hat kernel: [  478.912402] [drm] stuck on render ring
Feb 15 17:27:22 hat kernel: [  478.913345] [drm] GPU HANG: ecode 9:0:0x85df9fff, in gnome-shell [1956], reason: Ring hung, action: reset
Feb 15 17:27:22 hat kernel: [  478.913357] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
Feb 15 17:27:22 hat kernel: [  478.913361] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
Feb 15 17:27:22 hat kernel: [  478.913364] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
Feb 15 17:27:22 hat kernel: [  478.913367] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
Feb 15 17:27:22 hat kernel: [  478.913371] [drm] GPU crash dump saved to /sys/class/drm/card0/error
Feb 15 17:27:22 hat kernel: [  478.915833] drm/i915: Resetting chip after gpu hang
Feb 15 17:27:24 hat kernel: [  480.901312] [drm] RC6 on

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564759/comments/0

------------------------------------------------------------------------
On 2016-02-16T11:10:18+00:00 Christophe Prigent wrote:

Hi Mikael,
Which GPU is it: m3 Intel HD graphics 515 / i5 Intel HD graphics 520 / i7 Intel Iris graphics?
Which steps are causing the GPU hang?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564759/comments/1

------------------------------------------------------------------------
On 2016-02-16T11:56:42+00:00 Mikael-w wrote:

It's Intel Iris (HD 540).

It's hard to say what exactly is causing it. Once it was caused by a
"tail -f /var/log/syslog" scrolling text in Gnome Terminal. Another time
it was caused by a web page being displayed in Firefox. A third time it
was caused by switching workspace in Gnome Shell.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564759/comments/2

------------------------------------------------------------------------
On 2016-02-16T12:01:27+00:00 Mikael-w wrote:

I should add that these hangs happen every other minute when things
change on the screen.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564759/comments/3

------------------------------------------------------------------------
On 2016-02-20T18:09:12+00:00 Ivan Giuliani wrote:

I seem to be affected by this as well (same GPU, on an XPS 13" (2016)).
Tried any kernel from 4.3 to 4.5 on Ubuntu, including the drm-intel-next
kernel (4.5.0-997-generic).

A workaround is to add i915.enable_rc6=0 to the kernel boot parameters.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564759/comments/4

------------------------------------------------------------------------
On 2016-02-24T21:43:24+00:00 Mikael-w wrote:

I have now tried this with the latest drm-intel kernel and the newest
skl-dcm firmware (1.26).  My libdrm is 2.4.67.

The problem still persists.

A deterministic way to provoke the hang is to run glmark2
(github.com/glmark2).

I can confirm that if I give i915.enable_rc6=0 as a kernel option, the
problem disappears.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564759/comments/5

------------------------------------------------------------------------
On 2016-03-01T20:42:51+00:00 Chris Wilson wrote:

*** Bug 94029 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564759/comments/6

------------------------------------------------------------------------
On 2016-03-02T21:04:46+00:00 Chris Wilson wrote:

To attempt to distinguish another source of bugs, does
intel_pstate=disable make any difference?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564759/comments/7

------------------------------------------------------------------------
On 2016-03-02T21:43:13+00:00 Mikael-w wrote:

(In reply to Chris Wilson from comment #7)
> To attempt to distinguish another source of bugs, does intel_pstate=disable
> make any difference?

Replacing i915.enable_rc6=0 with intel_pstate=disable reintroduces the
GPU crashes.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564759/comments/8

------------------------------------------------------------------------
On 2016-03-10T12:50:29+00:00 Chris Wilson wrote:

*** Bug 94462 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564759/comments/9

------------------------------------------------------------------------
On 2016-03-10T12:52:24+00:00 Chris Wilson wrote:

Next on the possible list of interactions, can we please test rc6 vs
iommu? Leave rc6 as default (remove it from the command line) and add
intel_iommu=igfx_off

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564759/comments/10

------------------------------------------------------------------------
On 2016-03-10T13:13:28+00:00 Oddrunesl wrote:

adding intel_iommu=igfx_off and removing rc6=0 frpm kernel boot
parameters of 4.5-rc4 reintroduces hang problems.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564759/comments/11

------------------------------------------------------------------------
On 2016-03-10T13:37:29+00:00 Mikael-w wrote:

Created attachment 122204
gpu-rc4-crash.log.gz

I tested this both with Linus rc4 and drm-intel-nightly from today (rc7).
In both cases I still experience a GPU hang with the single (apart from
noresume) kernel cmd line option intel_iommu=igfx_off.

For rc4, I saw a new error code, though:

Mar 10 14:27:46 hat kernel: [   56.843611] [drm] GPU HANG: ecode
9:0:0x87f99ff9, in gnome-shell [1742], reason: Ring hung, action: reset

I attach the corresponding crash dump file.

This means that the only way, so far, to avoid hangs is i915.enable_rc6=0.
I have confirmed that this is also true for rc7 (drm-intel-nightly).

On Thu, Mar 10, 2016 at 2:13 PM, <bugzilla-daemon@xxxxxxxxxxxxxxx>
wrote:

> *Comment # 11 <https://bugs.freedesktop.org/show_bug.cgi?id=94161#c11> on
> bug 94161 <https://bugs.freedesktop.org/show_bug.cgi?id=94161> from
> oddrunesl@xxxxxxxxx <oddrunesl@xxxxxxxxx> *
>
> adding intel_iommu=igfx_off and removing rc6=0 frpm kernel boot parameters of
> 4.5-rc4 reintroduces hang problems.
>
> ------------------------------
> You are receiving this mail because:
>
>    - You reported the bug.
>    - You are on the CC list for the bug.
>
>

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564759/comments/12

------------------------------------------------------------------------
On 2016-03-11T14:19:30+00:00 Oddrunesl wrote:

fyi tried  4.5.0-994-generic from http://kernel.ubuntu.com/~kernel-
ppa/mainline/drm-intel-nightly/2016-03-11-wily/

...and still see hangs without i915.enable_rc6=0

cheers,

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564759/comments/13

------------------------------------------------------------------------
On 2016-03-14T11:52:13+00:00 Oddrunesl wrote:

still present in daily build 14th of march found in
http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-intel-
nightly/2016-03-14-wily/

cheers

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564759/comments/14

------------------------------------------------------------------------
On 2016-03-16T11:04:40+00:00 Lister-lists wrote:

I have the XPS 13 with the Iris 540. I managed to get Arch working about a week ago. At the time, the core repo included 4.4.1 and had some problems. About the next day I think 4.4.3 hit and I managed to get a working system with that following the Arch wiki (mkinitcpio "... intel_agp i915 ...").
However, after upgrading to 4.4.5 I encounter problems. I don't know if they're hangs per say. Mostly I get blackscreens on boot. But either way, visually the only nicely working system I've got on Iris 540 is:
4.4.3-1-ARCH #1 SMP PREEMPT Fri Feb 26 15:09:29 CET 2016 x86_64 GNU/Linux

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564759/comments/15

------------------------------------------------------------------------
On 2016-03-16T11:05:34+00:00 Lister-lists wrote:

(In reply to lister.lists from comment #15)
> I have the XPS 13 with the Iris 540. I managed to get Arch working about a
> week ago. At the time, the core repo included 4.4.1 and had some problems.
> About the next day I think 4.4.3 hit and I managed to get a working system
> with that following the Arch wiki (mkinitcpio "... intel_agp i915 ...").
> However, after upgrading to 4.4.5 I encounter problems. I don't know if
> they're hangs per say. Mostly I get blackscreens on boot. But either way,
> visually the only nicely working system I've got on Iris 540 is:
> 4.4.3-1-ARCH #1 SMP PREEMPT Fri Feb 26 15:09:29 CET 2016 x86_64 GNU/Linux

I realise my timeline is out, but the point remains...

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564759/comments/16

------------------------------------------------------------------------
On 2016-03-22T08:30:18+00:00 Oddrunesl wrote:

still present in http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-
intel-nightly/2016-03-22-wily/

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564759/comments/17

------------------------------------------------------------------------
On 2016-03-22T13:34:00+00:00 kang wrote:

*** Bug 94575 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564759/comments/18

------------------------------------------------------------------------
On 2016-03-24T22:01:46+00:00 0obert wrote:

I can confirm on Dell XPS 13. i915.enable_rc6=0 works. I've tried
i915.enable_rc6=1 to see it was a deep sleep problem, but it shows up
with i915.enable_rc6=1 as well. I tried turning semaphores 0 and 1 and
neither of those helped either. Another bug report mentioned commenting
out a couple of lines in the kernel helped him, but it didn't help me on
4.5.0.

I'm running Debian Stretch with KDE and can reproduce very quickly by
logging in, opening chrome, visit youtube and play a video and set it to
full screen.

Good luck

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564759/comments/19

------------------------------------------------------------------------
On 2016-03-25T08:52:09+00:00 Oddrunesl wrote:

Bug present in 
http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-intel-nightly/2016-03-25-wily/

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564759/comments/20

------------------------------------------------------------------------
On 2016-03-26T22:53:44+00:00 C-jess wrote:

I am experiencing this as well. Happens on the Dell XPS 13 (2016) w 6th
Generation Intel Core i7-6560U (4M Cache, up to 3.2 GHz), Intel® Iris™
Graphics 540.

Kernel 4.4.6, also experienced on 4.4.2.

Let me know what you need to help. Its super easy to trigger by just
playing a video or even just using chrome for more than 5 min.

Can confirm  i915.enable_rc6=0 fixes, there still get hiccups fi
watching a video etc, but no full crashes. Kinda hate doing that to my
battery life though.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564759/comments/21

------------------------------------------------------------------------
On 2016-04-01T06:37:10+00:00 Timo Aaltonen wrote:

*** Bug 94768 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564759/comments/22


** Changed in: dri
       Status: Unknown => Confirmed

** Changed in: dri
   Importance: Unknown => Critical

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1564759

Title:
  [i915_bpo] Disable RC6 on SKL GT3 & GT4

Status in DRI:
  Confirmed
Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Xenial:
  Triaged

Bug description:
  Runtime power management causes GPU hangs on SKL GT3 & GT4 ("Iris" &
  "Iris Pro"), so disable it until the bug(s) are fixed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dri/+bug/1564759/+subscriptions


References