[Kernel-packages] [Bug 1523088]

2016-04-19 Thread Aljaz Prusnik
I've tried linux-next today (4.6.0-rc3-next-20160412) as I've read there are 
quite some intel driver changes there and this issue with freezing is gone. I 
can now log-in with monitor attached and everything still works.
The message that we posted here still appears thus confirming what Matt said in 
comment 35 that it doesn't have a thing to do with our reported problems.

-- 
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/1523088

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

Status in X.Org X server:
  Confirmed
Status in linux package in Ubuntu:
  Incomplete

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: GW  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]   a287b8f0 
880071b03518 817e93f9
  [Sam Dez  5 12:34:46 2015]   880071b03570 
880071b03558 8107b3d6
  [Sam Dez  5 12:34:46 2015]  880071b03620 880071b036c4 
880279bf2000 880279bf7000
  [Sam Dez  5 12:34:46 2015] Call Trace:
  [Sam Dez  5 12:34:46 2015]  [] dump_stack+0x45/0x57
  [Sam Dez  5 12:34:46 2015]  [] 
warn_slowpath_common+0x86/0xc0
  [Sam Dez  5 12:34:46 2015]  [] warn_slowpath_fmt+0x55/0x70
  [Sam Dez  5 12:34:46 2015]  [] 
skl_update_other_pipe_wm+0x1de/0x1f0 [i915]
  [Sam Dez  5 12:34:46 2015]  [] skl_update_wm+0x1bb/0x740 
[i915]
  [Sam Dez  5 12:34:46 2015]  [] ? gen9_read32+0xf7/0x2d0 
[i915]
  [Sam Dez  5 12:34:46 2015]  [] ? 
i915_get_vblank_timestamp+0x62/0xa0 [i915]
  [Sam Dez  5 12:34:46 2015]  [] 
intel_update_watermarks+0x1e/0x30 [i915]
  [Sam Dez  5 12:34:46 2015]  [] 
intel_finish_crtc_commit+0x169/0x190 [i915]
  [Sam Dez  5 12:34:46 2015]  [] 
drm_atomic_helper_commit_planes_on_crtc+0x143/0x260 [drm_kms_helper]
  [Sam Dez  5 12:34:46 2015]  [] 
intel_atomic_commit+0x6b/0x100 [i915]
  [Sam Dez  5 12:34:46 2015]  [] drm_atomic_commit+0x37/0x60 
[drm]
  [Sam Dez  5 12:34:46 2015]  [] 
drm_atomic_helper_disable_plane+0xef/0x130 [drm_kms_helper]
  [Sam Dez  5 12:34:46 2015]  [] 
__setplane_internal+0x23a/0x2f0 [drm]
  [Sam Dez  5 12:34:46 2015]  [] 
drm_mode_cursor_universal+0x12b/0x210 [drm]
  [Sam Dez  5 12:34:46 2015]  [] ? __ww_mutex_lock+0x5f/0xa0
  [Sam Dez  5 12:34:46 2015]  [] 
drm_mode_cursor_common+0x81/0x180 [drm]
  [Sam Dez  5 12:34:46 2015]  [] 
drm_mode_cursor_ioctl+0x50/0x70 [drm]
  [Sam Dez  5 12:34:46 2015]  [] drm_ioctl+0x125/0x610 [drm]
  [Sam Dez  5 12:34:46 2015]  [] ? 
drm_mode_setcrtc+0x500/0x500 [drm]
  [Sam Dez  5 12:34:46 2015]  [] do_vfs_ioctl+0x295/0x480
  [Sam Dez  5 12:34:46 2015]  [] ? 
__set_task_blocked+0x41/0xa0
  [Sam Dez  5 12:34:46 2015]  [] SyS_ioctl+0x79/0x90
  [Sam Dez  5 12:34:46 2015]  [] 
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.2

[Kernel-packages] [Bug 1523088]

2016-02-29 Thread Aljaz Prusnik
Happens also on a brand new XPS 15 9550 laptop. I tried also today's
kernel git (with some drm fixes for i915).

System is installed anew with Debian testing up-to-date, latest kernel
code and intel video driver 2:2.99.917+git20160218-1.

Symptoms:
- system boots (lightdm)
- laptop screen blinks like crazy, monitor picture is ok (Dell P2715Q, HDMI 
connection)
- after logging-in everything freezes - I have to turn-off computer.

What I do to make it work:
- boot without HDMI plugged-in
- after log-in, plug-in HDMI and then I have stable environment.

This is the trace I found in syslog:
[ cut here ]
WARNING: CPU: 1 PID: 77 at drivers/gpu/drm/i915/intel_pm.c:3553 
skl_update_other_pipe_wm+0x133/0x140 [i915]()
WARN_ON(!wm_changed)
Modules linked in: ebtable_filter ebtables ip6table_filter ip6_tables 
iptable_filter ip_tables x_tables snd_hda_codec_hdmi dell_led 
snd_hda_codec_realtek snd_hda_codec_generic bbswitch(O) intel_rapl 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel jitterentropy_rng joydev 
nls_utf8 dell_wmi nls_cp437 mxm_wmi drbg snd_hda_intel vfat ansi_cprng fat 
snd_hda_codec snd_hda_core aesni_intel efi_pstore snd_hwdep aes_x86_64 lrw 
gf128mul glue_helper ablk_helper dell_laptop dcdbas snd_pcm cryptd snd_timer 
evdev pcspkr snd efivars idma64 serio_raw i2c_i801 soundcore virt_dma brcmfmac 
brcmutil cfg80211 i915 intel_gtt i2c_algo_bit mei_me drm_kms_helper mei drm 
syscopyarea sysfillrect sysimgblt fb_sys_fops intel_lpss_pci 
processor_thermal_device shpchp intel_soc_dts_iosf battery hci_uart btbcm 
btintel int3403_thermal bluetooth dell_smo8800 wmi video rfkill intel_lpss_acpi 
intel_lpss int3400_thermal int3402_thermal tpm_tis int34
 0x_thermal_zone acpi_thermal_rel ac acpi_pad tpm intel_hid button processor 
ecryptfs cbc sha256_ssse3 sha256_generic hmac encrypted_keys parport_pc ppdev 
lp parport efivarfs autofs4 ext4 crc16 mbcache jbd2 rtsx_pci_sdmmc mmc_core 
crc32c_intel psmouse ahci libahci xhci_pci libata rtsx_pci nvme xhci_hcd 
mfd_core scsi_mod usbcore usb_common fan thermal i2c_hid hid
CPU: 1 PID: 77 Comm: kworker/u16:1 Tainted: G   O4.5.0-rc5+ #3
Hardware name: Dell Inc. XPS 15 9550/0N7TVV, BIOS 01.01.19 01/25/2016
Workqueue: events_unbound async_run_entry_fn
 0286 55a2a6f3 812e5b13 88089825b7f8
 a06617d0 8105d93d 88089aa12000 88089825b850
 88089a2f9bd4 88089abf3000 88089abf33a8 8105d9cc
Call Trace:
 [] ? dump_stack+0x5c/0x79
 [] ? warn_slowpath_common+0x7d/0xb0
 [] ? warn_slowpath_fmt+0x5c/0x80
 [] ? skl_update_other_pipe_wm+0x133/0x140 [i915]
 [] ? skl_update_wm+0x165/0x5a0 [i915]
 [] ? _raw_spin_unlock_irqrestore+0x20/0x40
 [] ? intel_ddi_enable_transcoder_func+0x17c/0x260 [i915]
 [] ? haswell_crtc_enable+0x308/0x880 [i915]
 [] ? _raw_spin_unlock_irqrestore+0x20/0x40
 [] ? intel_atomic_commit+0x6d2/0x16c0 [i915]
 [] ? drm_atomic_check_only+0x185/0x600 [drm]
 [] ? drm_atomic_add_affected_connectors+0x22/0xe0 [drm]
 [] ? restore_fbdev_mode+0x223/0x250 [drm_kms_helper]
 [] ? drm_fb_helper_restore_fbdev_mode_unlocked+0x2e/0x70 
[drm_kms_helper]
 [] ? drm_fb_helper_set_par+0x29/0x50 [drm_kms_helper]
 [] ? intel_fbdev_set_par+0x16/0x60 [i915]
 [] ? fbcon_init+0x54d/0x5e0
 [] ? visual_init+0xc3/0x120
 [] ? do_bind_con_driver+0x1e3/0x3d0
 [] ? do_take_over_console+0x13b/0x190
 [] ? do_fbcon_takeover+0x53/0xb0
 [] ? notifier_call_chain+0x45/0x70
 [] ? __blocking_notifier_call_chain+0x41/0x60
 [] ? register_framebuffer+0x20f/0x360
 [] ? vga_switcheroo_client_fb_set+0x19/0x70
 [] ? drm_fb_helper_initial_config+0x298/0x420 
[drm_kms_helper]
 [] ? intel_fbdev_initial_config+0x1b/0x30 [i915]
 [] ? async_run_entry_fn+0x45/0x130
 [] ? process_one_work+0x151/0x430
 [] ? worker_thread+0x4a/0x460
 [] ? process_one_work+0x430/0x430
 [] ? kthread+0xcd/0xf0
 [] ? kthread_worker_fn+0x150/0x150
 [] ? ret_from_fork+0x3f/0x70
 [] ? kthread_worker_fn+0x150/0x150
---[ end trace f9c041c4b6f1a3ff ]---

-- 
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/1523088

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

Status in X.Org X server:
  Confirmed
Status in linux package in Ubuntu:
  Incomplete

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 1