Lenovo ThinkPad P52

The Lenovo P52 is a quad or hex core Intel 8th generation Laptop.

HardwarePCI/USB IDWorking?
GPU (Intel)Yes
GPU (Nvidia)Yes
WirelessYes
Bluetooth8087:0aaaYes
Audio10de:0fb9Yes
TouchpadYes
Webcam5986:2113Yes
Card reader10ec:525aYes
Fingerprint reader06cb:009aNo

Installation

Warning: There are some possible "BIOS BRICKING" settings. The settings are not directly related to installing Arch, but most Arch users will make configuration changes in the same areas where these settings can be modified.

Make sure to update your BIOS to V1.17 or later (current is v1.24 as of March 2019). Earlier versions of the BIOS may become inoperable if you select certain settings:

  1. Hybrid vs discrete graphics - https://forums.lenovo.com/t5/ThinkPad-P-and-W-Series-Mobile/P52-won-t-start-after-change-to-only-discrete-graphic-card/m-p/4265065
  2. Thunderbolt 3 Support - https://forums.lenovo.com/t5/ThinkPad-P-and-W-Series-Mobile/Lenovo-P52-bricked-by-selecting-BIOS-thunderbolt-support-for/td-p/4207538?page=12
Note: You can update the BIOS using the bootable (CD) update option from Lenovo, or just update the BIOS using the pre-packaged Windows installation and software and then continue with Arch installation once the BIOS is updated.

Graphics

This laptop has its external display ports directly wired to the NVIDIA chip. In loose terms this means that the dedicated GPU must be enabled in order for external displays to be used. Luckily, it is possible to do dynamic switching between the integrated and dedicated graphics, but this is only possible by using the Intel DDX driver as opposed to modesetting.

The laptop can be used in one of two modes: Hybrid Graphics, or Dedicated Graphics only.

In order to use the integrated Intel UHD 630 GPU (as part of Hybrid Graphics) you need to add the module to your by adding it as a module in your mkinitcpio. This is done by setting the following on :

/etc/mkinitcpio.conf
...
MODULES=(i915)

Failure to add the above will leave you stuck when trying to load the and your system will not be able to boot.

It might be possible to make do without the module above by using the Dedicated Graphics only (this can be done by changing the setting in UEFI).

Proprietary driver with bumblebee

With this setup the integrated GPU is used by default but some applications can be rendered on the discrete GPU with the or launchers. See Bumblebee for detailed instructions. The lack of proper v-sync support means that with this method applications rendered on the discrete GPU exhibit tearing. There is also some overhead introduced as a result of moving data inefficiently between the discrete and integrated GPUs, but the Nvidia GPU performs much better than it does with Nouveau.

To get this working you will need , , and .

Then set the following configuration files.

(you probably already have one of these so adjust/add as needed - the dummy device at the end is essential!!):

At this stage, restart your machine. Then you should be able to run applications on the GPU as you normally would with , e.g., . If you want to use the external displays you need to keep your GPU on by running a task on and then running intel-virtual-output -f (this will stay running and binds the external display ports to virtual outputs that you can use). At this stage you should be able to see and use the external ports.

Touchpad

Every once in a while Linux kernel upgrades will cause issues where the Touchpad and Trackpoint stop working. Booting with kernel parameter psmouse.elantech_smbus=0 seems to fix it.

gollark: "Reverse engineering includes but is not limited to:- accessing the site's code to figure out how a thing works- blahblah"
gollark: You'd keep the vagueness and be not entirely useless!
gollark: "Do not reverse engineer, blahblah - don't do X Y Z or similar"
gollark: Anyway, even with the vague phrasing kept, some sort of extra clarity would be nice.
gollark: Many of the hub rules had/have to be extrapolated from the T&C... it was a stupider time.
This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.