<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [SKL/APL] vblank not available on crtc 0, ret=-22 (makes X freeze)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=96419#c12">Comment # 12</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [SKL/APL] vblank not available on crtc 0, ret=-22 (makes X freeze)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=96419">bug 96419</a>
from <span class="vcard"><a class="email" href="mailto:direx@betriebsdirektor.de" title="Direx <direx@betriebsdirektor.de>"> <span class="fn">Direx</span></a>
</span></b>
<pre>(In reply to Patrik Jakobsson from <a href="show_bug.cgi?id=96419#c11">comment #11</a>)
<span class="quote">> Direx, I don't think this warning is directly related to the X freeze that
> you're seeing. I'm seeing fifo underruns on my system so I suspect that is a
> more likely cause. You also have a bunch of underruns in your dmesg so that
> is what we should be looking at.</span >
Well, I am always getting pipe underruns on my system, accompanied by short
screen flickerring:
[ 423.607669] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU
pipe A FIFO underrun
[10258.835183] ------------[ cut here ]------------
[10258.835207] WARNING: CPU: 1 PID: 455 at drivers/gpu/drm/drm_irq.c:1218
drm_wait_one_vblank+0x17b/0x1c0 [drm]
[10258.835209] vblank not available on crtc 0, ret=-22
[10258.835265] Modules linked in: nls_iso8859_1 nls_cp437 vfat fat ctr ccm
snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic
nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 xt_tcpudp
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ip6table_filter
ip6_tables iptable_filter arc4 iTCO_wdt iTCO_vendor_support iwlmvm mac80211
uvcvideo videobuf2_vmalloc videobuf2_memops x86_pkg_temp_thermal videobuf2_v4l2
intel_powerclamp coretemp snd_soc_skl snd_soc_skl_ipc videobuf2_core iwlwifi
e1000e i915 kvm snd_hda_ext_core snd_soc_sst_ipc irqbypass snd_soc_sst_dsp
videodev snd_soc_sst_match snd_soc_core joydev input_leds btusb media btrtl
snd_hda_intel btbcm btintel snd_hda_codec bluetooth serio_raw intel_gtt psmouse
ptp pcspkr snd_hwdep crc16 snd_hda_core thinkpad_acpi snd_pcm pps_core
[10258.835317] i2c_algo_bit snd_timer cfg80211 i2c_i801 nvram drm_kms_helper
evdev mousedev rtsx_pci_ms mac_hid syscopyarea sysfillrect memstick sysimgblt
mei_me snd shpchp fb_sys_fops mei drm intel_pch_thermal thermal soundcore
led_class wmi rfkill battery ac video tpm_crb button tpm_tis tpm 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 crc32c_intel ghash_clmulni_intel ahci
libahci libata rtsx_pci xhci_pci scsi_mod xhci_hcd i8042 serio hid_microsoft
hid jitterentropy_rng sha256_ssse3 sha256_generic hmac drbg ansi_cprng
[10258.835322] CPU: 1 PID: 455 Comm: Xorg Not tainted 4.7.0-rc6-git+ #10
[10258.835324] Hardware name: LENOVO 20FVS01500/20FVS01500, BIOS R08ET41W (1.15
) 05/11/2016
[10258.835330] 0000000000000286 00000000d546d760 ffff8804244e3610
ffffffff81308192
[10258.835333] ffff8804244e3660 0000000000000000 ffff8804244e3650
ffffffff8109a8bb
[10258.835337] 000004c2244e3618 ffff88007f872000 0000000000000000
ffff88042e30c000
[10258.835338] Call Trace:
[10258.835347] [<ffffffff81308192>] dump_stack+0x63/0x81
[10258.835352] [<ffffffff8109a8bb>] __warn+0xcb/0xf0
[10258.835357] [<ffffffff8109a93f>] warn_slowpath_fmt+0x5f/0x80
[10258.835370] [<ffffffffa035f609>] ? drm_vblank_get+0x79/0xd0 [drm]
[10258.835381] [<ffffffffa035f86b>] drm_wait_one_vblank+0x17b/0x1c0 [drm]
[10258.835418] [<ffffffffa085eb30>] ? gen9_write16+0x3d0/0x3d0 [i915]
[10258.835440] [<ffffffffa080eb21>] skl_update_wm+0x421/0x560 [i915]
[10258.835462] [<ffffffffa0814ebe>] intel_update_watermarks+0x1e/0x20 [i915]
[10258.835495] [<ffffffffa0884a92>] haswell_crtc_enable+0x7b2/0x930 [i915]
[10258.835528] [<ffffffffa0880a3f>] intel_atomic_commit_tail+0x8ef/0x1160
[i915]
[10258.835561] [<ffffffffa0888356>] ? intel_prepare_plane_fb+0x106/0x2b0
[i915]
[10258.835590] [<ffffffffa0881694>] intel_atomic_commit+0x3e4/0x4f0 [i915]
[10258.835602] [<ffffffffa0378517>] ? drm_atomic_check_only+0x187/0x610 [drm]
[10258.835613] [<ffffffffa0378ea7>] ?
drm_atomic_set_crtc_for_connector+0x97/0x100 [drm]
[10258.835624] [<ffffffffa03789d7>] drm_atomic_commit+0x37/0x60 [drm]
[10258.835631] [<ffffffffa03b0a3c>] restore_fbdev_mode+0x14c/0x270
[drm_kms_helper]
[10258.835638] [<ffffffffa03b1e74>]
drm_fb_helper_restore_fbdev_mode_unlocked+0x34/0x80 [drm_kms_helper]
[10258.835644] [<ffffffffa03b1eed>] drm_fb_helper_set_par+0x2d/0x50
[drm_kms_helper]
[10258.835673] [<ffffffffa089bd4a>] intel_fbdev_set_par+0x1a/0x60 [i915]
[10258.835680] [<ffffffff8137f99f>] ? fb_set_var+0x30f/0x450
[10258.835685] [<ffffffff8137f8e0>] fb_set_var+0x250/0x450
[10258.835690] [<ffffffff810e39a6>] ? cpuacct_charge+0x86/0xa0
[10258.835693] [<ffffffff810ce8f5>] ? update_curr+0xe5/0x1a0
[10258.835696] [<ffffffff810cbe3d>] ? set_next_entity+0x4d/0x920
[10258.835700] [<ffffffff810d09e4>] ? put_prev_entity+0xb4/0x8c0
[10258.835704] [<ffffffff81038e8e>] ? __switch_to_xtra+0x12e/0x160
[10258.835709] [<ffffffff81376493>] fbcon_blank+0x363/0x3b0
[10258.835716] [<ffffffff813fa5a2>] do_unblank_screen+0xc2/0x190
[10258.835722] [<ffffffff813f05a9>] complete_change_console+0x59/0xe0
[10258.835727] [<ffffffff813f0d39>] vt_ioctl+0x709/0x12d0
[10258.835732] [<ffffffff811c2c1c>] ? do_wp_page+0x12c/0x710
[10258.835745] [<ffffffffa035d9ea>] ? drm_ioctl+0x18a/0x540 [drm]
[10258.835748] [<ffffffff813e5835>] tty_ioctl+0x365/0xc70
[10258.835754] [<ffffffff811c6871>] ? handle_mm_fault+0xa81/0x1fa0
[10258.835759] [<ffffffff8129324b>] ? kernfs_fop_write+0x8b/0x1a0
[10258.835763] [<ffffffff81214e87>] ? __vfs_write+0x37/0x140
[10258.835767] [<ffffffff81228653>] do_vfs_ioctl+0xa3/0x5d0
[10258.835772] [<ffffffff81233547>] ? __fget+0x77/0xb0
[10258.835775] [<ffffffff81228bf9>] SyS_ioctl+0x79/0x90
[10258.835781] [<ffffffff815f26f2>] entry_SYSCALL_64_fastpath+0x1a/0xa4
[10258.835819] ---[ end trace 542fab9ae0a0feb8 ]---
But as you can see from the stacktrace the FIFO underrun occurs much earlier.
The X freeze however happens at the same time as the drm_wait_one_vblank error.
With X freeze I mean that the X server becomes unresponsive. The mouse can
still be moved around, but the rest of the screen does not update any more.
Whenever this happens a normal reboot helps (which means no hard kernel
freezes, at least).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>