I have a few problems after upgrading Ubuntu from 22.04 LTS to 24.04.2 LTS, but I’m trying to fix one thing at a time. Biggest issue right now is that everything works smoothly until I shut down the laptop. After that, when I start the system and type the disk encryption key, I shortly get startup messages and then the screen goes blank. I can’t even switch to virtual terminals. Once there, I need to:
Start in rescue mode.
Switch from NVIDIA Proprietary to Nouveau.
Reboot.
Switch from NVIDIA Nouveau to Proprietary.
Reboot.
My laptop is now fully functional, I can even restart normally but when I shut down, I know that next time it won’t boot any more.
I don’t do gaming, but Nouveau drivers are not an option because they don’t seem to support multiple monitors (not at least in my laptop).
My system:
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.
I think that switching between Nouveau and proprietary drivers was a red herring. The crash is simply random, so I no longer care about rescue mode, I just keep rebooting until it starts.
Mar 12 07:45:46 REDACTED-agv-2022 kernel: amdgpu 0000:05:00.0: amdgpu: RAS: optional ras ta ucode is not available
Mar 12 07:45:46 REDACTED-agv-2022 kernel: amdgpu 0000:05:00.0: amdgpu: RAP: optional rap ta ucode is not available
Mar 12 07:45:46 REDACTED-agv-2022 kernel: amdgpu 0000:05:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
Mar 12 07:45:46 REDACTED-agv-2022 kernel: amdgpu 0000:05:00.0: amdgpu: SMU is initialized successfully!
Mar 12 07:45:46 REDACTED-agv-2022 kernel: [drm] Display Core v3.2.266 initialized on DCN 2.1
Mar 12 07:45:46 REDACTED-agv-2022 kernel: [drm] DP-HDMI FRL PCON supported
Mar 12 07:45:46 REDACTED-agv-2022 kernel: [drm] DMUB hardware initialized: version=0x01010029
Mar 12 07:45:47 REDACTED-agv-2022 kernel: [drm] kiq ring mec 2 pipe 1 q 0
Mar 12 07:45:47 REDACTED-agv-2022 kernel: [drm] VCN decode and encode initialized successfully(under DPG Mode).
Mar 12 07:45:47 REDACTED-agv-2022 kernel: [drm] JPEG decode initialized successfully.
Mar 12 07:45:47 REDACTED-agv-2022 kernel: kfd kfd: amdgpu: Allocated 3969056 bytes on gart
Mar 12 07:45:47 REDACTED-agv-2022 kernel: kfd kfd: amdgpu: Total number of KFD nodes to be created: 1
Mar 12 07:45:47 REDACTED-agv-2022 kernel: amdgpu: Virtual CRAT table created for GPU
Mar 12 07:45:47 REDACTED-agv-2022 kernel: amdgpu: Topology: Add dGPU node [0x1638:0x1002]
Mar 12 07:45:47 REDACTED-agv-2022 kernel: kfd kfd: amdgpu: added device 1002:1638
Mar 12 07:45:47 REDACTED-agv-2022 kernel: amdgpu 0000:05:00.0: amdgpu: SE 1, SH per SE 1, CU per SH 8, active_cu_number 8
Mar 12 07:45:47 REDACTED-agv-2022 kernel: amdgpu 0000:05:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0
Mar 12 07:45:47 REDACTED-agv-2022 kernel: amdgpu 0000:05:00.0: amdgpu: ring gfx_low uses VM inv eng 1 on hub 0
Mar 12 07:45:47 REDACTED-agv-2022 kernel: amdgpu 0000:05:00.0: amdgpu: ring gfx_high uses VM inv eng 4 on hub 0
Mar 12 07:45:47 REDACTED-agv-2022 kernel: amdgpu 0000:05:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 5 on hub 0
Mar 12 07:45:47 REDACTED-agv-2022 kernel: amdgpu 0000:05:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 6 on hub 0
Mar 12 07:45:47 REDACTED-agv-2022 kernel: amdgpu 0000:05:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 7 on hub 0
Mar 12 07:45:47 REDACTED-agv-2022 kernel: amdgpu 0000:05:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 8 on hub 0
Mar 12 07:45:47 REDACTED-agv-2022 kernel: amdgpu 0000:05:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 9 on hub 0
Mar 12 07:45:47 REDACTED-agv-2022 kernel: amdgpu 0000:05:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 10 on hub 0
Mar 12 07:45:47 REDACTED-agv-2022 kernel: amdgpu 0000:05:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 11 on hub 0
Mar 12 07:45:47 REDACTED-agv-2022 kernel: amdgpu 0000:05:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 12 on hub 0
Mar 12 07:45:47 REDACTED-agv-2022 kernel: amdgpu 0000:05:00.0: amdgpu: ring kiq_0.2.1.0 uses VM inv eng 13 on hub 0
Mar 12 07:45:47 REDACTED-agv-2022 kernel: amdgpu 0000:05:00.0: amdgpu: ring sdma0 uses VM inv eng 0 on hub 8
Mar 12 07:45:47 REDACTED-agv-2022 kernel: amdgpu 0000:05:00.0: amdgpu: ring vcn_dec uses VM inv eng 1 on hub 8
Mar 12 07:45:47 REDACTED-agv-2022 kernel: amdgpu 0000:05:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 4 on hub 8
Mar 12 07:45:47 REDACTED-agv-2022 kernel: amdgpu 0000:05:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 5 on hub 8
Mar 12 07:45:47 REDACTED-agv-2022 kernel: amdgpu 0000:05:00.0: amdgpu: ring jpeg_dec uses VM inv eng 6 on hub 8
Mar 12 07:45:47 REDACTED-agv-2022 kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
Mar 12 07:45:47 REDACTED-agv-2022 kernel: [drm] Initialized amdgpu 3.57.0 20150101 for 0000:05:00.0 on minor 2
Mar 12 07:45:47 REDACTED-agv-2022 kernel: fbcon: amdgpudrmfb (fb0) is primary device
Mar 12 07:45:47 REDACTED-agv-2022 kernel: fbcon: Deferring console take-over
Mar 12 07:45:47 REDACTED-agv-2022 kernel: amdgpu 0000:05:00.0: [drm] fb0: amdgpudrmfb frame buffer device
Mar 12 07:45:47 REDACTED-agv-2022 systemd[1]: Starting systemd-backlight@backlight:nvidia_0.service - Load/Save Screen Backlight Brightness of backlight:nvidia_0...
Mar 12 07:45:47 REDACTED-agv-2022 kernel: nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
Mar 12 07:45:47 REDACTED-agv-2022 systemd[1]: Starting systemd-backlight@backlight:amdgpu_bl2.service - Load/Save Screen Backlight Brightness of backlight:amdgpu_bl2...
Mar 12 07:45:47 REDACTED-agv-2022 kernel: nvidia-uvm: Loaded the UVM driver, major device number 506.
Mar 12 07:45:47 REDACTED-agv-2022 systemd[1]: sysinit.target: Found ordering cycle on systemd-backlight@backlight:nvidia_0.service/start
Mar 12 07:45:47 REDACTED-agv-2022 systemd[1]: sysinit.target: Found dependency on nvidia-persistenced.service/start
Mar 12 07:45:47 REDACTED-agv-2022 systemd[1]: sysinit.target: Found dependency on basic.target/start
Mar 12 07:45:47 REDACTED-agv-2022 systemd[1]: sysinit.target: Found dependency on sockets.target/start
Mar 12 07:45:47 REDACTED-agv-2022 systemd[1]: sysinit.target: Found dependency on uuidd.socket/start
Mar 12 07:45:47 REDACTED-agv-2022 systemd[1]: sysinit.target: Found dependency on sysinit.target/start
Mar 12 07:45:47 REDACTED-agv-2022 systemd[1]: sysinit.target: Unable to break cycle starting with sysinit.target/start
Mar 12 07:45:47 REDACTED-agv-2022 systemd[1]: Requested transaction contains an unfixable cyclic ordering dependency: Resource deadlock avoided
Mar 12 07:45:47 REDACTED-agv-2022 systemd[1]: Finished systemd-backlight@backlight:amdgpu_bl2.service - Load/Save Screen Backlight Brightness of backlight:amdgpu_bl2.
Mar 12 07:45:47 REDACTED-agv-2022 systemd[1]: Finished systemd-udev-settle.service - Wait for udev To Complete Device Initialization.
Mar 12 07:45:51 REDACTED-agv-2022 systemd[1]: systemd-rfkill.service: Deactivated successfully.
Mar 12 07:46:14 REDACTED-agv-2022 systemd[1]: systemd-fsckd.service: Deactivated successfully.
I decided to try something different and change the display manager from SDDM (yes, I was using that) to GDM3. The result was that I couldn’t even load the DM properly, it would always throw a white screen with a “something went wrong” icon. This time I’m not even sure of what the error is; maybe it’s unrelated to the other errors I’ve been having.
I use GDM3 and see the login screen, after typing my credentials, the screen goes black, second monitor loses signal and I get the kernel OOPS described above.