Bug 116571

Summary: Wild screen flickering and errors drm:intel_set_cpu_fifo_underrun_reporting and drm:intel_cpu_fifo_underrun_irq_handler in dmesg
Product: Drivers Reporter: Hanno Boeck (hanno)
Component: Video(DRI - Intel)Assignee: intel-gfx-bugs (intel-gfx-bugs)
Status: RESOLVED INVALID    
Severity: normal CC: intel-gfx-bugs, javashin1986
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.5 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg output when bug appears
lspci on affected system
kernel config with kernel 4.5

Description Hanno Boeck 2016-04-17 13:17:04 UTC
Created attachment 213141 [details]
dmesg output when bug appears

Starting with kernel 4.5 I occasionally get a wild screen flickering. In lack of a better description I have uploaded a video recording of the phenomena:
https://www.youtube.com/watch?v=VYxRvFsS-nY
The flickering seems to be triggered by touchpad movements (if I don't do anything the flickering becomes less and sometimes the screen is just black, if I move the mouse cursor with the touchpad the flickering becomes wilder again).

When this happens dmesg shows these errors:
[   15.649635] [drm:intel_set_cpu_fifo_underrun_reporting] *ERROR* uncleared fifo underrun on pipe A
[   15.649641] [drm:intel_cpu_fifo_underrun_irq_handler] *ERROR* CPU pipe A FIFO underrun

The system is a Thinkpad X1 Carbon 2014 edition (20A7), the GPU is listed as "Haswell-ULT Integrated Graphics Controller (rev 0b)" by lspci. I'll attach full dmesg, kernel config and lspci output.
If there's any other info you need to analyze this please ask.

I have tried to git bisect this bug, but it's not easy, because there is no reliable reproducer. It appears after a while, but not in a predictable pattern. Sometimes it simply appears when I open a browser, sometimes without any apparent reason.

Falling back to kernel 4.4 (using 4.4.1) this does not happen, so the change must have been introduced between 4.4 and 4.5.
Comment 1 Hanno Boeck 2016-04-17 13:17:20 UTC
Created attachment 213151 [details]
lspci on affected system
Comment 2 Hanno Boeck 2016-04-17 13:17:37 UTC
Created attachment 213161 [details]
kernel config with kernel 4.5
Comment 3 Jani Nikula 2016-04-18 08:23:06 UTC
Please file new drm/i915 bugs at the freedesktop.org bugzilla:
https://bugs.freedesktop.org/enter_bug.cgi?product=DRI&component=DRM/Intel
Comment 4 Carlos Jimenez 2016-04-24 07:59:10 UTC
i got the same problem when i plug the hdmi cable to the tv on kernels 4.4 and up