Ubuntu Version:
24.04.2 LTS
Problem Description:
I have a few problems after upgrading from 22.04 LTS, but I’m trying to fix one thing at a time. I’ve noticed that my laptop can now take minutes to boot, counting from typing disk encryption key to getting X11 login screen.
Relevant System Information:
- Lenovo ThinkBook 16p G2 ACH.
- Hybrid graphics (AMD APU and NVIDIA GeForce RTX 3060).
- UEFI and encrypted LVM2.
- Connected to 2 external monitors. Main monitor connects via USB-C to DP cable and has a KVM switch and USB hub, second monitor is connected to first one via MultiStream Transport (MST) and HDMI.
Lenovo does not support Linux in this model and many things (namely power management features) have never worked. That should be fine.
Screenshots or Error Messages:
I’ve noticed these time gaps in dmesg
output (if I try to upload entire file, forum software freezes).
[ 2.119080] hid-generic 0003:048D:C916.0003: input,hiddev1,hidraw2: USB HID v1.10 Keyboard [ITE Tech. Inc. ITE Device(8296)] on usb-0000:05:00.4-4/input0
[ 2.119122] usbcore: registered new interface driver usbhid
[ 2.119124] usbhid: USB HID core driver
[ 15.230635] PM: Image not found (code -22)
[ 15.288591] EXT4-fs (dm-1): mounted filesystem 9f385473-a091-4de5-89ef-7090ae56b495 ro with ordered data mode. Quota mode: none.
[ 15.432574] systemd[1]: Inserted module 'autofs4'
[ 19.356718] amdgpu 0000:05:00.0: [drm] fb0: amdgpudrmfb frame buffer device
[ 19.371250] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[ 19.402305] nvidia-uvm: Loaded the UVM driver, major device number 506.
[ 110.869127] [drm] DSC precompute is not needed.
[ 112.128754] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 112.128759] Bluetooth: BNEP filters: protocol multicast
[ 118.484833] Bluetooth: RFCOMM TTY layer initialized
[ 118.484848] Bluetooth: RFCOMM socket layer initialized
[ 118.484858] Bluetooth: RFCOMM ver 1.11
[ 141.283672] systemd-journald[623]: /var/log/journal/fc4aeb2f753e4318a094d1a8bc6e45d6/user-1001.journal: Journal file uses a different sequence number ID, rotating.
[ 141.480979] audit: type=1400 audit(1740553099.582:182): apparmor="AUDIT" operation="userns_create" class="namespace" info="Userns create - transitioning profile" profile="unconfined" pid=4297 comm="(onedrive)" requested="userns_create" target="unprivileged_userns"
[ 141.481389] audit: type=1400 audit(1740553099.582:183): apparmor="DENIED" operation="capable" class="cap" profile="unprivileged_userns" pid=4297 comm="(onedrive)" capability
[ 147.267450] kauditd_printk_skb: 42 callbacks suppressed
[ 147.267456] audit: type=1107 audit(1740553105.369:234): pid=1560 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/timedate1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.116" pid=4866 label="snap.firefox.firefox" peer_pid=5668 peer_label="unconfined"
exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
[ 147.283584] audit: type=1107 audit(1740553105.385:235): pid=1560 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/timedate1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.116" pid=4866 label="snap.firefox.firefox" peer_pid=5668 peer_label="unconfined"
exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
[ 369.890541] usb 2-2: new SuperSpeed USB device number 2 using xhci_hcd
[ 369.909153] usb 2-2: New USB device found, idVendor=05e3, idProduct=0620, bcdDevice=93.03
[ 369.909168] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 371.707588] hid-generic 0003:1532:00A3.000A: input,hidraw9: USB HID v1.11 Keyboard [Razer Razer Cobra] on usb-0000:05:00.3-2.4/input1
[ 371.712195] input: Razer Razer Cobra as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-2/1-2.4/1-2.4:1.2/0003:1532:00A3.000B/input/input31
[ 371.781746] hid-generic 0003:1532:00A3.000B: input,hidraw10: USB HID v1.11 Keyboard [Razer Razer Cobra] on usb-0000:05:00.3-2.4/input2
[ 414.067976] audit: type=1107 audit(1740553372.169:236): pid=1560 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/timedate1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.164" pid=4866 label="snap.firefox.firefox" peer_pid=9720 peer_label="unconfined"
exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
[ 417.666198] loop32: detected capacity change from 0 to 113384
What I’ve Tried:
Nothing yet.
Is there something obvious in my log?