AMD Thinkpad L14 Gen 3 Ryzen 7 PRO 5875U

Qubes release 4.1.1 (R4.1)

Brand: LENOVO
Model: 21C5CTO1WW
BIOS: R1YET39W (1.16 )

Xen: 4.14.5
Kernel: 6.1.5-1

RAM: 64302 Mb

CPU:
AMD Ryzen 7 PRO 5875U with Radeon Graphics
Chipset:
Advanced Micro Devices, Inc. [AMD] Renoir Root Complex [1022:1630]
VGA:
Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:15e7] (rev d1) (prog-if 00 [VGA controller])

Net:
Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0e)
MEDIATEK Corp. Device 0616

SCSI:

HVM: Active
I/O MMU: Active
HAP/SLAT: Yes
TPM: Device not found
Remapping: yes

Had to do some troubleshooting, but it is an awesome laptop and really fast with Qubes compared to my old one. Despite the lack of GUI acceleration, I can even play Youtube videos in 4K smoothly (old machine could not even do 720P smoothly.). I increased RAM to the max of 64 GB.

Installed R4.1.1 stable. For the installer to work I had to add: dom0_max_vcpus=1 dom0_vcpu_pin
Installation then completed without issues. When installation was done I also needed to add nomodeset to kernel parameters. Due Dom0 being limited to 1 vCPU, it is a little slow.
Then I updated Dom0 and rebooted. Now it is able to boot without commandline parameters and there is graphical boot, but it is very slow.

After that, I applied clocksource=tsc tsc=unstable hpetbroadcast=0 and performance is very smooth.
(Apparently clocksource=tsc is default now and no longer necessary.)
I did not try this from the beginning, so maybe it can already be used during installation instead of the other commandline parameters.

Ethernet:
Works out of the box

WiFi:
AMD RZ616(Apparently a rebranded MediaTek MT7922).
Works after upgrading to kernel-latest(currently 6.0.12-1) and setting that as the kernel for sys-net.

Keyboard special function keys are working:
Mute speakers, increase volume, decrease volme, mute mic, decrease brightness, increase brightness, external display button.

Trackpoint and touchpad:
Working

Suspend:
Working now.
Was not working at all with default Bios setting (Windows + Linux). After setting it to Linux S3, it wakes up from suspend but screen stays black. After upgrading to kernel-latest, mouse cursor appears but still unable to login. I read on github that Xen 4.14.5-15(currently in current-testing) fixed suspend on at least one AMD model as a side effect of another fix. I enabled current-testing repo(which also updated kernel-latest to 6.1.5-1). I can confirm that these updates indeed fix suspend :smiley:

sys-usb:
Working

HDMI out:
Working

Display out over USB-C:
Working (with usb-controllers assigned to sys-usb)
Note that this was tested with a USB-C to HDMI adapter, my external display does not support USB-C input.
(Display over USB-C to USB-C may also be undesirable due to increased attack surface).

Built-in camera and microphone:
Working.
Camera is assigned to sys-usb by default, so you need to assign it to the correct VM. Once sys-usb memory is increased to 1024 MB, it works fine.

Built-in audio:
Working

Fans:
Very little noise. There is a noticable spin-up noise though, but it is not loud enough to be annoying. Fans never reach high speed so far (note that this is probably due to lack of Turbo boost, see minor issues.)

Windows VM with QWT imported from Qubes on old laptop:
Working

AMD TSME (Transparent SME) Memory Encryption enabled it BIOS does not cause any issues.

Minor issues:

  • CPU frequency is stuck at the default 2000 MHz, but this is apparently the case for all recent Intel and AMD CPU’s. But even without turbo boost, performance is fast and 4K youtube videos play smooth, so not a big deal.
  • The WiFi pci is delaying startup, but other than that works fine. Still investigating:
    WiFi PCI issues on Thinkpad L14 AMD Gen 3

I’m hoping this laptop may end up in the community recommended list in the future. A laptop with 8 core CPU and a max of 64 GB RAM without mayor issues would be great there.
Suspend was fixed by a newer Xen package and WiFi by a newer kernel, so those will work out of the box once a new ISO is released with those versions.
Afaik the remaining blocking issues to end up on the recommended list will then be:

  • Sleep mode needs to be set to Linux S3 in bios. (Is that a blocker for the recommended list?)
  • Installer/booting does not work without commandline parameters. However a future Qubes ISO may set those by default or maybe it will be unnecessary in a future Qubes version (4.2?) to due better hardware support.
    A bios update might fix this as well: Lenovo also fixed the need for TSC related parameters in other Thinkpad models (Ryzen 4000 CPU Performance Issues (Lockups) · Issue #6055 · QubesOS/qubes-issues · GitHub)

Qubes-HCL-LENOVO-21C5CTO1WW-20230114-152748.yml (851 Bytes)

3 Likes

Thanks for the report. Which laptop were you previously using?

Hi, could you please suspend more times before doing a reboot, for example, 20 times, to see if suspend and resume is actually working flawlessly? My laptop will eventually fail to resume, if I suspend it for enough times. Thanks.

I forgot to add that built-in audio, trackpoint and touchpad, Windows VM are all working fine as well.

An Elitebook with i5 2520M and 16GB ram. So it is also a huge upgrade, but the performance difference with Qubes is also huge.

I have tried suspend 20 times, works everytime and automatically reconnects WiFi as well. Now using it after the 20th time, everything seems to be working fine.

1 Like

Thank you for doing that! I’ll find out what is preventing my laptop from being stable.

1 Like

Did you notice a significant decrease in boot time from pressing the power button to getting to the luks decryption password screen? I’m considering upgrading since it takes a long time for my laptop to get to the luks decryption password screen.

I think this might be your issue.

My old machine was about 15 seconds from Grub to Luks password screen, my new one just a few seconds with WiFi disabled in bios. But with it enabled, quite a bit longer due to PCI issues, see the thread linked by @enmus.
When Grub appears, you can press ‘E’ to edit the boot command, you can then remove quiet from the kernel parameters and press CTRL+X to boot. Then you can check for strange messages or other things delaying boot.

Thank you @Scumbag for your HCL report, which is online now!

Sorry for the delay!

1 Like