FS#48866 - [linux] System freeze when external monitor is connected (Broadwell-U) [Linux 4.4.5]

Attached to Project: Arch Linux
Opened by Nico Schottelius (telmich) - Sunday, 10 April 2016, 13:16 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 20 April 2016, 16:12 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When connecting (and enabling via xrandr) the external monitor at the resolution 3840x2160 at 60hz with displayport 1.2, the following happens:

The monitor blanks after a few minutes for a very short time (1-2 seconds) and repeats to do so 2-3 times (after roughly 10-20 minutes).

After it blanks and comes back the 3rd or 4th time, the system completely freezes with the image still being shown on the external and internal monitor.

The system is not reachable via ping/ssh or any other means and can only be powered down by holding the power button for some seconds.

I suspect that this behaviour has been introduced with the update to Linux 4.4.5, because I have *not* seen this behaviour on Linux 4.4.1.

I will downgrade in a few minutes to be able to verify this.


Additional info:
* package version(s)

[15:10] wurzel:~% pacman -Q | grep -e xorg -e ^linux
linux 4.4.5-1
linux-api-headers 4.4.1-1
linux-firmware 20160113.40e9ae8-1
linux-headers 4.4.5-1
linuxtv-dvb-apps 1504-1
xorg-appres 1.0.4-1
xorg-bdftopcf 1.0.5-1
xorg-font-util 1.3.1-1
xorg-font-utils 7.6-4
xorg-fonts-100dpi 1.0.3-2
xorg-fonts-75dpi 1.0.3-2
xorg-fonts-alias 1.0.3-1
xorg-fonts-encodings 1.0.4-4
xorg-fonts-misc 1.0.3-4
xorg-luit 1.1.1-2
xorg-mkfontdir 1.0.7-2
xorg-mkfontscale 1.1.2-1
xorg-server 1.18.3-1
xorg-server-common 1.18.3-1
xorg-server-devel 1.18.3-1
xorg-server-xnest 1.18.3-1
xorg-setxkbmap 1.3.1-1
xorg-util-macros 1.19.0-1
xorg-xauth 1.0.9-1
xorg-xbacklight 1.2.1-1
xorg-xclock 1.0.7-1
xorg-xdpyinfo 1.3.2-1
xorg-xev 1.2.2-1
xorg-xhost 1.0.7-1
xorg-xinit 1.3.4-4
xorg-xinput 1.6.2-1
xorg-xkbcomp 1.3.1-1
xorg-xkill 1.0.4-1
xorg-xmodmap 1.0.9-1
xorg-xprop 1.2.2-1
xorg-xrandr 1.5.0-1
xorg-xrdb 1.1.0-2
xorg-xset 1.2.3-1
xorg-xsetroot 1.1.1-2
xorg-xwd 1.0.6-1
xorg-xwininfo 1.1.3-1
[15:10] wurzel:~%


* config and/or log files etc.

dmesg output before freeze:

[102361.485924] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun
[102370.610065] [drm:intel_dp_link_training_channel_equalization [i915]] *ERROR* 5.4 Gbps link rate without HBR2/TPS3 support
[108816.022536] Process accounting resumed
[110901.276986] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun
[15:11] wurzel:~%

[15:11] wurzel:~% lspci
00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09)
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03)
00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection (3) I218-V (rev 03)
00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #2 (rev e3)
00:1c.1 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 (rev e3)
00:1c.5 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #6 (rev e3)
00:1d.0 USB controller: Intel Corporation Wildcat Point-LP USB EHCI Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03)
00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03)
00:1f.6 Signal processing controller: Intel Corporation Wildcat Point-LP Thermal Management Controller (rev 03)
04:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59)
0a:00.0 SATA controller: Samsung Electronics Co Ltd Device a801 (rev 01)



Steps to reproduce:


* Connect external monitor, enable it, wait for some external monitor blanks -> system freezes
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 20 April 2016, 16:12 GMT
Reason for closing:  Fixed
Additional comments about closing:  linux 4.5.1-1
Comment by Nico Schottelius (telmich) - Sunday, 10 April 2016, 13:41 GMT
Alright, so linux-4.4.1-2 freezes already with the first blanking of the external monitor.

I know that these freezes did not happen about 2-3 months ago when I was using the linux package from testing, because the core package did not support 3840x2160 at 60hz.

Looking back at my previous bug report at https://bugzilla.kernel.org/show_bug.cgi?id=103301 I see that 4.1.4-1, 4.2.2-1 were not able to drive 60hz, however 4.3 was mentioned.

So I suspect that if this is a kernel issue (which I believe) it probably has been introduced


Looking back at which kernels I used to have installed:

[2015-11-14 17:21] [ALPM] upgraded linux (4.2.2-1 -> 4.3-1)
[2015-12-18 09:17] [ALPM] upgraded linux (4.3-1 -> 4.3.3-1)
[2016-01-29 16:17] [ALPM] upgraded linux (4.3.3-1 -> 4.3.3-3)
[2016-02-05 00:27] [ALPM] upgraded linux (4.3.3-3 -> 4.4.1-2)
[2016-03-13 21:57] [ALPM] upgraded linux (4.4.1-2 -> 4.4.5-1)
[2016-04-10 15:26] [ALPM] upgraded linux (4.4.1-2 -> 4.4.5-1)

So it looks like it first used to work with 4.3 or 4.3.3 and freezing started with 4.4.1.
Comment by Nico Schottelius (telmich) - Wednesday, 20 April 2016, 15:23 GMT
This problem seems to have vanished with the upgrade to 4.5.1-1-ARCH. There are also no errors from the intel driver in dmesg anymore.

Loading...