External monitor woes - help me troubleshoot?

Hi folks,

Putting this one here as I honestly don’t know where it should go and am not sure how to narrow it down, I’m hoping someone here could help point me in the right direction, suggest troubleshooting steps, anything.

The issue pertains to the external monitor I have attached to my laptop, which works perfectly UNTIL certain things take place, such as unplugging and replugging it, or the system resuming from hibernation. Then things take a turn for the worst, where a variety of fun things happen, like the external monitor staying off while the laptop’s screen flashes on and off, or stops being responsive whatsoever, sometimes NetworkManager stops working.

Something I noticed is that if I allow the system to hibernate on its own according to the elapsed time set by Xfce Power Manager, it’s more likely to bug out compared to if I just type systemctl hibernate from the terminal. And when it does bug out, I can sometimes get back to normal with CTRL-ALT-F2 followed by systemctl restart lightdm.

The system is a Lenovo X1 Carbon 5th gen which has the Intel HD 620 running Manjaro (Kernel: 5.9.11-2-MANJARO x86_64) + XFCE 4.14.3 + LightDM 1.30.0.

Have seen a number of threads with similar complaints around the web but haven’t been able to find any solutions. Any tips or suggestions would be greatly appreciated! Thanks in advance!!

:+1: Welcome to Manjaro! :+1:

Please read this:

and post some more information so we can see what’s really going on. Now we know the symptom of the disease, but we need some more probing to know where the origin lies…

  1. An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information… (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)

  2. When it happens, please do the following:

    • Reboot

    • Execute:

      journalctl --system --boot=-1 | grep "suspend entry"
      journalctl --system --boot=-1 | grep "suspend exit"
    • If that gives no output, try:

      journalctl --system --boot=-1 | grep "Suspending system"
      journalctl --system --boot=-1 | grep "System resumed"
    • have a look at the begin and end time and post the output of:

      journalctl --system --boot=0 --since "YYYY-MM-DD HH:MM:SS" --until "YYYY-MM-DD HH:MM:SS"

      where obviously --since is the datetime of the suspension start and --until is the datetime of suspension end.


Thank you. Here is “inxi --admin --verbosity=7 --filter --no-host --width”:

  Kernel: 5.9.11-2-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64 
  root=UUID=f9e27b7b-454a-4605-ad18-07d2dc1ed83d rw quiet 
  root=/dev/mapper/luks-fa036370-2503-429b-a217-fa08229455d4 apparmor=1 
  Desktop: Xfce 4.14.3 tk: Gtk 3.24.23 info: xfce4-panel wm: xfwm4 
  dm: LightDM 1.30.0 Distro: Manjaro Linux 
  Type: Laptop System: LENOVO product: 20HRCTO1WW v: ThinkPad X1 Carbon 5th 
  serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: LENOVO model: 20HRCTO1WW v: SDK0J40697 WIN serial: <filter> 
  UEFI: LENOVO v: N1MET45W (1.30 ) date: 02/22/2018 
  ID-1: BAT0 charge: 45.5 Wh condition: 45.5/57.0 Wh (80%) volts: 12.8/11.5 
  model: SMP 01AV431 type: Li-poly serial: <filter> status: Unknown 
  cycles: 291 
  Device-1: hidpp_battery_0 model: Logitech G603 Wireless Gaming Mouse 
  serial: <filter> charge: 100% (should be ignored) rechargeable: yes 
  status: Discharging 
  RAM: total: 15.41 GiB used: 5.37 GiB (34.9%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
  Info: Dual Core model: Intel Core i7-7500U bits: 64 type: MT MCP 
  arch: Amber Lake family: 6 model-id: 8E (142) stepping: 9 microcode: DE 
  L2 cache: 4096 KiB bogomips: 23209 
  Speed: 800 MHz min/max: 400/3500 MHz Core speeds (MHz): 1: 799 2: 800 3: 800 
  4: 800 
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_perfmon art 
  avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc cpuid 
  cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est 
  f16c flexpriority flush_l1d fma fpu fsgsbase fxsr ht hwp hwp_act_window 
  hwp_epp hwp_notify ibpb ibrs ida intel_pt invpcid invpcid_single lahf_lm lm 
  mca mce md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat 
  pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts 
  rdrand rdseed rdtscp rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1 
  sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust 
  tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt 
  xsaves xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort status: Not affected 
  Device-1: Intel HD Graphics 620 vendor: Lenovo ThinkPad X1 Carbon 5th Gen 
  driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:5916 
  Device-2: IMC Networks SunplusIT Integrated Camera type: USB 
  driver: uvcvideo bus ID: 1-8:5 chip ID: 13d3:5682 
  Display: x11 server: X.Org 1.20.9 driver: intel unloaded: modesetting 
  alternate: fbdev,vesa display ID: :0.0 screens: 1 
  Screen-1: 0 s-res: 6400x2160 s-dpi: 96 s-size: 1693x572mm (66.7x22.5") 
  s-diag: 1787mm (70.4") 
  Monitor-1: eDP1 res: 2560x1440 hz: 60 dpi: 210 size: 310x170mm (12.2x6.7") 
  diag: 354mm (13.9") 
  Monitor-2: DP2 res: 3840x2160 hz: 60 dpi: 137 size: 710x400mm (28.0x15.7") 
  diag: 815mm (32.1") 
  OpenGL: renderer: Mesa Intel HD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.2.3 
  direct render: Yes 
  Device-1: Intel Sunrise Point-LP HD Audio 
  vendor: Lenovo ThinkPad X1 Carbon 5th Gen driver: snd_hda_intel v: kernel 
  alternate: snd_soc_skl bus ID: 00:1f.3 chip ID: 8086:9d71 
  Sound Server: ALSA v: k5.9.11-2-MANJARO 
  Device-1: Intel Ethernet I219-V vendor: Lenovo ThinkPad X1 Carbon 5th Gen 
  driver: e1000e v: kernel port: efa0 bus ID: 00:1f.6 chip ID: 8086:15d8 
  IF: enp0s31f6 state: down mac: <filter> 
  Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel port: efa0 
  bus ID: 04:00.0 chip ID: 8086:24fd 
  IF: wlp4s0 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  IF-ID-1: wwp0s20f0u6i12 state: down mac: <filter> 
  WAN IP: <filter> 
  Local Storage: total: 1.86 TiB used: 550.18 GiB (28.8%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/nvme0n1 vendor: A-Data model: SX8200PNP size: 1.86 TiB 
  block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 
  serial: <filter> rev: SS0411BB scheme: GPT 
  Message: No Optical or Floppy data was found. 
  Message: No RAID data was found. 
  ID-1: / raw size: 1.85 TiB size: 1.82 TiB (98.38%) used: 548.83 GiB (29.5%) 
  fs: ext4 dev: /dev/dm-0 label: N/A 
  uuid: f9e27b7b-454a-4605-ad18-07d2dc1ed83d 
  ID-2: /boot/efi raw size: 300.0 MiB size: 299.4 MiB (99.80%) 
  used: 480 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 label: N/A uuid: 275B-758C 
  Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 16.94 GiB used: 1.35 GiB (8.0%) 
  priority: -2 dev: /dev/dm-1 label: N/A 
  uuid: 1c3367f7-41dd-42fa-930b-871f887515ef 
  ID-1: /dev/nvme0n1p2 size: 1.85 TiB fs: crypto_luks label: N/A 
  uuid: fa036370-2503-429b-a217-fa08229455d4 
  ID-2: /dev/nvme0n1p3 size: 16.95 GiB fs: crypto_luks label: N/A 
  uuid: e32ee652-0d71-4978-ac56-2fa0b241af44 
  Hub: 1-0:1 info: Full speed (or root) Hub ports: 12 rev: 2.0 speed: 480 Mb/s 
  chip ID: 1d6b:0002 
  Device-1: 1-1:2 info: Logitech USB Receiver type: Keyboard,Mouse,HID 
  driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s 
  chip ID: 046d:c539 
  Device-2: 1-6:3 info: Sierra Wireless EM7455 type: Communication,CDC-Data 
  driver: cdc_mbim interfaces: 2 rev: 2.0 speed: 480 Mb/s chip ID: 1199:9079 
  serial: <filter> 
  Device-3: 1-7:4 info: Intel Bluetooth wireless interface type: Bluetooth 
  driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s chip ID: 8087:0a2b 
  Device-4: 1-8:5 info: IMC Networks SunplusIT Integrated Camera type: Video 
  driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s chip ID: 13d3:5682 
  Device-5: 1-9:6 info: Validity Sensors type: <vendor specific> driver: N/A 
  interfaces: 1 rev: 2.0 speed: 12 Mb/s chip ID: 138a:0097 serial: <filter> 
  Hub: 2-0:1 info: Full speed (or root) Hub ports: 6 rev: 3.0 speed: 5 Gb/s 
  chip ID: 1d6b:0003 
  Hub: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 speed: 480 Mb/s 
  chip ID: 1d6b:0002 
  Hub: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s 
  chip ID: 1d6b:0003 
  System Temperatures: cpu: 56.5 C mobo: N/A 
  Fan Speeds (RPM): cpu: 4096 
  Processes: 251 Uptime: 1d 4h 07m Init: systemd v: 246 Compilers: gcc: 10.2.0 
  clang: 11.0.0 Packages: pacman: 1219 lib: 338 flatpak: 0 Shell: Bash 
  v: 5.0.18 running in: xfce4-terminal inxi: 3.1.08

I will try to reproduce the problem and and see what journalctl shows. Thanks!

Edit: first two had no output. The second two showed the suspend/resume events, no entries shown by the last:

Nov 29 15:43:56 marcx1 systemd-sleep[33979]: Suspending system...
Nov 29 15:46:00 marcx1 systemd-sleep[33979]: System resumed.
-- Logs begin at Thu 2020-11-26 20:32:00 MST, end at Sun 2020-11-29 15:48:22 MST. --
-- No entries --
1 Like