[Kernel-packages] [Bug 1675204] ProcEnviron.txt

2017-03-22 Thread Qianqian Fang
apport information

** Attachment added: "ProcEnviron.txt"
   
https://bugs.launchpad.net/bugs/1675204/+attachment/4842940/+files/ProcEnviron.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1675204

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

Status in linux package in Ubuntu:
  Confirmed

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 30KHz" 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_ac
 pi 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: PW  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]   88086e5879a0 813dc80c 
88086e5879e8
  [  145.033295]  c0556700 88086e5879d8 8107e9d6 
88086d898000
  [  145.033300]  88086d89b000 0004 880871924b78 
88086e587a64
  [  145.033305] Call Trace:
  [  145.033311]  [] dump_stack+0x63/0x87
  [  145.033317]  [] warn_slowpath_common+0x86/0xc0
  [  145.033323]  [] warn_slowpath_fmt+0x4c/0x50
  [  145.033358]  [] ? ironlake_irq_handler+0x660/0xba0 
[i915_bpo]
  [  145.033393]  [] skl_update_other_pipe_wm+0x191/0x1a0 
[i915_bpo]
  [  145.033435]  [] skl_update_wm+0x19a/0x6f0 [i915_bpo]
  [  145.033491]  [] ? chv_write8+0x390/0x390 [i915_bpo]
  [  145.033551]  [] ? skl_ddi_pll_disable+0x70/0x80 
[i915_bpo]
  [  145.033590]  [] intel_update_watermarks+0x1e/0x30 
[i915_bpo]
  [  145.033649]  [] intel_atomic_commit+0x432/0x1440 
[i915_bpo]
  [  145.033688]  [] ? 

[Kernel-packages] [Bug 1675204] ProcEnviron.txt

2017-03-22 Thread Qianqian Fang
apport information

** Attachment added: "ProcEnviron.txt"
   
https://bugs.launchpad.net/bugs/1675204/+attachment/4842925/+files/ProcEnviron.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1675204

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

Status in linux package in Ubuntu:
  Confirmed

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 30KHz" 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_ac
 pi 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: PW  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]   88086e5879a0 813dc80c 
88086e5879e8
  [  145.033295]  c0556700 88086e5879d8 8107e9d6 
88086d898000
  [  145.033300]  88086d89b000 0004 880871924b78 
88086e587a64
  [  145.033305] Call Trace:
  [  145.033311]  [] dump_stack+0x63/0x87
  [  145.033317]  [] warn_slowpath_common+0x86/0xc0
  [  145.033323]  [] warn_slowpath_fmt+0x4c/0x50
  [  145.033358]  [] ? ironlake_irq_handler+0x660/0xba0 
[i915_bpo]
  [  145.033393]  [] skl_update_other_pipe_wm+0x191/0x1a0 
[i915_bpo]
  [  145.033435]  [] skl_update_wm+0x19a/0x6f0 [i915_bpo]
  [  145.033491]  [] ? chv_write8+0x390/0x390 [i915_bpo]
  [  145.033551]  [] ? skl_ddi_pll_disable+0x70/0x80 
[i915_bpo]
  [  145.033590]  [] intel_update_watermarks+0x1e/0x30 
[i915_bpo]
  [  145.033649]  [] intel_atomic_commit+0x432/0x1440 
[i915_bpo]
  [  145.033688]  [] ?