← Back to team overview

desktop-packages team mailing list archive

[Bug 1523088] Re: WARN_ON(!wm_changed) warning and stacktrace in kernel log

 

Launchpad has imported 24 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=89055.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2015-02-10T05:53:03+00:00 Lei-a-liu wrote:

Created attachment 113297
dmesg

==System Environment==
--------------------------
Bios : V68
Regression: No. First test on this platform.
boot with DP or HDMI monitor
Non-working platforms: SKLY

==kernel==
--------------------------
-nightly: b4442ee4e150506cebeee72249efc566c5f14bbe (fails)
     drm-intel-nightly: 2015y-02m-06d-09h-25m-00s UTC integration manifest

==Bug detailed description==
-----------------------------
testdisplay -a cause Call Trace

Detail:
[ 1242.330637] ------------[ cut here ]------------
[ 1242.330681] WARNING: CPU: 0 PID: 1361 at drivers/gpu/drm/i915/intel_pm.c:3084 skl_update_other_pipe_wm+0xe3/0x156 [i915]()
[ 1242.330694] WARN_ON(!wm_changed)
[ 1242.330697] Modules linked in: dm_mod snd_hda_codec_hdmi ppdev snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel pcspkr snd_hda_controller snd_hda_codec snd_
hwdep i2c_i801 snd_pcm snd_timer snd soundcore wmi battery parport_pc parport ac acpi_cpufreq i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea
[ 1242.330728] CPU: 0 PID: 1361 Comm: kworker/0:2 Not tainted 3.19.0-rc7_drm-intel-nightly_b4442e_20150208+ #198
[ 1242.330732] Hardware name: Intel Corporation Skylake Client platform/Skylake Y LPDDR3 RVP3, BIOS SKLSE2R1.86C.B068.R00.1501090908 01/09/2015
[ 1242.330757] Workqueue: events i915_hotplug_work_func [i915]
[ 1242.330760]  0000000000000000 0000000000000009 ffffffff8179a69b ffff88009b95b808
[ 1242.330764]  ffffffff8103bdec ffff880143e7991c ffffffffa008d5f4 ffff88009bba1000
[ 1242.330768]  ffff880143e79918 ffff88009b95b8d0 ffff880148813800 ffff880143ed6000
[ 1242.330773] Call Trace:
[ 1242.330783]  [<ffffffff8179a69b>] ? dump_stack+0x40/0x50
[ 1242.330791]  [<ffffffff8103bdec>] ? warn_slowpath_common+0x98/0xb0
[ 1242.330806]  [<ffffffffa008d5f4>] ? skl_update_other_pipe_wm+0xe3/0x156 [i915]
[ 1242.330812]  [<ffffffff8103be9c>] ? warn_slowpath_fmt+0x45/0x4a
[ 1242.330828]  [<ffffffffa008d5f4>] ? skl_update_other_pipe_wm+0xe3/0x156 [i915]
[ 1242.330844]  [<ffffffffa008d7a6>] ? skl_update_wm+0x13f/0x5a8 [i915]
[ 1242.330851]  [<ffffffff81065284>] ? add_wait_queue+0x3c/0x3c
[ 1242.330877]  [<ffffffffa00db2c8>] ? haswell_crtc_enable+0x580/0x9b2 [i915]
[ 1242.330900]  [<ffffffffa00d9878>] ? __intel_set_mode+0x7e5/0x895 [i915]
[ 1242.330923]  [<ffffffffa00df2d3>] ? intel_crtc_set_config+0x7d0/0xbb9 [i915]
[ 1242.330936]  [<ffffffffa0024a11>] ? drm_atomic_state_clear+0xec/0x10d [drm]
[ 1242.330952]  [<ffffffffa001804a>] ? drm_mode_set_config_internal+0x4e/0xd2 [drm]
[ 1242.330960]  [<ffffffffa00652e2>] ? restore_fbdev_mode+0xa8/0xc3 [drm_kms_helper]
[ 1242.330968]  [<ffffffffa00665ff>] ? drm_fb_helper_restore_fbdev_mode_unlocked+0x1f/0x56 [drm_kms_helper]
[ 1242.330975]  [<ffffffffa0066664>] ? drm_fb_helper_set_par+0x2e/0x33 [drm_kms_helper]
[ 1242.330982]  [<ffffffffa00665da>] ? drm_fb_helper_hotplug_event+0xa2/0xa8 [drm_kms_helper]
[ 1242.330989]  [<ffffffff8104d128>] ? process_one_work+0x1ad/0x31a
[ 1242.330995]  [<ffffffff8104d4ef>] ? worker_thread+0x235/0x330
[ 1242.331001]  [<ffffffff8104d2ba>] ? process_scheduled_works+0x25/0x25
[ 1242.331006]  [<ffffffff81050dee>] ? kthread+0xc5/0xcd
[ 1242.331011]  [<ffffffff81050d29>] ? kthread_freezable_should_stop+0x40/0x40
[ 1242.331029]  [<ffffffff8179ffec>] ? ret_from_fork+0x7c/0xb0
[ 1242.331033]  [<ffffffff81050d29>] ? kthread_freezable_should_stop+0x40/0x40
[ 1242.331037] ---[ end trace b15a6acb1a667d5d ]---
[ 1242.331071] [drm:skl_wm_flush_pipe] flush pipe A (pass 1)


==Reproduce steps==
---------------------------- 
1. boot with DP or HDMI monitor
2. ./testdisplay -a
3. check dmesg

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1523088/comments/0

------------------------------------------------------------------------
On 2015-02-10T11:44:20+00:00 Jani-nikula wrote:

*** Bug 89056 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1523088/comments/1

------------------------------------------------------------------------
On 2015-02-10T11:45:02+00:00 Jani-nikula wrote:

(In reply to Jani Nikula from comment #1)
> *** Bug 89056 has been marked as a duplicate of this bug. ***

There, the cause is DP/HDMI hotplug, but the end result is the same.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1523088/comments/2

------------------------------------------------------------------------
On 2015-03-10T16:37:55+00:00 Damien Lespiau wrote:

Just to triage the bug: this hits the (maybe over eager?) warnings:
WARN_ON(!wm_changed). One would need to understand why the WM values
have changed and why I didn't expected that to happen there.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1523088/comments/3

------------------------------------------------------------------------
On 2015-04-14T05:35:49+00:00 Lei-a-liu wrote:

This issue still exists on 04-11-testing kernel.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1523088/comments/4

------------------------------------------------------------------------
On 2015-04-14T14:41:42+00:00 Lei-a-liu wrote:

(In reply to liulei from comment #4)
> This issue still exists on 04-11-testing kernel.

update kernel version 
uname: drm-intel-testing_b253c7_20150411_
git tag: drm-intel-testing-2015-04-10 drm-intel-nightly: 2015y-04m-10d-06h-57m-17s UTC integration manifest

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1523088/comments/5

------------------------------------------------------------------------
On 2015-04-28T08:15:20+00:00 Timo Aaltonen wrote:

seeing the same with drm-intel-next-2015-04-23, and there's also
noticeable flicker to black on the top half of the screens during DPMS
fade out

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1523088/comments/6

------------------------------------------------------------------------
On 2015-04-29T01:19:22+00:00 Lei-a-liu wrote:

This issue still exists on latest testing
uname :4.0.0_drm-intel-testing_43d9c2_20150424
git tag:drm-intel-testing-2015-04-23 drm-intel-nightly: 2015y-04m-23d-19h-58m-37s UTC integration manifest

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1523088/comments/7

------------------------------------------------------------------------
On 2015-05-13T10:44:41+00:00 Bin-a-xu wrote:

Tested on SKLY03 with the testing kernel drm-intel-testing-2015-05-08.
this problem still exists.
Output:
[ 7306.872817] ------------[ cut here ]------------
[ 7306.872852] WARNING: CPU: 2 PID: 1004 at drivers/gpu/drm/i915/intel_pm.c:3346 skl_update_other_pipe_wm+0x10b/0x148 [i915]()
[ 7306.872855] WARN_ON(!wm_changed)
[ 7306.872874] Modules linked in: dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm ppdev serio_raw pcspkr snd_timer i2c_i801 snd soundcore wmi battery parport_pc parport ac acpi_cpufreq i915 button video drm_kms_helper drm
[ 7306.872880] CPU: 2 PID: 1004 Comm: kworker/2:1 Tainted: G     U  W       4.1.0-rc2_drm-intel-testing-2015-05-08+ #2
[ 7306.872882] Hardware name: Intel Corporation Skylake Client platform/Skylake Y LPDDR3 RVP3, BIOS SKLSE2R1.R00.B082.B00.1504240146 04/24/2015
[ 7306.872891] Workqueue: events console_callback
[ 7306.872896]  0000000000000000 0000000000000009 ffffffff817a66cc ffff88016864f748
[ 7306.872899]  ffffffff8103ebde ffff88016864f91a ffffffffa0083030 ffff88007bb10000
[ 7306.872902]  ffff88016864f86c ffff880163628000 ffff880163b7c000 ffff88007bb1955c
[ 7306.872903] Call Trace:
[ 7306.872913]  [<ffffffff817a66cc>] ? dump_stack+0x40/0x50
[ 7306.872918]  [<ffffffff8103ebde>] ? warn_slowpath_common+0x98/0xb0
[ 7306.872941]  [<ffffffffa0083030>] ? skl_update_other_pipe_wm+0x10b/0x148 [i915]
[ 7306.872944]  [<ffffffff8103ec3b>] ? warn_slowpath_fmt+0x45/0x4a
[ 7306.872968]  [<ffffffffa0083030>] ? skl_update_other_pipe_wm+0x10b/0x148 [i915]
[ 7306.872992]  [<ffffffffa00831a2>] ? skl_update_wm+0x135/0x5c5 [i915]
[ 7306.872996]  [<ffffffff81073917>] ? log_store+0x14f/0x196
[ 7306.873000]  [<ffffffff8106a278>] ? down_trylock+0x20/0x29
[ 7306.873003]  [<ffffffff810736ec>] ? console_trylock+0x10/0x55
[ 7306.873044]  [<ffffffffa00d3485>] ? haswell_crtc_disable+0x271/0x2bc [i915]
[ 7306.873079]  [<ffffffffa00d4fa1>] ? intel_crtc_control+0x97/0xd2 [i915]
[ 7306.873111]  [<ffffffffa00d5020>] ? intel_crtc_update_dpms+0x44/0x52 [i915]
[ 7306.873144]  [<ffffffffa00d99b5>] ? intel_connector_dpms+0x3f/0x4a [i915]
[ 7306.873153]  [<ffffffffa0059d28>] ? drm_fb_helper_dpms.isra.5+0x8b/0xcc [drm_kms_helper]
[ 7306.873160]  [<ffffffffa0059d9b>] ? drm_fb_helper_blank+0x32/0x39 [drm_kms_helper]
[ 7306.873191]  [<ffffffffa00e6593>] ? intel_fbdev_blank+0x11/0x54 [i915]
[ 7306.873198]  [<ffffffff813862bc>] ? fb_blank+0x53/0x86
[ 7306.873203]  [<ffffffff8137f22e>] ? fbcon_blank+0x172/0x228
[ 7306.873208]  [<ffffffff81381ebc>] ? bit_cursor+0x459/0x486
[ 7306.873214]  [<ffffffff8108016c>] ? lock_timer_base.isra.37+0x22/0x46
[ 7306.873220]  [<ffffffff81080ace>] ? try_to_del_timer_sync+0x46/0x51
[ 7306.873224]  [<ffffffff813d46f3>] ? do_blank_screen+0x187/0x251
[ 7306.873260]  [<ffffffff813d6a1e>] ? console_callback+0xc6/0xed
[ 7306.873264]  [<ffffffff8104f985>] ? process_one_work+0x1b2/0x31d
[ 7306.873268]  [<ffffffff8105026f>] ? worker_thread+0x265/0x351
[ 7306.873272]  [<ffffffff8105000a>] ? cancel_delayed_work_sync+0xa/0xa
[ 7306.873276]  [<ffffffff81053ee1>] ? kthread+0xce/0xd6
[ 7306.873281]  [<ffffffff81053e13>] ? kthread_create_on_node+0x162/0x162
[ 7306.873285]  [<ffffffff817ac5d2>] ? ret_from_fork+0x42/0x70
[ 7306.873290]  [<ffffffff81053e13>] ? kthread_create_on_node+0x162/0x162
[ 7306.873293] ---[ end trace 8103221c8aae6cbc ]---

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1523088/comments/8

------------------------------------------------------------------------
On 2015-05-25T08:34:04+00:00 Yex-tian wrote:

Tested on SKLY03 with the testing kernel drm-intel-testing-2015-05-22.
this problem still exists.

output:
------------------
[ 1319.346675] ------------[ cut here ]------------
[ 1319.346707] WARNING: CPU: 0 PID: 5404 at drivers/gpu/drm/i915/intel_pm.c:3391 skl_update_other_pipe_wm+0x10b/0x148 [i915]()
[ 1319.346712] WARN_ON(!wm_changed)
[ 1319.346732] Modules linked in: dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic ppdev snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm serio_raw pcspkr snd_timer snd i2c_i801 soundcore wmi battery parport_pc parport ac acpi_cpufreq i915 button video drm_kms_helper drm
[ 1319.346738] CPU: 0 PID: 5404 Comm: testdisplay Tainted: G     U  W       4.1.0-rc4_drm-intel-testing-2015-05-22+ #187
[ 1319.346740] Hardware name: Intel Corporation Skylake Client platform/Skylake Y LPDDR3 RVP3, BIOS SKLSE2R1.R00.B082.B00.1504240146 04/24/2015
[ 1319.346745]  0000000000000000 0000000000000009 ffffffff817a6ebc ffff880004b074e8
[ 1319.346749]  ffffffff8103ebde ffff8801634f9590 ffffffffa0085216 ffff880004b0760c
[ 1319.346752]  ffff880004b0760c ffff880163bb4000 ffff880163be9000 ffff8801634f958c
[ 1319.346753] Call Trace:
[ 1319.346764]  [<ffffffff817a6ebc>] ? dump_stack+0x40/0x50
[ 1319.346769]  [<ffffffff8103ebde>] ? warn_slowpath_common+0x98/0xb0
[ 1319.346792]  [<ffffffffa0085216>] ? skl_update_other_pipe_wm+0x10b/0x148 [i915]
[ 1319.346796]  [<ffffffff8103ec3b>] ? warn_slowpath_fmt+0x45/0x4a
[ 1319.346819]  [<ffffffffa0085216>] ? skl_update_other_pipe_wm+0x10b/0x148 [i915]
[ 1319.346842]  [<ffffffffa0085388>] ? skl_update_wm+0x135/0x5f9 [i915]
[ 1319.346846]  [<ffffffff8106a228>] ? down_trylock+0x20/0x29
[ 1319.346850]  [<ffffffff8107369c>] ? console_trylock+0x10/0x55
[ 1319.346854]  [<ffffffff81074e31>] ? vprintk_emit+0x30f/0x36f
[ 1319.346889]  [<ffffffffa00d8a5c>] ? haswell_crtc_enable+0x52c/0x94c [i915]
[ 1319.346922]  [<ffffffffa00d65f0>] ? __intel_set_mode+0x900/0x93a [i915]
[ 1319.346953]  [<ffffffffa00dbe46>] ? intel_crtc_set_config+0x3f2/0x53d [i915]
[ 1319.346967]  [<ffffffffa00184db>] ? drm_modeset_lock+0x4e/0xa3 [drm]
[ 1319.346988]  [<ffffffffa000c229>] ? drm_mode_set_config_internal+0x4e/0xd2 [drm]
[ 1319.346996]  [<ffffffffa005b13d>] ? restore_fbdev_mode+0xac/0xc3 [drm_kms_helper]
[ 1319.347011]  [<ffffffffa005c93e>] ? drm_fb_helper_restore_fbdev_mode_unlocked+0x1e/0x54 [drm_kms_helper]
[ 1319.347018]  [<ffffffffa005c9a2>] ? drm_fb_helper_set_par+0x2e/0x32 [drm_kms_helper]
[ 1319.347047]  [<ffffffffa00e86eb>] ? intel_fbdev_set_par+0x11/0x55 [i915]
[ 1319.347053]  [<ffffffff813450ad>] ? number.isra.13+0x11f/0x215
[ 1319.347060]  [<ffffffff813867f5>] ? fb_set_var+0x250/0x33b
[ 1319.347064]  [<ffffffff810e939c>] ? shmem_undo_range+0x455/0x46b
[ 1319.347069]  [<ffffffff81345d1a>] ? vsnprintf+0x83/0x3b9
[ 1319.347084]  [<ffffffff8137f3a1>] ? fbcon_blank+0x75/0x228
[ 1319.347089]  [<ffffffff810df8b0>] ? file_ra_state_init+0xc/0x1d
[ 1319.347095]  [<ffffffff813d6291>] ? do_unblank_screen+0xef/0x168
[ 1319.347100]  [<ffffffff813ce981>] ? vt_ioctl+0x4de/0xf59
[ 1319.347106]  [<ffffffff813c5f68>] ? tty_ioctl+0x954/0x9ba
[ 1319.347109]  [<ffffffff811217f3>] ? do_filp_open+0x2b/0x6f
[ 1319.347114]  [<ffffffff811234f6>] ? do_vfs_ioctl+0x360/0x424
[ 1319.347117]  [<ffffffff8112ae18>] ? __fd_install+0x15/0x40
[ 1319.347121]  [<ffffffff81123603>] ? SyS_ioctl+0x49/0x7a
[ 1319.347125]  [<ffffffff817aca17>] ? system_call_fastpath+0x12/0x6a
[ 1319.347129] ---[ end trace 76ca6edff58a8716 ]---
[ 1319.347134] ------------[ cut here ]------------

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1523088/comments/9

------------------------------------------------------------------------
On 2015-05-25T08:48:54+00:00 Yex-tian wrote:

start X and kill X also causes Call Trace.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1523088/comments/10

------------------------------------------------------------------------
On 2015-06-03T20:35:39+00:00 Jim-bish wrote:

I am seeing the same issue in the dmesg on skl desktop system with hdmi
and dp connected.  I also get occasional screen flicker when
transitioning across screens or windows.  build is ubuntu 15.04 with tot
drm-nightly from 6/1, latest drm and latest mesa.

Jim

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1523088/comments/11

------------------------------------------------------------------------
On 2015-08-16T19:19:17+00:00 Januszmk6 wrote:

is there any workarround for this? as someone commented on my issue
https://bugs.freedesktop.org/show_bug.cgi?id=91587 its  probably the
same issue, and os is not usable with intel gpu

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1523088/comments/12

------------------------------------------------------------------------
On 2015-11-10T08:30:06+00:00 Kai Iskratsch wrote:

Created attachment 119531
kernel log OpenSUSE with kernel from OBS Kernel:linux-next repo drm.debug=0x0e

on my skylake system i seem to get these warnings a lot too. 
Also when using KDE i get display corruption, and hard system crashes (no network login possible anymore, and nothing written to logs)

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1523088/comments/13

------------------------------------------------------------------------
On 2015-11-16T19:05:05+00:00 Me+bugzilla wrote:

I can confirm this, with the following setup:

- Linux 4.3.0 (vanilla source tree, built with Debian's make-kpkg, kernel config derived from Debian distro kernels)
- Debian testing (stretch), amd64
- Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz
- Dual-monitor setup, one connected directly to DVI, the other attached via DisplayPort<->DVI adapter

It seems I can reliably trigger the WARN_ON(!wm_changed) condition by
switching between the monitors.

Besides the backtrace-spam in my log, the system seems to run fine, no
hangs, crashes, or the like (running Xorg from stretch with i3-wm).

I notice scrolling-related artifacts in conkeror, but that may be a
totally unrelated issue.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1523088/comments/14

------------------------------------------------------------------------
On 2015-11-21T19:14:22+00:00 Sverd Johnsen wrote:

Looks like same thing here.

Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz

Linux foobar 4.3.0-1-ARCH #1 SMP PREEMPT Mon Nov 2 16:52:35 CET 2015
x86_64 GNU/Linux

[ 4087.204525] ------------[ cut here ]------------
[ 4087.204554] WARNING: CPU: 0 PID: 414 at drivers/gpu/drm/i915/intel_pm.c:3668 skl_update_other_pipe_wm+0x1e7/0x1f0 [i915]()
[ 4087.204558] WARN_ON(!wm_changed)
[ 4087.204561] Modules linked in:
[ 4087.204565]  nf_log_ipv6 nf_log_ipv4 nf_log_common nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack_ipv4 nf_defrag_ipv4 nft_ct nf_conntrack nft_log nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_counter nft_meta nft_hash nft_rbtree nf_tables_inet nf_tables_ipv6 nf_tables_ipv4 nf_tables nfnetlink dm_crypt sha256_ssse3 sha256_generic hmac drbg ansi_cprng algif_skcipher af_alg intel_rapl snd_hda_codec_hdmi dm_mod snd_hda_codec_realtek snd_hda_codec_generic iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm crct10dif_pclmul crc32_pclmul crc32c_intel aesni_intel aes_x86_64 lrw gf128mul snd_hda_intel glue_helper ablk_helper snd_hda_codec cryptd hci_uart snd_hda_core btbcm mousedev joydev btqca snd_hwdep btintel snd_pcm bluetooth mxm_wmi input_leds led_class psmouse pcspkr
[ 4087.204642]  e1000e serio_raw snd_timer snd wmi ptp evdev pps_core rfkill mac_hid thermal fan pinctrl_sunrisepoint pinctrl_intel tpm_infineon battery tpm_tis mei_me mei intel_lpss_acpi intel_lpss acpi_pad tpm i2c_hid soundcore shpchp i2c_i801 processor fjes acpi_als kfifo_buf industrialio sch_fq_codel ip_tables x_tables ext4 crc16 mbcache jbd2 hid_generic usbhid hid sd_mod atkbd libps2 ahci libahci libata xhci_pci xhci_hcd scsi_mod usbcore usb_common i8042 serio i915 video button intel_gtt i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm
[ 4087.204718] CPU: 0 PID: 414 Comm: Xorg Tainted: G        W       4.3.0-1-ARCH #1
[ 4087.204721] Hardware name: Gigabyte Technology Co., Ltd. Z170X-UD3/Z170X-UD3-CF, BIOS F4 10/20/2015
[ 4087.204725]  0000000000000000 00000000ce8e1234 ffff88045e77f5f8 ffffffff812bbc59
[ 4087.204731]  ffff88045e77f640 ffff88045e77f630 ffffffff81074f42 ffff88045db6b000
[ 4087.204737]  ffff88045e77f784 ffff88045db68000 0000000000000000 ffff88045e77f6d0
[ 4087.204743] Call Trace:
[ 4087.204755]  [<ffffffff812bbc59>] dump_stack+0x4b/0x72
[ 4087.204762]  [<ffffffff81074f42>] warn_slowpath_common+0x82/0xc0
[ 4087.204768]  [<ffffffff81074fdc>] warn_slowpath_fmt+0x5c/0x80
[ 4087.204786]  [<ffffffffa00e5b37>] skl_update_other_pipe_wm+0x1e7/0x1f0 [i915]
[ 4087.204804]  [<ffffffffa00e5d03>] skl_update_wm+0x1c3/0x740 [i915]
[ 4087.204830]  [<ffffffffa012aa1b>] ? gen9_read32+0xfb/0x2e0 [i915]
[ 4087.204844]  [<ffffffffa00db6dc>] ? i915_get_vblank_timestamp+0x5c/0x90 [i915]
[ 4087.204863]  [<ffffffffa00ea1ce>] intel_update_watermarks+0x1e/0x30 [i915]
[ 4087.204888]  [<ffffffffa0146fbd>] intel_atomic_commit+0x40d/0x13d0 [i915]
[ 4087.204901]  [<ffffffffa00207a5>] ? drm_atomic_check_only+0x215/0x540 [drm]
[ 4087.204912]  [<ffffffffa001fb12>] ? drm_atomic_get_crtc_state+0x32/0xd0 [drm]
[ 4087.204921]  [<ffffffffa0020b07>] drm_atomic_commit+0x37/0x60 [drm]
[ 4087.204931]  [<ffffffffa008f60f>] drm_atomic_helper_disable_plane+0xef/0x130 [drm_kms_helper]
[ 4087.204947]  [<ffffffffa00106da>] __setplane_internal+0x23a/0x2f0 [drm]
[ 4087.204962]  [<ffffffffa00108bb>] drm_mode_cursor_universal+0x12b/0x210 [drm]
[ 4087.204976]  [<ffffffffa0010a21>] drm_mode_cursor_common+0x81/0x180 [drm]
[ 4087.204991]  [<ffffffffa0014470>] drm_mode_cursor_ioctl+0x50/0x70 [drm]
[ 4087.205002]  [<ffffffffa00055c8>] drm_ioctl+0x138/0x500 [drm]
[ 4087.205016]  [<ffffffffa0014420>] ? drm_mode_setcrtc+0x4f0/0x4f0 [drm]
[ 4087.205023]  [<ffffffff811d3f17>] ? __vfs_read+0x37/0x100
[ 4087.205031]  [<ffffffff811e64d5>] do_vfs_ioctl+0x295/0x480
[ 4087.205038]  [<ffffffff81081091>] ? __set_task_blocked+0x41/0xa0
[ 4087.205044]  [<ffffffff811f0487>] ? __fget+0x77/0xb0
[ 4087.205050]  [<ffffffff811e6739>] SyS_ioctl+0x79/0x90
[ 4087.205058]  [<ffffffff8157db2e>] entry_SYSCALL_64_fastpath+0x12/0x71
[ 4087.205063] ---[ end trace a9564ae414c7316e ]---

# dmesg | grep -P -c '.*:3668 skl_update_other_pipe_wm'
25

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1523088/comments/15

------------------------------------------------------------------------
On 2015-11-26T13:21:42+00:00 Joonas-lahtinen wrote:

*** Bug 92599 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1523088/comments/16

------------------------------------------------------------------------
On 2015-11-26T13:24:44+00:00 Joonas-lahtinen wrote:

This has also happened for the users commenting to bug: #92599 (Added as
duplicate). Causes a false positive on the module reload test because
the errors are spit out repeatedly even before unloading the module.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1523088/comments/17

------------------------------------------------------------------------
On 2015-11-27T11:37:28+00:00 Jani-nikula wrote:

*** Bug 93118 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1523088/comments/18

------------------------------------------------------------------------
On 2015-11-27T11:38:49+00:00 Jani-nikula wrote:

Reproducible with igt BAT set. Daniel says, "This is affecting a lot of
testcases and really needs to be fixed asap (before we add more atomic
patches with their own issues on top)."

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1523088/comments/19

------------------------------------------------------------------------
On 2015-12-04T22:38:06+00:00 dan wrote:

I also have the same issue, fresh install of kubuntu 15.10, always after booting I get several Warnings.
I use a hdmi monitor.
Last extract from dmesg:

[   44.476443] WARNING: CPU: 0 PID: 768 at /build/linux-26_gwp/linux-4.2.0/drivers/gpu/drm/i915/intel_pm.c:3404 skl_update_other_pipe_wm+0x1de/0x1f0 [i915]()
[   44.476444] WARN_ON(!wm_changed)
[   44.476445] Modules linked in:
[   44.476446]  arc4 rtsx_usb_ms rtsx_usb_sdmmc memstick rtsx_usb bbswitch(OE) bnep hid_logitech_hidpp hid_logitech_dj hid_generic usbhid joydev snd_hda_codec_hdmi uvcvideo i2c_designware_platform acer_wmi sparse_keymap nvidia(POE) i2c_designware_core videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common snd_hda_codec_realtek snd_hda_codec_generic videodev media intel_rapl iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm crct10dif_pclmul crc32_pclmul snd_hda_intel snd_hda_codec snd_hda_core btusb snd_hwdep btrtl snd_pcm btbcm btintel bluetooth snd_seq_midi snd_seq_midi_event snd_rawmidi aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd snd_seq ath10k_pci ath10k_core ath mac80211 snd_seq_device snd_timer idma64 virt_dma snd input_leds serio_raw cfg80211 soundcore
[   44.476472]  mei_me mei intel_lpss_pci shpchp dell_smo8800 tpm_crb wmi intel_lpss_acpi intel_lpss acpi_pad mac_hid parport_pc ppdev lp parport autofs4 uas usb_storage i915 i2c_algo_bit drm_kms_helper r8169 drm ahci mii libahci i2c_hid hid pinctrl_sunrisepoint video pinctrl_intel
[   44.476483] CPU: 0 PID: 768 Comm: Xorg Tainted: P        W  OE   4.2.0-19-generic #23-Ubuntu
[   44.476484] Hardware name: Acer Aspire V5-591G/Usopp_SLS, BIOS V1.03 10/23/2015
[   44.476485]  0000000000000000 00000000f2cd7fef ffff88027509f628 ffffffff817e93f9
[   44.476487]  0000000000000000 ffff88027509f680 ffff88027509f668 ffffffff8107b3d6
[   44.476488]  ffff88027509f730 ffff88027509f7d4 ffff880274872000 ffff880274873000
[   44.476490] Call Trace:
[   44.476493]  [<ffffffff817e93f9>] dump_stack+0x45/0x57
[   44.476496]  [<ffffffff8107b3d6>] warn_slowpath_common+0x86/0xc0
[   44.476498]  [<ffffffff8107b465>] warn_slowpath_fmt+0x55/0x70
[   44.476504]  [<ffffffffc014eb9e>] skl_update_other_pipe_wm+0x1de/0x1f0 [i915]
[   44.476510]  [<ffffffffc014ed6b>] skl_update_wm+0x1bb/0x740 [i915]
[   44.476511]  [<ffffffff810bd110>] ? wake_atomic_t_function+0x60/0x60
[   44.476518]  [<ffffffffc01524be>] intel_update_watermarks+0x1e/0x30 [i915]
[   44.476530]  [<ffffffffc01b9f68>] haswell_crtc_enable+0x488/0xa90 [i915]
[   44.476541]  [<ffffffffc01b6d96>] __intel_set_mode+0x916/0xb60 [i915]
[   44.476551]  [<ffffffffc01bdb06>] intel_crtc_set_config+0x2b6/0x580 [i915]
[   44.476561]  [<ffffffffc0094ef5>] ? drm_mode_create+0x25/0x60 [drm]
[   44.476568]  [<ffffffffc008e4a6>] drm_mode_set_config_internal+0x66/0x100 [drm]
[   44.476575]  [<ffffffffc0092b39>] drm_mode_setcrtc+0x3e9/0x500 [drm]
[   44.476580]  [<ffffffffc0083495>] drm_ioctl+0x125/0x610 [drm]
[   44.476586]  [<ffffffffc0092750>] ? drm_mode_setplane+0x1b0/0x1b0 [drm]
[   44.476589]  [<ffffffff81210a25>] do_vfs_ioctl+0x295/0x480
[   44.476591]  [<ffffffff81087f71>] ? __set_task_blocked+0x41/0xa0
[   44.476592]  [<ffffffff81210c89>] SyS_ioctl+0x79/0x90
[   44.476594]  [<ffffffff8108ab84>] ? SyS_rt_sigprocmask+0x74/0xc0
[   44.476597]  [<ffffffff817f01f2>] entry_SYSCALL_64_fastpath+0x16/0x75
[   44.476598] ---[ end trace 54ca44dc723584de ]---
[   45.796098] vgaarb: this pci device is not a vga device

Do you need additional information?

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1523088/comments/20

------------------------------------------------------------------------
On 2015-12-04T22:57:25+00:00 dan wrote:

It is reproducible as it only occurs with a hdmi connected monitor,
without there are no error messages/warnings.

Also X server is (sometimes) unable to start because of this

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1523088/comments/21

------------------------------------------------------------------------
On 2015-12-06T14:16:38+00:00 dan wrote:

I just updated the kernel to 4.3.0-040300-generic and the problem still
occurs.

Regards,
Daniel

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1523088/comments/25

------------------------------------------------------------------------
On 2015-12-07T10:56:54+00:00 Bugs-i wrote:

Should be fixed in nightly with
commit b900111459e2f4a538697f75b63478f3a6acec3c
Author: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx>
Date:   Thu Nov 19 16:07:16 2015 +0100

    drm/i915/skl: Update watermarks before the crtc is disabled.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1523088/comments/26


** Changed in: xorg-server
       Status: Unknown => Fix Released

** Changed in: xorg-server
   Importance: Unknown => High

** Bug watch added: freedesktop.org Bugzilla #91587
   https://bugs.freedesktop.org/show_bug.cgi?id=91587

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1523088

Title:
  WARN_ON(!wm_changed) warning and stacktrace in kernel log

Status in X.Org X server:
  Fix Released
Status in xorg-server package in Ubuntu:
  Confirmed

Bug description:
  I always get an warning and stacktrace (and it seems to hang a little
  bit). This occurs after reboot as well as when I move with the cursor
  between my hdmi monitor and my laptop. (This only occurs when HDMI is
  connected)

  Default Kubuntu install version 15.10 with kernel 4.2.0-19-generic
  Processor: i5 6300hq
  Graphics: gtx950m

  WARNING: CPU: 1 PID: 827 at /build/linux-26_gwp/linux-4.2.0/drivers/gpu/drm/i915/intel_pm.c:3404 skl_update_other_pipe_wm+0x1de/0x1f0 [i915]()
  [Sam Dez  5 12:34:46 2015] WARN_ON(!wm_changed)
  [Sam Dez  5 12:34:46 2015] Modules linked in:
  [Sam Dez  5 12:34:46 2015]  nls_iso8859_1 pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) drbg ansi_cprng ctr ccm rfcomm bnep arc4 rtsx_usb_ms memstick i2c_designware_platform i2c_designware_core acer_wmi sparse_keymap snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core intel_rapl snd_hwdep iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq crct10dif_pclmul crc32_pclmul aesni_intel aes_x86_64 lrw gf128mul snd_seq_device glue_helper snd_timer ablk_helper cryptd ath10k_pci ath10k_core snd ath mac80211 serio_raw soundcore idma64 virt_dma cfg80211 joydev input_leds uvcvideo mei_me videobuf2_vmalloc videobuf2_memops mei videobuf2_core v4l2_common intel_lpss_pci videodev media
  [Sam Dez  5 12:34:46 2015]  btusb btrtl btbcm btintel bluetooth shpchp dell_smo8800 intel_lpss_acpi intel_lpss tpm_crb acpi_pad mac_hid parport_pc ppdev lp parport autofs4 hid_generic hid_logitech_hidpp hid_logitech_dj usbhid rtsx_usb_sdmmc rtsx_usb uas usb_storage nouveau i915 mxm_wmi ttm i2c_algo_bit drm_kms_helper r8169 mii drm ahci libahci i2c_hid hid wmi pinctrl_sunrisepoint video pinctrl_intel
  [Sam Dez  5 12:34:46 2015] CPU: 1 PID: 827 Comm: Xorg Tainted: G        W  OE   4.2.0-19-generic #23-Ubuntu
  [Sam Dez  5 12:34:46 2015] Hardware name: Acer Aspire V5-591G/Usopp_SLS, BIOS V1.03 10/23/2015
  [Sam Dez  5 12:34:46 2015]  0000000000000000 00000000a287b8f0 ffff880071b03518 ffffffff817e93f9
  [Sam Dez  5 12:34:46 2015]  0000000000000000 ffff880071b03570 ffff880071b03558 ffffffff8107b3d6
  [Sam Dez  5 12:34:46 2015]  ffff880071b03620 ffff880071b036c4 ffff880279bf2000 ffff880279bf7000
  [Sam Dez  5 12:34:46 2015] Call Trace:
  [Sam Dez  5 12:34:46 2015]  [<ffffffff817e93f9>] dump_stack+0x45/0x57
  [Sam Dez  5 12:34:46 2015]  [<ffffffff8107b3d6>] warn_slowpath_common+0x86/0xc0
  [Sam Dez  5 12:34:46 2015]  [<ffffffff8107b465>] warn_slowpath_fmt+0x55/0x70
  [Sam Dez  5 12:34:46 2015]  [<ffffffffc017eb9e>] skl_update_other_pipe_wm+0x1de/0x1f0 [i915]
  [Sam Dez  5 12:34:46 2015]  [<ffffffffc017ed6b>] skl_update_wm+0x1bb/0x740 [i915]
  [Sam Dez  5 12:34:46 2015]  [<ffffffffc01ca837>] ? gen9_read32+0xf7/0x2d0 [i915]
  [Sam Dez  5 12:34:46 2015]  [<ffffffffc01b32a2>] ? i915_get_vblank_timestamp+0x62/0xa0 [i915]
  [Sam Dez  5 12:34:46 2015]  [<ffffffffc01824be>] intel_update_watermarks+0x1e/0x30 [i915]
  [Sam Dez  5 12:34:46 2015]  [<ffffffffc01e5ad9>] intel_finish_crtc_commit+0x169/0x190 [i915]
  [Sam Dez  5 12:34:46 2015]  [<ffffffffc00f3793>] drm_atomic_helper_commit_planes_on_crtc+0x143/0x260 [drm_kms_helper]
  [Sam Dez  5 12:34:46 2015]  [<ffffffffc01fee3b>] intel_atomic_commit+0x6b/0x100 [i915]
  [Sam Dez  5 12:34:46 2015]  [<ffffffffc0094d47>] drm_atomic_commit+0x37/0x60 [drm]
  [Sam Dez  5 12:34:46 2015]  [<ffffffffc00f20cf>] drm_atomic_helper_disable_plane+0xef/0x130 [drm_kms_helper]
  [Sam Dez  5 12:34:46 2015]  [<ffffffffc008493a>] __setplane_internal+0x23a/0x2f0 [drm]
  [Sam Dez  5 12:34:46 2015]  [<ffffffffc0084b1b>] drm_mode_cursor_universal+0x12b/0x210 [drm]
  [Sam Dez  5 12:34:46 2015]  [<ffffffff817edf2f>] ? __ww_mutex_lock+0x5f/0xa0
  [Sam Dez  5 12:34:46 2015]  [<ffffffffc0084c81>] drm_mode_cursor_common+0x81/0x180 [drm]
  [Sam Dez  5 12:34:46 2015]  [<ffffffffc0088ca0>] drm_mode_cursor_ioctl+0x50/0x70 [drm]
  [Sam Dez  5 12:34:46 2015]  [<ffffffffc0079495>] drm_ioctl+0x125/0x610 [drm]
  [Sam Dez  5 12:34:46 2015]  [<ffffffffc0088c50>] ? drm_mode_setcrtc+0x500/0x500 [drm]
  [Sam Dez  5 12:34:46 2015]  [<ffffffff81210a25>] do_vfs_ioctl+0x295/0x480
  [Sam Dez  5 12:34:46 2015]  [<ffffffff81087f71>] ? __set_task_blocked+0x41/0xa0
  [Sam Dez  5 12:34:46 2015]  [<ffffffff81210c89>] SyS_ioctl+0x79/0x90
  [Sam Dez  5 12:34:46 2015]  [<ffffffff817f01f2>] entry_SYSCALL_64_fastpath+0x16/0x75
  [Sam Dez  5 12:34:46 2015] ---[ end trace c72c2dc92b88cd01 ]---

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: xserver-xorg-core 2:1.17.2-1ubuntu9.1
  ProcVersionSignature: Ubuntu 4.2.0-19.23-generic 4.2.6
  Uname: Linux 4.2.0-19-generic x86_64
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  Date: Sat Dec  5 12:35:24 2015
  ExecutablePath: /usr/bin/Xorg
  InstallationDate: Installed on 2015-12-04 (0 days ago)
  InstallationMedia: Kubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
  SourcePackage: xorg-server
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1523088/+subscriptions


References