[Bug 96419] New: [SKL] vblank not available on crtc 0, ret=-22 (makes X freeze)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 7 06:26:31 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=96419

            Bug ID: 96419
           Summary: [SKL] vblank not available on crtc 0, ret=-22 (makes X
                    freeze)
           Product: DRI
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Intel
          Assignee: intel-gfx-bugs at lists.freedesktop.org
          Reporter: direx at betriebsdirektor.de
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
                CC: intel-gfx-bugs at lists.freedesktop.org

I am using a kernel with drm-intel git (for-linux-next from 2016-06-01).
Occasionally my X freezes and I am getting the following entries in my dmesg:

[34710.420115] ------------[ cut here ]------------
[34710.420139] WARNING: CPU: 2 PID: 465 at drivers/gpu/drm/drm_irq.c:1345
drm_wait_one_vblank+0x176/0x1c0 [drm]
[34710.420141] vblank not available on crtc 0, ret=-22
[34710.420194] Modules linked in: fuse sha256_ssse3 sha256_generic hmac drbg
ansi_cprng ctr ccm nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables
ipt_REJECT nf_reject_ipv4 xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4
xt_conntrack nf_conntrack iptable_filter snd_hda_codec_hdmi
snd_hda_codec_realtek snd_hda_codec_generic snd_soc_skl snd_soc_skl_ipc
snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_sst_match snd_soc_core
iTCO_wdt iTCO_vendor_support arc4 iwlmvm mac80211 snd_hda_intel intel_rapl
x86_pkg_temp_thermal snd_hda_codec intel_powerclamp snd_hwdep coretemp
snd_hda_core kvm uvcvideo videobuf2_vmalloc e1000e videobuf2_memops iwlwifi
irqbypass snd_pcm videobuf2_v4l2 ptp videobuf2_core rtsx_pci_ms serio_raw
psmouse pcspkr i2c_i801 snd_timer pps_core cfg80211 i915 videodev btusb btrtl
[34710.420245]  btbcm memstick btintel bluetooth shpchp media thinkpad_acpi
mei_me mei joydev intel_pch_thermal nvram crc16 mousedev snd evdev input_leds
soundcore mac_hid led_class intel_gtt thermal i2c_algo_bit wmi rfkill
drm_kms_helper ac battery syscopyarea sysfillrect video sysimgblt fb_sys_fops
tpm_crb button drm tpm_tis tpm processor sch_fq_codel ip_tables x_tables btrfs
xor raid6_pq algif_skcipher af_alg hid_logitech_hidpp hid_logitech_dj usbhid
dm_crypt dm_mod sd_mod rtsx_pci_sdmmc mmc_core atkbd libps2 crct10dif_pclmul
crc32_pclmul ahci crc32c_intel libahci ghash_clmulni_intel libata xhci_pci
rtsx_pci scsi_mod xhci_hcd i8042 serio hid_microsoft hid
[34710.420249] CPU: 2 PID: 465 Comm: Xorg Not tainted 4.6.1-git+ #3
[34710.420251] Hardware name: LENOVO 20FVS01500/20FVS01500, BIOS R08ET41W (1.15
) 05/11/2016
[34710.420256]  0000000000000286 0000000095467b73 ffff880423cb76a0
ffffffff81302be2
[34710.420260]  ffff880423cb76f0 0000000000000000 ffff880423cb76e0
ffffffff8109a1cb
[34710.420264]  0000054123cb76a8 ffff88042adb2000 0000000000000000
ffff88042ada7800
[34710.420265] Call Trace:
[34710.420273]  [<ffffffff81302be2>] dump_stack+0x63/0x81
[34710.420278]  [<ffffffff8109a1cb>] __warn+0xcb/0xf0
[34710.420283]  [<ffffffff8109a24f>] warn_slowpath_fmt+0x5f/0x80
[34710.420295]  [<ffffffffa02f76b4>] ? drm_vblank_get+0x74/0xd0 [drm]
[34710.420305]  [<ffffffffa02f7916>] drm_wait_one_vblank+0x176/0x1c0 [drm]
[34710.420341]  [<ffffffffa05cd1c0>] ? gen9_write16+0x3d0/0x3d0 [i915]
[34710.420362]  [<ffffffffa057e69a>] skl_update_wm+0x41a/0x560 [i915]
[34710.420384]  [<ffffffffa0584a1e>] intel_update_watermarks+0x1e/0x20 [i915]
[34710.420417]  [<ffffffffa05f2c45>] haswell_crtc_enable+0x765/0x8d0 [i915]
[34710.420450]  [<ffffffffa05ee53e>] intel_atomic_commit+0x51e/0x1450 [i915]
[34710.420462]  [<ffffffffa031054d>] ? drm_atomic_check_only+0x18d/0x610 [drm]
[34710.420472]  [<ffffffffa030ffec>] ?
drm_atomic_set_crtc_for_connector+0x6c/0x110 [drm]
[34710.420483]  [<ffffffffa0310a07>] drm_atomic_commit+0x37/0x60 [drm]
[34710.420491]  [<ffffffffa0398cb8>] restore_fbdev_mode+0x238/0x260
[drm_kms_helper]
[34710.420498]  [<ffffffffa039b374>]
drm_fb_helper_restore_fbdev_mode_unlocked+0x34/0x80 [drm_kms_helper]
[34710.420504]  [<ffffffffa039b3ed>] drm_fb_helper_set_par+0x2d/0x50
[drm_kms_helper]
[34710.420532]  [<ffffffffa060a6da>] intel_fbdev_set_par+0x1a/0x60 [i915]
[34710.420536]  [<ffffffff81375e2f>] ? fb_set_var+0x30f/0x450
[34710.420538]  [<ffffffff81375d70>] fb_set_var+0x250/0x450
[34710.420543]  [<ffffffff810ce585>] ? update_curr+0xe5/0x1a0
[34710.420549]  [<ffffffff810cbfc2>] ? set_next_entity+0x4e2/0x910
[34710.420554]  [<ffffffff810ca87c>] ? __enqueue_entity+0x6c/0x70
[34710.420557]  [<ffffffff810d15c3>] ? enqueue_entity+0x323/0xd70
[34710.420563]  [<ffffffff8136c973>] fbcon_blank+0x363/0x3b0
[34710.420570]  [<ffffffff813ed042>] do_unblank_screen+0xc2/0x190
[34710.420576]  [<ffffffff813e2fe9>] complete_change_console+0x59/0xe0
[34710.420581]  [<ffffffff813e3779>] vt_ioctl+0x709/0x12d0
[34710.420585]  [<ffffffff811bed9c>] ? do_wp_page+0x12c/0x710
[34710.420597]  [<ffffffffa02f59da>] ? drm_ioctl+0x18a/0x540 [drm]
[34710.420601]  [<ffffffff813d8285>] tty_ioctl+0x365/0xc70
[34710.420606]  [<ffffffff811c2989>] ? handle_mm_fault+0xa39/0x1ed0
[34710.420611]  [<ffffffff81225133>] do_vfs_ioctl+0xa3/0x5d0
[34710.420615]  [<ffffffff8122f4f7>] ? __fget+0x77/0xb0
[34710.420620]  [<ffffffff812256d9>] SyS_ioctl+0x79/0x90
[34710.420625]  [<ffffffff815dfc72>] entry_SYSCALL_64_fastpath+0x1a/0xa4
[34710.420628] ---[ end trace 780bbe753149c42d ]---
[34765.434165] ------------[ cut here ]------------
[34765.434190] WARNING: CPU: 3 PID: 465 at drivers/gpu/drm/drm_irq.c:1345
drm_wait_one_vblank+0x176/0x1c0 [drm]
[34765.434193] vblank not available on crtc 0, ret=-22
[34765.434258] Modules linked in: fuse sha256_ssse3 sha256_generic hmac drbg
ansi_cprng ctr ccm nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables
ipt_REJECT nf_reject_ipv4 xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4
xt_conntrack nf_conntrack iptable_filter snd_hda_codec_hdmi
snd_hda_codec_realtek snd_hda_codec_generic snd_soc_skl snd_soc_skl_ipc
snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_sst_match snd_soc_core
iTCO_wdt iTCO_vendor_support arc4 iwlmvm mac80211 snd_hda_intel intel_rapl
x86_pkg_temp_thermal snd_hda_codec intel_powerclamp snd_hwdep coretemp
snd_hda_core kvm uvcvideo videobuf2_vmalloc e1000e videobuf2_memops iwlwifi
irqbypass snd_pcm videobuf2_v4l2 ptp videobuf2_core rtsx_pci_ms serio_raw
psmouse pcspkr i2c_i801 snd_timer pps_core cfg80211 i915 videodev btusb btrtl
[34765.434324]  btbcm memstick btintel bluetooth shpchp media thinkpad_acpi
mei_me mei joydev intel_pch_thermal nvram crc16 mousedev snd evdev input_leds
soundcore mac_hid led_class intel_gtt thermal i2c_algo_bit wmi rfkill
drm_kms_helper ac battery syscopyarea sysfillrect video sysimgblt fb_sys_fops
tpm_crb button drm tpm_tis tpm processor sch_fq_codel ip_tables x_tables btrfs
xor raid6_pq algif_skcipher af_alg hid_logitech_hidpp hid_logitech_dj usbhid
dm_crypt dm_mod sd_mod rtsx_pci_sdmmc mmc_core atkbd libps2 crct10dif_pclmul
crc32_pclmul ahci crc32c_intel libahci ghash_clmulni_intel libata xhci_pci
rtsx_pci scsi_mod xhci_hcd i8042 serio hid_microsoft hid
[34765.434331] CPU: 3 PID: 465 Comm: Xorg Tainted: G        W       4.6.1-git+
#3
[34765.434333] Hardware name: LENOVO 20FVS01500/20FVS01500, BIOS R08ET41W (1.15
) 05/11/2016
[34765.434340]  0000000000000286 0000000095467b73 ffff880423cb76a0
ffffffff81302be2
[34765.434345]  ffff880423cb76f0 0000000000000000 ffff880423cb76e0
ffffffff8109a1cb
[34765.434350]  0000054123cb76a8 ffff88042adb2000 0000000000000000
ffff88042ada7800
[34765.434351] Call Trace:
[34765.434361]  [<ffffffff81302be2>] dump_stack+0x63/0x81
[34765.434368]  [<ffffffff8109a1cb>] __warn+0xcb/0xf0
[34765.434374]  [<ffffffff8109a24f>] warn_slowpath_fmt+0x5f/0x80
[34765.434390]  [<ffffffffa02f76b4>] ? drm_vblank_get+0x74/0xd0 [drm]
[34765.434404]  [<ffffffffa02f7916>] drm_wait_one_vblank+0x176/0x1c0 [drm]
[34765.434451]  [<ffffffffa05cd1c0>] ? gen9_write16+0x3d0/0x3d0 [i915]
[34765.434480]  [<ffffffffa057e69a>] skl_update_wm+0x41a/0x560 [i915]
[34765.434509]  [<ffffffffa0584a1e>] intel_update_watermarks+0x1e/0x20 [i915]
[34765.434553]  [<ffffffffa05f2c45>] haswell_crtc_enable+0x765/0x8d0 [i915]
[34765.434597]  [<ffffffffa05ee53e>] intel_atomic_commit+0x51e/0x1450 [i915]
[34765.434613]  [<ffffffffa031054d>] ? drm_atomic_check_only+0x18d/0x610 [drm]
[34765.434627]  [<ffffffffa030ffec>] ?
drm_atomic_set_crtc_for_connector+0x6c/0x110 [drm]
[34765.434642]  [<ffffffffa0310a07>] drm_atomic_commit+0x37/0x60 [drm]
[34765.434652]  [<ffffffffa0398cb8>] restore_fbdev_mode+0x238/0x260
[drm_kms_helper]
[34765.434661]  [<ffffffffa039b374>]
drm_fb_helper_restore_fbdev_mode_unlocked+0x34/0x80 [drm_kms_helper]
[34765.434670]  [<ffffffffa039b3ed>] drm_fb_helper_set_par+0x2d/0x50
[drm_kms_helper]
[34765.434707]  [<ffffffffa060a6da>] intel_fbdev_set_par+0x1a/0x60 [i915]
[34765.434711]  [<ffffffff81375e2f>] ? fb_set_var+0x30f/0x450
[34765.434715]  [<ffffffff81375d70>] fb_set_var+0x250/0x450
[34765.434721]  [<ffffffff810ce585>] ? update_curr+0xe5/0x1a0
[34765.434729]  [<ffffffff810cbfc2>] ? set_next_entity+0x4e2/0x910
[34765.434736]  [<ffffffff810ca87c>] ? __enqueue_entity+0x6c/0x70
[34765.434744]  [<ffffffff8136c973>] fbcon_blank+0x363/0x3b0
[34765.434753]  [<ffffffff813ed042>] do_unblank_screen+0xc2/0x190
[34765.434760]  [<ffffffff813e2fe9>] complete_change_console+0x59/0xe0
[34765.434767]  [<ffffffff813e3779>] vt_ioctl+0x709/0x12d0
[34765.434773]  [<ffffffff811bed9c>] ? do_wp_page+0x12c/0x710
[34765.434789]  [<ffffffffa02f59da>] ? drm_ioctl+0x18a/0x540 [drm]
[34765.434793]  [<ffffffff813d8285>] tty_ioctl+0x365/0xc70
[34765.434800]  [<ffffffff811c2989>] ? handle_mm_fault+0xa39/0x1ed0
[34765.434807]  [<ffffffff81225133>] do_vfs_ioctl+0xa3/0x5d0
[34765.434813]  [<ffffffff8122f4f7>] ? __fget+0x77/0xb0
[34765.434819]  [<ffffffff812256d9>] SyS_ioctl+0x79/0x90
[34765.434826]  [<ffffffff815dfc72>] entry_SYSCALL_64_fastpath+0x1a/0xa4
[34765.434830] ---[ end trace 780bbe753149c42e ]---

Environment:

- Thinkpad L460
- 3 Screens (eDP, HDMI+DVI through dock)
- Arch Linux

Might be related to Bug 94572 and/or Bug 94992, I am opening a new bug, just in
case.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160607/58158ad0/attachment-0001.html>


More information about the intel-gfx-bugs mailing list