Bug 97809 - SKL Blue line on 2nd screen after changing monitor array in ubuntu 16.10
Summary: SKL Blue line on 2nd screen after changing monitor array in ubuntu 16.10
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Elio
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-14 19:29 UTC by Elio
Modified: 2017-03-30 17:55 UTC (History)
1 user (show)

See Also:
i915 platform: SKL
i915 features: display/watermark


Attachments
Dmesg (242.60 KB, text/plain)
2016-09-14 19:29 UTC, Elio
no flags Details
Screen shot (1.07 MB, image/png)
2016-09-14 19:29 UTC, Elio
no flags Details
kern log (640.19 KB, text/plain)
2016-09-14 19:30 UTC, Elio
no flags Details
xorg log (48.76 KB, text/plain)
2016-09-14 19:31 UTC, Elio
no flags Details

Description Elio 2016-09-14 19:29:04 UTC
Created attachment 126524 [details]
Dmesg

Configuration:

SKL NUC 6i5SYH, brand new 16.10 Ubuntu version. Without update or upgrades.
Kernel: Generic 4.4.0-913

Working with 2 displays
DP-1 1920X1080 60
HDMI-1 1920x1200 59.95

Description: In extend mode, changing monitor order (left monitor to right an so on), the HDMI screen shows a blue line about 1 inch on the bottom of this display.

Steps to reproduce:

1. Install Ubuntu 16.10 using ISO image
2. Go to settings-> display
3. Move or change the order of the displays

Normal result:

Displays should be showing full desktop without any kind of artifact

Actual result:

HDMI-Display shows a blue line , about 1 inch at the bottom of the screen

Attaching screen-shot, dmesg, xorg, and kern.log

Debug flag: drm.debug=0xe
Comment 1 Elio 2016-09-14 19:29:56 UTC
Created attachment 126525 [details]
Screen shot
Comment 2 Elio 2016-09-14 19:30:14 UTC
Created attachment 126526 [details]
kern log
Comment 3 Elio 2016-09-14 19:31:06 UTC
Created attachment 126527 [details]
xorg log
Comment 4 Elio 2016-09-14 20:44:14 UTC
The problem is present with latest kernels as well (4.8)
Comment 5 yann 2016-09-15 07:40:08 UTC
From 1st log you have : 

[    3.672899] ------------[ cut here ]------------
[    3.672923] WARNING: CPU: 2 PID: 328 at /build/linux-rTsl6N/linux-4.4.0/ubuntu/i915/intel_pm.c:3675 skl_update_other_pipe_wm+0x16c/0x180 [i915_bpo]()
[    3.672924] WARN_ON(!wm_changed)
[    3.672925] Modules linked in:
[    3.672926]  snd_seq_device snd_timer cfg80211 snd aes_x86_64 lrw gf128mul input_leds glue_helper ir_lirc_codec ablk_helper ir_mce_kbd_decoder ir_xmp_decoder lirc_dev cryptd ir_sharp_decoder ir_sanyo_decoder ir_sony_decoder ir_jvc_decoder idma64 hci_uart virt_dma ir_rc6_decoder btqca ir_rc5_decoder btusb btrtl btbcm soundcore btintel shpchp ir_nec_decoder bluetooth intel_lpss_pci mei_me mei rc_rc6_mce ite_cir rc_core intel_lpss_acpi intel_lpss mac_hid acpi_pad acpi_als kfifo_buf industrialio parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_generic uas usb_storage usbhid i915_bpo intel_ips i2c_algo_bit drm_kms_helper syscopyarea sysfillrect e1000e sysimgblt fb_sys_fops drm ptp sdhci_pci ahci pps_core sdhci libahci video pinctrl_sunrisepoint i2c_hid pinctrl_intel hid fjes
[    3.672967] CPU: 2 PID: 328 Comm: plymouthd Not tainted 4.4.0-9136-generic #55-Ubuntu
[    3.672969] Hardware name:                  /NUC6i5SYB, BIOS SYSKLi35.86A.0045.2016.0527.1055 05/27/2016
[    3.672970]  0000000000000286 000000007eb8cb28 ffff88045a067998 ffffffff813f13e3
[    3.672973]  ffff88045a0679e0 ffffffffc02b29a8 ffff88045a0679d0 ffffffff810810f2
[    3.672975]  ffff8804558bb000 ffff880454efa148 ffff8804558bc000 ffff8804550f6b78
[    3.672978] Call Trace:
[    3.672983]  [<ffffffff813f13e3>] dump_stack+0x63/0x90
[    3.672987]  [<ffffffff810810f2>] warn_slowpath_common+0x82/0xc0
[    3.672989]  [<ffffffff8108118c>] warn_slowpath_fmt+0x5c/0x80
[    3.673009]  [<ffffffffc01d3fec>] skl_update_other_pipe_wm+0x16c/0x180 [i915_bpo]
[    3.673026]  [<ffffffffc01d4185>] skl_update_wm+0x185/0x610 [i915_bpo]
[    3.673051]  [<ffffffffc02653ef>] ? intel_ddi_enable_transcoder_func+0x17f/0x260 [i915_bpo]
[    3.673069]  [<ffffffffc01d7f0e>] intel_update_watermarks+0x1e/0x30 [i915_bpo]
[    3.673092]  [<ffffffffc02476c1>] haswell_crtc_enable+0x761/0x8e0 [i915_bpo]
[    3.673115]  [<ffffffffc0232cfe>] ? intel_finish_crtc_commit+0xe/0x10 [i915_bpo]
[    3.673123]  [<ffffffffc01886a4>] ? drm_atomic_helper_commit_planes_on_crtc+0x154/0x270 [drm_kms_helper]
[    3.673145]  [<ffffffffc02435c6>] intel_atomic_commit+0x5d6/0x14a0 [i915_bpo]
[    3.673163]  [<ffffffffc00c4b8e>] ? drm_atomic_check_only+0x18e/0x590 [drm]
[    3.673177]  [<ffffffffc00c4fc7>] drm_atomic_commit+0x37/0x60 [drm]
[    3.673184]  [<ffffffffc0189e1f>] restore_fbdev_mode+0x22f/0x260 [drm_kms_helper]
[    3.673199]  [<ffffffffc00c374a>] ? drm_modeset_lock_all_ctx+0x9a/0xb0 [drm]
[    3.673206]  [<ffffffffc018bff3>] drm_fb_helper_restore_fbdev_mode_unlocked+0x33/0x80 [drm_kms_helper]
[    3.673229]  [<ffffffffc025e322>] intel_fbdev_restore_mode+0x22/0x80 [i915_bpo]
[    3.673252]  [<ffffffffc02895ae>] i915_driver_lastclose+0xe/0x20 [i915_bpo]
[    3.673262]  [<ffffffffc00a7a6e>] drm_lastclose+0x2e/0x140 [drm]
[    3.673272]  [<ffffffffc00a7e96>] drm_release+0x316/0x500 [drm]
[    3.673276]  [<ffffffff811c00fa>] ? handle_mm_fault+0xcaa/0x1820
[    3.673279]  [<ffffffff8120ef94>] __fput+0xe4/0x220
[    3.673282]  [<ffffffff8120f10e>] ____fput+0xe/0x10
[    3.673285]  [<ffffffff8109ec21>] task_work_run+0x81/0xa0
[    3.673288]  [<ffffffff81003242>] exit_to_usermode_loop+0xc2/0xd0
[    3.673291]  [<ffffffff81003c6e>] syscall_return_slowpath+0x4e/0x60
[    3.673293]  [<ffffffff8182e150>] int_ret_from_sys_call+0x25/0x8f
[    3.673295] ---[ end trace fc6663fecc5341a1 ]---


From 2nd log you have : 

Sep 14 14:57:51 gfx-desktop kernel: [    4.859496] ------------[ cut here ]------------
Sep 14 14:57:51 gfx-desktop kernel: [    4.859512] WARNING: CPU: 0 PID: 973 at /build/linux-rTsl6N/linux-4.4.0/ubuntu/i915/intel_pm.c:3675 skl_update_other_pipe_wm+0x16c/0x180 [i915_bpo]()
Sep 14 14:57:51 gfx-desktop kernel: [    4.859513] WARN_ON(!wm_changed)
Sep 14 14:57:51 gfx-desktop kernel: [    4.859514] Modules linked in: cmac bnep arc4 snd_hda_codec_hdmi 8250_dw snd_soc_skl snd_soc_skl_ipc snd_hda_ext_core snd_soc_sst_ipc snd_hda_codec_realtek snd_hda_codec_generic snd_soc_sst_dsp nls_iso8859_1 snd_soc_core intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_compress ac97_bus iwlmvm kvm_intel kvm snd_pcm_dmaengine mac80211 dw_dmac_core snd_hda_intel snd_hda_codec snd_hda_core irqbypass snd_hwdep crct10dif_pclmul crc32_pclmul snd_pcm snd_seq_midi iwlwifi snd_seq_midi_event snd_rawmidi aesni_intel snd_seq snd_seq_device snd_timer cfg80211 snd aes_x86_64 lrw gf128mul input_leds glue_helper ir_lirc_codec ablk_helper ir_mce_kbd_decoder ir_xmp_decoder lirc_dev cryptd ir_sharp_decoder ir_sanyo_decoder ir_sony_decoder ir_jvc_decoder idma64 hci_uart virt_dma ir_rc6_decoder btqca ir_rc5_decoder btusb btrtl btbcm soundcore btintel shpchp ir_nec_decoder bluetooth intel_lpss_pci mei_me mei rc_rc6_mce ite_cir rc_core intel_lpss_acpi intel_lpss mac_hid acpi_pad acpi_als kfifo_buf industrialio parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_generic uas usb_storage usbhid i915_bpo intel_ips i2c_algo_bit drm_kms_helper syscopyarea sysfillrect e1000e sysimgblt fb_sys_fops drm ptp sdhci_pci ahci pps_core sdhci libahci video pinctrl_sunrisepoint i2c_hid pinctrl_intel hid fjes
Sep 14 14:57:51 gfx-desktop kernel: [    4.859557] CPU: 0 PID: 973 Comm: Xorg Tainted: G        W       4.4.0-9136-generic #55-Ubuntu
Sep 14 14:57:51 gfx-desktop kernel: [    4.859558] Hardware name:                  /NUC6i5SYB, BIOS SYSKLi35.86A.0045.2016.0527.1055 05/27/2016
Sep 14 14:57:51 gfx-desktop kernel: [    4.859559]  0000000000000286 000000004668a1fa ffff8804595ff920 ffffffff813f13e3
Sep 14 14:57:51 gfx-desktop kernel: [    4.859561]  ffff8804595ff968 ffffffffc02b29a8 ffff8804595ff958 ffffffff810810f2
Sep 14 14:57:51 gfx-desktop kernel: [    4.859562]  ffff8804558bb000 ffff880454efa148 ffff8804558bc000 ffff8804550f6b78
Sep 14 14:57:51 gfx-desktop kernel: [    4.859564] Call Trace:
Sep 14 14:57:51 gfx-desktop kernel: [    4.859568]  [<ffffffff813f13e3>] dump_stack+0x63/0x90
Sep 14 14:57:51 gfx-desktop kernel: [    4.859571]  [<ffffffff810810f2>] warn_slowpath_common+0x82/0xc0
Sep 14 14:57:51 gfx-desktop kernel: [    4.859572]  [<ffffffff8108118c>] warn_slowpath_fmt+0x5c/0x80
Sep 14 14:57:51 gfx-desktop kernel: [    4.859583]  [<ffffffffc01d3fec>] skl_update_other_pipe_wm+0x16c/0x180 [i915_bpo]
Sep 14 14:57:51 gfx-desktop kernel: [    4.859593]  [<ffffffffc01d4185>] skl_update_wm+0x185/0x610 [i915_bpo]
Sep 14 14:57:51 gfx-desktop kernel: [    4.859609]  [<ffffffffc02653ef>] ? intel_ddi_enable_transcoder_func+0x17f/0x260 [i915_bpo]
Sep 14 14:57:51 gfx-desktop kernel: [    4.859619]  [<ffffffffc01d7f0e>] intel_update_watermarks+0x1e/0x30 [i915_bpo]
Sep 14 14:57:51 gfx-desktop kernel: [    4.859634]  [<ffffffffc02476c1>] haswell_crtc_enable+0x761/0x8e0 [i915_bpo]
Sep 14 14:57:51 gfx-desktop kernel: [    4.859648]  [<ffffffffc02435c6>] intel_atomic_commit+0x5d6/0x14a0 [i915_bpo]
Sep 14 14:57:51 gfx-desktop kernel: [    4.859660]  [<ffffffffc00c4b8e>] ? drm_atomic_check_only+0x18e/0x590 [drm]
Sep 14 14:57:51 gfx-desktop kernel: [    4.859669]  [<ffffffffc00c4fc7>] drm_atomic_commit+0x37/0x60 [drm]
Sep 14 14:57:51 gfx-desktop kernel: [    4.859675]  [<ffffffffc0188d86>] drm_atomic_helper_set_config+0x76/0xb0 [drm_kms_helper]
Sep 14 14:57:51 gfx-desktop kernel: [    4.859683]  [<ffffffffc00b3e32>] drm_mode_set_config_internal+0x62/0x100 [drm]
Sep 14 14:57:51 gfx-desktop kernel: [    4.859692]  [<ffffffffc00b848c>] drm_mode_setcrtc+0x3cc/0x4f0 [drm]
Sep 14 14:57:51 gfx-desktop kernel: [    4.859698]  [<ffffffffc00a9742>] drm_ioctl+0x152/0x540 [drm]
Sep 14 14:57:51 gfx-desktop kernel: [    4.859705]  [<ffffffffc00b80c0>] ? drm_mode_setplane+0x1b0/0x1b0 [drm]
Sep 14 14:57:51 gfx-desktop kernel: [    4.859708]  [<ffffffff81220c1f>] do_vfs_ioctl+0x29f/0x490
Sep 14 14:57:51 gfx-desktop kernel: [    4.859709]  [<ffffffff8120f7f1>] ? __sb_end_write+0x21/0x30
Sep 14 14:57:51 gfx-desktop kernel: [    4.859711]  [<ffffffff8120d3fd>] ? vfs_write+0x15d/0x1a0
Sep 14 14:57:51 gfx-desktop kernel: [    4.859712]  [<ffffffff81220e89>] SyS_ioctl+0x79/0x90
Sep 14 14:57:51 gfx-desktop kernel: [    4.859715]  [<ffffffff8182dff2>] entry_SYSCALL_64_fastpath+0x16/0x71
Sep 14 14:57:51 gfx-desktop kernel: [    4.859716] ---[ end trace fc6663fecc5341a2 ]---
Comment 6 Rami 2017-02-21 13:52:04 UTC
Do you still reproduce this with last drm-tip kernel?
Comment 7 Elio 2017-03-30 17:48:11 UTC
The problem is not present anymore with main line kernel (4.10.2)
Tried to reproduce it using different array configuration.


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.