<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Linux 4.1.x: X11 hang after WARNING: CPU: 0 PID: 1690 at ../drivers/gpu/drm/drm_irq.c:1141 drm_wait_one_vblank+0x175/0x180 [drm]()"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98284">98284</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Linux 4.1.x: X11 hang after WARNING: CPU: 0 PID: 1690 at ../drivers/gpu/drm/drm_irq.c:1141 drm_wait_one_vblank+0x175/0x180 [drm]()
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>matwey.kornilov@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hello,

I am facing the following issue using 4.1.27. After the following message X11
hangs.
At 4.1.31, the message is different it is one-line "[drm:i915_hangcheck_elapsed
[i915]] *ERROR* Hangcheck timer elapsed... render ring idle"


[  188.831173] ------------[ cut here ]------------
[  188.831211] WARNING: CPU: 0 PID: 1690 at ../drivers/gpu/drm/drm_irq.c:1141
drm_wait_one_vblank+0x175/0x180 [drm]()
[  188.831212] vblank wait timed out on crtc 0
[  188.831237] Modules linked in: fuse bnep bluetooth nf_log_ipv6 xt_pkttype
nf_log_ipv4 nf_log_common xt_LOG xt_limit iscsi_ibft iscsi_boot_sysfs
ip6t_REJECT nf_reject_ipv6 xt_tcpudp nf_conntrack_ipv6 nf_defrag_ipv6
ip6table_raw ipt_REJECT nf_reject_ipv4 iptable_raw xt_CT iptable_filter
ip6table_mangle nf_conntrack_netbios_ns nf_conntrack_broadcast
nf_conntrack_ipv4 nf_defrag_ipv4 ip_tables xt_conntrack nf_conntrack
ip6table_filter ip6_tables x_tables ftdi_sio usbserial nls_iso8859_1 nls_cp437
vfat fat snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic
snd_hda_intel snd_hda_controller snd_hda_codec snd_hda_core snd_hwdep snd_pcm
gpio_ich iTCO_wdt iTCO_vendor_support snd_seq tpm_infineon intel_rapl
x86_pkg_temp_thermal intel_powerclamp lpc_ich i2c_i801 mei_me mei mfd_core
e1000e coretemp
[  188.831255]  ptp shpchp pps_core snd_seq_device hp_wmi sparse_keymap
snd_timer rfkill tpm_tis serio_raw 8250_fintek kvm_intel kvm ppdev snd
crct10dif_pclmul crc32_pclmul soundcore cryptd pcspkr wmi parport_pc parport
tpm processor efivarfs hid_generic usbhid crc32c_intel sr_mod cdrom i915
i2c_algo_bit video drm_kms_helper ehci_pci ehci_hcd usbcore usb_common drm
button dm_mirror dm_region_hash dm_log dm_mod sg
[  188.831257] CPU: 0 PID: 1690 Comm: Xorg Not tainted 4.1.27-24-default #1
[  188.831258] Hardware name: Hewlett-Packard HP Compaq 6200 Pro MT PC/1497,
BIOS J01 v02.15 11/10/2011
[  188.831262]  0000000000000286 0000000000000000 ffffffff8165f3d0
000000000e980e98
[  188.831264]  ffff880036957898 ffffffffa009377d ffffffff81068951
0000000000000000
[  188.831265]  ffff880036c63800 0000000000000000 0000000000002ba8
ffff880221e97600
[  188.831266] Call Trace:
[  188.831279]  [<ffffffff810055cc>] dump_trace+0x8c/0x340
[  188.831283]  [<ffffffff8100597c>] show_stack_log_lvl+0xfc/0x1a0
[  188.831286]  [<ffffffff81006ec1>] show_stack+0x21/0x50
[  188.831291]  [<ffffffff8165f3d0>] dump_stack+0x5d/0x79
[  188.831296]  [<ffffffff81068951>] warn_slowpath_common+0x81/0xb0
[  188.831300]  [<ffffffff810689ca>] warn_slowpath_fmt+0x4a/0x50
[  188.831314]  [<ffffffffa00679f5>] drm_wait_one_vblank+0x175/0x180 [drm]
[  188.831325]  [<ffffffffa0157798>] drm_plane_helper_commit+0x278/0x2d0
[drm_kms_helper]
[  188.831361]  [<ffffffffa020e036>] intel_crtc_set_config+0xb96/0xf90 [i915]
[  188.831381]  [<ffffffffa0070468>] drm_mode_set_config_internal+0x68/0x100
[drm]
[  188.831392]  [<ffffffffa0160430>] restore_fbdev_mode+0xc0/0xe0
[drm_kms_helper]
[  188.831401]  [<ffffffffa01622d0>]
drm_fb_helper_restore_fbdev_mode_unlocked+0x20/0x60 [drm_kms_helper]
[  188.831408]  [<ffffffffa0162332>] drm_fb_helper_set_par+0x22/0x50
[drm_kms_helper]
[  188.831436]  [<ffffffffa021b326>] intel_fbdev_set_par+0x16/0x60 [i915]
[  188.831441]  [<ffffffff813d4c4e>] fb_set_var+0x15e/0x3b0
[  188.831445]  [<ffffffff813cc05b>] fbcon_blank+0x1cb/0x2b0
[  188.831450]  [<ffffffff814494f5>] do_unblank_screen+0xa5/0x1c0
[  188.831455]  [<ffffffff8143fc34>] vt_ioctl+0x554/0x10c0
[  188.831458]  [<ffffffff81433117>] tty_ioctl+0x207/0xc80
[  188.831462]  [<ffffffff811f1fcf>] do_vfs_ioctl+0x2ff/0x510
[  188.831473]  [<ffffffff811f2261>] SyS_ioctl+0x81/0xa0
[  188.831478]  [<ffffffff81665bb2>] system_call_fastpath+0x16/0x75
[  188.831484]  [<00007fa4df3bdbc7>] 0x7fa4df3bdbc7
[  188.831485] ---[ end trace bce0c4928f9a0749 ]---
[  192.775297] [drm:i915_hangcheck_elapsed [i915]] *ERROR* Hangcheck timer
elapsed... blitter ring idle
[  192.875006] ------------[ cut here ]------------
[  192.875037] WARNING: CPU: 2 PID: 2439 at ../drivers/gpu/drm/drm_irq.c:1141
drm_wait_one_vblank+0x175/0x180 [drm]()
[  192.875039] vblank wait timed out on crtc 0
[  192.875041] Modules linked in: fuse bnep bluetooth nf_log_ipv6 xt_pkttype
nf_log_ipv4 nf_log_common xt_LOG xt_limit iscsi_ibft iscsi_boot_sysfs
ip6t_REJECT nf_reject_ipv6 xt_tcpudp nf_conntrack_ipv6 nf_defrag_ipv6
ip6table_raw ipt_REJECT nf_reject_ipv4 iptable_raw xt_CT iptable_filter
ip6table_mangle nf_conntrack_netbios_ns nf_conntrack_broadcast
nf_conntrack_ipv4 nf_defrag_ipv4 ip_tables xt_conntrack nf_conntrack
ip6table_filter ip6_tables x_tables ftdi_sio usbserial nls_iso8859_1 nls_cp437
vfat fat snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic
snd_hda_intel snd_hda_controller snd_hda_codec snd_hda_core snd_hwdep snd_pcm
gpio_ich iTCO_wdt iTCO_vendor_support snd_seq tpm_infineon intel_rapl
x86_pkg_temp_thermal intel_powerclamp lpc_ich i2c_i801 mei_me mei mfd_core
e1000e coretemp
[  192.875083]  ptp shpchp pps_core snd_seq_device hp_wmi sparse_keymap
snd_timer rfkill tpm_tis serio_raw 8250_fintek kvm_intel kvm ppdev snd
crct10dif_pclmul crc32_pclmul soundcore cryptd pcspkr wmi parport_pc parport
tpm processor efivarfs hid_generic usbhid crc32c_intel sr_mod cdrom i915
i2c_algo_bit video drm_kms_helper ehci_pci ehci_hcd usbcore usb_common drm
button dm_mirror dm_region_hash dm_log dm_mod sg
[  192.875116] CPU: 2 PID: 2439 Comm: Xorg Tainted: G        W      
4.1.27-24-default #1
[  192.875118] Hardware name: Hewlett-Packard HP Compaq 6200 Pro MT PC/1497,
BIOS J01 v02.15 11/10/2011
[  192.875120]  0000000000000286 0000000000000000 ffffffff8165f3d0
0000000000000000
[  192.875124]  ffff8800b66c7af8 ffffffffa009377d ffffffff81068951
0000000000000000
[  192.875127]  ffff880036c63800 0000000000000000 0000000000002c95
ffff880221e97600
[  192.875131] Call Trace:
[  192.875146]  [<ffffffff810055cc>] dump_trace+0x8c/0x340
[  192.875151]  [<ffffffff8100597c>] show_stack_log_lvl+0xfc/0x1a0
[  192.875155]  [<ffffffff81006ec1>] show_stack+0x21/0x50
[  192.875161]  [<ffffffff8165f3d0>] dump_stack+0x5d/0x79
[  192.875167]  [<ffffffff81068951>] warn_slowpath_common+0x81/0xb0
[  192.875172]  [<ffffffff810689ca>] warn_slowpath_fmt+0x4a/0x50
[  192.875187]  [<ffffffffa00679f5>] drm_wait_one_vblank+0x175/0x180 [drm]
[  192.875202]  [<ffffffffa0157798>] drm_plane_helper_commit+0x278/0x2d0
[drm_kms_helper]
[  192.875238]  [<ffffffffa020e036>] intel_crtc_set_config+0xb96/0xf90 [i915]
[  192.875260]  [<ffffffffa0070468>] drm_mode_set_config_internal+0x68/0x100
[drm]
[  192.875280]  [<ffffffffa0074499>] drm_mode_setcrtc+0xd9/0x5f0 [drm]
[  192.875297]  [<ffffffffa0065908>] drm_ioctl+0x308/0x590 [drm]
[  192.875303]  [<ffffffff811f1fcf>] do_vfs_ioctl+0x2ff/0x510
[  192.875314]  [<ffffffff811f2261>] SyS_ioctl+0x81/0xa0
[  192.875320]  [<ffffffff81665bb2>] system_call_fastpath+0x16/0x75
[  192.875327]  [<00007f2b35d0cbc7>] 0x7f2b35d0cbc7
[  192.875329] ---[ end trace bce0c4928f9a074a ]---</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 assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>