AMD Thinkpad L14 Gen 3 Ryzen 7 PRO 5875U

Qubes release 4.1.1 (R4.1)

Model: 21C5CTO1WW
BIOS: R1YET39W (1.16 )

Xen: 4.14.5
Kernel: 6.1.5-1

RAM: 64302 Mb

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

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


HVM: Active
I/O MMU: Active
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.

Works out of the box

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 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:


HDMI out:

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:
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:

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:

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

Minor issues:

  • C̶P̶U̶ f̶r̶e̶q̶u̶e̶n̶c̶y̶ i̶s̶ s̶t̶u̶c̶k̶ a̶t̶ t̶h̶e̶ d̶e̶f̶a̶u̶l̶t̶ 2̶0̶0̶0̶ M̶H̶z̶, b̶u̶t̶ t̶h̶i̶s̶ i̶s̶ a̶p̶p̶a̶r̶e̶n̶t̶l̶y̶ t̶h̶e̶ c̶a̶s̶e̶ f̶o̶r̶ a̶l̶l̶ r̶e̶c̶e̶n̶t̶ I̶n̶t̶e̶l̶ a̶n̶d̶ A̶M̶D̶ C̶P̶U̶’s̶. B̶u̶t̶ e̶v̶e̶n̶ w̶i̶t̶h̶o̶u̶t̶ t̶u̶r̶b̶o̶ b̶o̶o̶s̶t̶, p̶e̶r̶f̶o̶r̶m̶a̶n̶c̶e̶ i̶s̶ f̶a̶s̶t̶ a̶n̶d̶ 4̶K̶ y̶o̶u̶t̶u̶b̶e̶ v̶i̶d̶e̶o̶s̶ p̶l̶a̶y̶ s̶m̶o̶o̶t̶h̶, s̶o̶ n̶o̶t̶ a̶ b̶i̶g̶ d̶e̶a̶l̶. Apparently turboboost does work, but CPU frequency does not go lower than 1600MHz during idle: AMD CPU Frequency Scaling Broken · Issue #8008 · QubesOS/qubes-issues · GitHub
  • The WiFi pci is delaying startup, but other than that works fine. Still investigating:
    WiFi PCI issues on Thinkpad L14 AMD Gen 3
    I switched to an Intel AX200 which does not have that issue. Still hoping for a fix for the original WiFi card though.

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)


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

Updated post to reflect turboboost is actually working and that Intel AX200 does not suffer from the PCI issue.

Thanks Sven!
Is the fact that it is necessary to set the Sleep mode in BIOS to ‘Linux S3’ a blocking issue to end up on the Community Recommended computers list?

Interesting question. I don’t think it should. It’s not a workaround but a configuration, which we could easily call out in the comments. What is a blocking issue is that we have only one HCL report for this machine. We would need one more community member with an identical machine to confirm that all other criteria are met.

1 Like

4 posts were split to a new topic: Freeze during installation AMD Thinkpad L14 Gen 3