Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Lenovo ThinkPad P51

Hardware & Software support discovery

refuge.coop
GPC.solutions SAS
EMA Tech.

Hardware features

Matrix

DeviceModelSpecsStatusModules
CPUIntel Xeon E3-1535M v63.1 GHz / 4.2 GHz 4 cores / 8 threads 8 MB SmartCacheWorkingN.A.
Imaging Unit/Gaussian Mixture Model (GMM)In CPU??
ECC memorySamsung M474A2K43BB1-CRC260pin SODIMM DDR 4 2400MHz 16 GB (× 4 - 64 GB total)WorkingN.A.
ScreenBOE NV156FHM-N4215.6" 16:9 1920×1080 IPS LEDWorkingN.A.
Backlight controlWorkingN.A.
GPU (Intel)Intel HD Graphics P630 (CPU integrated)350 MHz / 1.10 GHz 1.7 GB DirectX 12 OpenGL 4.4 OpenCL 2.0Workingi915
GPU (nVidia)GM206GLM [Quadro M2200 Mobile]1024 CUDA cores 4 GB GDDR5 128-bit 55W OpenGL 4.5 DirectX 12 (Hardware Feature Level 12_1) Shader Model 5.0 DisplayPort 1.2 FP32 precisionWorkingnvidia
HDMI1.4bWorkingnvhda (audio)
Mini DisplayPort1.2aWorkingthunderbolt
Thunderbolt 3 / USB 3.1Working?
LANIntel I219-LM1 GbsWorkinge1000e
WLAN (Wi-Fi)Intel Wireless 8265802.11ac M.2Workingiwlwifi
WWANQualcomm Snapdragon X7 LTE-A (Sierra Wireless EM7455)4G LTE-A M.2Workingcdc_mbim
GPSIn WWAN deviceGNSS (GPS, GLONASS, Beidou, Galileo)TBD
BluetoothIntel Wireless 82654.2 (Maybe software limited to 4.1?)Workingbtusb
AudioIntel (Realtek ALC3268 codec)Workingsnd_hda_intel
NVMe (M.2 SSD)Samsung NVMe SSD Controller SM961/PM9611 TB (× 2)Working (Needs accessories)
SATA (HDD)Western Digital WDC WD10SPCX-60K1 TB 2.5" wide 7mm highWorking (Needs accessories)
KeyboardChiconyWorkingatkbd
Function/Multimedia keysWorkingN.A.
TrackPointChiconyWorkingpsmouse
TouchpadSynapticsMylar surfaceWorkingpsmouse
TouchscreenWacomCapacitive multi-touch 10-fingersWorkingwacom
Active PenWacomWorkingwacom
WebcamSunplusIT controller?720p (1280×720) Fixed focusWorkinguvcvideo
Media cardMMC, SD, SDHC, SDXC UHS-IIWorking
Express CardRealtek RTS525A/34Workingrtsx_pci
Smartcard ReaderAlcor Micro AU9540Working
USB 3.0Working
Power managementWorkingthinkpad_acpi
TPM2.0Not Working (No TPM 2.0 toolchain on GNU/Linux just yet. See James Bottomley’s blog post)tpm
Fingerprint readerValidity Sensors, Inc.Partially Workinglibfprint fork (See below)
Color calibratorX-Rite Pantone Color SensorNot Working
UEFI flashNot Working
Suspend to RAM (Standby)Working
Suspend to disk (Hibernate)Working
Battery96 WhWorking

GPUs

Display management scripts and configuration repository available on GitHub

Optimus / Prime

/etc/modprobe.d/nvidia_drm.conf

options nvidia_drm modeset=1

/boot/refind_linux.conf

# drm.rnodes=1 Render nodes for multiple GPU and displays (PRIME)
# intel_iommu=1 Enable hardware virtualization
"Boot with standard options"  "rw root=UUID=b549d30f-939e-4d74-b39d-676856e9faca drm.rnodes=1 intel_iommu=1 quiet initrd=/intel-ucode.img initrd=/initramfs-linux.img"

Energy saving

/etc/modprobe.d/i915.conf

options i915 modeset=1
options i915 semaphores=1
options i915 enable_rc6=4
options i915 enable_dc=2
options i915 enable_fbc=1

HDMI audio

Build, install and enable the nvhda module from this bug report

Touchscreen

~/.xinitrc

# Touchscreen
xinput --float Wacom\ Co.,Ltd.\ Pen\ and\ multitouch\ sensor\ Finger\ touch
xinput --float Wacom\ Co.,Ltd.\ Pen\ and\ multitouch\ sensor\ Pen\ stylus
xinput --float Wacom\ Co.,Ltd.\ Pen\ and\ multitouch\ sensor\ Pen\ eraser
        
# Map touchscreen and pen to laptop screen only
xinput map-to-output Wacom\ Co.,Ltd.\ Pen\ and\ multitouch\ sensor\ Finger\ touch eDP-1-1
xinput map-to-output Wacom\ Co.,Ltd.\ Pen\ and\ multitouch\ sensor\ Pen\ stylus eDP-1-1
xinput map-to-output Wacom\ Co.,Ltd.\ Pen\ and\ multitouch\ sensor\ Pen\ eraser eDP-1-1

Dock

Sound I/O not working.

Fans

/etc/modprobe.d/thinkpad_acpi.conf

options thinkpad_acpi fan_control=1

ThinkFan

/etc/thinkfan.conf

sensors:
  - hwmon: /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_input  # CPU Package
  - hwmon: /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_input  # CPU Core 0
  - hwmon: /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_input  # CPU Core 1
  - hwmon: /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_input  # CPU Core 2
  - hwmon: /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_input  # CPU Core 3
  - hwmon: /sys/devices/virtual/hwmon/hwmon2/temp1_input  # pch_skylake
  - hwmon: /sys/devices/virtual/hwmon/hwmon3/temp1_input  # acpitz (ACPI CPU)
#  - hwmon: /sys/devices/virtual/hwmon/hwmon4/temp1_input  # iwlwifi
  - nvidia: 01:00.0  # nVidia GPU
  - atasmart: /dev/sda  # HDD
    correction: [10]

fans:
  - tpacpi: /proc/acpi/ibm/fan

levels:
  - [0, 0,  40]
  - [1, 32, 55]
  - [2, 54, 66]
  - [3, 65, 76]
  - [4, 75, 80]
  - [5, 78, 85]
  - [6, 82, 88]
  - [7, 85, 32767]

Fingerprint reader

Not supported by fprint.

Install

Partitions

ESP: FAT32 1024 MiB (550 minimum Source)
BTRFS 931,51 GiB (To match the backup HDD size)
SWAP 21,36 GiB

RAID1 BTRFS SSDs
ESP backup on second disk
Second swap

Directories and subvolumes

toplevel
 +-- root subvolume (set-default) /
     +-- home directory
         +-- raph subvolume
  \-- snapshots directory
      +-- root directory
          +-- YYYY-MM-DDThh:mm:ss+02:00 (`date -Iseconds`) snapshot directory
          +-- …
      +-- raph directory
          +-- YYYY-MM-DDThh:mm:ss+02:00 (`date -Iseconds`) snapshot directory
          +-- …

Firmware bugs?

Workstation dock long USB detection

Using the workstation dock, boot time is painfully slow as the EFI scans USB peripherals.
Unfortunately, removing USB devices from the dock doesn’t improve performance.

Disk lock and fingerprint

When using the fingerprint scanner on boot with disk lock enabled, the first disk sometimes does not unlock.

Benchmarks

Geekbench

CPU

Linux
Microsoft Windows 10

GPU compute

Linux nVidia Quadro M2200 OpenCL
Microsoft Windows 10 Intel HD Graphics P630
Microsoft Windows 10 nVidia Quadro M2200

Luxmark

CPU+GPU
GPU

gtkperf

Launched from CLI
Fullscreen window 1920x1080
5 consecutive runs

Intel modesetting

3.62-3.74

Intel

2.72-2.80

nVidia

Single laptop screen

2.70-2.74

4 screens setup with Workstation Dock

screen 1 (DP-1): 4.11-4.67
screen 2 (DP-2 rotated 90° right): 4.80-5.41
screen 3 (DP-3): 4.91-5.69
screen 4 (eDP-1-1): 4.52-5.27