Thinkpad X13 Gen 2 (AMD)

Table of Contents

I bought a Thinkpad to replace my Thinkpad. While I had originally intended to replace it with an MNT Reform, this is what I've ended up with. Here's some technical information Linux can provide on it.

1. Minor version differences

  • The AMD second-generation model has a removable M.2 wifi card. This is useful because the one it comes with (Realtek) is crap on Linux.
  • The Intel second and third generation models have soldered Intel wifi cards. Which is great on Linux, and the best option you could have for a soldered card.
  • The third-generation AMD model has a soldered Realtek card. Which is the worst of both worlds.
  • All generations have an odd (proprietary) port for a (dumb) Ethernet adaptor. The second-gen AMD model has an onboard Realtek ethernet controller driven by the r8169 module, which is perhaps better than depending on USB C? I don't really understand why they did this, and it's Realtek, so I doubt it.

2. cpuinfo

processor   : 11
vendor_id   : AuthenticAMD
cpu family  : 25
model       : 80
model name  : AMD Ryzen 5 PRO 5650U with Radeon Graphics
stepping    : 0
microcode   : 0xa50000c
cpu MHz     : 400.000
cache size  : 512 KB
physical id : 0
siblings    : 12
core id     : 5
cpu cores   : 6
apicid      : 11
initial apicid  : 11
fpu     : yes
fpu_exception   : yes
cpuid level : 16
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca fsrm
bugs        : sysret_ss_attrs spectre_v1 spectre_v2 spec_store_bypass
bogomips    : 4591.47
TLB size    : 2560 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate cpb eff_freq_ro [13] [14]

3. dmidecode (memory, soldered)

Handle 0x0008, DMI type 17, 92 bytes
Memory Device
    Array Handle: 0x0001
    Error Information Handle: 0x0007
    Total Width: 32 bits
    Data Width: 32 bits
    Size: 8 GB
    Form Factor: Other
    Set: None
    Locator: DIMM 0
    Bank Locator: P0 CHANNEL A
    Type: LPDDR4
    Type Detail: Synchronous Unbuffered (Unregistered)
    Speed: 4266 MT/s
    Manufacturer: Hynix
    Serial Number: 00000000
    Asset Tag: Not Specified
    Part Number: H9HCNNNCPMMLXR-NEE
    Rank: Unknown
    Configured Memory Speed: 4266 MT/s
    Minimum Voltage: 0.6 V
    Maximum Voltage: 0.6 V
    Configured Voltage: Unknown
    Memory Technology: DRAM
    Memory Operating Mode Capability: Volatile memory
    Firmware Version: Unknown
    Module Manufacturer ID: Bank 1, Hex 0xAD
    Module Product ID: Unknown
    Memory Subsystem Controller Manufacturer ID: Unknown
    Memory Subsystem Controller Product ID: Unknown
    Non-Volatile Size: None
    Volatile Size: 8 GB
    Cache Size: None
    Logical Size: None

Handle 0x000B, DMI type 17, 92 bytes
Memory Device
    Array Handle: 0x0001
    Error Information Handle: 0x000A
    Total Width: 32 bits
    Data Width: 32 bits
    Size: 8 GB
    Form Factor: Other
    Set: None
    Locator: DIMM 0
    Bank Locator: P0 CHANNEL B
    Type: LPDDR4
    Type Detail: Synchronous Unbuffered (Unregistered)
    Speed: 4266 MT/s
    Manufacturer: Hynix
    Serial Number: 00000000
    Asset Tag: Not Specified
    Part Number: H9HCNNNCPMMLXR-NEE
    Rank: Unknown
    Configured Memory Speed: 4266 MT/s
    Minimum Voltage: 0.6 V
    Maximum Voltage: 0.6 V
    Configured Voltage: Unknown
    Memory Technology: DRAM
    Memory Operating Mode Capability: Volatile memory
    Firmware Version: Unknown
    Module Manufacturer ID: Bank 1, Hex 0xAD
    Module Product ID: Unknown
    Memory Subsystem Controller Manufacturer ID: Unknown
    Memory Subsystem Controller Product ID: Unknown
    Non-Volatile Size: None
    Volatile Size: 8 GB
    Cache Size: None
    Logical Size: None

4. GPU Information

  • Configurable memory allocation up to 8GB
  • ROCm not supported, sadly.
  • Wayland has no issues I've experienced on Fedora 37.
  • Renior (Vega micro-architecture)
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: RENOIR (renoir, LLVM 15.0.0, DRM 3.48, 6.0.8-300.fc37.x86_64) (0x1638)
    Version: 22.2.3
    Accelerated: yes
    Video memory: 4096MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 3269 MB, largest block: 3269 MB
    VBO free aux. memory - total: 5785 MB, largest block: 5785 MB
    Texture free memory - total: 3269 MB, largest block: 3269 MB
    Texture free aux. memory - total: 5785 MB, largest block: 5785 MB
    Renderbuffer free memory - total: 3269 MB, largest block: 3269 MB
    Renderbuffer free aux. memory - total: 5785 MB, largest block: 5785 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 4096 MB
    Total available memory: 9987 MB
    Currently available dedicated video memory: 3269 MB
OpenGL vendor string: AMD
OpenGL renderer string: RENOIR (renoir, LLVM 15.0.0, DRM 3.48, 6.0.8-300.fc37.x86_64)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.2.3
OpenGL core profile shading language version string: 4.60

5. Firmware

  • Supported by the Linux Vendor Firmware Service (LVFS).
  • Updates with fwupd work.
  • Updates through gnome-software work.
  • Lap-detection works for power-modes (no 'performance' mode on your lap).
  • Keyboard backlight combo (fn+spc) and function keys work.
  • Combo Power+Fingerprint sensor works with PAM, no issues adding fingerprints in GNOME.

Date: 2022-11-20 Sun 12:00

Author: Patrick

Emacs 30.2 (Org mode 9.7.11)

Validate