Bug 101019

Summary: [BDW] Intel iris 6100 crash multiple time per day
Product: DRI Reporter: Maël Lavault <mael.lavault>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED DUPLICATE QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: critical    
Priority: medium CC: alonid, intel-gfx-bugs
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Kernel stack trace
none
Another one
none
New stack trace after fix none

Description Maël Lavault 2017-05-12 09:17:52 UTC
Created attachment 131330 [details]
Kernel stack trace

Hi,

I'm using fedora 26 with kernel 4.10.10 and my desktop freeze multiple time a day.
It mostly happen when doing intensive tasks.

Stacktrace is attached.
Comment 1 Maël Lavault 2017-05-12 12:08:36 UTC
Created attachment 131336 [details]
Another one
Comment 2 Chris Wilson 2017-05-13 08:13:30 UTC
Bad timing under mempressure, fixed in

commit dd19674bacba227ae5d3ce680cbc5668198894dc
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Feb 15 08:43:46 2017 +0000

    drm/i915: Remove bitmap tracking for used-ptes

*** This bug has been marked as a duplicate of bug 99295 ***
Comment 3 Dan Aloni 2017-05-13 14:17:26 UTC
Since dd19674bacba227ae5d3ce680cbc5668198894dc is for 4.12-rc, I have back-ported the fix to version 4.11 of the kernel.

https://github.com/kernelim/linux/commit/b9b790ab92830f131559231d9c216040aa198ca1

Built Fedora RPMs for it: https://copr.fedorainfracloud.org/coprs/alonid/kernel-4.11-drmfix/, and currently running it on my laptop.

Can we review and get this into 'drm-intel-fixes'?
Comment 4 Maël Lavault 2017-05-15 08:34:59 UTC
Hi,

Thanks a lot ! I'm testing your custom kernel with drm fix right now, I'll report how it goes.
Comment 5 Maël Lavault 2017-05-15 11:53:51 UTC
Seems to run fine until now, will test for a few more days to be sure.

I got an i915 related error though in the logs:

[drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun

Not sure if due to this patch or not.
Comment 6 Maël Lavault 2017-05-15 15:40:27 UTC
One full day without any freeze, haven't happen in a long time, really happy with the fix so far ! Thanks a lot !
Comment 7 Dan Aloni 2017-05-15 15:51:33 UTC
Good to hear! 

For me the problem is less frequent, so I was not sure yet if it is effective. I have some issues resuming from suspend but I am not sure they are related.
Comment 8 Maël Lavault 2017-05-18 08:39:38 UTC
Created attachment 131400 [details]
New stack trace after fix

Worked well for a few days, but I had a new freeze this morning.

So I agree with you, the fix only seems to make it much less frequent.

See attached stacktrace.

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.