Intel HD graphics crashes when connecting to 3 outputs (DVI+HDMI+DP)

Bug #1675204 reported by Qianqian Fang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
High
Unassigned
Xenial
Expired
High
Unassigned

Bug Description

I have a very strange issue related to Intel graphics drivers (i915) with 3 connected on-board displays.

I have a Xubuntu (14.04 LTS with HWE on 4.4.0-66 kernel) desktop computer running on a i7-6700K processor and on-board graphics (Mobo: AsRock z170 extreme4). I connect it to 3 displays - a 3440x1400 LG display (via onboard DP port), a 1920x1200 Dell display (via on-board HDMI), and a Sony 4k TV (via onboard DVI and a DVI-to-HDMI adapter).

If I just connect my desktop to the first two displays (not the TV), everything works fine (except some minor issues). However, if I connect the 4k TV, even the TV is not on, my graphics starts to flicker every 5 min-ish (window theme turns off and then turns quickly back on); after a few flickering, the window theme will disappear, and the screen becomes weird - my chrome window will not fresh, or show blank boxes etc.

If I disconnect the DVI connector to the TV (just use the LG+Dell dual-display), flickering and crash will not appear.

I want to mention that, when I connect the computer to all 3 displays, I was actually able to get video output to all displays (I used arandr to configure them). I can even get 4k output to the 4k TV at 30Hz.

I can't find a useful log entry when the flicking or graphics crash happens. I can only see a "CPU pipe A FIFO underrun" for pipe A/B/F (log attached at the end), but I can see many similar errors in my log and the appearance is not correlated to the flickering/crash. The "pipe A FIFO underrun" issue was previously reported in Bug#1550779.

I also see "intel(0): HDMI max TMDS frequency 300000KHz" entry in my Xorg.0.log file constantly, I also do not see an consistent mapping between the log entry and the flickering.

Can anyone tell me how to properly debug this? what can I do to get a log for what was wrong?

-----------------------------------

[ 145.033055] WARNING: CPU: 2 PID: 1804 at /build/linux-lts-xenial-drAJVo/linux-lts-xenial-4.4.0/ubuntu/i915/intel_pm.c:3675 skl_update_other_pipe_wm+0x191/0x1a0 [i915_bpo]()
[ 145.033058] WARN_ON(!wm_changed)
[ 145.033060] Modules linked in: nfsv3 pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) autofs4 rpcsec_gss_krb5 nfsv4 usblp joydev input_leds ti_usb_3410_5052 usbserial hid_generic gspca_ov534 gspca_main v4l2_common videodev media snd_usb_audio snd_usbmidi_lib usbhid snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic nvidia_uvm(POE) uas usb_storage intel_rapl x86_pkg_temp_thermal intel_powerclamp mxm_wmi coretemp kvm_intel bnep kvm rfcomm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_hda_intel snd_hda_codec snd_hda_core nvidia_drm(POE) nvidia_modeset(POE) snd_hwdep aesni_intel snd_pcm aes_x86_64 nvidia(POE) lrw gf128mul snd_seq_midi snd_seq_midi_event glue_helper ablk_helper snd_rawmidi cryptd snd_seq snd_seq_device snd_timer serio_raw snd soundcore nfsd i915_bpo auth_rpcgss nfs_acl nfs binfmt_misc lockd grace 8250_fintek hci_uart sunrpc intel_ips drm_kms_helper btbcm pinctrl_sunrisepoint btqca fscache pinctrl_intel btintel intel_lpss_acpi bluetooth i2c_hid intel_lpss drm hid video i2c_algo_bit fb_sys_fops syscopyarea sysfillrect sysimgblt shpchp mei_me mei mac_hid acpi_als wmi kfifo_buf industrialio acpi_pad parport_pc ppdev lp parport e1000e psmouse ptp pps_core ahci nvme libahci fjes
[ 145.033284] CPU: 2 PID: 1804 Comm: Xorg Tainted: P W OE 4.4.0-66-generic #87~14.04.1-Ubuntu
[ 145.033287] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z170 Extreme4, BIOS P7.00 09/09/2016
[ 145.033290] 0000000000000000 ffff88086e5879a0 ffffffff813dc80c ffff88086e5879e8
[ 145.033295] ffffffffc0556700 ffff88086e5879d8 ffffffff8107e9d6 ffff88086d898000
[ 145.033300] ffff88086d89b000 0000000000000004 ffff880871924b78 ffff88086e587a64
[ 145.033305] Call Trace:
[ 145.033311] [<ffffffff813dc80c>] dump_stack+0x63/0x87
[ 145.033317] [<ffffffff8107e9d6>] warn_slowpath_common+0x86/0xc0
[ 145.033323] [<ffffffff8107ea5c>] warn_slowpath_fmt+0x4c/0x50
[ 145.033358] [<ffffffffc0470000>] ? ironlake_irq_handler+0x660/0xba0 [i915_bpo]
[ 145.033393] [<ffffffffc047c441>] skl_update_other_pipe_wm+0x191/0x1a0 [i915_bpo]
[ 145.033435] [<ffffffffc047c5ea>] skl_update_wm+0x19a/0x6f0 [i915_bpo]
[ 145.033491] [<ffffffffc04c8060>] ? chv_write8+0x390/0x390 [i915_bpo]
[ 145.033551] [<ffffffffc04f3580>] ? skl_ddi_pll_disable+0x70/0x80 [i915_bpo]
[ 145.033590] [<ffffffffc047dc3e>] intel_update_watermarks+0x1e/0x30 [i915_bpo]
[ 145.033649] [<ffffffffc04e8352>] intel_atomic_commit+0x432/0x1440 [i915_bpo]
[ 145.033688] [<ffffffffc01f0374>] ? drm_atomic_set_crtc_for_connector+0x44/0xf0 [drm]
[ 145.033720] [<ffffffffc01f14d7>] drm_atomic_commit+0x37/0x60 [drm]
[ 145.033743] [<ffffffffc0312377>] drm_atomic_helper_set_config+0x77/0xb0 [drm_kms_helper]
[ 145.033775] [<ffffffffc01e0994>] drm_mode_set_config_internal+0x64/0x100 [drm]
[ 145.033805] [<ffffffffc01e4a3d>] drm_mode_setcrtc+0xdd/0x4f0 [drm]
[ 145.033828] [<ffffffffc01d687d>] drm_ioctl+0x25d/0x4f0 [drm]
[ 145.033853] [<ffffffffc01e4960>] ? drm_mode_setplane+0x1c0/0x1c0 [drm]
[ 145.033860] [<ffffffff810ea345>] ? hrtimer_start_range_ns+0x1d5/0x370
[ 145.033867] [<ffffffff81213dbd>] do_vfs_ioctl+0x2dd/0x4c0
[ 145.033872] [<ffffffff816e7fe2>] ? __sys_recvmsg+0x62/0x80
[ 145.033879] [<ffffffff81214019>] SyS_ioctl+0x79/0x90
[ 145.033884] [<ffffffff81807df6>] entry_SYSCALL_64_fastpath+0x16/0x75
[ 145.033887] ---[ end trace f51213202db0a02b ]---
[ 145.040751] [drm:intel_cpu_fifo_underrun_irq_handler [i915_bpo]] *ERROR* CPU pipe A FIFO underrun
[ 145.041071] [drm:intel_cpu_fifo_underrun_irq_handler [i915_bpo]] *ERROR* CPU pipe B FIFO underrun

------------------------------------------
---
ApportVersion: 2.14.1-0ubuntu3.23
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: fangq 3247 F.... pulseaudio
 /dev/snd/controlC2: fangq 3247 F.... pulseaudio
 /dev/snd/controlC3: fangq 3247 F.... pulseaudio
 /dev/snd/controlC1: fangq 3247 F.... pulseaudio
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=UUID=8d92b00b-bcd4-4cbb-9036-e852478d30e7
InstallationDate: Installed on 2016-06-03 (292 days ago)
InstallationMedia: Xubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
IwConfig:
 lo no wireless extensions.

 eth4 no wireless extensions.
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-66-generic root=UUID=c88ec53d-8e58-4110-8b67-a26fdba7eccc ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 4.4.0-66.87~14.04.1-generic 4.4.44
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-66-generic N/A
 linux-backports-modules-4.4.0-66-generic N/A
 linux-firmware 1.127.23
RfKill:

Tags: trusty
Uname: Linux 4.4.0-66-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin mcx mlocate plugdev sambashare sudo user
_MarkForUpload: True
dmi.bios.date: 09/09/2016
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P7.00
dmi.board.name: Z170 Extreme4
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP7.00:bd09/09/2016:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnZ170Extreme4:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.
---
ApportVersion: 2.14.1-0ubuntu3.23
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: fangq 3247 F.... pulseaudio
 /dev/snd/controlC2: fangq 3247 F.... pulseaudio
 /dev/snd/controlC3: fangq 3247 F.... pulseaudio
 /dev/snd/controlC1: fangq 3247 F.... pulseaudio
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=UUID=8d92b00b-bcd4-4cbb-9036-e852478d30e7
InstallationDate: Installed on 2016-06-03 (292 days ago)
InstallationMedia: Xubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
IwConfig:
 lo no wireless extensions.

 eth4 no wireless extensions.
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-66-generic root=UUID=c88ec53d-8e58-4110-8b67-a26fdba7eccc ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 4.4.0-66.87~14.04.1-generic 4.4.44
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-66-generic N/A
 linux-backports-modules-4.4.0-66-generic N/A
 linux-firmware 1.127.23
RfKill:

Tags: trusty
Uname: Linux 4.4.0-66-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin mcx mlocate plugdev sambashare sudo user
_MarkForUpload: True
dmi.bios.date: 09/09/2016
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P7.00
dmi.board.name: Z170 Extreme4
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP7.00:bd09/09/2016:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnZ170Extreme4:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1675204

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Qianqian Fang (fangq) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected trusty
description: updated
Revision history for this message
Qianqian Fang (fangq) wrote : BootDmesg.txt

apport information

Revision history for this message
Qianqian Fang (fangq) wrote : CRDA.txt

apport information

Revision history for this message
Qianqian Fang (fangq) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Qianqian Fang (fangq) wrote : Lspci.txt

apport information

Revision history for this message
Qianqian Fang (fangq) wrote : Lsusb.txt

apport information

Revision history for this message
Qianqian Fang (fangq) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Qianqian Fang (fangq) wrote : ProcEnviron.txt

apport information

Revision history for this message
Qianqian Fang (fangq) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Qianqian Fang (fangq) wrote : ProcModules.txt

apport information

Revision history for this message
Qianqian Fang (fangq) wrote : PulseList.txt

apport information

Revision history for this message
Qianqian Fang (fangq) wrote : UdevDb.txt

apport information

Revision history for this message
Qianqian Fang (fangq) wrote : UdevLog.txt

apport information

Revision history for this message
Qianqian Fang (fangq) wrote : WifiSyslog.txt

apport information

description: updated
Revision history for this message
Qianqian Fang (fangq) wrote : AlsaInfo.txt

apport information

Revision history for this message
Qianqian Fang (fangq) wrote : BootDmesg.txt

apport information

Revision history for this message
Qianqian Fang (fangq) wrote : CRDA.txt

apport information

Revision history for this message
Qianqian Fang (fangq) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Qianqian Fang (fangq) wrote : Lspci.txt

apport information

Revision history for this message
Qianqian Fang (fangq) wrote : Lsusb.txt

apport information

Revision history for this message
Qianqian Fang (fangq) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Qianqian Fang (fangq) wrote : ProcEnviron.txt

apport information

Revision history for this message
Qianqian Fang (fangq) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Qianqian Fang (fangq) wrote : ProcModules.txt

apport information

Revision history for this message
Qianqian Fang (fangq) wrote : PulseList.txt

apport information

Revision history for this message
Qianqian Fang (fangq) wrote : UdevDb.txt

apport information

Revision history for this message
Qianqian Fang (fangq) wrote : UdevLog.txt

apport information

Revision history for this message
Qianqian Fang (fangq) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Qianqian Fang (fangq) wrote :

sorry, I posted the logs twice.

I just want to mention that my above logs were collected when only 2 displays are attached (in which case, the graphics functions ok), despite that you can see plenty of pipe A FIFO underrun errors.

do you want me to connect the 3rd cable (to the TV) to trigger the crash, and recollect the logs?

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.11 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11-rc4

Changed in linux (Ubuntu):
importance: Undecided → High
status: Confirmed → Incomplete
Changed in linux (Ubuntu Xenial):
status: New → Incomplete
importance: Undecided → High
tags: added: kernel-da-key
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu Xenial) because there has been no activity for 60 days.]

Changed in linux (Ubuntu Xenial):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.