Intel i915 driver pauses and tracebacks

Bug #1413238 reported by Jamie Strandboge
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
High
Unassigned

Bug Description

On 14.10, X has been causing me all kinds of problems. It seems to most often happen after the screenlock has been on. When coming back from being locked, sometimes the system is unresponsive, but I can cajole it back to life by repeatedly going to a VT-- once I see a login prompt, I can usually Ctrl+Alt+F7 and start using the computer again. I have seen it happen without the screen being locked too (yesterday I was typing into Google docs when it happened). Occasionally I see a core dump in /etc/X11/core. After getting the system to respond, X often is taking a fair bit of CPU as seen in top (30-80%) and it is unclear why and I normally need to reboot.

I've been looking out for kernel tracebacks and today found one:
[790942.538129] ------------[ cut here ]------------
[790942.538205] WARNING: CPU: 0 PID: 1902 at /build/buildd/linux-3.16.0/drivers/gpu/drm/i915/intel_display.c:3324 intel_crtc_wait_for_pending_flips+0x16c/0x180 [i915]()
[790942.538208] Modules linked in: btrfs xor raid6_pq ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs libcrc32c overlayfs uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common snd_usb_audio videodev snd_usbmidi_lib media uas usb_storage aufs xt_CHECKSUM iptable_mangle ipt_MASQUERADE ctr ccm bridge stp llc bnep bluetooth 6lowpan_iphc nfsd auth_rpcgss nfs_acl binfmt_misc nfs lockd sunrpc fscache dm_crypt arc4 iwldvm mac80211 xt_nat iptable_nat nf_nat_ipv4 ip6t_REJECT xt_hl ip6t_rt dm_multipath intel_powerclamp nf_conntrack_ipv6 nf_defrag_ipv6 coretemp scsi_dh kvm_intel snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_codec_generic xt_comment kvm crct10dif_pclmul crc32_pclmul ipt_REJECT ghash_clmulni_intel snd_hda_intel snd_hda_controller xt_LOG aesni_intel snd_hda_codec snd_hwdep xt_recent
[790942.538263] snd_pcm aes_x86_64 lrw gf128mul glue_helper snd_seq_midi snd_seq_midi_event ablk_helper cryptd xt_limit snd_rawmidi xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter ip6_tables joydev snd_seq serio_raw nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack iptable_filter iwlwifi thinkpad_acpi snd_seq_device nvram ip_tables snd_timer x_tables cfg80211 snd lpc_ich parport_pc mac_hid soundcore ppdev mei_me shpchp mei lp parport nbd hid_logitech_dj hid_generic usbhid hid i915 psmouse ahci e1000e libahci ptp i2c_algo_bit pps_core drm_kms_helper drm video wmi [last unloaded: rfcomm]
[790942.538313] CPU: 0 PID: 1902 Comm: Xorg Tainted: G W 3.16.0-28-generic #38-Ubuntu
[790942.538316] Hardware name: LENOVO 5129CTO/5129CTO, BIOS 6QET64WW (1.34 ) 02/24/2011
[790942.538318] 0000000000000009 ffff8800b59b7be0 ffffffff81781eaa 0000000000000000
[790942.538322] ffff8800b59b7c18 ffffffff8106fedd 0000000000000000 ffff88022c576000
[790942.538325] ffff88022c238210 ffff880035d29800 ffff880035d29800 ffff8800b59b7c28
[790942.538329] Call Trace:
[790942.538341] [<ffffffff81781eaa>] dump_stack+0x45/0x56
[790942.538348] [<ffffffff8106fedd>] warn_slowpath_common+0x7d/0xa0
[790942.538352] [<ffffffff8106ffba>] warn_slowpath_null+0x1a/0x20
[790942.538384] [<ffffffffc01e604c>] intel_crtc_wait_for_pending_flips+0x16c/0x180 [i915]
[790942.538390] [<ffffffff810b9710>] ? prepare_to_wait_event+0x100/0x100
[790942.538419] [<ffffffffc01e8b13>] intel_crtc_disable_planes+0x33/0x1c0 [i915]
[790942.538448] [<ffffffffc01e90e0>] ironlake_crtc_disable+0x50/0x980 [i915]
[790942.538476] [<ffffffffc01d3f4e>] ? gen5_write32+0x5e/0xc0 [i915]
[790942.538505] [<ffffffffc01ea4a7>] intel_crtc_update_dpms+0x67/0xa0 [i915]
[790942.538535] [<ffffffffc01fd7aa>] intel_crt_dpms+0x6a/0xb0 [i915]
[790942.538561] [<ffffffffc00a1cd9>] ? drm_mode_object_find+0x29/0x70 [drm]
[790942.538583] [<ffffffffc00a6e19>] drm_mode_obj_set_property_ioctl+0x399/0x3a0 [drm]
[790942.538605] [<ffffffffc00a6e50>] drm_mode_connector_property_set_ioctl+0x30/0x40 [drm]
[790942.538620] [<ffffffffc0095a4f>] drm_ioctl+0x1df/0x680 [drm]
[790942.538628] [<ffffffff811f5138>] do_vfs_ioctl+0x2c8/0x4a0
[790942.538632] [<ffffffff81784b2d>] ? __schedule+0x39d/0x890
[790942.538636] [<ffffffff811f5391>] SyS_ioctl+0x81/0xa0
[790942.538641] [<ffffffff81789eed>] system_call_fastpath+0x1a/0x1f
[790942.538643] ---[ end trace e5ef63131e3903d7 ]---

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: linux-image-3.16.0-28-generic 3.16.0-28.38
ProcVersionSignature: Ubuntu 3.16.0-28.38-generic 3.16.7-ckt1
Uname: Linux 3.16.0-28-generic x86_64
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jamie 3479 F.... pulseaudio
CurrentDesktop: Unity
Date: Wed Jan 21 08:42:16 2015
HibernationDevice: RESUME=UUID=c4c5dbc0-d41a-428d-8af4-b680b67dd3dc
InstallationDate: Installed on 2011-06-28 (1302 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110425.2)
MachineType: LENOVO 5129CTO
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-28-generic root=UUID=88689ad2-74b5-442c-9290-8ae60b63e16b ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.16.0-28-generic N/A
 linux-backports-modules-3.16.0-28-generic N/A
 linux-firmware 1.138.1
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
UpgradeStatus: Upgraded to utopic on 2013-11-04 (442 days ago)
dmi.bios.date: 02/24/2011
dmi.bios.vendor: LENOVO
dmi.bios.version: 6QET64WW (1.34 )
dmi.board.name: 5129CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr6QET64WW(1.34):bd02/24/2011:svnLENOVO:pn5129CTO:pvrThinkPadX201s:rvnLENOVO:rn5129CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 5129CTO
dmi.product.version: ThinkPad X201s
dmi.sys.vendor: LENOVO

Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

This might be related to bug #1393089.

description: updated
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Changed in linux (Ubuntu):
importance: Undecided → Critical
tags: added: kernel-da-key
Changed in linux (Ubuntu):
importance: Critical → High
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.19 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.19-rc5-vivid/

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

FYI, after coming back to my computer this morning, X was not having trouble. I'd like to see my system in a bad state again on 14.10 before retrying another kernel, cause I may have a potential other clue as to the problem (but don't want to cloud the issue now).

Would running the current vivid distro kernel be helpful? I ask cause I can't run the vanilla kernel for long periods because I need the full apparmor v3 patchset.

Changed in linux (Ubuntu):
status: Incomplete → New
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Sure, running the Vivid kernel would be helpful. That will give use similar information as running the mainline kernel. We basically want to know if it is already fixed in newer kernels. If it is, the fix may already have made it to the stable kernels upstream, which we can test by trying the latest 3.16 upstream kernel.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Download full text (3.9 KiB)

The vivid kernel did not help. In fact, under normal operation there are many weird visual artifacts (eg, blocks of lines).
$ cat /proc/version_signature
Ubuntu 3.18.0-9.10-generic 3.18.2

[15809.934345] ------------[ cut here ]------------
[15809.934379] WARNING: CPU: 2 PID: 1872 at /build/buildd/linux-3.18.0/drivers/gpu/drm/i915/intel_display.c:3479 intel_crtc_wait_for_pending_flips+0x1d1/0x1e0 [i915]()
[15809.934382] Removing stuck page flip
[15809.934383] Modules linked in: uas usb_storage hid_generic xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 bridge stp llc aufs bnep bluetooth ctr ccm nfsd auth_rpcgss nfs_acl nfs lockd grace binfmt_misc sunrpc fscache xt_nat iptable_nat nf_nat_ipv4 ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 dm_crypt xt_comment ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_recent xt_limit xt_tcpudp snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_codec_generic xt_addrtype intel_powerclamp coretemp snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep kvm_intel kvm snd_pcm dm_multipath crct10dif_pclmul scsi_dh crc32_pclmul nf_conntrack_ipv4 nf_defrag_ipv4 ghash_clmulni_intel xt_conntrack arc4 aesni_intel ip6table_filter aes_x86_64 lrw gf128mul
[15809.934441] ip6_tables glue_helper ablk_helper cryptd nf_conntrack_netbios_ns iwldvm nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp snd_seq_midi mac80211 snd_seq_midi_event nf_conntrack snd_rawmidi iptable_filter joydev ip_tables x_tables iwlwifi serio_raw thinkpad_acpi snd_seq cfg80211 nvram snd_seq_device lpc_ich shpchp snd_timer snd mei_me soundcore mei mac_hid parport_pc ppdev lp parport nbd hid_logitech_dj usbhid hid i915 i2c_algo_bit drm_kms_helper drm e1000e psmouse ptp ahci pps_core libahci wmi video [last unloaded: rfcomm]
[15809.934487] CPU: 2 PID: 1872 Comm: Xorg Tainted: G W 3.18.0-9-generic #10-Ubuntu
[15809.934490] Hardware name: LENOVO 5129CTO/5129CTO, BIOS 6QET64WW (1.34 ) 02/24/2011
[15809.934491] 0000000000000009 ffff8800b561fad8 ffffffff817ad5ac 0000000000000007
[15809.934496] ffff8800b561fb28 ffff8800b561fb18 ffffffff81074c01 ffff8800b561fb08
[15809.934500] ffff88022c09f1a8 0000000000000292 ffff8802303a1000 ffff88022c09f000
[15809.934504] Call Trace:
[15809.934509] [<ffffffff817ad5ac>] dump_stack+0x46/0x58
[15809.934513] [<ffffffff81074c01>] warn_slowpath_common+0x81/0xa0
[15809.934517] [<ffffffff81074c66>] warn_slowpath_fmt+0x46/0x50
[15809.934556] [<ffffffffc02f3b31>] intel_crtc_wait_for_pending_flips+0x1d1/0x1e0 [i915]
[15809.934560] [<ffffffff810b63c0>] ? __wake_up_sync+0x20/0x20
[15809.934597] [<ffffffffc02fb613>] intel_crtc_disable_planes+0x33/0x150 [i915]
[15809.934602] [<ffffffff8109ef19>] ? check_preempt_curr+0x89/0xa0
[15809.934639] [<ffffffffc02fbe70>] ironlake_crtc_disable+0x50/0x7b0 [i915]
[15809.934643] [<ffffffff817b24cb>] ? __ww_mutex_lock+0x1b/0xb0
[15809.934679] [<ffffffffc02f55e9>] intel_crtc_control+0x59/0x120 [i915]
[15809.934715] [<ffffffffc02f5717>] intel_crtc_update_dpms+0x67/0x80 [i915]
[15809.934752] [<ffffffffc02fee91>] intel_connector_dpms+0x61/0x70 [i915]
[15809.934778] [<ffffffffc01b5599>] drm_mode_obj_set_p...

Read more...

tags: added: bios-outdated-1.40
tags: added: vivid
tags: added: kernel-key
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

It looks like this is probably a duplicate of bug 1384342

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers