bionic desktop does not boot with external monitor attached - [drm:ironlake_crtc_enable [i915]] *ERROR* mode set failed: pipe A stuck / vblank wait timed out on crtc 1

Bug #1751268 reported by Jean-Baptiste Lallement on 2018-02-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux
Incomplete
Medium
linux (Ubuntu)
High
Joseph Salisbury
Bionic
High
Joseph Salisbury

Bug Description

Ubuntu Desktop Bionic up to date

System doesn't boot with an external monitor attached.

There is this message in the journal (full journal attached for this boot)

fbcon: inteldrmfb (fb0) is primary device
[drm:ironlake_crtc_enable [i915]] *ERROR* mode set failed: pipe A stuck
vblank wait timed out on crtc 1
------------[ cut here ]------------
WARNING: CPU: 3 PID: 201 at /build/linux-UKCsxy/linux-4.13.0/drivers/gpu/drm/drm_vblank.c:1090 drm_wait_one_vblank+0x19b/0x1b0 [drm]
Modules linked in: hid_lenovo uas usb_storage rtsx_usb_sdmmc rtsx_usb hid_generic usbhid hid i915 mxm_wmi i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops psmouse ahci libahci drm wmi video
CPU: 3 PID: 201 Comm: kworker/u8:6 Tainted: G U 4.13.0-32-generic #35-Ubuntu
Hardware name: ASUSTeK COMPUTER INC. UX32VD/UX32VD, BIOS UX32VD.214 01/29/2013
Workqueue: events_unbound async_run_entry_fn
task: ffff9760d81cae80 task.stack: ffffb01dc1fb8000
RIP: 0010:drm_wait_one_vblank+0x19b/0x1b0 [drm]
RSP: 0018:ffffb01dc1fbb7c8 EFLAGS: 00010282
RAX: 000000000000001f RBX: ffff9760d7080000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000246
RBP: ffffb01dc1fbb828 R08: 000000000000001f R09: 000000000002af84
R10: ffffb01dc1fbb7c8 R11: 000000000000041b R12: 0000000000000001
R13: 0000000000000170 R14: 0000000000000001 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff9760eef80000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f156d6d68f0 CR3: 000000024660a002 CR4: 00000000001606e0
Call Trace:
 ? wait_woken+0x80/0x80
 ironlake_crtc_enable+0x477/0xc00 [i915]
 ? gen6_write8+0x190/0x190 [i915]
 intel_update_crtc+0x4b/0xe0 [i915]
 intel_update_crtcs+0x5b/0x80 [i915]
 intel_atomic_commit_tail+0x254/0xf90 [i915]
 ? __schedule+0x293/0x880
 intel_atomic_commit+0x3d5/0x490 [i915]
 ? drm_atomic_check_only+0x37b/0x540 [drm]
 drm_atomic_commit+0x4b/0x50 [drm]
 restore_fbdev_mode+0x15e/0x270 [drm_kms_helper]
 drm_fb_helper_restore_fbdev_mode_unlocked+0x2e/0x80 [drm_kms_helper]
 drm_fb_helper_set_par+0x2d/0x60 [drm_kms_helper]
 intel_fbdev_set_par+0x1a/0x70 [i915]
 fbcon_init+0x484/0x650
 visual_init+0xd6/0x130
 do_bind_con_driver+0x1fc/0x410
 do_take_over_console+0x82/0x1a0
 do_fbcon_takeover+0x5c/0xb0
 fbcon_event_notify+0x587/0x780
 notifier_call_chain+0x4a/0x70
 blocking_notifier_call_chain+0x43/0x60
 fb_notifier_call_chain+0x1b/0x20
 register_framebuffer+0x24d/0x360
 drm_fb_helper_initial_config+0x249/0x400 [drm_kms_helper]
 intel_fbdev_initial_config+0x18/0x30 [i915]
 async_run_entry_fn+0x36/0x150
 process_one_work+0x1e7/0x410
 worker_thread+0x4b/0x420
 kthread+0x125/0x140
 ? process_one_work+0x410/0x410
 ? kthread_create_on_node+0x70/0x70
 ret_from_fork+0x1f/0x30
Code: ff e8 da 3b 4c d6 48 8b 7d a0 48 8d 75 a8 e8 dd 93 50 d6 45 85 ff 0f 85 0c ff ff ff 44 89 e6 48 c7 c7 d8 eb 3d c0 e8 b6 46 52 d6 <0f> ff e9 f6 fe ff ff 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00
---[ end trace a1db7ccd0b5e4dfc ]---

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-10-generic 4.15.0-10.11
ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3
Uname: Linux 4.15.0-10-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC2: j-lallement 3671 F.... pulseaudio
 /dev/snd/controlC0: j-lallement 3671 F.... pulseaudio
 /dev/snd/controlC1: j-lallement 3671 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
Date: Fri Feb 23 13:58:39 2018
InstallationDate: Installed on 2013-09-03 (1633 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
MachineType: ASUSTeK COMPUTER INC. UX32VD
ProcEnviron:
 TERM=screen-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-10-generic root=UUID=1004226d-a9db-46c7-bd28-eca0806c12f2 ro pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1 init=/lib/systemd/systemd-bootchart
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-10-generic N/A
 linux-backports-modules-4.15.0-10-generic N/A
 linux-firmware 1.171
SourcePackage: linux
UpgradeStatus: Upgraded to bionic on 2018-01-26 (27 days ago)
dmi.bios.date: 01/29/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: UX32VD.214
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: UX32VD
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrUX32VD.214:bd01/29/2013:svnASUSTeKCOMPUTERINC.:pnUX32VD:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnUX32VD:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.family: UX
dmi.product.name: UX32VD
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

Jean-Baptiste Lallement (jibel) wrote :
summary: bionic desktop does not boot with external monitor attached -
[drm:ironlake_crtc_enable [i915]] *ERROR* mode set failed: pipe A stuck
- vblank wait timed out on crtc 1
+ / vblank wait timed out on crtc 1
tags: added: rls-bb-incoming

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
tags: added: artful
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 v4.16 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'.

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/v4.16-rc3

Changed in linux (Ubuntu):
importance: Undecided → Medium
importance: Medium → High
tags: added: kernel-key
Jean-Baptiste Lallement (jibel) wrote :

4.13.0-32.35: Boot
4.15.0-10.11: Does not boot
4.16.0-041600rc3.201802261351: Does not boot

tags: added: kernel-bug-exists-upstream
Joseph Salisbury (jsalisbury) wrote :

We can perform a kernel bisect to identify the commit that introduced this regression. We first need to identify the last kernel that did not have this bug and the first that did.

Can you next test the following kernels:

v4.14-rc1: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14-rc1/
v4.14 Final: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14/
v4.15-rc1: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15-rc1/

You don't have to test all of them. Just until you hit the first version that exhibits the bug.

Changed in linux (Ubuntu Bionic):
assignee: nobody → Joseph Salisbury (jsalisbury)
status: Confirmed → In Progress
Changed in linux (Ubuntu Bionic):
status: In Progress → Incomplete
tags: added: kernel-da-key
removed: kernel-key
Changed in linux:
importance: Unknown → Medium
status: Unknown → Confirmed
Changed in linux:
status: Confirmed → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.