Lenovo ThinkPad P50

From ArchWiki

Tango-edit-clear.pngThis article or section does not follow the Laptop page guidelines.Tango-edit-clear.png

Reason: Needs a hardware table with more entries and a function keys section. (Discuss in Talk:Lenovo ThinkPad P50)
Hardware PCI/USB ID Working?
Webcam 04f2:b52c Yes
Fingerprint reader 138a:0090 Yes
Smart card reader 058f:9540 Untested
Color sensor 0765:5010 Untested

The Lenovo P50 is a quad core Intel Skylake Laptop.

Configuration

External video

External video using the Mini DisplayPort seems to work most reliably when the BIOS is configured to use only the discrete graphics card. To use Xorg with this configuration, install nvidia and create a /etc/X11/xorg.conf.d/20-nvidia.conf file with the following contents:

   Section "Device"
       Identifier "Device0"
       Driver "nvidia"
       VendorName "NVIDIA Corporation"
       Option "NoLogo" "true"
   EndSection

Troubleshooting

Sluggish graphics performance with HD Graphics 530 (Skylake GT2)

When running on a 4K monitor using only the embedded Intel graphics, graphics performance may feel sluggish. This is true for both the built-in monitor (if yours is equipped with a 4K monitor), or an external 4K monitor. This might be improved in the UEFI BIOS by increasing the amount of RAM the Intel graphics adapter should take from the DRAM from 256MB to the maximum 512MB. If battery life is not of primary concern, enabling the Nvidia GPU provides a much smoother experience.

High CPU chromium bug

Chromium takes too long to even display the "new tab" page with the small previews and uses 100% CPU on all cores for several seconds if 5-6 new tabs get open simultaneously when using the Intel Graphics. This might be due to some hardware acceleration bug maybe related to: Intel graphics#Corruption or unresponsiveness in Chromium and Firefox but has not been tested yet. But it is simply enough to deactivate hardware acceleration in the chromium settings GUI. Another workaround that seems to work with keeping hardware acceleration enabled is activating the flag

--ignore-gpu-blacklist

by creating the file ".config/chromium-flag" and adding the flag.

High fan speed on low CPU load

Even with just low CPU load and only a browser open the fan keeps to switch on and speed up to full power. This behaviour can be at least reduced a bit by only using Intel Graphics and completely powering down the NVIDIA optimus card that uses the same cooling system Power down discrete GPU. This seems due to a low temperature trigger value for the nvidia chip fan.

Mouse cursor disappears after screen unlocks

This is a known bug with light-locker and the Intel graphics driver. To work around it, switch to a console (Ctrl-Alt-F1) and back to X (Alt-F7). For more information, see

Touchpad active even if disabled in BIOS

The touchpad may be enabled in Linux even if it is disabled in the BIOS. To disable it, run

$ xinput set-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 0

in an appropriate startup file (e.g., ~/.xprofile). To check the device name to use, run

$ xinput list

Prevent tap clicking while typing

The touchpad is very sensitive so it often happens that while typing the cursor is moved from unwanted clicks. Best solution is to deactivate tap click for the touchpad and use the hardware buttons.

This can be done either in the settings of your graphical desktop environment (Gnome3 works after installing libinput drivers) or directly from the shell temporarily with:

$ synclient TapButton1=0

This change can be made permanent by changing the Xorg configuration.

Video compression artifacts in VLC

When running on the Nvidia dGPU, if you see compression artifacts when playing videos in VLC, go to Tools -> Preferences -> Input / Codecs and set "Hardware-accelerated decoding" to "Disable".

Fingerprint reader

See Lenovo ThinkPad T460p#Fingerprint reader; the P50 and T460p share the same fingerprint reader.

Headsets not working with pulseaudio

Try to boot with headsets plugged in. Pulseaudio is innocent.

Wifi failing to come up (Intel 8260)

On a clean install with kernel 4.8.10 I was unable to bring up the wireless interface. It showed up in 'ip link' and 'iw dev' and was clear of blocks (confirmed via 'rfkill list'). Step 1 is to make sure that it is not soft blocked with rfkill via the 'rfkill list' command. If it is blocked you can use the "F8" wifi toggle key to ensure that it is not been disabled via that switch.

More importantly: I was unable to get it working intially. I eventually started downgrading the available firmware for this unit by simply moving specific iwlwifi firmware out of /lib/firmware until I identified the working firmware packages.

At the time of this note, the available iwlwifi-8000C-XX.ucode files include version 13, 16, 21 and 22. 22 seems to be the culprit here. 21 and 16 both worked for me. I left all files in place and moved firmware v. 22 to /root/lib/firmware for safe keeping. A reboot (or modprobe -r iwlwifi / modprobe iwlwifi) and the card was working.

External monitor cannot be detected on Hybrid Graphics in X11

This guide works, if you want to use nvidia driver. If you are using nouveau driver look at this thread. Wayland-based compositors such as Sway do not appear to exhibit this problem, and work well using either nouveau (Nvidia) or embedded Intel graphics.