Kernel and system lockup on Asustek UX32A running 16.04 LTS with HWE kernel (or 18.04 LTS) with two monitors - internal laptop panel and external HDMI

Bug #1826527 reported by Norbert
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-signed-hwe (Ubuntu)
New
Undecided
Unassigned

Bug Description

Steps to reproduce:
1a. Have Ubuntu 16.04.6 LTS installed, install HWE kernel on it
1b. Have Ubuntu 18.04.2 LTS instelled
2. Connect HDMI monitor to the laptop
3. Boot laptop

Expected results:
* laptop booted fast and have fast reaction on user actions

Actual results:
* laptop booted after 200 second and sometimes lockups for a while, having many DRM errors

```
$ cat /var/log/kern.log | grep drm

Apr 26 12:29:31 flash-1604 kernel: [ 484.312170] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:30:02 flash-1604 kernel: [ 494.552285] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:30:02 flash-1604 kernel: [ 504.792328] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:28:primary A] flip_done timed out
Apr 26 12:30:02 flash-1604 kernel: [ 515.032279] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:30:12 flash-1604 kernel: [ 525.272386] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:30:23 flash-1604 kernel: [ 535.512433] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:30:33 flash-1604 kernel: [ 546.008447] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:30:43 flash-1604 kernel: [ 556.248389] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:28:primary A] flip_done timed out
Apr 26 12:30:54 flash-1604 kernel: [ 566.488371] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:30:54 flash-1604 kernel: [ 566.505470] [drm:intel_dp_start_link_train [i915]] *ERROR* [CONNECTOR:61:eDP-1] Link Training failed at link rate = 270000, lane count = 1
Apr 26 12:30:54 flash-1604 kernel: [ 566.608296] WARNING: CPU: 3 PID: 1950 at /build/linux-hwe-5IQrWP/linux-hwe-4.15.0/drivers/gpu/drm/drm_vblank.c:1073 drm_wait_one_vblank+0x180/0x190 [drm]
Apr 26 12:30:54 flash-1604 kernel: [ 566.608389] glue_helper snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi cryptd arc4 binfmt_misc iwldvm kvm_intel kvm intel_cstate snd_seq snd_seq_device mac80211 intel_rapl_perf snd_timer snd iwlwifi joydev soundcore input_leds serio_raw cfg80211 shpchp mei_me mei lpc_ich intel_rst wmi int3403_thermal mac_hid acpi_als int3400_thermal kfifo_buf acpi_thermal_rel int3402_thermal asus_wireless industrialio int340x_thermal_zone vfio_pci vfio_virqfd irqbypass vfio_iommu_type1 vfio parport_pc ppdev lp parport autofs4 i915 hid_generic i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt usbhid uas rtsx_usb_sdmmc fb_sys_fops hid usb_storage psmouse drm ahci libahci rtsx_usb video
Apr 26 12:30:54 flash-1604 kernel: [ 566.608518] RIP: 0010:drm_wait_one_vblank+0x180/0x190 [drm]
Apr 26 12:30:54 flash-1604 kernel: [ 566.608741] drm_helper_probe_detect+0x51/0xa0 [drm_kms_helper]
Apr 26 12:30:54 flash-1604 kernel: [ 566.608758] drm_helper_probe_single_connector_modes+0xee/0x740 [drm_kms_helper]
Apr 26 12:30:54 flash-1604 kernel: [ 566.608804] drm_mode_getconnector+0x301/0x340 [drm]
Apr 26 12:30:54 flash-1604 kernel: [ 566.608838] ? drm_mode_connector_property_set_ioctl+0x60/0x60 [drm]
Apr 26 12:30:54 flash-1604 kernel: [ 566.608867] drm_ioctl_kernel+0x6b/0xb0 [drm]
Apr 26 12:30:54 flash-1604 kernel: [ 566.608896] drm_ioctl+0x3e4/0x450 [drm]
Apr 26 12:30:54 flash-1604 kernel: [ 566.608926] ? drm_mode_connector_property_set_ioctl+0x60/0x60 [drm]
Apr 26 12:31:05 flash-1604 kernel: [ 578.264162] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:31:20 flash-1604 kernel: [ 592.599725] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:31:30 flash-1604 kernel: [ 602.839348] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:31:40 flash-1604 kernel: [ 613.078998] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:34:cursor A] flip_done timed out
Apr 26 12:31:41 flash-1604 kernel: [ 614.249099] [drm:intel_dp_start_link_train [i915]] *ERROR* [CONNECTOR:61:eDP-1] Link Training failed at link rate = 270000, lane count = 1
Apr 26 12:31:41 flash-1604 kernel: [ 614.351006] WARNING: CPU: 1 PID: 1950 at /build/linux-hwe-5IQrWP/linux-hwe-4.15.0/drivers/gpu/drm/drm_vblank.c:1073 drm_wait_one_vblank+0x180/0x190 [drm]
Apr 26 12:31:41 flash-1604 kernel: [ 614.351088] glue_helper snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi cryptd arc4 binfmt_misc iwldvm kvm_intel kvm intel_cstate snd_seq snd_seq_device mac80211 intel_rapl_perf snd_timer snd iwlwifi joydev soundcore input_leds serio_raw cfg80211 shpchp mei_me mei lpc_ich intel_rst wmi int3403_thermal mac_hid acpi_als int3400_thermal kfifo_buf acpi_thermal_rel int3402_thermal asus_wireless industrialio int340x_thermal_zone vfio_pci vfio_virqfd irqbypass vfio_iommu_type1 vfio parport_pc ppdev lp parport autofs4 i915 hid_generic i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt usbhid uas rtsx_usb_sdmmc fb_sys_fops hid usb_storage psmouse drm ahci libahci rtsx_usb video
Apr 26 12:31:41 flash-1604 kernel: [ 614.351205] RIP: 0010:drm_wait_one_vblank+0x180/0x190 [drm]
Apr 26 12:31:41 flash-1604 kernel: [ 614.351410] drm_helper_probe_detect+0x51/0xa0 [drm_kms_helper]
Apr 26 12:31:41 flash-1604 kernel: [ 614.351424] drm_helper_probe_single_connector_modes+0xee/0x740 [drm_kms_helper]
Apr 26 12:31:41 flash-1604 kernel: [ 614.351457] drm_mode_getconnector+0x301/0x340 [drm]
Apr 26 12:31:41 flash-1604 kernel: [ 614.351486] ? drm_mode_connector_property_set_ioctl+0x60/0x60 [drm]
Apr 26 12:31:41 flash-1604 kernel: [ 614.351512] drm_ioctl_kernel+0x6b/0xb0 [drm]
Apr 26 12:31:41 flash-1604 kernel: [ 614.351538] drm_ioctl+0x3e4/0x450 [drm]
Apr 26 12:31:41 flash-1604 kernel: [ 614.351564] ? drm_mode_connector_property_set_ioctl+0x60/0x60 [drm]
Apr 26 12:32:07 flash-1604 kernel: [ 639.702301] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:32:17 flash-1604 kernel: [ 649.942087] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:32:27 flash-1604 kernel: [ 660.182816] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:34:cursor A] flip_done timed out
Apr 26 12:32:37 flash-1604 kernel: [ 670.423426] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:32:48 flash-1604 kernel: [ 680.663894] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:32:58 flash-1604 kernel: [ 690.904131] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:34:cursor A] flip_done timed out
Apr 26 12:33:11 flash-1604 kernel: [ 703.960286] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:33:34 flash-1604 kernel: [ 726.744560] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:33:44 flash-1604 kernel: [ 736.984790] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:34:cursor A] flip_done timed out
Apr 26 12:33:54 flash-1604 kernel: [ 747.224902] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:34:06 flash-1604 kernel: [ 759.256696] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:34:17 flash-1604 kernel: [ 769.496515] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:34:cursor A] flip_done timed out
Apr 26 12:34:29 flash-1604 kernel: [ 782.296172] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:34:51 flash-1604 kernel: [ 803.799835] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:35:01 flash-1604 kernel: [ 814.039764] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:34:cursor A] flip_done timed out
Apr 26 12:35:26 flash-1604 kernel: [ 839.383199] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:35:58 flash-1604 kernel: [ 870.614782] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:36:08 flash-1604 kernel: [ 880.854598] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:34:cursor A] flip_done timed out
Apr 26 12:36:18 flash-1604 kernel: [ 891.094477] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:36:33 flash-1604 kernel: [ 905.686182] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:36:43 flash-1604 kernel: [ 915.926016] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:34:cursor A] flip_done timed out
Apr 26 12:41:02 flash-1604 kernel: [ 1174.737809] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:41:12 flash-1604 kernel: [ 1184.977714] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out
Apr 26 12:41:22 flash-1604 kernel: [ 1195.217600] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:34:cursor A] flip_done timed out
Apr 26 12:41:44 flash-1604 kernel: [ 1217.233362] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out

```

Notes:
the same laptop with the same HDMI monitor works normally with Windows 8.1 and Ubuntu 16.04.6 LTS using default 4.4 kernel.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.15.0-48-generic 4.15.0-48.51~16.04.1
ProcVersionSignature: Ubuntu 4.15.0-48.51~16.04.1-generic 4.15.18
Uname: Linux 4.15.0-48-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
CurrentDesktop: MATE
Date: Fri Apr 26 12:34:35 2019
InstallationDate: Installed on 2016-04-21 (1099 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release i386 (20160420.1)
SourcePackage: linux-signed-hwe
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Norbert (nrbrtx) wrote :
Revision history for this message
Norbert (nrbrtx) wrote :

Laptop uses only Intel graphics.
Laptop screen is 1366x768. Monitor is 1920x1200.
Moving mouse beyond 1366x768 results in 15 second lag.

The 4.15 misses some i915 firmware files:

$ sudo update-initramfs -k all -u
update-initramfs: Generating /boot/initrd.img-4.15.0-48-generic
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module i915
update-initramfs: Generating /boot/initrd.img-4.4.0-138-generic

May them are reason for lockups?

Revision history for this message
Norbert (nrbrtx) wrote :

$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.15.0-48-generic root=UUID=ab9c3c8a-b6dc-40f9-b9a7-eea4950cf89e ro verbose INIT_VERBOSE=y noplymouth

Revision history for this message
Norbert (nrbrtx) wrote :
Download full text (6.1 KiB)

$ lsmod
Module Size Used by
btrfs 1126400 0
zstd_compress 163840 1 btrfs
xor 24576 1 btrfs
raid6_pq 114688 1 btrfs
ufs 73728 0
qnx4 16384 0
hfsplus 106496 0
hfs 57344 0
minix 32768 0
ntfs 102400 0
msdos 20480 0
jfs 188416 0
xfs 1204224 0
ccm 20480 6
nvram 16384 0
msr 16384 0
xt_CHECKSUM 16384 1
iptable_mangle 16384 1
ipt_MASQUERADE 16384 3
nf_nat_masquerade_ipv4 16384 1 ipt_MASQUERADE
iptable_nat 16384 1
nf_nat_ipv4 16384 1 iptable_nat
nf_nat 32768 2 nf_nat_masquerade_ipv4,nf_nat_ipv4
nf_conntrack_ipv4 16384 5
nf_defrag_ipv4 16384 1 nf_conntrack_ipv4
xt_conntrack 16384 1
nf_conntrack 131072 6 xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_nat,ipt_MASQUERADE,nf_nat_ipv4
libcrc32c 16384 3 nf_conntrack,nf_nat,xfs
ipt_REJECT 16384 2
nf_reject_ipv4 16384 1 ipt_REJECT
xt_tcpudp 16384 6
bridge 151552 0
stp 16384 1 bridge
llc 16384 2 bridge,stp
ebtable_filter 16384 0
ebtables 32768 1 ebtable_filter
ip6table_filter 16384 0
ip6_tables 28672 1 ip6table_filter
iptable_filter 16384 1
ip_tables 28672 3 iptable_filter,iptable_nat,iptable_mangle
x_tables 40960 11 ebtables,ip6table_filter,xt_conntrack,iptable_filter,xt_tcpudp,ipt_MASQUERADE,xt_CHECKSUM,ip6_tables,ipt_REJECT,ip_tables,iptable_mangle
rfcomm 77824 14
bnep 20480 2
snd_hda_codec_hdmi 49152 1
snd_hda_codec_realtek 106496 1
snd_hda_codec_generic 73728 1 snd_hda_codec_realtek
rtsx_usb_ms 20480 0
memstick 16384 1 rtsx_usb_ms
btusb 45056 0
btrtl 16384 1 btusb
btbcm 16384 1 btusb
btintel 16384 1 btusb
uvcvideo 86016 0
videobuf2_vmalloc 16384 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_v4l2 24576 1 uvcvideo
videobuf2_core 40960 2 videobuf2_v4l2,uvcvideo
videodev 180224 3 videobuf2_core,videobuf2_v4l2,uvcvideo
bluetooth 557056 43 btrtl,btintel,btbcm,bnep,btusb,rfcomm
ecdh_generic 24576 1 bluetooth
media 40960 2 videodev,uvcvideo
asus_nb_wmi 28672 0
asus_wmi 28672 1 asus_nb_wmi
sparse_keymap 16384 1 asus_wmi
intel_rapl 20480 0
snd_hda_intel 40960 5
snd_hda_codec 126976 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
x86_pkg_temp_thermal 16384 0
intel_powerclamp 16384 0
snd_hda_core 81920 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
coretemp 16384 0
snd_hwdep ...

Read more...

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

Other bug subscribers

Remote bug watches

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