Bug 88307 - CPU: 0 PID: 1194 at drivers/gpu/drm/i915/intel_display.c:3361 intel_crtc_wait_for_pending_flips+0x1b1/0x1c0 [i915]()
Summary: CPU: 0 PID: 1194 at drivers/gpu/drm/i915/intel_display.c:3361 intel_crtc_wait...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
: 88264 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-01-12 02:11 UTC by mikhail.v.gavrilov
Modified: 2017-04-11 12:21 UTC (History)
7 users (show)

See Also:
i915 platform: BYT, HSW, IVB
i915 features: display/Other


Attachments
kernel 3.17.8 log (135.79 KB, text/plain)
2015-01-12 02:11 UTC, mikhail.v.gavrilov
no flags Details
Xorg.log (1.18 MB, text/plain)
2015-01-12 02:11 UTC, mikhail.v.gavrilov
no flags Details
kernel 3.17.8 log with drm.debug=0xe (237.17 KB, text/plain)
2015-01-12 21:51 UTC, mikhail.v.gavrilov
no flags Details
kernel 3.18.3 log + drm.debug + occurs this bug (254.69 KB, text/plain)
2015-01-25 10:33 UTC, mikhail.v.gavrilov
no flags Details
kern.log with drm.debug=0xe and kernel warning (609.75 KB, text/plain)
2015-04-02 13:27 UTC, Gustavo
no flags Details
intel_crtc_wait_for_pending_flips (3.86 KB, text/plain)
2015-12-07 21:52 UTC, Ted
no flags Details

Description mikhail.v.gavrilov 2015-01-12 02:11:17 UTC
Created attachment 112104 [details]
kernel 3.17.8 log

Computer GUI stuck, I connect via ssh and get dmesg log


[ 4720.155193] Watchdog[2323]: segfault at 0 ip 00007fb2f5a43ec6 sp 00007fb2dd6956a0 error 6 in chrome[7fb2f1b7b000+511c000]
[ 4768.697723] ------------[ cut here ]------------
[ 4768.697767] WARNING: CPU: 0 PID: 1206 at drivers/gpu/drm/i915/intel_display.c:3361 intel_crtc_wait_for_pending_flips+0x1b1/0x1c0 [i915]()
[ 4768.697769] Modules linked in: rfcomm fuse xt_CHECKSUM ipt_MASQUERADE nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_rpfilter ip6t_REJECT xt_conntrack ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw bnep hid_logitech_dj iTCO_wdt iTCO_vendor_support ppdev vfat fat btrfs xor intel_rapl x86_pkg_temp_thermal coretemp kvm_intel kvm raid6_pq crct10dif_pclmul crc32_pclmul snd_hda_codec_realtek crc32c_intel snd_hda_codec_generic ghash_clmulni_intel snd_emu10k1 snd_hda_codec_hdmi snd_util_mem snd_rawmidi snd_hda_intel serio_raw snd_ac97_codec
[ 4768.697819]  snd_hda_controller snd_hda_codec snd_hwdep ac97_bus snd_seq i2c_i801 snd_seq_device emu10k1_gp snd_pcm gameport snd_timer mei_me lpc_ich snd mei soundcore shpchp mfd_core btusb parport_pc parport tpm_infineon bluetooth tpm_tis tpm rfkill nfsd auth_rpcgss nfs_acl lockd binfmt_misc sunrpc uas usb_storage i915 i2c_algo_bit drm_kms_helper drm firewire_ohci firewire_core r8169 crc_itu_t mii video
[ 4768.697859] CPU: 0 PID: 1206 Comm: Xorg.bin Not tainted 3.17.8-300.fc21.x86_64+debug #1
[ 4768.697861] Hardware name: Gigabyte Technology Co., Ltd. Z87M-D3H/Z87M-D3H, BIOS F11 08/12/2014
[ 4768.697863]  0000000000000000 0000000074a85047 ffff8807d4333c20 ffffffff81835c3f
[ 4768.697868]  0000000000000000 ffff8807d4333c58 ffffffff810a348d 0000000000000000
[ 4768.697872]  ffff8807ec609bd0 ffff8807ed18f000 ffff88009cab7000 ffff88009cab7000
[ 4768.697876] Call Trace:
[ 4768.697884]  [<ffffffff81835c3f>] dump_stack+0x4d/0x66
[ 4768.697890]  [<ffffffff810a348d>] warn_slowpath_common+0x7d/0xa0
[ 4768.697895]  [<ffffffff810a35ba>] warn_slowpath_null+0x1a/0x20
[ 4768.697921]  [<ffffffffa0128cd1>] intel_crtc_wait_for_pending_flips+0x1b1/0x1c0 [i915]
[ 4768.697928]  [<ffffffff810f38e0>] ? abort_exclusive_wait+0xb0/0xb0
[ 4768.697951]  [<ffffffffa0128d90>] intel_primary_plane_disable+0xb0/0xf0 [i915]
[ 4768.697971]  [<ffffffffa0064702>] setplane_internal+0x192/0x2b0 [drm]
[ 4768.697988]  [<ffffffffa00641f6>] ? _object_find+0x86/0x140 [drm]
[ 4768.698007]  [<ffffffffa00679ed>] drm_mode_setplane+0x14d/0x1f0 [drm]
[ 4768.698020]  [<ffffffffa005938f>] drm_ioctl+0x1df/0x6a0 [drm]
[ 4768.698029]  [<ffffffff81385bf1>] ? inode_has_perm.isra.48+0x51/0x90
[ 4768.698033]  [<ffffffff81275cd0>] do_vfs_ioctl+0x2f0/0x520
[ 4768.698036]  [<ffffffff812821c5>] ? __fget+0x5/0x2f0
[ 4768.698040]  [<ffffffff81275f81>] SyS_ioctl+0x81/0xa0
[ 4768.698044]  [<ffffffff8183fee9>] system_call_fastpath+0x16/0x1b
[ 4768.698047] ---[ end trace b2cfd80101eaa1a7 ]---
[ 4768.699056] [drm:intel_pipe_set_base] *ERROR* pipe is still busy with an old pageflip
[ 4768.701954] [drm:intel_pipe_set_base] *ERROR* pipe is still busy with an old pageflip
[ 4778.799433] Watchdog[7206]: segfault at 0 ip 00007f80d4593ec6 sp 00007f80bc1e56a0 error 6 in chrome[7f80d06cb000+511c000]
Comment 1 mikhail.v.gavrilov 2015-01-12 02:11:36 UTC
Created attachment 112105 [details]
Xorg.log
Comment 2 Rodrigo Vivi 2015-01-12 21:04:10 UTC
Could you please grab new demesg after booting your kernel with drm.debug=0xe?

Also if possible could you please try latest drm-intel-nightly branch from http://cgit.freedesktop.org/drm-intel?

Thanks in advance,
Rodrigo.
Comment 3 Rodrigo Vivi 2015-01-12 21:21:21 UTC
*** Bug 88264 has been marked as a duplicate of this bug. ***
Comment 4 mikhail.v.gavrilov 2015-01-12 21:51:13 UTC
Created attachment 112142 [details]
kernel 3.17.8 log with drm.debug=0xe
Comment 5 mikhail.v.gavrilov 2015-01-12 21:52:44 UTC
(In reply to Rodrigo Vivi from comment #2)
> Could you please grab new demesg after booting your kernel with
> drm.debug=0xe?
> 
> Also if possible could you please try latest drm-intel-nightly branch from
> http://cgit.freedesktop.org/drm-intel?
> 
> Thanks in advance,
> Rodrigo.

This enough, or wait for kernel problem?
Comment 6 Rodrigo Vivi 2015-01-14 23:36:06 UTC
No. This one has no i915 error.

Is this issue something you can reliably reproduce or it happens only once?
Comment 7 zebulon 2015-01-15 14:20:00 UTC
I have the same bug:
Jan 15 14:48:13 callisto kernel: [10212.224481] WARNING: CPU: 3 PID: 2202 at /build/buildd/linux-3.16.0/drivers/gpu/drm/i915/intel_display.c:3324 intel_crtc_wait_f
or_pending_flips+0x16c/0x180 [i915]()
Jan 15 14:48:13 callisto kernel: [10212.224485] Modules linked in: pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) bnep rfcomm binfmt_misc xts gf128
mul dm_crypt rtsx_usb_ms nls_iso8859_1 memstick wl(POE) uvcvideo btusb videobuf2_vmalloc videobuf2_memops bluetooth videobuf2_core dell_wmi v4l2_common videodev sp
arse_keymap dell_laptop 6lowpan_iphc media intel_rapl x86_pkg_temp_thermal dcdbas snd_hda_codec_hdmi intel_powerclamp snd_hda_codec_realtek snd_hda_codec_generic s
nd_hda_intel kvm_intel snd_hda_controller kvm snd_hda_codec snd_hwdep snd_pcm snd_seq_midi snd_seq_midi_event crct10dif_pclmul cfg80211 snd_rawmidi snd_seq crc32_p
clmul snd_seq_device snd_timer ghash_clmulni_intel cryptd shpchp parport_pc snd ppdev i8k soundcore lpc_ich coretemp joydev serio_raw lp mei_me mac_hid mei parport
 rtsx_usb_sdmmc rtsx_usb hid_generic usbhid hid i915 psmouse i2c_algo_bit drm_kms_helper r8169 ahci drm libahci mii wmi video
Jan 15 14:48:13 callisto kernel: [10212.224590] CPU: 3 PID: 2202 Comm: Xorg Tainted: P           OE 3.16.0-29-generic #39-Ubuntu
Jan 15 14:48:13 callisto kernel: [10212.224594] Hardware name: Dell Inc. Inspiron 3521/06RYX8, BIOS A12 10/25/2013
Jan 15 14:48:13 callisto kernel: [10212.224598]  0000000000000009 ffff880231fefbf8 ffffffff8178218a 0000000000000000
Jan 15 14:48:13 callisto kernel: [10212.224605]  ffff880231fefc30 ffffffff8106fedd 0000000000000000 ffff88024341b000
Jan 15 14:48:13 callisto kernel: [10212.224611]  ffff88003f498210 ffff880243637000 ffff880243637000 ffff880231fefc40
Jan 15 14:48:13 callisto kernel: [10212.224618] Call Trace:
Jan 15 14:48:13 callisto kernel: [10212.224634]  [<ffffffff8178218a>] dump_stack+0x45/0x56
Jan 15 14:48:13 callisto kernel: [10212.224644]  [<ffffffff8106fedd>] warn_slowpath_common+0x7d/0xa0
Jan 15 14:48:13 callisto kernel: [10212.224652]  [<ffffffff8106ffba>] warn_slowpath_null+0x1a/0x20
Jan 15 14:48:13 callisto kernel: [10212.224698]  [<ffffffffc041b08c>] intel_crtc_wait_for_pending_flips+0x16c/0x180 [i915]
Jan 15 14:48:13 callisto kernel: [10212.224709]  [<ffffffff810b9730>] ? prepare_to_wait_event+0x100/0x100
Jan 15 14:48:13 callisto kernel: [10212.224752]  [<ffffffffc041db53>] intel_crtc_disable_planes+0x33/0x1c0 [i915]
Jan 15 14:48:13 callisto kernel: [10212.224792]  [<ffffffffc041e120>] ironlake_crtc_disable+0x50/0x980 [i915]
Jan 15 14:48:13 callisto kernel: [10212.224839]  [<ffffffffc0323f53>] ? drm_modeset_lock+0x33/0xf0 [drm]
Jan 15 14:48:13 callisto kernel: [10212.224849]  [<ffffffff81787f72>] ? mutex_lock+0x12/0x30
Jan 15 14:48:13 callisto kernel: [10212.224893]  [<ffffffffc041f4e7>] intel_crtc_update_dpms+0x67/0xa0 [i915]
Jan 15 14:48:13 callisto kernel: [10212.224937]  [<ffffffffc0423b59>] intel_connector_dpms+0x59/0x70 [i915]
Jan 15 14:48:13 callisto kernel: [10212.224978]  [<ffffffffc031ae19>] drm_mode_obj_set_property_ioctl+0x399/0x3a0 [drm]
Jan 15 14:48:13 callisto kernel: [10212.225011]  [<ffffffffc031ae50>] drm_mode_connector_property_set_ioctl+0x30/0x40 [drm]
Jan 15 14:48:13 callisto kernel: [10212.225036]  [<ffffffffc0309a4f>] drm_ioctl+0x1df/0x680 [drm]
Jan 15 14:48:13 callisto kernel: [10212.225048]  [<ffffffff811f5208>] do_vfs_ioctl+0x2c8/0x4a0
Jan 15 14:48:13 callisto kernel: [10212.225055]  [<ffffffff81784e0d>] ? __schedule+0x39d/0x890
Jan 15 14:48:13 callisto kernel: [10212.225061]  [<ffffffff811f5461>] SyS_ioctl+0x81/0xa0
Jan 15 14:48:13 callisto kernel: [10212.225069]  [<ffffffff8178a1ad>] system_call_fastpath+0x1a/0x1f
Jan 15 14:48:13 callisto kernel: [10212.225074] ---[ end trace 7732ebafafe26b9d ]---

I am using the oibaf ppa that compils latest intel driver
I am using Ubuntu 14.10 with 3.16.0-29 kernel and Xorg 1.16.0-1ubuntu1.2 and a HD 4000 with xserver-xorg-video-intel 2:2.99.917+git1501131931.b7feec~gd~u

I can't reproduce it but it happens from time to time since 1 month or even more

ssh into the machine and run export DISPLAY=:0 && unity --replace used to work but anymore, now I restart Xorg with service lightdm restart after switch to console
Comment 8 mikhail.v.gavrilov 2015-01-25 10:33:45 UTC
Created attachment 112791 [details]
kernel 3.18.3 log + drm.debug + occurs this bug
Comment 9 mikhail.v.gavrilov 2015-01-25 10:34:40 UTC
[219590.693924] [drm:intel_crtc_cursor_set_obj] cursor off
[219591.628372] [drm:add_framebuffer_internal] [FB:1795]
[219650.780042] [drm:intel_crtc_cursor_set_obj] cursor off
[219662.768799] [drm:add_framebuffer_internal] [FB:1796]
[219704.648251] [drm:intel_crtc_cursor_set_obj] cursor off
[219707.452243] [drm:add_framebuffer_internal] [FB:1797]
[219775.552609] [drm:intel_crtc_cursor_set_obj] cursor off
[219782.686977] [drm:add_framebuffer_internal] [FB:1798]
[219786.756366] [drm:intel_crtc_cursor_set_obj] cursor off
[219787.685088] [drm:add_framebuffer_internal] [FB:1799]
[219847.132508] [drm:intel_crtc_cursor_set_obj] cursor off
[219848.213053] [drm:add_framebuffer_internal] [FB:1800]
[219907.913083] [drm:intel_crtc_cursor_set_obj] cursor off
[219908.582747] [drm:add_framebuffer_internal] [FB:1801]
[219940.922762] [drm:intel_crtc_cursor_set_obj] cursor off
[219940.948301] [drm:add_framebuffer_internal] [FB:1802]
[219954.042262] [drm:intel_crtc_cursor_set_obj] cursor off
[219956.575838] [drm:add_framebuffer_internal] [FB:1803]
[220036.114042] [drm:intel_crtc_cursor_set_obj] cursor off
[220036.156433] [drm:add_framebuffer_internal] [FB:1804]
[220038.109547] [drm:intel_crtc_cursor_set_obj] cursor off
[220038.980553] [drm:add_framebuffer_internal] [FB:1805]
[220076.655295] [drm:intel_crtc_cursor_set_obj] cursor off
[220076.691726] [drm:add_framebuffer_internal] [FB:1806]
[220076.708231] [drm:intel_crtc_cursor_set_obj] cursor off
[220077.842917] [drm:add_framebuffer_internal] [FB:1807]
[220083.567680] [drm:intel_crtc_cursor_set_obj] cursor off
[220086.300269] [drm:add_framebuffer_internal] [FB:1808]
[220143.342006] [drm:intel_crtc_cursor_set_obj] cursor off
[220144.938698] [drm:add_framebuffer_internal] [FB:1809]
[220200.242358] [drm:intel_crtc_cursor_set_obj] cursor off
[220201.010322] [drm:add_framebuffer_internal] [FB:1810]
[220249.239238] [drm:intel_crtc_cursor_set_obj] cursor off
[220249.271551] [drm:add_framebuffer_internal] [FB:1811]
[220255.641490] [drm:intel_crtc_cursor_set_obj] cursor off
[220258.104185] [drm:add_framebuffer_internal] [FB:1812]
[220311.356791] [drm:intel_crtc_cursor_set_obj] cursor off
[220311.380462] [drm:add_framebuffer_internal] [FB:1813]
[220311.382209] [drm:intel_crtc_cursor_set_obj] cursor off
[220311.402899] [drm:add_framebuffer_internal] [FB:1814]
[220311.419411] [drm:intel_crtc_cursor_set_obj] cursor off
[220312.390904] [drm:add_framebuffer_internal] [FB:1815]
[220314.004301] [drm:intel_crtc_cursor_set_obj] cursor off
[220315.339738] [drm:add_framebuffer_internal] [FB:1816]
[220361.741939] [drm:intel_crtc_cursor_set_obj] cursor off
[220363.118055] [drm:add_framebuffer_internal] [FB:1817]
[220412.074440] [drm:intel_crtc_cursor_set_obj] cursor off
[220412.107962] [drm:add_framebuffer_internal] [FB:1818]
[220413.687710] [drm:intel_crtc_cursor_set_obj] cursor off
[220413.715440] [drm:add_framebuffer_internal] [FB:1819]
[220415.377192] [drm:intel_crtc_cursor_set_obj] cursor off
[220416.354592] [drm:add_framebuffer_internal] [FB:1820]
[220465.816381] [drm:intel_crtc_cursor_set_obj] cursor off
[220465.877519] [drm:add_framebuffer_internal] [FB:1821]
[220475.549428] [drm:intel_crtc_cursor_set_obj] cursor off
[220478.731265] [drm:add_framebuffer_internal] [FB:1822]
[220618.473995] [drm:intel_crtc_cursor_set_obj] cursor off
[220630.147488] Watchdog[2754]: segfault at 0 ip 00007f5737cdc5c6 sp 00007f571f9056a0 error 6 in chrome[7f5733deb000+5158000]
[220678.624266] ------------[ cut here ]------------
[220678.624300] WARNING: CPU: 2 PID: 1266 at drivers/gpu/drm/i915/intel_display.c:3473 intel_crtc_wait_for_pending_flips+0x1a6/0x200 [i915]()
[220678.624301] Modules linked in: tun nls_utf8 isofs rfcomm fuse xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw bnep iTCO_wdt iTCO_vendor_support ppdev btrfs intel_rapl xor raid6_pq x86_pkg_temp_thermal vfat coretemp fat kvm_intel btusb kvm snd_hda_codec_realtek crct10dif_pclmul bluetooth snd_hda_codec_generic snd_hda_codec_hdmi snd_emu10k1 rfkill snd_hda_intel crc32_pclmul crc32c_intel
[220678.624342]  ghash_clmulni_intel snd_util_mem snd_rawmidi snd_hda_controller snd_ac97_codec snd_hda_codec snd_hwdep ac97_bus snd_seq serio_raw i2c_i801 snd_seq_device snd_pcm emu10k1_gp gameport mei_me mei snd_timer lpc_ich snd mfd_core shpchp soundcore parport_pc parport tpm_infineon tpm_tis tpm nfsd auth_rpcgss nfs_acl lockd grace binfmt_misc sunrpc hid_logitech_dj uas usb_storage i915 i2c_algo_bit drm_kms_helper firewire_ohci drm r8169 firewire_core mii crc_itu_t video
[220678.624375] CPU: 2 PID: 1266 Comm: Xorg.bin Tainted: G        W      3.18.3-201.fc21.x86_64+debug #1
[220678.624377] Hardware name: Gigabyte Technology Co., Ltd. Z87M-D3H/Z87M-D3H, BIOS F11 08/12/2014
[220678.624378]  0000000000000000 000000002e618624 ffff8807cacffb98 ffffffff8185ebac
[220678.624381]  0000000000000000 0000000000000000 ffff8807cacffbd8 ffffffff810aba21
[220678.624385]  ffff8807cacffbf8 ffff8807ec45c440 ffff8807ec719f00 ffff8807f3035000
[220678.624388] Call Trace:
[220678.624394]  [<ffffffff8185ebac>] dump_stack+0x4e/0x68
[220678.624399]  [<ffffffff810aba21>] warn_slowpath_common+0x81/0xa0
[220678.624402]  [<ffffffff810abb3a>] warn_slowpath_null+0x1a/0x20
[220678.624424]  [<ffffffffa013b3a6>] intel_crtc_wait_for_pending_flips+0x1a6/0x200 [i915]
[220678.624428]  [<ffffffff810fe560>] ? abort_exclusive_wait+0xb0/0xb0
[220678.624448]  [<ffffffffa013b4a8>] intel_primary_plane_disable+0xa8/0xe0 [i915]
[220678.624467]  [<ffffffffa005e927>] __setplane_internal+0x197/0x290 [drm]
[220678.624484]  [<ffffffffa006d3d9>] ? drm_modeset_lock_all_crtcs+0x49/0x70 [drm]
[220678.624500]  [<ffffffffa006d80a>] ? __drm_modeset_lock_all+0x9a/0x120 [drm]
[220678.624515]  [<ffffffffa006d866>] ? __drm_modeset_lock_all+0xf6/0x120 [drm]
[220678.624530]  [<ffffffffa0061e38>] drm_mode_setplane+0x198/0x240 [drm]
[220678.624542]  [<ffffffffa0052e0f>] drm_ioctl+0x1df/0x6a0 [drm]
[220678.624552]  [<ffffffff813a0ae5>] ? inode_has_perm.isra.47+0x55/0xa0
[220678.624555]  [<ffffffff81289ee0>] do_vfs_ioctl+0x2f0/0x520
[220678.624558]  [<ffffffff8128a191>] SyS_ioctl+0x81/0xa0
[220678.624561]  [<ffffffff81869169>] system_call_fastpath+0x12/0x17
[220678.624563] ---[ end trace 3e6f4900e103728c ]---
[220678.624564] ------------[ cut here ]------------
[220678.624580] WARNING: CPU: 2 PID: 1266 at drivers/gpu/drm/i915/intel_display.c:3479 intel_crtc_wait_for_pending_flips+0x1f6/0x200 [i915]()
[220678.624582] Removing stuck page flip
[220678.624582] Modules linked in: tun nls_utf8 isofs rfcomm fuse xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw bnep iTCO_wdt iTCO_vendor_support ppdev btrfs intel_rapl xor raid6_pq x86_pkg_temp_thermal vfat coretemp fat kvm_intel btusb kvm snd_hda_codec_realtek crct10dif_pclmul bluetooth snd_hda_codec_generic snd_hda_codec_hdmi snd_emu10k1 rfkill snd_hda_intel crc32_pclmul crc32c_intel
[220678.624617]  ghash_clmulni_intel snd_util_mem snd_rawmidi snd_hda_controller snd_ac97_codec snd_hda_codec snd_hwdep ac97_bus snd_seq serio_raw i2c_i801 snd_seq_device snd_pcm emu10k1_gp gameport mei_me mei snd_timer lpc_ich snd mfd_core shpchp soundcore parport_pc parport tpm_infineon tpm_tis tpm nfsd auth_rpcgss nfs_acl lockd grace binfmt_misc sunrpc hid_logitech_dj uas usb_storage i915 i2c_algo_bit drm_kms_helper firewire_ohci drm r8169 firewire_core mii crc_itu_t video
[220678.624645] CPU: 2 PID: 1266 Comm: Xorg.bin Tainted: G        W      3.18.3-201.fc21.x86_64+debug #1
[220678.624646] Hardware name: Gigabyte Technology Co., Ltd. Z87M-D3H/Z87M-D3H, BIOS F11 08/12/2014
[220678.624647]  0000000000000000 000000002e618624 ffff8807cacffb38 ffffffff8185ebac
[220678.624649]  0000000000000000 ffff8807cacffb90 ffff8807cacffb78 ffffffff810aba21
[220678.624652]  ffff8807cacffba8 ffff8807ec45c440 0000000000000296 ffff8807f3035000
[220678.624654] Call Trace:
[220678.624657]  [<ffffffff8185ebac>] dump_stack+0x4e/0x68
[220678.624660]  [<ffffffff810aba21>] warn_slowpath_common+0x81/0xa0
[220678.624663]  [<ffffffff810aba95>] warn_slowpath_fmt+0x55/0x70
[220678.624688]  [<ffffffffa013b3ae>] ? intel_crtc_wait_for_pending_flips+0x1ae/0x200 [i915]
[220678.624707]  [<ffffffffa013b3f6>] intel_crtc_wait_for_pending_flips+0x1f6/0x200 [i915]
[220678.624710]  [<ffffffff810fe560>] ? abort_exclusive_wait+0xb0/0xb0
[220678.624729]  [<ffffffffa013b4a8>] intel_primary_plane_disable+0xa8/0xe0 [i915]
[220678.624744]  [<ffffffffa005e927>] __setplane_internal+0x197/0x290 [drm]
[220678.624760]  [<ffffffffa006d3d9>] ? drm_modeset_lock_all_crtcs+0x49/0x70 [drm]
[220678.624776]  [<ffffffffa006d80a>] ? __drm_modeset_lock_all+0x9a/0x120 [drm]
[220678.624790]  [<ffffffffa006d866>] ? __drm_modeset_lock_all+0xf6/0x120 [drm]
[220678.624805]  [<ffffffffa0061e38>] drm_mode_setplane+0x198/0x240 [drm]
[220678.624818]  [<ffffffffa0052e0f>] drm_ioctl+0x1df/0x6a0 [drm]
[220678.624826]  [<ffffffff813a0ae5>] ? inode_has_perm.isra.47+0x55/0xa0
[220678.624829]  [<ffffffff81289ee0>] do_vfs_ioctl+0x2f0/0x520
[220678.624831]  [<ffffffff8128a191>] SyS_ioctl+0x81/0xa0
[220678.624834]  [<ffffffff81869169>] system_call_fastpath+0x12/0x17
[220678.624836] ---[ end trace 3e6f4900e103728d ]---
[220678.625088] [drm:intel_update_fbc] no output, disabling
[220678.628166] [drm:intel_crtc_set_config] [CRTC:8] [FB:56] #connectors=1 (x y) (0 0)
[220678.628176] [drm:intel_set_config_compute_mode_changes] crtc has no fb, will flip
[220678.628179] [drm:intel_set_config_compute_mode_changes] computed changes for [CRTC:8], mode_changed=0, fb_changed=1
[220678.628183] [drm:intel_modeset_stage_output_state] [CONNECTOR:21:HDMI-A-1] to [CRTC:8]
[220678.629000] [drm:ironlake_update_primary_plane] Writing base 00397000 00000000 0 0 7680
[220678.639569] [drm:intel_crtc_set_config] [CRTC:8] [FB:56] #connectors=1 (x y) (0 0)
[220678.639575] [drm:intel_set_config_compute_mode_changes] computed changes for [CRTC:8], mode_changed=0, fb_changed=0
[220678.639577] [drm:intel_modeset_stage_output_state] [CONNECTOR:21:HDMI-A-1] to [CRTC:8]
[220678.639588] [drm:intel_crtc_set_config] [CRTC:12] [NOFB]
[220678.639592] [drm:intel_set_config_compute_mode_changes] computed changes for [CRTC:12], mode_changed=0, fb_changed=0
[220678.639594] [drm:intel_modeset_stage_output_state] [CONNECTOR:21:HDMI-A-1] to [CRTC:8]
[220678.639599] [drm:intel_crtc_set_config] [CRTC:16] [NOFB]
[220678.639602] [drm:intel_set_config_compute_mode_changes] computed changes for [CRTC:16], mode_changed=0, fb_changed=0
[220678.639603] [drm:intel_modeset_stage_output_state] [CONNECTOR:21:HDMI-A-1] to [CRTC:8]
[220678.639704] [drm:intel_crtc_set_config] [CRTC:8] [FB:56] #connectors=1 (x y) (0 0)
[220678.639708] [drm:intel_set_config_compute_mode_changes] computed changes for [CRTC:8], mode_changed=0, fb_changed=0
[220678.639710] [drm:intel_modeset_stage_output_state] [CONNECTOR:21:HDMI-A-1] to [CRTC:8]
[220678.639755] [drm:intel_crtc_set_config] [CRTC:8] [FB:56] #connectors=1 (x y) (0 0)
[220678.639758] [drm:intel_set_config_compute_mode_changes] computed changes for [CRTC:8], mode_changed=0, fb_changed=0
[220678.639760] [drm:intel_modeset_stage_output_state] [CONNECTOR:21:HDMI-A-1] to [CRTC:8]
[220678.674932] [drm:intel_crtc_set_config] [CRTC:8] [FB:56] #connectors=1 (x y) (0 0)
[220678.674936] [drm:intel_set_config_compute_mode_changes] computed changes for [CRTC:8], mode_changed=0, fb_changed=0
[220678.674937] [drm:intel_modeset_stage_output_state] [CONNECTOR:21:HDMI-A-1] to [CRTC:8]
[220689.047205] Watchdog[2000]: segfault at 0 ip 00007f9c713345c6 sp 00007f9c58f5d6a0 error 6 in chrome[7f9c6d443000+5158000]
[220689.673114] [drm:drm_mode_setcrtc] [CRTC:8]
[220689.673126] [drm:drm_mode_setcrtc] [CONNECTOR:21:HDMI-A-1]
[220689.673129] [drm:intel_crtc_set_config] [CRTC:8] [FB:57] #connectors=1 (x y) (0 0)
[220689.673133] [drm:intel_set_config_compute_mode_changes] computed changes for [CRTC:8], mode_changed=0, fb_changed=1
[220689.673135] [drm:intel_modeset_stage_output_state] [CONNECTOR:21:HDMI-A-1] to [CRTC:8]
[220689.676872] [drm:ironlake_update_primary_plane] Writing base 03851000 00000000 0 0 7680
[220689.686935] [drm:intel_update_fbc] disabled per chip default
[220689.687001] [drm:drm_mode_setcrtc] [CRTC:12]
[220689.687004] [drm:intel_crtc_set_config] [CRTC:12] [NOFB]
[220689.687009] [drm:intel_set_config_compute_mode_changes] computed changes for [CRTC:12], mode_changed=0, fb_changed=0
[220689.687011] [drm:intel_modeset_stage_output_state] [CONNECTOR:21:HDMI-A-1] to [CRTC:8]
[220689.687055] [drm:drm_mode_setcrtc] [CRTC:16]
[220689.687057] [drm:intel_crtc_set_config] [CRTC:16] [NOFB]
[220689.687060] [drm:intel_set_config_compute_mode_changes] computed changes for [CRTC:16], mode_changed=0, fb_changed=0
[220689.687062] [drm:intel_modeset_stage_output_state] [CONNECTOR:21:HDMI-A-1] to [CRTC:8]
[220689.687328] [drm:drm_mode_getconnector] [CONNECTOR:21:?]
[220689.687333] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:21:HDMI-A-1]
[220689.687338] [drm:intel_hdmi_detect] [CONNECTOR:21:HDMI-A-1]
[220689.722332] [drm:drm_detect_monitor_audio] Monitor has basic audio support
[220689.722461] [drm:drm_edid_to_eld] ELD monitor ASUS ML239
[220689.722464] [drm:parse_hdmi_vsdb] HDMI: DVI dual 0, max TMDS clock 0, latency present 0 0, video latency 0 0, audio latency 0 0
[220689.722466] [drm:drm_edid_to_eld] ELD size 9, SAD count 1
[220689.722605] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:21:HDMI-A-1] probed modes :
[220689.722609] [drm:drm_mode_debug_printmodeline] Modeline 29:"1920x1080" 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x48 0x5
[220689.722612] [drm:drm_mode_debug_printmodeline] Modeline 74:"1920x1080" 60 148352 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[220689.722614] [drm:drm_mode_debug_printmodeline] Modeline 31:"1920x1080i" 60 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
[220689.722617] [drm:drm_mode_debug_printmodeline] Modeline 76:"1920x1080i" 60 74176 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
Comment 10 Gustavo 2015-04-02 13:27:30 UTC
Created attachment 114830 [details]
kern.log with drm.debug=0xe and kernel warning

I've been through the same problem using 3.16 with a Lenovo laptop. Also got the bug with drm.debug=0xe and I'm sharing the log. If there are other log files that I can provide, please tell me.
Comment 11 Ted 2015-12-07 21:45:54 UTC
I have this bug too:
This happens very frequently on my machine.  It seems this has been around a while. I do hope it can be fixed.

------------[ cut here ]------------
[ 8201.461238] WARNING: CPU: 0 PID: 1870 at drivers/gpu/drm/i915/intel_display.c:3918 intel_crtc_wait_for_pending_flips+0x1c6/0x230 [i915]()
[ 8201.461241] WARN_ON(wait_event_timeout(dev_priv->pending_flip_queue, !intel_crtc_has_pending_flip(crtc), 60*HZ) == 0)
[ 8201.461244] Modules linked in:
[ 8201.461248]  ccm xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun fuse nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ebtable_nat ebtable_broute bridge ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw arc4 intel_rapl x86_pkg_temp_thermal coretemp iwlmvm kvm_intel kvm mac80211 iTCO_wdt iTCO_vendor_support hp_wmi sparse_keymap vfat fat snd_soc_rt286 iwlwifi snd_soc_rl6347a crct10dif_pclmul crc32_pclmul crc32c_intel snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_soc_core snd_hda_intel cfg80211 snd_hda_codec
[ 8201.461322]  snd_compress snd_pcm_dmaengine ac97_bus snd_hda_core snd_hwdep snd_seq uvcvideo snd_seq_device videobuf2_vmalloc videobuf2_core snd_pcm videobuf2_memops v4l2_common lpc_ich i2c_i801 videodev rfkill media snd_timer shpchp dw_dmac mei_me snd dw_dmac_core processor_thermal_device snd_soc_sst_acpi i2c_designware_platform tpm_crb int3403_thermal int3400_thermal mei i2c_designware_core intel_soc_dts_iosf tpm hp_wireless soundcore iosf_mbi acpi_pad int3402_thermal acpi_thermal_rel int340x_thermal_zone nfsd auth_rpcgss nfs_acl lockd grace sunrpc binfmt_misc i915 i2c_algo_bit drm_kms_helper drm 8021q garp stp llc mrp serio_raw r8169 mii sdhci_acpi sdhci wmi mmc_core video i2c_hid
[ 8201.461405] CPU: 0 PID: 1870 Comm: Xorg Tainted: G        W       4.2.6-200.fc22.x86_64 #1
[ 8201.461409] Hardware name: Hewlett-Packard HP ENVY Notebook/80DE, BIOS F.04 06/01/2015
[ 8201.461413]  0000000000000000 00000000346022c9 ffff88044ab7bb18 ffffffff817729ea
[ 8201.461420]  0000000000000000 ffff88044ab7bb70 ffff88044ab7bb58 ffffffff8109e4b6
[ 8201.461425]  ffff88044ab7bb58 0000000000000000 ffff880447608d38 ffff88003fac1000
[ 8201.461431] Call Trace:
[ 8201.461441]  [<ffffffff817729ea>] dump_stack+0x45/0x57
[ 8201.461450]  [<ffffffff8109e4b6>] warn_slowpath_common+0x86/0xc0
[ 8201.461457]  [<ffffffff8109e545>] warn_slowpath_fmt+0x55/0x70
[ 8201.461464]  [<ffffffff810df6d3>] ? finish_wait+0x53/0x70
[ 8201.461507]  [<ffffffffa019f986>] intel_crtc_wait_for_pending_flips+0x1c6/0x230 [i915]
[ 8201.461512]  [<ffffffff810df990>] ? wake_atomic_t_function+0x70/0x70
[ 8201.461549]  [<ffffffffa01a0d32>] intel_crtc_disable_planes+0x32/0x100 [i915]
[ 8201.461585]  [<ffffffffa01a2c5b>] intel_crtc_control+0x4b/0x110 [i915]
[ 8201.461619]  [<ffffffffa01a2d7e>] intel_crtc_update_dpms+0x5e/0x80 [i915]
[ 8201.461655]  [<ffffffffa01a81ef>] intel_connector_dpms+0x5f/0x70 [i915]
[ 8201.461688]  [<ffffffffa00b57ab>] drm_mode_obj_set_property_ioctl+0x25b/0x270 [drm]
[ 8201.461712]  [<ffffffffa00b57ff>] drm_mode_connector_property_set_ioctl+0x3f/0x60 [drm]
[ 8201.461729]  [<ffffffffa00a5365>] drm_ioctl+0x125/0x610 [drm]
[ 8201.461750]  [<ffffffffa00b57c0>] ? drm_mode_obj_set_property_ioctl+0x270/0x270 [drm]
[ 8201.461759]  [<ffffffff813a4bd9>] ? timerqueue_add+0x59/0xb0
[ 8201.461765]  [<ffffffff81108024>] ? enqueue_hrtimer+0x44/0x80
[ 8201.461772]  [<ffffffff81778e3e>] ? _raw_spin_unlock_irqrestore+0xe/0x10
[ 8201.461778]  [<ffffffff81108abf>] ? hrtimer_start_range_ns+0x1bf/0x3b0
[ 8201.461785]  [<ffffffff81231445>] do_vfs_ioctl+0x295/0x470
[ 8201.461791]  [<ffffffff816463fc>] ? __sys_recvmsg+0x8c/0xa0
[ 8201.461797]  [<ffffffff81231699>] SyS_ioctl+0x79/0x90
[ 8201.461803]  [<ffffffff817793ee>] entry_SYSCALL_64_fastpath+0x12/0x71
[ 8201.461808] ---[ end trace 6e4795502c9abdee ]---
Comment 12 Ted 2015-12-07 21:52:59 UTC
Created attachment 120396 [details]
intel_crtc_wait_for_pending_flips

This occurs about when the screen is blank.  I hit shift or return or move the mouse to wake up the display.  I know if the clock is frozen on the screen saver that something has crashed.  If I wait until the display blanks again I can usually get back in.  I am assumming that gnome has restarted.

I am using Fedora 22: Linux HP_17 4.2.6-200.fc22.x86_64 #1 SMP Tue Nov 10 16:45:19 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Running GNOME Shell 3.16.4 with GDM.
Comment 13 yann 2017-03-16 12:42:11 UTC
We seem to have neglected the bug a bit, apologies.

mikhail.v.gavrilov@gmail.com, Gustavo and Ted, there were improvements pushed in kernel that will benefit to your system, so please re-test with latest kernel and mark as REOPENED if you can reproduce (and attach fresh kernel log) and RESOLVED/* if you cannot reproduce.
Comment 14 yann 2017-04-11 12:21:03 UTC
(In reply to yann from comment #13)
> We seem to have neglected the bug a bit, apologies.
> 
> mikhail.v.gavrilov@gmail.com, Gustavo and Ted, there were improvements
> pushed in kernel that will benefit to your system, so please re-test with
> latest kernel and mark as REOPENED if you can reproduce (and attach fresh
> kernel log) and RESOLVED/* if you cannot reproduce.

Timeout - assuming resolved+fixed.

If problem still persist with the latest kernels (preferable drm-tip from git://anongit.freedesktop.org/git/drm-tip), reopen this bug with latest logs as attachments.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.