Bug 94884 - [SKL] *ERROR* CPU pipe A FIFO underrun
Summary: [SKL] *ERROR* CPU pipe A FIFO underrun
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-10 16:47 UTC by Thomas
Modified: 2016-10-12 07:00 UTC (History)
5 users (show)

See Also:
i915 platform: SKL
i915 features: display/atomic


Attachments
dmesg output with kernel parameters drm.debug=0x1e log_buf_len=4M (130.19 KB, application/x-gzip)
2016-04-10 16:47 UTC, Thomas
no flags Details
dmesg output (4.38 KB, text/plain)
2016-07-25 12:32 UTC, _kossak_
no flags Details

Description Thomas 2016-04-10 16:47:43 UTC
Created attachment 122851 [details]
dmesg output with kernel parameters drm.debug=0x1e log_buf_len=4M

got a new HP Envy notebook and see screen continous flashing after some seconds. Happens sometimes after 2sec, sometimes after 30s. Annoying

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

System is opensuse tumbleweed

uname -rm
4.5.0-3-default x86_64

attached dmesg output with drm.debug=0x1e

looks similar to Bug #94605

cat /sys/class/drm/card0/error
no error state collected
Comment 1 Christian Stadelmann 2016-06-10 15:13:48 UTC
Same here on a Clarkdale CPU.

This happens to me every time I switch from X.org to tty. Doesn't happen when running Wayland instead of X.

System: Fedora 24 Beta, also present with Fedora 23. Since at least 2 kernel versions.
Comment 2 Michele Lacchia 2016-06-24 09:29:54 UTC
I can confirm this as of Linux 4.6.2-1-ARCH. CPU is Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz.

Sometimes the bug causes my system to completely freeze and I have to reboot with the power button. In journal I see:

Jun 24 10:51:01 miki-laptop kernel: [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun

but the worse one is:

Jun 24 10:30:34 miki-laptop kernel: [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
Jun 24 10:39:25 miki-laptop kernel: BUG: unable to handle kernel NULL pointer dereference at           (null)
Jun 24 10:39:25 miki-laptop kernel: IP: [<          (null)>]           (null)
Jun 24 10:39:25 miki-laptop kernel: PGD 84d3e067 PUD 8523c067 PMD 0 
Jun 24 10:39:25 miki-laptop kernel: Oops: 0010 [#1] PREEMPT SMP 
Jun 24 10:39:25 miki-laptop kernel: Modules linked in: fuse sha256_ssse3 sha256_generic hmac drbg ansi_cprng ctr ccm uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev
Jun 24 10:39:25 miki-laptop kernel:  glue_helper ablk_helper snd input_leds cryptd cfg80211 led_class serio_raw pcspkr soundcore i2c_i801 hci_uart shpchp btbcm i2c_hid thermal wmi btqca hid elan_i2c 
Jun 24 10:39:25 miki-laptop kernel:  drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm intel_agp intel_gtt
Jun 24 10:39:25 miki-laptop kernel: CPU: 0 PID: 765 Comm: Xorg Tainted: G     U     O    4.6.2-1-ARCH #1
Jun 24 10:39:25 miki-laptop kernel: Hardware name: ASUSTeK COMPUTER INC. UX305UA/UX305UA, BIOS UX305UA.201 10/12/2015
Jun 24 10:39:25 miki-laptop kernel: task: ffff8802692b0f40 ti: ffff880084d34000 task.ti: ffff880084d34000
Jun 24 10:39:25 miki-laptop kernel: RIP: 0010:[<0000000000000000>]  [<          (null)>]           (null)
Jun 24 10:39:25 miki-laptop kernel: RSP: 0018:ffff880084d37af0  EFLAGS: 00010286
Jun 24 10:39:25 miki-laptop kernel: RAX: ffff880084d37bb8 RBX: ffff88026a1b5c00 RCX: 000000000001fd36
Jun 24 10:39:25 miki-laptop kernel: RDX: 000000000001fd36 RSI: ffff8802685220f8 RDI: ffff88026a1b5f00
Jun 24 10:39:25 miki-laptop kernel: RBP: ffff880084d37b78 R08: ffff88026a1b5f00 R09: ffff88026a1b5f00
Jun 24 10:39:25 miki-laptop kernel: R10: ffff88020a43ed00 R11: 0000000000000000 R12: 0000000000000001
Jun 24 10:39:25 miki-laptop kernel: R13: ffff880268523368 R14: ffff8802685220f8 R15: 0000000000000000
Jun 24 10:39:25 miki-laptop kernel: FS:  00007fb7671b8940(0000) GS:ffff880273c00000(0000) knlGS:0000000000000000
Jun 24 10:39:25 miki-laptop kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 24 10:39:25 miki-laptop kernel: CR2: 0000000000000000 CR3: 000000007f387000 CR4: 00000000003406f0
Jun 24 10:39:25 miki-laptop kernel: Stack:
Jun 24 10:39:25 miki-laptop kernel:  ffffffffa0122da0 ffff880268520000 ffff8802685220f8 0001fd36000400d8
Jun 24 10:39:25 miki-laptop kernel:  ffff880084d37bb8 ffff8801cb6cf3c0 ffff88026a1b5c00 ffff880230579cc0
Jun 24 10:39:25 miki-laptop kernel:  ffff880084d37b40 ffffffffa0125ffd ffff880084d37b80 00000000afcbbfb4
Jun 24 10:39:25 miki-laptop kernel: Call Trace:
Jun 24 10:39:25 miki-laptop kernel:  [<ffffffffa0122da0>] ? i915_gem_object_sync+0x1b0/0x340 [i915]
Jun 24 10:39:25 miki-laptop kernel:  [<ffffffffa0125ffd>] ? i915_gem_object_pin+0x2d/0x30 [i915]
Jun 24 10:39:25 miki-laptop kernel:  [<ffffffffa0135abd>] intel_execlists_submission+0x1cd/0x440 [i915]
Jun 24 10:39:25 miki-laptop kernel:  [<ffffffffa0114a20>] i915_gem_do_execbuffer.isra.14+0xaf0/0x1450 [i915]
Jun 24 10:39:25 miki-laptop kernel:  [<ffffffff812e6ae9>] ? idr_get_empty_slot+0x189/0x370
Jun 24 10:39:25 miki-laptop kernel:  [<ffffffff812e6d53>] ? idr_alloc+0x83/0x100
Jun 24 10:39:25 miki-laptop kernel:  [<ffffffffa0018079>] ? drm_gem_handle_create_tail+0xc9/0x1a0 [drm]
Jun 24 10:39:25 miki-laptop kernel:  [<ffffffffa01160d4>] i915_gem_execbuffer2+0xd4/0x250 [i915]
Jun 24 10:39:25 miki-laptop kernel:  [<ffffffffa0018aa2>] drm_ioctl+0x152/0x540 [drm]
Jun 24 10:39:25 miki-laptop kernel:  [<ffffffffa0116000>] ? i915_gem_execbuffer+0x330/0x330 [i915]
Jun 24 10:39:25 miki-laptop kernel:  [<ffffffff81209bc3>] do_vfs_ioctl+0xa3/0x5d0
Jun 24 10:39:25 miki-laptop kernel:  [<ffffffff814a1091>] ? __sys_recvmsg+0x51/0x90
Jun 24 10:39:25 miki-laptop kernel:  [<ffffffff8120a169>] SyS_ioctl+0x79/0x90
Jun 24 10:39:25 miki-laptop kernel:  [<ffffffff815c7272>] entry_SYSCALL_64_fastpath+0x1a/0xa4
Jun 24 10:39:25 miki-laptop kernel: Code:  Bad RIP value.
Jun 24 10:39:25 miki-laptop kernel: RIP  [<          (null)>]           (null)
Jun 24 10:39:25 miki-laptop kernel:  RSP <ffff880084d37af0>
Jun 24 10:39:25 miki-laptop kernel: CR2: 0000000000000000
Jun 24 10:39:25 miki-laptop kernel: ---[ end trace 946c0a8763286b97 ]---
Jun 24 10:39:25 miki-laptop org.a11y.atspi.Registry[5911]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server :0
Jun 24 10:39:25 miki-laptop org.a11y.atspi.Registry[5911]:       after 2113 requests (2113 known processed) with 0 events remaining.
-- Reboot --
Comment 3 _kossak_ 2016-07-25 12:32:43 UTC
Created attachment 125310 [details]
dmesg output

rui@joaninha:~$ uname -a
Linux joaninha 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Comment 4 Rami 2016-09-22 08:24:29 UTC
Please try the last drm-intel-nightly from http://cgit.freedesktop.org/drm-intel and report back.
Comment 5 yann 2016-10-11 06:52:21 UTC
Please re-test with Paulo's patch to apply memory workarounds for skylake: https://patchwork.freedesktop.org/series/13548/
Comment 6 Thomas 2016-10-12 06:24:15 UTC
doesnt happen anymore with recent updates here
Comment 7 yann 2016-10-12 07:00:40 UTC
(In reply to Thomas from comment #6)
> doesnt happen anymore with recent updates here

Thanks Thomas


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.