Bug 93098 - Display flickers and turns solid grey when mouse moved quickly to left edge
Summary: Display flickers and turns solid grey when mouse moved quickly to left edge
Status: CLOSED DUPLICATE of bug 92826
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: cprigent
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-25 01:04 UTC by Brad Garcia
Modified: 2016-08-23 12:02 UTC (History)
6 users (show)

See Also:
i915 platform: BSW/CHT
i915 features: display/HDMI


Attachments
syslog from affected machines (3.83 MB, text/plain)
2015-12-14 14:54 UTC, Steve Williams
no flags Details

Description Brad Garcia 2015-11-25 01:04:55 UTC
Hardware: Intel NUC5CPYH, output via HDMI
Display: Dell 2405FPW 1920x1200 monitor, DVI input using an HDMI-to-DVI adapter
OS: Ubuntu 15.10
arch: x86_64
kernel: 4.2.0-18-generic
Ran Intel Graphics Installer 1.2.1, but my understanding is that this doesn't actually change the driver used, correct?

Issue:
If I flick the mouse so that the pointer quickly travels from the middle to the left edge (in the lower portion of the display), I'll sometimes (1 in 4 tries) get the display to "flicker".  And sometimes, instead of just flickering, it will instead turn all light grey and stay in that state.

The computer is still running - any music that was playing continues to play.  I can still ssh into the machine and run a shell.  If I hit CTRL-ALT-F1, it appears to switch virtual consoles, as the screen changes to all black - but no text is displayed.
 
Workarounds:
Rebooting the computer fixes the problem.
Suspending the computer & then waking it up also fixes the problem.

dmesg:
I do not see any new dmesg being output when this flickering (or the blank screen) occurs, but there are some suspect messages earlier in the log:

$ dmesg | grep intel
[    1.388542] intel_idle: MWAIT substates: 0x33000020
[    1.388547] intel_idle: v0.4 model 0x4C
[    1.388550] intel_idle: lapic_timer_reliable_states 0xffffffff
[    1.704352] fb: switching to inteldrmfb from EFI VGA
[    1.827843] fbcon: inteldrmfb (fb0) is primary device
[    1.828074] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    5.624276] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    6.477293] intel_rapl: Found RAPL domain package
[    6.477299] intel_rapl: Found RAPL domain core
[  360.262740] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe C FIFO underrun

$ dmesg | grep ERROR
[    0.190315] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
[    2.160410] [drm:valleyview_update_wm [i915]] *ERROR* timed out waiting for Punit DDR DVFS request
[    7.504199] [drm:valleyview_update_wm [i915]] *ERROR* timed out waiting for Punit DDR DVFS request
[    9.687075] [drm:valleyview_update_wm [i915]] *ERROR* timed out waiting for Punit DDR DVFS request
[    9.707438] [drm:valleyview_update_wm [i915]] *ERROR* timed out waiting for Punit DDR DVFS request
[    9.874539] [drm:valleyview_update_wm [i915]] *ERROR* timed out waiting for Punit DDR DVFS request
[   28.361870] [drm:valleyview_update_wm [i915]] *ERROR* timed out waiting for Punit DDR DVFS request
[   30.589794] [drm:valleyview_update_wm [i915]] *ERROR* timed out waiting for Punit DDR DVFS request
[   30.609787] [drm:valleyview_update_wm [i915]] *ERROR* timed out waiting for Punit DDR DVFS request
[   31.027400] [drm:valleyview_update_wm [i915]] *ERROR* timed out waiting for Punit DDR DVFS request
[   44.357843] [drm:valleyview_update_wm [i915]] *ERROR* timed out waiting for Punit DDR DVFS request
[  114.932016] [drm:valleyview_update_wm [i915]] *ERROR* timed out waiting for Punit DDR DVFS request
[  116.407431] [drm:valleyview_update_wm [i915]] *ERROR* timed out waiting for Punit DDR DVFS request
[  120.322528] [drm:valleyview_update_wm [i915]] *ERROR* timed out waiting for Punit DDR DVFS request
[  130.559557] [drm:valleyview_update_wm [i915]] *ERROR* timed out waiting for Punit DDR DVFS request
[  251.352101] [drm:valleyview_update_wm [i915]] *ERROR* timed out waiting for Punit DDR DVFS request
[  251.707114] [drm:valleyview_update_wm [i915]] *ERROR* timed out waiting for Punit DDR DVFS request
[  252.192934] [drm:valleyview_update_wm [i915]] *ERROR* timed out waiting for Punit DDR DVFS request
[  253.288239] [drm:valleyview_update_wm [i915]] *ERROR* timed out waiting for Punit DDR DVFS request
[  256.803667] [drm:valleyview_update_wm [i915]] *ERROR* timed out waiting for Punit DDR DVFS request
[  341.079074] [drm:valleyview_update_wm [i915]] *ERROR* timed out waiting for Punit DDR DVFS request
[  360.262740] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe C FIFO underrun
Comment 1 Jani Nikula 2015-11-25 08:09:43 UTC
Please try v4.4-rc2 or later.
Comment 2 Brad Garcia 2015-11-25 10:00:35 UTC
With 4.4rc2 installed, I am still able to reproduce the problem.  Behavior is exactly the same.

Installed 4.4rc2 as package by phoronix.
https://www.phoronix.com/scan.php?page=news_item&px=Linux-4.4-rc2-Spun-For-Ubuntu

Confirmed that it is running:
$ cat /proc/version
Linux version 4.4.0-rc2-phoronix (phoronix@phoronix-To-be-filled-by-O-E-M) (gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2) ) #4 SMP Mon Nov 23 10:03:29 EST 2015

dmesg errors:
$ dmesg | grep ERROR
[    0.225969] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
[  131.593858] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe C FIFO underrun

$ dmesg | grep -E 'i915|intel'
[    1.372049] intel_idle: MWAIT substates: 0x33000020
[    1.372053] intel_idle: v0.4 model 0x4C
[    1.372055] intel_idle: lapic_timer_reliable_states 0xffffffff
[    1.774946] fb: switching to inteldrmfb from EFI VGA
[    1.951256] [drm] Initialized i915 1.6.0 20151010 for 0000:00:02.0 on minor 0
[    2.087489] fbcon: inteldrmfb (fb0) is primary device
[    2.565394] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    5.987562] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    7.060752] intel_rapl: Found RAPL domain package
[    7.060759] intel_rapl: Found RAPL domain core
[  131.593858] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe C FIFO underrun
Comment 3 Brad Garcia 2015-11-26 09:28:17 UTC
I was able to reproduce the problem on an Intel NUC5PPYH running the same software (I swapped the hard drive into the new machine).

$ dmesg | grep ERROR
[    0.256726] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
[  347.422983] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe C FIFO underrun

$ dmesg | grep -E "intel|i915"
[    1.470796] intel_idle: MWAIT substates: 0x33000020
[    1.470800] intel_idle: v0.4 model 0x4C
[    1.470803] intel_idle: lapic_timer_reliable_states 0xffffffff
[    1.824664] fb: switching to inteldrmfb from EFI VGA
[    1.972677] [drm] Initialized i915 1.6.0 20151010 for 0000:00:02.0 on minor 0
[    2.097063] fbcon: inteldrmfb (fb0) is primary device
[    2.540157] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    5.213721] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    5.255033] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
[    5.783138] intel_rapl: Found RAPL domain package
[    5.783148] intel_rapl: Found RAPL domain core
[  347.422983] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe C FIFO underrun
Comment 4 Henry 75 2015-12-10 23:27:10 UTC
I have exactly the same problem as described by Brad with small differences. My hardware is Intel NUC5PPYH and is connected via HDMI with no adapter. My primary OS is Ubuntu 15.10 (kernel 4.3.0-040300-generic) but I also tried Linux Mint 17.3 and Fedora 23 (both with default kernel) with the same behaviour.

On Ubuntu I tried to connect to another monitor but with the same behaviour. The resolution change also makes no difference.
Comment 5 Steve Williams 2015-12-14 14:54:06 UTC
Created attachment 120494 [details]
syslog from affected machines
Comment 6 Steve Williams 2015-12-14 15:01:10 UTC
I have a few of these devices (NUC5PPYH) and I can confirm it happens on all of them.

It doesn't happen as much with Ubuntu 15.04 (One of my devices is running on that with Kernel 3.19.0-25-generic #26-Ubuntu SMP Fri Jul 24 21:17:31 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux). On 15.04, I just get screen flickering, but no blank/grey screen.

I've tried the D-Sub port, which works absolutely fine.

I've also tried Ubuntu 16.04 LTS Beta, which is affected by this issue and also the nightly drivers PPA (https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers).

In Steam, I notice the game either just exits to the desktop with no error report, or it hangs with the same frame being drawn. However, on the desktop, if I move the mouse erratically from side to side (not up and down), I can reproduce this problem within seconds.

I've also tried Fedora, Ubuntu Gnome and Debian, with latest drivers which all produce exactly the same problem. I'm using BIOS version 044 (which I updated to it this week), in the event it was that.
Comment 7 Alex 2016-01-08 09:36:25 UTC
I can confirm this bug.
Hardware: Intel NUC5CPYH, output via HDMI
Linux desktop 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Occurs on Linux Mint and Ubuntu 15.10, when quickly moving mouse pointer in the left upper screen area.
Comment 8 cprigent 2016-01-19 17:33:18 UTC
Bug scrub
-------------
Assign to me.
I will check it.
Comment 9 renegat 2016-01-31 14:27:21 UTC
I can confirm this bug also for:
Intel NUC5PPYH, output via HDMI -> DVI Adapter on BenQ monitor GL2250

Linux 4.3.3-3-ARCH #1 SMP PREEMPT Wed Jan 20 08:12:23 CET 2016 x86_64 GNU/Linux
Arch Linux / LXQT 0.10 / xorg-server 1.18.0-4
xf86-video-intel 1:2.99.917+519+g8229390-1

When moving the mouse cursor fast (!) to the lower left corner the monitor flickers and irregular freezes with one solid color.

Repeating error message in journal:
[drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe C FIFO underrun
Comment 10 Matt Roper 2016-02-04 00:20:47 UTC
The platform is marked as Broadwell (BDW) for this bug, but when I google the NUC referred to in the various comments below, it sounds like it actually uses a Bay Trail (BYT) SoC.  Maybe this is miscategorized?

If this was a Broadwell issue, then I'd expect it to be fixed by http://patchwork.freedesktop.org/patch/72424/ which just went into drm-intel-nightly.  But that won't have any effect on Bay Trail platforms; we may need a similar fix for those platforms.
Comment 11 Brad Garcia 2016-02-04 01:14:05 UTC
I think it's actually Braswell.  Would that be BSW?  I can't find a key for deciphering the i915 platform values.

http://ark.intel.com/products/codename/66094/Braswell#@All
Comment 12 Matt Roper 2016-02-04 01:17:49 UTC
(In reply to Brad Garcia from comment #11)
> I think it's actually Braswell.  Would that be BSW?  I can't find a key for
> deciphering the i915 platform values.
> 
> http://ark.intel.com/products/codename/66094/Braswell#@All

Ah, yes, Braswell is BSW.  I'll update the bug platform to reflect that and we'll check to see if a similar fix to the one I mentioned is needed for that platform.

Thanks!
Comment 13 DrFunk 2016-02-09 08:07:12 UTC
Hi

Same issue, happens on different configurations

Hardware : Intel NUC5PPYH, BIOS version 0048
Display : LG IPS236 (same on my Sony TV)
OS : Ubuntu 15.10 (also on 14.04 and 15.04)
Kernel : 4.2.0-27-generic

Really annoying
Comment 14 Jason Han 2016-02-29 00:25:14 UTC
Same issue.

It only happens on HDMI port. The DP port is not affected.

Hardware : ASRock Beebox N3150, BIOS v1.30
Display :  Dell U2415H
OS :       Xubuntu 14.04.3(with xfce)
Kernel :   3.19.0-51-generic #58~14.04.1-Ubuntu
Comment 15 Dwizzle 2016-03-28 19:46:34 UTC
Also same issue on every linux distro tested so far

Hardware : Intel NUC5PPYH, BIOS version 0048
Display : Every HDMI monitor tested so far
OS : Ubuntu 15.10, 15.04, OpenSuse Leap, OpenSuse Tumbleweed, Debian 8.0

NUC is a paper weight unless this is fixed.
Comment 16 Loyan 2016-04-06 11:15:40 UTC
Same problem on all of my 20 Intel NUC BOXNUC5CPYH 

Running Mint 17.3 X64 on HDMI

Problem is gone when using VGA cable instead of HDMI. With that said i still want to use HDMI so i am interested in a fix.
Comment 17 Henry 75 2016-04-10 14:54:51 UTC
Same issue.

OS: Mint 17.3 X64 on HDMI
Hardware: Zotac ZBOX BI323,  Intel Celeron (Braswell), Intel HD Graphics
Comment 18 Ville Syrjala 2016-04-12 18:04:57 UTC
Looks like a dupe.

*** This bug has been marked as a duplicate of bug 92826 ***
Comment 19 cprigent 2016-08-23 12:02:23 UTC
Associated  bug 92826 has been closed. This one can be closed. 
Feel free to reopen if you need.


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.