[RESPONDED] Framework forgets external monitor resolution on wake from sleep

I have an 11th gen framework (original DIY edition) running Ubuntu 22.04. For use at my desktop, I typically connect it to an external LG 34WK95U 34 inch 5120x2160 monitor, along with keyboard and mouse.

About once every 3-4 times when I wake the machine from sleep, it seems to forget that the 5120x2160 resolution is available and display a distorted 2560x2160 screen. In settings I can choose other resolutions up to 4K, but not the correct 5120x2160. This happens whether the monitor is directly connected to the USB-C port on the laptop or using a Thunderbolt 3 dock. Restarting the laptop consistently fixes the problem, but it’s a pain to have to restart on wakeup so often.

Does anyone know what might be causing this and how I can fix it? In general waking from sleep with the lid closed has been a bugaboo of this laptop since I bought it-- half the time the external KB/mouse doesn’t even work to wake it up and I have to open the lid, the other half of the time it does work but is really slow-- and a recurring stumbling block for smooth home use. I don’t know how to tell if it’s the laptop HW or the Linux SW at fault.

Does the same thing happen on other devices? Does this happen regardless of which distribution you run? Do other monitors/cables work?

I currently have issues with a specific KVM-Switch. As soon as I replace it and connect it directly to my Framework, it instantly and always connects to it, no matter if after suspend or restart.

What is your current state of PS2 emulation? Have you tried booting with the kernel parameter i8042.nomux=1 (and possibly even i8042.reset) to see if that makes a difference?

This is almost always a software meets dock issue. What connector are you using on the monitor to dock or monitor to laptop?

I have a dock that does not like Gnome Screenlock. So I disabled it, and set it up to suspend instead. Now it detects my monitors flawlessly.

To the last couple of questions:
– This does not happen when I connect a MacBook Air to the same dock and monitor.
– I haven’t tried a different Linux distro, but am happy to if anyone can recommend a distro that seems to support external devices and/or sleep/wake cycles better.
– Haven’t tried other monitors/cables because I don’t have any at hand. Both the monitor cable and dock cable are Thunderbolt certified cables with the thunderbolt logo on them, and again I’ve tried both a direct monitor → laptop connection and a monitor → dock → laptop connection (with two different docks actually, a CalDigit TS3 Plus and an OWC Thunderbolt Dock, same behavior).
– Good suggestion on the PS2 emulation parameter, I’ll try that, thanks.

This is sounding very similar to the screen lock issue I was having with Fedora 37. I suspect it has to do with how Gnome handles the lock and then after a prolonged period the transition to suspend. Try directly suspending from a terminal and see if when you wake it back up if it continues to occur. This is almost definitely a Gnome issue, and possibly a Wayland only issue. I did not dig into whether it was occuring on Xorg. Since I disabled screen lock and began using suspend instead (tied it to the screenlocking keyboard shortcut) I have had not issues with screen resolution on resume, or with discovery of the monitor.

Thanks, that’s helpful. It does not appear to happen when suspending from the top right menu or using systemctl suspend. I switched to Xorg awhile ago due to earlier problems with Wayland, so it’s not a Wayland issue, but it may well be a Gnome issue. I’m willing to just use a different desktop environment than Gnome, but less radical workarounds would be nice too. Can you say more about the steps you took to disable screenlock and use suspend tied to the screenlock shortcut instead?

Under settings go to power and turn screen blank to never. Then go to keyboard in settings and view and customize shortcuts. Under custom shortcuts create an entry named Suspend, the command should be systemctl suspend and the shortcut Super+L. It will warn that it is already being used, ignore the warning and proceed. This will disassociate screen lock from Super+L and now it will suspend instead with that shortcut.

Hope that is less radical than switching desktop environments :slight_smile: I stopped looking as switching DE’s as an option several years ago, you always trade one problem for new ones.

1 Like

I echo everything @nadb has said thus far. Linux and docks are “fine”, until they’re not. Suspending with a dock on Linux isn’t something I personally recommend.

@Matt_Hartley Is the issue docks per se, or Thunderbolt? Because the resolution issue happens even when the monitor is connected directly to the Framework Laptop’s USB-C port via its own direct Thunderbolt cable. I’m wondering whether it’s worthwhile to try connecting the monitor with a DisplayPort or HDMI cable instead.

@Nicholas_Weininger it can be any of those. How is the dock handling the display? Is it using displaylink without you knowing it? Is it using MST? Does the chipset have a quirk that the chipset on your laptop does not like? Is the firmware on one or the other glitching just enough to cause an issue? Is the dock usinng a Realtek Ethernet chipset…yeah had that one bite me before. It is entirely possible that switching your cables to displayport or hdmi or usbc and switching which monitor goes to which port on the dock could easily change the equation in your favor. Thunderbolt is a pain, things that should work on paper, simply don’t. I have had docks that were supposed to be compatible with a very specific laptop not work well with it, but perfectly with one off the list. Also the software stack does matter. Is there a kernel regression, is i915 messing up the handoff from plymouth to gdm, is bolt breaking something that only breaks on a small handful of docks, is MST dealing with a persistent bug…anyone who thinks thunderbolt should simply just work because all the parts have the Thunderbolt Certification is likely somewhat delusional.

In short yes try it. If you have the cables why not. It might just work.

Anyway sorry for going on but I just had to return a Plugable TBT4-UDZ because it refused to be detected on boot. After a ton of troubleshooting I got it to see the dock until I decrypted my drive and then the screens would go blank, I would get to the login screen. Sign in, check boltctl and sure enough the dock is listed as disconnected. Power cycle and it comes right back up. Caused slow boot on a reboot, and then got lost. Hotplugged fine. Kept moving the location and scaling of every screen between boots. Basically unusable…but it worked under some conditions.

So still shopping for a new dock, and out of curiousity I wanted to ask you how the OWC Thunderbolt Dock is since it was on my shortlist. My Lenovo Thunderbolt 3 Dock (First Gen) works great outside of the similar issue to the one you are experiencing but I want something with more power delivery hence why I am playing the return game.

Anyway good luck.

The OWC dock works just fine other than this monitor issue. I had previously tried a CalDigit TS3 Plus, which had different monitor failure issues (like the monitor often not waking up at all until I unplugged it and plugged it back in) and also had a couple of the USB ports just inexplicably stop working sometimes.

1 Like

This is a good question. The moment we insert non-Framework hardware into the equation, we are left sifting through logs and trying to replicate without said dock here locally.

Now, you did indicate the behavior is happening with a direct connection. This is helpful as this tells us that the distro is failing to do its job in remembering this.

DP and HDMI connected through the Framework expansion cards and using off the shelf cables should remember your resolution successfully.

Just tested 1920x1200 16:9 over HDMI using our HDMI expansion card (odd monitor to laptop comparable, wanted something to test that was similar available resolution.

Went into deep suspend. Woke up the Framework on Ubuntu 22.04, resolution resumed correctly for both screens.

OK, thanks. I ordered a DP expansion card since the monitor has a DP 1.4 port, and I’ll report back whether that fixes the issue (though again, it’s hard to tell from a single test since it doesn’t happen every time or even most of the time, just often enough to be annoying :))

I tried running a DP cable to the monitor’s DP port directly from the Framework expansion card. That works resolution-wise, but the display goes blank for a second every 5 or so seconds, making it unusable.

FWIW, on my other note, the PS2 emulation change nadb suggested does seem to make wake from sleep work, but I still observe that the laptop takes multiple tries as well as a very long time to wake from sleep in response to USB input. It seems to be trying to wake up, failing, going back to sleep, then waking up properly on the second try. I’ve tried this with a keyboard connected directly to the USB-A port on the laptop, so it’s not a dock issue. I’ve also checked that the relevant device has its /power/wakeup file set to enabled.

You should see this on the kernel log then (dmesg). Can you take a loot and copy what is printed there?

Sure. I just reproduced the issue and piped dmesg output to a file, of which the most recent bits are pasted below. Apologies for the verbosity, the upload function on this commenting interface only seems to want to let me upload images. Let me know if you want any earlier subsets of the file or if there’s another way to upload the whole thing.

[    3.563144] systemd-journald[320]: Received client request to flush runtime journal.
[    3.638429] usb 3-4.4.2: New USB device found, idVendor=04f9, idProduct=0328, bcdDevice= 1.00
[    3.638434] usb 3-4.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.638436] usb 3-4.4.2: Product: DCP-L2540DW
[    3.638437] usb 3-4.4.2: Manufacturer: Brother
[    3.638438] usb 3-4.4.2: SerialNumber: U63885E5N245063
[    3.731294] EDAC igen6: v2.5
[    3.736435] usb 3-4.4.6: new full-speed USB device number 8 using xhci_hcd
[    3.768661] intel_rapl_common: Found RAPL domain package
[    3.773930] mc: Linux media interface: v0.10
[    3.775339] usbcore: registered new device driver apple-mfi-fastcharge
[    3.780052] Bluetooth: Core ver 2.22
[    3.780084] NET: Registered PF_BLUETOOTH protocol family
[    3.780085] Bluetooth: HCI device and connection manager initialized
[    3.780087] Bluetooth: HCI socket layer initialized
[    3.780089] Bluetooth: L2CAP socket layer initialized
[    3.780092] Bluetooth: SCO socket layer initialized
[    3.793591] videodev: Linux video capture interface: v2.00
[    3.797585] mei_me 0000:00:16.0: enabling device (0000 -> 0002)
[    3.814762] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    3.814895] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    3.839737] usb 3-4.4.6: New USB device found, idVendor=1c57, idProduct=010b, bcdDevice=11.10
[    3.839740] usb 3-4.4.6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.839741] usb 3-4.4.6: Product: Macally BUMPERMOUSE
[    3.839742] usb 3-4.4.6: Manufacturer: Macally Peripherals
[    3.843278] Intel(R) Wireless WiFi driver for Linux
[    3.843536] iwlwifi 0000:aa:00.0: enabling device (0000 -> 0002)
[    3.848430] iwlwifi 0000:aa:00.0: api flags index 2 larger than supported by driver
[    3.848444] iwlwifi 0000:aa:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 0.63.2.2
[    3.848669] iwlwifi 0000:aa:00.0: loaded firmware version 66.f1c864e0.0 ty-a0-gf-a0-66.ucode op_mode iwlmvm
[    3.849508] input: Macally Peripherals Macally BUMPERMOUSE as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4.4/3-4.4.6/3-4.4.6:1.0/0003:1C57:010B.0007/input/input11
[    3.849515] i915 0000:00:02.0: [drm] VT-d active for gfx access
[    3.849844] usbcore: registered new interface driver btusb
[    3.851489] Bluetooth: hci0: Device revision is 0
[    3.851490] Bluetooth: hci0: Secure boot is enabled
[    3.851491] Bluetooth: hci0: OTP lock is enabled
[    3.851491] Bluetooth: hci0: API lock is enabled
[    3.851491] Bluetooth: hci0: Debug lock is disabled
[    3.851492] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[    3.851493] Bluetooth: hci0: Bootloader timestamp 2019.40 buildtype 1 build 38
[    3.852532] Bluetooth: hci0: Found device firmware: intel/ibt-0041-0041.sfi
[    3.852711] usb 2-3.2: Found UVC 1.00 device Logitech StreamCam (046d:0893)
[    3.853042] Console: switching to colour dummy device 80x25
[    3.853280] i915 0000:00:02.0: vgaarb: deactivate vga console
[    3.853675] cryptd: max_cpu_qlen set to 1000
[    3.855794] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    3.857074] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/tgl_dmc_ver2_12.bin (v2.12)
[    3.860360] input: Logitech StreamCam as /devices/pci0000:00/0000:00:0d.0/usb2/2-3/2-3.2/2-3.2:1.0/input/input12
[    3.863658] AVX2 version of gcm_enc/dec engaged.
[    3.863699] AES CTR mode by8 optimization enabled
[    3.875613] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    3.875692] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[    3.896773] iwlwifi 0000:aa:00.0: Detected Intel(R) Wi-Fi 6 AX210 160MHz, REV=0x420
[    3.905484] input: PIXA3854:00 093A:0274 Mouse as /devices/pci0000:00/0000:00:15.3/i2c_designware.2/i2c-3/i2c-PIXA3854:00/0018:093A:0274.0002/input/input13
[    3.909600] hid-generic 0003:1C57:010B.0007: input,hidraw1: USB HID v1.10 Keyboard [Macally Peripherals Macally BUMPERMOUSE] on usb-0000:00:14.0-4.4.6/input0
[    3.909651] usbcore: registered new interface driver uvcvideo
[    3.909708] input: PIXA3854:00 093A:0274 Touchpad as /devices/pci0000:00/0000:00:15.3/i2c_designware.2/i2c-3/i2c-PIXA3854:00/0018:093A:0274.0002/input/input14
[    3.909769] hid-multitouch 0018:093A:0274.0002: input,hidraw5: I2C HID v1.00 Mouse [PIXA3854:00 093A:0274] on i2c-PIXA3854:00
[    3.913118] audit: type=1400 audit(1674594406.322:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-oosplash" pid=535 comm="apparmor_parser"
[    3.913392] audit: type=1400 audit(1674594406.322:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=529 comm="apparmor_parser"
[    3.915331] audit: type=1400 audit(1674594406.324:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-senddoc" pid=536 comm="apparmor_parser"
[    3.915389] audit: type=1400 audit(1674594406.324:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=533 comm="apparmor_parser"
[    3.915399] audit: type=1400 audit(1674594406.324:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=533 comm="apparmor_parser"
[    3.915406] audit: type=1400 audit(1674594406.324:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=533 comm="apparmor_parser"
[    3.917297] audit: type=1400 audit(1674594406.326:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=530 comm="apparmor_parser"
[    3.917301] audit: type=1400 audit(1674594406.326:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=530 comm="apparmor_parser"
[    3.917432] thermal thermal_zone5: failed to read out thermal zone (-61)
[    3.918432] audit: type=1400 audit(1674594406.328:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="tcpdump" pid=534 comm="apparmor_parser"
[    3.926303] input: Macally Peripherals Macally BUMPERMOUSE Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4.4/3-4.4.6/3-4.4.6:1.1/0003:1C57:010B.0008/input/input15
[    3.930762] intel_tcc_cooling: Programmable TCC Offset detected
[    3.933757] input: Macally Peripherals Macally BUMPERMOUSE Consumer Control as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4.4/3-4.4.6/3-4.4.6:1.1/0003:1C57:010B.0008/input/input16
[    3.935520] usb 2-3.2: current rate 16000 is different from the runtime rate 24000
[    3.959431] usb 2-3.2: current rate 16000 is different from the runtime rate 32000
[    3.978426] usb 2-3.2: current rate 16000 is different from the runtime rate 48000
[    4.008235] input: Macally Peripherals Macally BUMPERMOUSE System Control as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4.4/3-4.4.6/3-4.4.6:1.1/0003:1C57:010B.0008/input/input17
[    4.016786] hid-generic 0003:1C57:010B.0008: input,hidraw6: USB HID v1.10 Mouse [Macally Peripherals Macally BUMPERMOUSE] on usb-0000:00:14.0-4.4.6/input1
[    4.021524] usbcore: registered new interface driver snd-usb-audio
[    4.077239] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[    4.078960] ACPI: video: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    4.079535] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input18
[    4.079809] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    4.082609] fbcon: i915drmfb (fb0) is primary device
[    4.083730] iwlwifi 0000:aa:00.0: loaded PNVM version 0x5a8dfca
[    4.084885] Console: switching to colour frame buffer device 141x47
[    4.099334] iwlwifi 0000:aa:00.0: Detected RF GF, rfid=0x10d000
[    4.104108] intel_rapl_msr: PL4 support detected.
[    4.104168] intel_rapl_common: Found RAPL domain package
[    4.104170] intel_rapl_common: Found RAPL domain core
[    4.104171] intel_rapl_common: Found RAPL domain uncore
[    4.104173] intel_rapl_common: Found RAPL domain psys
[    4.115324] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[    4.126432] usb 3-4.4.7: new high-speed USB device number 9 using xhci_hcd
[    4.128945] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[    4.168616] iwlwifi 0000:aa:00.0: base HW address: 54:14:f3:52:c3:bc
[    4.173885] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC295: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    4.173889] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.173890] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    4.173891] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    4.173892] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    4.173893] snd_hda_codec_realtek hdaudioC0D0:      Headset Mic=0x19
[    4.173894] snd_hda_codec_realtek hdaudioC0D0:      Headphone Mic=0x1a
[    4.173895] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
[    4.191750] iwlwifi 0000:aa:00.0 wlp170s0: renamed from wlan0
[    4.413598] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    4.413600] Bluetooth: BNEP filters: protocol multicast
[    4.413604] Bluetooth: BNEP socket layer initialized
[    4.580519] ACPI BIOS Error (bug): Could not resolve symbol [\_TZ.ETMD], AE_NOT_FOUND (20210730/psargs-330)

[    4.580529] No Local Variables are initialized for Method [_OSC]

[    4.580530] Initialized Arguments for Method [_OSC]:  (4 arguments defined for method invocation)
[    4.580530]   Arg0:   000000009b5f2be5 <Obj>           Buffer(16) 5D A8 3B B2 B7 C8 42 35
[    4.580536]   Arg1:   000000009c750052 <Obj>           Integer 0000000000000001
[    4.580538]   Arg2:   000000009d8175ea <Obj>           Integer 0000000000000002
[    4.580540]   Arg3:   0000000068ee4655 <Obj>           Buffer(8) 00 00 00 00 05 00 00 00

[    4.580545] ACPI Error: Aborting method \_SB.IETM._OSC due to previous error (AE_NOT_FOUND) (20210730/psparse-529)
[    4.813453] usb 2-3.2: current rate 16000 is different from the runtime rate 48000
[    4.823451] usb 2-3.2: current rate 16000 is different from the runtime rate 48000
[    4.832460] usb 2-3.2: current rate 16000 is different from the runtime rate 48000
[    4.873562] input: HDA Intel PCH Headphone Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input19
[    4.873645] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input20
[    4.873716] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input21
[    4.873772] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input22
[    4.873826] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input23
[    4.873880] input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input24
[    4.873926] input: HDA Intel PCH HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input25
[    4.873965] input: HDA Intel PCH HDMI/DP,pcm=12 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input26
[    4.874020] input: HDA Intel PCH HDMI/DP,pcm=13 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input27
[    4.874093] input: HDA Intel PCH HDMI/DP,pcm=14 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input28
[    4.874133] input: HDA Intel PCH HDMI/DP,pcm=15 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input29
[    4.874197] input: HDA Intel PCH HDMI/DP,pcm=16 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input30
[    4.874241] input: HDA Intel PCH HDMI/DP,pcm=17 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input31
[    4.931424] usb 2-3.2: current rate 16000 is different from the runtime rate 48000
[    4.939425] usb 2-3.2: current rate 16000 is different from the runtime rate 48000
[    4.948426] usb 2-3.2: current rate 16000 is different from the runtime rate 48000
[    5.035177] loop23: detected capacity change from 0 to 8
[    5.237335] Bluetooth: hci0: Waiting for firmware download to complete
[    5.237449] Bluetooth: hci0: Firmware loaded in 1352456 usecs
[    5.237509] Bluetooth: hci0: Waiting for device to boot
[    5.264490] Bluetooth: hci0: Device booted in 26385 usecs
[    5.264628] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-0041-0041.ddc
[    5.266482] Bluetooth: hci0: Applying Intel DDC parameters completed
[    5.270470] Bluetooth: hci0: Firmware timestamp 2022.5 buildtype 1 build 38020
[    5.342551] NET: Registered PF_ALG protocol family
[    5.459825] IPv6: ADDRCONF(NETDEV_CHANGE): enx0023a405008d: link becomes ready
[    5.459985] r8152 2-3.4.5:1.0 enx0023a405008d: carrier on
[    5.506031] usb 3-4.4.7: New USB device found, idVendor=0bda, idProduct=493b, bcdDevice= 0.04
[    5.506036] usb 3-4.4.7: New USB device strings: Mfr=3, Product=1, SerialNumber=0
[    5.506038] usb 3-4.4.7: Product: USB Audio
[    5.506039] usb 3-4.4.7: Manufacturer: Generic
[    5.879142] rfkill: input handler disabled
[    6.094451] input: Generic USB Audio as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4.4/3-4.4.7/3-4.4.7:1.2/0003:0BDA:493B.0009/input/input32
[    6.147738] hid-generic 0003:0BDA:493B.0009: input,hidraw7: USB HID v1.11 Device [Generic USB Audio] on usb-0000:00:14.0-4.4.7/input2
[    6.236464] usb 3-4.4.8: new full-speed USB device number 10 using xhci_hcd
[    6.345958] usb 3-4.4.8: New USB device found, idVendor=1e91, idProduct=de44, bcdDevice=17.46
[    6.345963] usb 3-4.4.8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.345964] usb 3-4.4.8: Product: Thunderbolt Dock
[    6.345965] usb 3-4.4.8: Manufacturer: Other World Computing
[    6.345967] usb 3-4.4.8: SerialNumber: 11AD1D8510327A012E0C1B00
[    6.367014] usblp 3-4.4.2:1.0: usblp1: USB Bidirectional printer dev 7 if 0 alt 0 proto 2 vid 0x04F9 pid 0x0328
[    6.367084] usbcore: registered new interface driver usblp
[    6.608731] usb 3-9: reset full-speed USB device number 4 using xhci_hcd
[    6.644797] r8152 2-3.4.5:1.0 enx0023a405008d: carrier off
[    8.091573] wlp170s0: authenticate with 40:3f:8c:75:35:96
[    8.112818] wlp170s0: send auth to 40:3f:8c:75:35:96 (try 1/3)
[    8.186345] wlp170s0: authenticated
[    8.187552] wlp170s0: associate with 40:3f:8c:75:35:96 (try 1/3)
[    8.195189] wlp170s0: RX AssocResp from 40:3f:8c:75:35:96 (capab=0x1031 status=0 aid=2)
[    8.214068] wlp170s0: associated
[    8.288669] IPv6: ADDRCONF(NETDEV_CHANGE): wlp170s0: link becomes ready
[    8.288749] wlp170s0: Limiting TX power to 30 (30 - 0) dBm as advertised by 40:3f:8c:75:35:96
[    9.172042] r8152 2-3.4.5:1.0 enx0023a405008d: carrier on
[   10.100962] r8152 2-3.4.5:1.0 enx0023a405008d: carrier off
[   11.465031] usblp1: removed
[   11.470707] usblp 3-4.4.2:1.0: usblp1: USB Bidirectional printer dev 7 if 0 alt 0 proto 2 vid 0x04F9 pid 0x0328
[   12.501455] r8152 2-3.4.5:1.0 enx0023a405008d: carrier on
[   13.213092] Bluetooth: RFCOMM TTY layer initialized
[   13.213098] Bluetooth: RFCOMM socket layer initialized
[   13.213101] Bluetooth: RFCOMM ver 1.11
[   13.425456] rfkill: input handler enabled
[   13.544671] usb 2-3.2: reset SuperSpeed USB device number 3 using xhci_hcd
[   13.680424] usb 2-3.2: current rate 16000 is different from the runtime rate 48000
[   13.688451] usb 2-3.2: current rate 16000 is different from the runtime rate 48000
[   13.698453] usb 2-3.2: current rate 16000 is different from the runtime rate 48000
[   14.664582] rfkill: input handler disabled
[   14.762910] kauditd_printk_skb: 45 callbacks suppressed
[   14.762912] audit: type=1400 audit(1674594417.171:56): apparmor="DENIED" operation="capable" profile="/snap/snapd/17950/usr/lib/snapd/snap-confine" pid=2314 comm="snap-confine" capability=12  capname="net_admin"
[   14.762917] audit: type=1400 audit(1674594417.171:57): apparmor="DENIED" operation="capable" profile="/snap/snapd/17950/usr/lib/snapd/snap-confine" pid=2314 comm="snap-confine" capability=38  capname="perfmon"
[   15.221128] audit: type=1400 audit(1674594417.630:58): apparmor="DENIED" operation="capable" profile="/usr/sbin/cups-browsed" pid=2466 comm="cups-browsed" capability=23  capname="sys_nice"
[   16.238773] audit: type=1326 audit(1674594418.648:59): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.snap-store.snap-store pid=2314 comm="snap-store" exe="/snap/snap-store/638/usr/bin/snap-store" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7f6c0138e73d code=0x50000
[   19.768581] audit: type=1107 audit(1674594422.178:60): pid=829 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.5" pid=2314 label="snap.snap-store.snap-store" peer_pid=844 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
[   19.768725] audit: type=1107 audit(1674594422.178:61): pid=829 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.PolicyKit1.Authority" member="CheckAuthorization" mask="send" name=":1.5" pid=2314 label="snap.snap-store.snap-store" peer_pid=844 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
[   19.770212] audit: type=1107 audit(1674594422.179:62): pid=829 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.5" pid=2314 label="snap.snap-store.snap-store" peer_pid=844 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
[   19.770304] audit: type=1107 audit(1674594422.179:63): pid=829 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.PolicyKit1.Authority" member="CheckAuthorization" mask="send" name=":1.5" pid=2314 label="snap.snap-store.snap-store" peer_pid=844 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
[   20.054806] audit: type=1400 audit(1674594422.464:64): apparmor="DENIED" operation="open" profile="snap.snap-store.snap-store" name="/etc/PackageKit/Vendor.conf" pid=2314 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[   20.279947] audit: type=1400 audit(1674594422.689:65): apparmor="DENIED" operation="open" profile="snap.snap-store.snap-store" name="/etc/appstream.conf" pid=2314 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[   27.043447] usb 2-3.2: current rate 16000 is different from the runtime rate 48000
[   27.051458] usb 2-3.2: current rate 16000 is different from the runtime rate 48000
[   27.060452] usb 2-3.2: current rate 16000 is different from the runtime rate 48000
[   73.937420] usb 2-3.2: current rate 16000 is different from the runtime rate 48000
[  101.133387] ACPI BIOS Error (bug): Could not resolve symbol [\_GPE._L69.D6F0], AE_NOT_FOUND (20210730/psargs-330)

[  101.133415] No Local Variables are initialized for Method [_L69]

[  101.133418] No Arguments are initialized for method [_L69]

[  101.133422] ACPI Error: Aborting method \_GPE._L69 due to previous error (AE_NOT_FOUND) (20210730/psparse-529)
[  101.133436] ACPI Error: AE_NOT_FOUND, while evaluating GPE method [_L69] (20210730/evgpe-511)
[  101.379759] pcieport 0000:57:03.0: pciehp: Slot(3): Card present
[  101.379765] pcieport 0000:57:03.0: pciehp: Slot(3): Link Up
[  101.506937] pci 0000:73:00.0: [8086:15ef] type 01 class 0x060400
[  101.507078] pci 0000:73:00.0: enabling Extended Tags
[  101.507425] pci 0000:73:00.0: supports D1 D2
[  101.507427] pci 0000:73:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  101.507748] pci 0000:73:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x4 link at 0000:00:07.2 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
[  101.508050] pci 0000:73:00.0: Adding to iommu group 25
[  101.510773] pci 0000:73:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[  101.511033] pci 0000:74:02.0: [8086:15ef] type 01 class 0x060400
[  101.511178] pci 0000:74:02.0: enabling Extended Tags
[  101.511484] pci 0000:74:02.0: supports D1 D2
[  101.511486] pci 0000:74:02.0: PME# supported from D0 D1 D2 D3hot D3cold
[  101.512033] pci 0000:74:02.0: Adding to iommu group 26
[  101.512319] pci 0000:73:00.0: PCI bridge to [bus 74-7e]
[  101.512345] pci 0000:73:00.0:   bridge window [io  0x0000-0x0fff]
[  101.512359] pci 0000:73:00.0:   bridge window [mem 0x00000000-0x000fffff]
[  101.512383] pci 0000:73:00.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
[  101.512392] pci 0000:74:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[  101.512679] pci 0000:75:00.0: [8086:15ec] type 00 class 0x0c0330
[  101.512745] pci 0000:75:00.0: reg 0x10: [mem 0x00000000-0x0000ffff]
[  101.512900] pci 0000:75:00.0: enabling Extended Tags
[  101.513248] pci 0000:75:00.0: supports D1 D2
[  101.513252] pci 0000:75:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  101.513548] pci 0000:75:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x4 link at 0000:00:07.2 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
[  101.514039] pci 0000:75:00.0: Adding to iommu group 27
[  101.514321] pci 0000:74:02.0: PCI bridge to [bus 75-7e]
[  101.514352] pci 0000:74:02.0:   bridge window [io  0x0000-0x0fff]
[  101.514363] pci 0000:74:02.0:   bridge window [mem 0x00000000-0x000fffff]
[  101.514388] pci 0000:74:02.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
[  101.514397] pci_bus 0000:75: busn_res: [bus 75-7e] end is updated to 75
[  101.514415] pci_bus 0000:74: busn_res: [bus 74-7e] end is updated to 75
[  101.514441] pci 0000:73:00.0: BAR 14: assigned [mem 0x68100000-0x6c0fffff]
[  101.514448] pci 0000:73:00.0: BAR 15: assigned [mem 0x6052a00000-0x605beffffd 64bit pref]
[  101.514454] pci 0000:73:00.0: BAR 13: assigned [io  0x8000-0x8ffd]
[  101.514461] pci 0000:74:02.0: BAR 14: assigned [mem 0x68100000-0x6c0fffff]
[  101.514467] pci 0000:74:02.0: BAR 15: assigned [mem 0x6052a00000-0x605beffffd 64bit pref]
[  101.514472] pci 0000:74:02.0: BAR 13: assigned [io  0x8000-0x8ffd]
[  101.514479] pci 0000:75:00.0: BAR 0: assigned [mem 0x68100000-0x6810ffff]
[  101.514494] pci 0000:74:02.0: PCI bridge to [bus 75]
[  101.514502] pci 0000:74:02.0:   bridge window [io  0x8000-0x8ffd]
[  101.514518] pci 0000:74:02.0:   bridge window [mem 0x68100000-0x6c0fffff]
[  101.514531] pci 0000:74:02.0:   bridge window [mem 0x6052a00000-0x605beffffd 64bit pref]
[  101.514551] pci 0000:73:00.0: PCI bridge to [bus 74-75]
[  101.514559] pci 0000:73:00.0:   bridge window [io  0x8000-0x8ffd]
[  101.514574] pci 0000:73:00.0:   bridge window [mem 0x68100000-0x6c0fffff]
[  101.514586] pci 0000:73:00.0:   bridge window [mem 0x6052a00000-0x605beffffd 64bit pref]
[  101.514606] pcieport 0000:57:03.0: PCI bridge to [bus 73-7e]
[  101.514613] pcieport 0000:57:03.0:   bridge window [io  0x8000-0x8ffd]
[  101.514625] pcieport 0000:57:03.0:   bridge window [mem 0x68100000-0x6c0fffff]
[  101.514634] pcieport 0000:57:03.0:   bridge window [mem 0x6052a00000-0x605beffffd 64bit pref]
[  101.514728] pcieport 0000:73:00.0: enabling device (0000 -> 0003)
[  101.515539] pcieport 0000:74:02.0: enabling device (0000 -> 0003)
[  101.516333] pci 0000:75:00.0: enabling device (0000 -> 0002)
[  101.516676] xhci_hcd 0000:75:00.0: xHCI Host Controller
[  101.516681] xhci_hcd 0000:75:00.0: new USB bus registered, assigned bus number 5
[  101.517979] xhci_hcd 0000:75:00.0: hcc params 0x200077c1 hci version 0x110 quirks 0x0000000200009810
[  101.518526] xhci_hcd 0000:75:00.0: xHCI Host Controller
[  101.518528] xhci_hcd 0000:75:00.0: new USB bus registered, assigned bus number 6
[  101.518530] xhci_hcd 0000:75:00.0: Host supports USB 3.1 Enhanced SuperSpeed
[  101.518567] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[  101.518569] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  101.518570] usb usb5: Product: xHCI Host Controller
[  101.518572] usb usb5: Manufacturer: Linux 5.15.0-58-lowlatency xhci-hcd
[  101.518573] usb usb5: SerialNumber: 0000:75:00.0
[  101.518788] hub 5-0:1.0: USB hub found
[  101.518815] hub 5-0:1.0: 2 ports detected
[  101.519050] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[  101.519054] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  101.519056] usb usb6: Product: xHCI Host Controller
[  101.519057] usb usb6: Manufacturer: Linux 5.15.0-58-lowlatency xhci-hcd
[  101.519058] usb usb6: SerialNumber: 0000:75:00.0
[  101.519272] hub 6-0:1.0: USB hub found
[  101.519298] hub 6-0:1.0: 2 ports detected
[  101.844701] usb 5-2: new high-speed USB device number 2 using xhci_hcd
[  101.971105] usb 5-2: New USB device found, idVendor=0451, idProduct=8142, bcdDevice= 1.00
[  101.971114] usb 5-2: New USB device strings: Mfr=0, Product=0, SerialNumber=1
[  101.971117] usb 5-2: SerialNumber: BF090851A91A
[  101.972852] hub 5-2:1.0: USB hub found
[  101.972934] hub 5-2:1.0: 4 ports detected
[  102.084906] usb 6-1: new SuperSpeed USB device number 2 using xhci_hcd
[  102.097186] usb 6-1: New USB device found, idVendor=0451, idProduct=8140, bcdDevice= 1.00
[  102.097195] usb 6-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[  102.099121] hub 6-1:1.0: USB hub found
[  102.099427] hub 6-1:1.0: 4 ports detected
[  102.251729] usb 5-2.4: new full-speed USB device number 3 using xhci_hcd
[  102.330492] usb 5-2.4: New USB device found, idVendor=043e, idProduct=9a39, bcdDevice= 2.14
[  102.330501] usb 5-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  102.330504] usb 5-2.4: Product: USB Controls
[  102.330507] usb 5-2.4: Manufacturer: LG Electronics Inc.
[  102.330508] usb 5-2.4: SerialNumber: 008NTJJKN620
[  102.346573] hid-generic 0003:043E:9A39.000A: hiddev2,hidraw8: USB HID v1.11 Device [LG Electronics Inc. USB Controls] on usb-0000:75:00.0-2.4/input0
[  102.369046] cdc_acm 5-2.4:1.1: ttyACM0: USB ACM device
[  102.369090] usbcore: registered new interface driver cdc_acm
[  102.369092] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[  104.534932] i915 0000:00:02.0: [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS.
[  107.774793] i915 0000:00:02.0: [drm] *ERROR* CPU pipe C FIFO underrun: transcoder,
[  109.137052] thunderbolt 1-701: new device found, vendor=0x1e device=0x1112
[  109.137059] thunderbolt 1-701: LG Electronics UltraWide 5K
[ 1803.350848] i915 0000:00:02.0: [drm] *ERROR* CPU pipe B FIFO underrun: transcoder,
[ 1999.473594] i915 0000:00:02.0: [drm] *ERROR* CPU pipe C FIFO underrun: transcoder,
[20933.270877] i915 0000:00:02.0: [drm] *ERROR* failed to enable link training
[20943.775565] wlp170s0: deauthenticating from 40:3f:8c:75:35:96 by local choice (Reason: 3=DEAUTH_LEAVING)
[20943.977005] PM: suspend entry (s2idle)
[20943.981022] Filesystems sync: 0.004 seconds
[20944.080602] Freezing user space processes ... (elapsed 0.001 seconds) done.
[20944.082592] OOM killer disabled.
[20944.082593] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[20944.083843] printk: Suspending console(s) (use no_console_suspend to debug)
[20944.825162] ACPI: EC: interrupt blocked
[20944.904048] ACPI: EC: interrupt unblocked
[20946.943440] r8152 2-3.4.5:1.0 enx0023a405008d: carrier on
[20947.136625] OOM killer enabled.
[20947.136629] Restarting tasks ... 
[20947.136908] pci_bus 0000:58: Allocating resources
[20947.136939] pci_bus 0000:7f: Allocating resources
[20947.144349] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[20947.144644] done.
[20947.145749] thermal thermal_zone5: failed to read out thermal zone (-61)
[20947.149309] PM: suspend exit
[20947.215368] r8152 2-3.4.5:1.0 enx0023a405008d: carrier on
[20947.447819] IPv6: ADDRCONF(NETDEV_CHANGE): enx0023a405008d: link becomes ready
[20951.096759] wlp170s0: authenticate with 40:3f:8c:75:35:97
[20951.115535] wlp170s0: send auth to 40:3f:8c:75:35:97 (try 1/3)
[20951.176750] wlp170s0: authenticated
[20951.177956] wlp170s0: associate with 40:3f:8c:75:35:97 (try 1/3)
[20951.181333] wlp170s0: RX AssocResp from 40:3f:8c:75:35:97 (capab=0x1511 status=0 aid=2)
[20951.189420] iwlwifi 0000:aa:00.0: Got NSS = 4 - trimming to 2
[20951.200021] wlp170s0: associated
[20951.232026] wlp170s0: Limiting TX power to 27 (30 - 3) dBm as advertised by 40:3f:8c:75:35:97
[20951.242693] IPv6: ADDRCONF(NETDEV_CHANGE): wlp170s0: link becomes ready
[20974.265244] wlp170s0: deauthenticating from 40:3f:8c:75:35:97 by local choice (Reason: 3=DEAUTH_LEAVING)
[20974.346927] PM: suspend entry (s2idle)
[20974.349870] Filesystems sync: 0.002 seconds
[20974.449324] Freezing user space processes ... (elapsed 0.052 seconds) done.
[20974.501496] OOM killer disabled.
[20974.501497] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[20974.502858] printk: Suspending console(s) (use no_console_suspend to debug)
[20974.968156] ACPI: EC: interrupt blocked
[20975.045804] ACPI: EC: interrupt unblocked
[20977.649303] r8152 2-3.4.5:1.0 enx0023a405008d: carrier on
[20977.897309] OOM killer enabled.
[20977.897312] Restarting tasks ... 
[20977.897428] pci_bus 0000:58: Allocating resources
[20977.900981] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[20977.903465] done.
[20977.904077] thermal thermal_zone5: failed to read out thermal zone (-61)
[20977.907907] PM: suspend exit
[20977.920853] pci_bus 0000:7f: Allocating resources
[20977.985261] r8152 2-3.4.5:1.0 enx0023a405008d: carrier on
[20978.214088] IPv6: ADDRCONF(NETDEV_CHANGE): enx0023a405008d: link becomes ready
[20981.802295] wlp170s0: authenticate with 40:3f:8c:75:35:97
[20981.809866] wlp170s0: send auth to 40:3f:8c:75:35:97 (try 1/3)
[20981.845014] wlp170s0: authenticated
[20981.845786] wlp170s0: associate with 40:3f:8c:75:35:97 (try 1/3)
[20981.848979] wlp170s0: RX AssocResp from 40:3f:8c:75:35:97 (capab=0x1511 status=0 aid=2)
[20981.857380] iwlwifi 0000:aa:00.0: Got NSS = 4 - trimming to 2
[20981.871142] wlp170s0: associated
[20981.902705] IPv6: ADDRCONF(NETDEV_CHANGE): wlp170s0: link becomes ready
[20981.946998] wlp170s0: Limiting TX power to 27 (30 - 3) dBm as advertised by 40:3f:8c:75:35:97
[20982.858335] usb 3-9: reset full-speed USB device number 4 using xhci_hcd

You may have resolved this or found a workaround but it appears to be an issue with multiple versions of Linux and compatibility with certain screens and/or docks.

[ 1803.350848] i915 0000:00:02.0: [drm] ERROR CPU pipe B FIFO underrun: transcoder,
[ 1999.473594] i915 0000:00:02.0: [drm] ERROR CPU pipe C FIFO underrun: transcoder,
[20933.270877] i915 0000:00:02.0: [drm] ERROR failed to enable link training

Those CPU pipe B/C FIFO errors are what’s causing it. There is a suggested solution in the link below but from searching for those errors it seems multiple solutions have been tried and some solutions aren’t permanent or effective for different versions of Linux or hardware.

Marking this thread as responded.

We recommend using expansion cards with direct connections over docks for connecting displays.

FWIW, when I changed my setup to not use a Thunderbolt dock at all but only a “regular” USB-C dock, the issue disappeared. I have two USB-C expansion cards on the laptop, I connect one to the new dock for all the rest of my USB devices and the other to the monitor, and the monitor resolution has been consistently stable since that change.

I still do consistently have the other issue I described earlier, where the laptop takes two tries to wake up from sleep-- this is more of an annoying delay than a functional issue, though.

This aligns with my findings. Glad to hear this is resolved.

It’s worth checking journalctl -b
to see if anything shows up when this happens.