Bug 89806

Summary: [IVB] boot error: *ERROR* uncleared pch fifo underrun on pch transcoder A
Product: DRI Reporter: Chris Bainbridge <chris.bainbridge>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: alexey.brodkin, bugs.freedesktop.org, intel-gfx-bugs, vitaliic, yzhou61, zmogas
Version: DRI git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: IVB i915 features: display/Other
Attachments:
Description Flags
dmesg-intel-drm-14.txt
none
dmesg info with drm.debug=0x1f log_buf_len=4M none

Description Chris Bainbridge 2015-03-29 01:52:18 UTC
Created attachment 114692 [details]
dmesg-intel-drm-14.txt

Hardware is Macbook Pro 2012 13" with three monitors.

Kernel is drm-nightly 07e5c9b5 and 4.0.0-rc5+ 7fc377e

On every boot there is the error:

Mar 29 02:25:17 debian kernel: [drm:intel_set_pch_fifo_underrun_reporting] *ERROR* uncleared pch fifo underrun on pch transcoder A
Mar 29 02:25:17 debian kernel: [drm:intel_dump_pipe_config] ips: 0
Mar 29 02:25:17 debian kernel: [drm:intel_pch_fifo_underrun_irq_handler] *ERROR* PCH transcoder A FIFO underrun

Apart from that, everything seems to work ok. This might have been around for a while - the Debian Jessie 3.16.0 kernel also complains:

Mar 29 00:18:19 debian kernel: [drm:cpt_set_fifo_underrun_reporting] *ERROR* 
uncleared pch fifo underrun on pch transcoder A
Mar 29 00:18:19 debian kernel: [drm:cpt_serr_int_handler] *ERROR* PCH 
transcoder A FIFO underrun

dmesg with drm.debug=14 attached
Comment 1 ye.tian 2015-06-12 08:09:54 UTC
It also exist on my IVB desktop with the latest nightly kernel/drm-intel-next-queued/drm-intel-fixes/drm-intel-next-fixes.
Comment 2 ye.tian 2015-06-12 08:10:49 UTC
Created attachment 116453 [details]
dmesg info with drm.debug=0x1f log_buf_len=4M
Comment 3 Jani Nikula 2015-10-30 13:24:06 UTC
Please try Ville's FIFO underrun elimination series [1] on top of drm-intel-nightly, also available at [2], and report back.

[1] http://mid.gmane.org/1446146763-31821-1-git-send-email-ville.syrjala@linux.intel.com
[2] git://github.com/vsyrjala/linux.git pch_fifo_underrun_fix_4
Comment 4 Danilo Ferreira de Lima 2015-11-11 14:04:15 UTC
Dear Jani,

I see the same issue reported on 4.3.0.
I would like to try the patch, but I'm not a kernel expert.

Could you give me instructions on how to apply it to 4.3.0?
I have not checked out 4.3.0 from git. I can do it, but it would be nice to understand what is the base for the patch below.

Best regards,
Danilo
Comment 5 Jani Nikula 2015-11-11 14:32:58 UTC
The patches have now been merged to drm-intel-nightly branch of http://cgit.freedesktop.org/drm-intel. Please retest that.

Danilo, one option is to do this in your kernel repo:

$ git remote add drm-intel git://anongit.freedesktop.org/drm-intel
$ git remote update
$ git checkout -t drm-intel/drm-intel-nightly

Then you need to configure, build and install the kernel. That's something you need to figure out yourself from your distro docs.
Comment 6 Danilo Ferreira de Lima 2015-11-12 08:52:12 UTC
Hi Jani,

thank you for the help. It seems to work fine with your patch.
Can you please let me know when it is merged with the 4.3.0 trunk version?

Cheers,
Danilo
Comment 7 Jani Nikula 2015-11-12 13:46:12 UTC
(In reply to Danilo Ferreira de Lima from comment #6)
> thank you for the help. It seems to work fine with your patch.

Thanks for testing, closing based on that. Please reopen if the problem persists with nightly.

> Can you please let me know when it is merged with the 4.3.0 trunk version?

Sorry, it won't be. It's too big of a series to be backported.
Comment 8 Chris Bainbridge 2015-11-12 23:26:06 UTC
Confirming that the boot errors as reported in comment #1 do not appear in the latest drm-nightly.
Comment 9 Jani Nikula 2015-11-13 13:33:44 UTC
(In reply to Chris Bainbridge from comment #8)
> Confirming that the boot errors as reported in comment #1 do not appear in
> the latest drm-nightly.

Thanks for testing and the follow-up.
Comment 10 peci1 2015-12-03 12:40:11 UTC
Any chances this fix gets backported to the 3.x kernels?
Comment 11 Jani Nikula 2015-12-03 12:52:23 UTC
(In reply to peci1 from comment #10)
> Any chances this fix gets backported to the 3.x kernels?

None. See comment #7.
Comment 12 Nishant Varma 2015-12-28 22:27:45 UTC
I installed the https://aur.archlinux.org/packages/linux-drm-intel-nightly/ which has 4.4.0-1-drm-intel-nightly Kernel. Is this fix in that package? I could see that this error doesn't come up during boot time. However I do have a keybinding that calls my desktop manager (lxdm) and I see this error in my screen.
Comment 13 Nishant Varma 2015-12-28 23:17:46 UTC
It is not occurring now after a fresh restart again. Not sure why it occured. If the issue happens again will post it. For now the https://aur.archlinux.org/packages/linux-drm-intel-nightly/ works in Arch as well.
Comment 14 Nishant Varma 2016-03-08 14:17:39 UTC
Is this in upstream yet? I am using Linux 4.4.4 but don't see this yet in Arch Linux.
Comment 15 vmatarese 2016-04-09 15:19:50 UTC
Mageia 5 on a Sony Vaio SVE15 series
uname -r:  4.1.15-desktop-2.mga5

Card:Intel 810 and later: Intel Corporation|3rd Gen Core processor Graphics Controller [DISPLAY_VGA] 

At boot I see:

[drm:intel_set_pch_fifo_underrun_reporting [i915]] *ERROR* uncleared pch fifo underrun on pch transcoder A
[drm:intel_pch_fifo_underrun_irq_handler [i915]] *ERROR* PCH transcoder A FIFO underrun

Graphical problems:
- Touchpad freezes on resume from sleep, requiring new login
- Screen flickers after a few minutes of inactivity, before screen energy savings kicks in

(I didn't have the problems or errors on the same laptop running Mageia 4)

Thanks for any help!
Comment 16 Jani Nikula 2016-04-11 08:57:01 UTC
(In reply to vmatarese from comment #15)
> Mageia 5 on a Sony Vaio SVE15 series
> uname -r:  4.1.15-desktop-2.mga5

Please try latest kernels before reopening bugs, thank you.
Comment 17 Vitalii Cherniak 2016-04-29 09:49:33 UTC
Have this issue on 4.4.8-300.fc23.x86_64

[    1.178037] [drm] Initialized i915 1.6.0 20151010 for 0000:00:02.0 on minor 0
[    1.641286] [drm:intel_set_pch_fifo_underrun_reporting [i915]] *ERROR* uncleared pch fifo underrun on pch transcoder A
[    1.641323] [drm:intel_pch_fifo_underrun_irq_handler [i915]] *ERROR* PCH transcoder A FIFO underrun
[    1.916579] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[   47.605419] [drm:intel_set_pch_fifo_underrun_reporting [i915]] *ERROR* uncleared pch fifo underrun on pch transcoder B
Comment 18 Jani Nikula 2016-04-29 10:07:53 UTC
(In reply to Vitalii Cherniak from comment #17)
> Have this issue on 4.4.8-300.fc23.x86_64

Please try latest kernels before reopening bugs, thank you.
Comment 19 Vitalii Cherniak 2016-04-29 10:09:54 UTC
(In reply to Jani Nikula from comment #18)
> (In reply to Vitalii Cherniak from comment #17)
> > Have this issue on 4.4.8-300.fc23.x86_64
> 
> Please try latest kernels before reopening bugs, thank you.

Well, this is the latest kernel for my system.
Comment 20 anomaly256 2016-05-11 03:24:35 UTC
[drm:intel_cpu_fifo_underrun_irq_handler] *ERROR* CPU pipe B FIFO underrun

using 4.6.0-rc7+ from drm-intel sources at anongit.freedesktop.org/drm-intel cloned and built yesterday, on skylake.

Is this the right thread for this or is this a new bug?
Comment 21 anomaly256 2016-05-13 02:25:22 UTC
[ 2320.744016] [drm:intel_cpu_fifo_underrun_irq_handler] *ERROR* CPU pipe A FIFO underrun
[ 2535.029670] [drm:intel_cpu_fifo_underrun_irq_handler] *ERROR* CPU pipe B FIFO underrun

Linux scorched 4.6.0-rc7+ #1 SMP Fri May 13 11:04:59 AEST 2016 x86_64 Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz GenuineIntel GNU/Linux

commit a6ac4ab761c9d080b69394fbae9320e9fd8cada6
Date:   Thu May 12 16:38:01 2016 +0100
Comment 22 anomaly256 2016-05-13 02:40:07 UTC
sorry for the noise, I see this is a slightly different eerror message on a different platform - moved my comments to a more correct bug
Comment 23 Florent ThiƩry 2016-10-23 12:59:23 UTC
FWITW, still having this on i5-3570K (IVB) on mb Asustek P8H77-I with 4.8.4-1-ARCH x86_64 at each boot

linux 4.8.4
libdrm 2.4.71-1

oct. 23 14:40:56 mypc kernel: [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* uncleared fifo underrun on pipe A
oct. 23 14:40:56 mypc kernel: [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
oct. 23 14:40:56 mypc kernel: [drm:intel_set_pch_fifo_underrun_reporting [i915]] *ERROR* uncleared pch fifo underrun on pch transcoder A
oct. 23 14:40:56 mypc kernel: [drm:intel_pch_fifo_underrun_irq_handler [i915]] *ERROR* PCH transcoder A FIFO underrun

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.