Lenovo ThinkPad X1 Extreme (Gen 5)

From ArchWiki

This article or section does not follow the Laptop page guidelines.

Reason: Needs an Accessibility and Function keys section. (Discuss in Talk:Lenovo ThinkPad X1 Extreme (Gen 5))
Hardware PCI/USB ID Working?
Touchpad 04f3:320d Yes
GPU (Intel) 8086:46a6 Yes
GPU (NVIDIA) 10de:25a0 Yes
Webcam 04f2:b74f Yes
Bluetooth 8087:0033 Yes
SD-card reader 10ec:5261 Yes
Audio 8086:51c8 Yes
Wireless 8086:51f0 Yes
Fingerprint reader 27c6:6594 Yes

To ensure you have this version, install the package dmidecode and run:

# dmidecode -s system-version
ThinkPad X1 Extreme Gen 5

Audio

This laptop requires ALSA firmware (i.e. the sof-firmware package needs to be installed) in order for the soundcard to work.

Sound issues

As of 2023-10-01, SOF driver is working incorrectly, and potentially might even cause hardware damage.

Possible solutions until fix is pushed into kernel:

  • Revert to legacy driver. This will disable built-in mic, but otherwise seems to work. Add options snd-intel-dspcfg dsp_driver=1 parameter to modprobe and reboot laptop.
  • Apply patch to kernel.

Fingerprint Sensor

Works fine, the packages fprintd and libfprint are required.

Suspend

Often, suspending the laptop won't work at all, or the fans might keep spinning. Here are fixes that seem to work so far:

Under System Firmware >0.1.12, and with a Linux Kernel >6.1, the problem seems fixed by using the sleep state Windows and Linux (Config > Power > Sleep state, and set to Windows and Linux), and disabling Tile in the UEFI settings (Security > I/O > Tile). The Thunderbolt 4 ports can be used without issue.

If you run an older kernel and/or firmware, you need to disable the Thunderbolt 4 in BIOS in order to get suspend work, go to the BIOS under Security > I/O Port Access and disable the Thunderbolt 4 also go to Config > Power > Sleep state, and set to Linux S3.

Also some thread about this issue on Lenovo forums.

Note: Under System Firmware 0.1.8 The sleep state Windows and Linux does not seem to be fully effective. For instance, if you close the lid of the laptop while the fans are running the fans will continue to run even though the CPU suspends.
Note: Under System Firmware 0.1.12 and System Firmware 0.1.14, with the sleep state Windows and Linux, it can take a while for the fans to turn off, though they seem to, eventually.

Video

Generally work fine with PRIME GPU offloading, however seems the external displays through display port only are detected under X11.

KMS

If you use the closed source NVIDIA driver, see NVIDIA#Early loading.

Firmware

BIOS and firmware updates are available via fwupd, the Lenovo Vantage application on Windows, or from Lenovo's website.

The latest BIOS version is highly recommended. All information on this page should assume the latest BIOS unless explicitly stated otherwise.

Check BIOS version

From Lenovo's firmware readme, to check the system's installed BIOS version:

DETERMINING WHICH VERSION IS INSTALLED

 [Checking on ThinkPad Setup]

  1. Turn on the computer.
  2. While the "To interrupt normal startup, press Enter" message is displayed
     at the lower-left area or lower-center of the screen, press the F1 key.
     The ThinkPad Setup menu will be displayed. If a password prompt appears,
     type the correct password.
  3. Locate the UEFI BIOS Version line.
     "UEFI BIOS version (BIOS ID)" will be shown on the UEFI BIOS Version line.
  4. Turn off the computer.

Alternatively, use fwupdmgr from fwupd without rebooting:

$ fwupdmgr get-devices
...
├─System Firmware:
│     Current version:     0.1.8
...

Flashing BIOS

Updating

Download the zip file labelled "BIOS Update Utility (Linux)" from Lenovo's support website or fwupd.org directly. Extract the zip file, then use fwupd to update the firmware:

 $ su
 # fwupdmgr install <filename>.cab

Then reboot immediately to finish the upgrade.

Reverting to previous versions

To downgrade your bios, you can use the --allow-older flag with fwupd.

Note: Be sure to read the release notes for the BIOS updates as many updates do not offer the ability to revert back to prior versions