Thank you for providing the test kernel. I am afraid this does not resolve the issue.
As mentioned in the upstream bug report, it turned out that the problem is triggered in the xhci-pci code and caused by an ExpressCard Renesas uPD720202 USB 3.0 controller. I was able to narrowed the issue down to commit 0e1f0ea which forces a PCI reset on that device at startup and have reported the problem to the linux usb mailing list: https://marc.info/?t=150565318600001&r=1&w=2 It looks like the reset leaves the controller in an unstable state, triggering - pipe A vblank wait timed out and - pipe B vblank wait timed out kernel messages. On my machine reverting the mentioned commit reliably resolves the issue for kernel versions 4.12.8, 4.13.1 and 4.13.2. The same is true for removing the external ExpressCard. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1716747 Title: linux 4.12 - high system load and mouse delays - pipe A vblank wait timed out Status in linux package in Ubuntu: In Progress Status in linux source package in Artful: In Progress Bug description: This issue has been observed on a Lenovo X220i laptop: 1. Booting the laptop with artful's 4.12 kernel results in a very sluggish system performance (mouse pointer delays) and a high system load. 2. /var/log/kern.log indicates a problem with the display driver (see below) 3. The system works without any issues if the zesty kernel (4.10) is used instead. Ubuntu release: Artful Aardvark (development branch) Kernel package version: 4.12.0.13.14 <snip> Sep 12 20:22:45 trinity kernel: [ 155.491074] pipe A vblank wait timed out Sep 12 20:22:45 trinity kernel: [ 155.491117] ------------[ cut here ]------------ Sep 12 20:22:45 trinity kernel: [ 155.491171] WARNING: CPU: 0 PID: 203 at /build/linux-cK2WUa/linux-4.12.0/drivers/gpu/drm/i915/intel_display.c:12636 intel_atomic_commit_tail+0x1010/0x1020 [i915] Sep 12 20:22:45 trinity kernel: [ 155.491172] Modules linked in: nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo xt_addrtype br_netfilter aufs xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter binfmt_misc snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_codec_generic snd_hda_intel intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec snd_hda_core snd_hwdep snd_pcm kvm_intel snd_seq_midi kvm snd_seq_midi_event irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel cryptd intel_cstate snd_rawmidi intel_rapl_perf arc4 uvcvideo videobuf2_vmalloc iwldvm videobuf2_memops videobuf2_v4l2 mac80211 Sep 12 20:22:45 trinity kernel: [ 155.491215] videobuf2_core videodev joydev input_leds media iwlwifi serio_raw cfg80211 snd_seq snd_seq_device snd_timer thinkpad_acpi nvram snd mac_hid mei_me mei soundcore lpc_ich shpchp parport_pc ppdev lp parport ip_tables x_tables autofs4 xfs libcrc32c mmc_block i915 sdhci_pci uas usb_storage sdhci i2c_algo_bit drm_kms_helper psmouse syscopyarea ahci sysfillrect libahci sysimgblt e1000e fb_sys_fops drm ptp pps_core wmi video Sep 12 20:22:45 trinity kernel: [ 155.491251] CPU: 0 PID: 203 Comm: kworker/u16:5 Not tainted 4.12.0-13-generic #14-Ubuntu Sep 12 20:22:45 trinity kernel: [ 155.491253] Hardware name: LENOVO 4290W1A/4290W1A, BIOS 8DET69WW (1.39 ) 07/18/2013 Sep 12 20:22:45 trinity kernel: [ 155.491292] Workqueue: events_unbound intel_atomic_commit_work [i915] Sep 12 20:22:45 trinity kernel: [ 155.491295] task: ffff8842c14a8000 task.stack: ffffae8f0217c000 Sep 12 20:22:45 trinity kernel: [ 155.491330] RIP: 0010:intel_atomic_commit_tail+0x1010/0x1020 [i915] Sep 12 20:22:45 trinity kernel: [ 155.491331] RSP: 0018:ffffae8f0217fd88 EFLAGS: 00010282 Sep 12 20:22:45 trinity kernel: [ 155.491333] RAX: 000000000000001c RBX: 0000000000000000 RCX: 0000000000000000 Sep 12 20:22:45 trinity kernel: [ 155.491334] RDX: 0000000000000000 RSI: ffff8842de20dcc8 RDI: ffff8842de20dcc8 Sep 12 20:22:45 trinity kernel: [ 155.491336] RBP: ffffae8f0217fe40 R08: 0000000000000001 R09: 000000000000039a Sep 12 20:22:45 trinity kernel: [ 155.491337] R10: ffffae8f0217fd88 R11: 0000000000000000 R12: 0000000000002359 Sep 12 20:22:45 trinity kernel: [ 155.491338] R13: ffff8842c1500000 R14: ffff8842c15e6000 R15: 0000000000000001 Sep 12 20:22:45 trinity kernel: [ 155.491340] FS: 0000000000000000(0000) GS:ffff8842de200000(0000) knlGS:0000000000000000 Sep 12 20:22:45 trinity kernel: [ 155.491342] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Sep 12 20:22:45 trinity kernel: [ 155.491343] CR2: 000000c420921000 CR3: 00000003a0409000 CR4: 00000000000406f0 Sep 12 20:22:45 trinity kernel: [ 155.491345] Call Trace: Sep 12 20:22:45 trinity kernel: [ 155.491352] ? wake_bit_function+0x60/0x60 Sep 12 20:22:45 trinity kernel: [ 155.491386] intel_atomic_commit_work+0x12/0x20 [i915] Sep 12 20:22:45 trinity kernel: [ 155.491390] process_one_work+0x1e7/0x410 Sep 12 20:22:45 trinity kernel: [ 155.491393] worker_thread+0x4a/0x410 Sep 12 20:22:45 trinity kernel: [ 155.491396] kthread+0x125/0x140 Sep 12 20:22:45 trinity kernel: [ 155.491398] ? process_one_work+0x410/0x410 Sep 12 20:22:45 trinity kernel: [ 155.491400] ? kthread_create_on_node+0x70/0x70 Sep 12 20:22:45 trinity kernel: [ 155.491403] ret_from_fork+0x25/0x30 Sep 12 20:22:45 trinity kernel: [ 155.491405] Code: ff ff ff 48 83 c7 08 e8 af 80 3c d5 4c 8b 85 70 ff ff ff 4d 85 c0 0f 85 f3 fa ff ff 8d 73 41 48 c7 c7 a8 07 3a c0 e8 d1 fb 4a d5 <0f> ff e9 dd fa ff ff 66 0f 1f 84 00 00 00 00 00 66 66 66 66 90 Sep 12 20:22:45 trinity kernel: [ 155.491448] ---[ end trace ef3f946052a590e8 ]--- </snip> ProblemType: Bug DistroRelease: Ubuntu 17.10 Package: linux-image-4.12.0-13-generic 4.12.0-13.14 ProcVersionSignature: Ubuntu 4.10.0-33.37-generic 4.10.17 Uname: Linux 4.10.0-33-generic x86_64 ApportVersion: 2.20.7-0ubuntu1 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: albert 2485 F.... pulseaudio CurrentDesktop: ubuntu:GNOME Date: Tue Sep 12 20:38:13 2017 HibernationDevice: RESUME=UUID=3ede1c94-a8b8-434f-b19a-97972b4462f8 InstallationDate: Installed on 2017-07-28 (45 days ago) InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412) MachineType: LENOVO 4290W1A ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-33-generic root=UUID=05f420af-1ded-4d59-88c3-270af2bbdb15 ro quiet splash RelatedPackageVersions: linux-restricted-modules-4.10.0-33-generic N/A linux-backports-modules-4.10.0-33-generic N/A linux-firmware 1.168 SourcePackage: linux UpgradeStatus: Upgraded to artful on 2017-09-11 (0 days ago) dmi.bios.date: 07/18/2013 dmi.bios.vendor: LENOVO dmi.bios.version: 8DET69WW (1.39 ) dmi.board.asset.tag: Not Available dmi.board.name: 4290W1A 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:bvr8DET69WW(1.39):bd07/18/2013:svnLENOVO:pn4290W1A:pvrThinkPadX220:rvnLENOVO:rn4290W1A:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 4290W1A dmi.product.version: ThinkPad X220 dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716747/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp