Lenovo ThinkPad P15 Gen 1
This model uses PRIME for combining the integrated and the dedicated GPU. As the external graphic ports are wired to the discrete GPU, drivers for the discrete GPU need to be present in order to use them. However, no special X.org configuration should be necessary, as xrandr should detect the ports automatically. If not, follow the instructions in PRIME#Reverse PRIME.
The default operation of fans is noisy, as they are basically at medium power all the time. The thinkfan (AUR link) program can be used to create a quieter operation, while retaining reasonable temperatures.
Here is an example
sensors: # NVIDIA GPU - nvml: 01:00.0 # acpitz # crit = 128°C - hwmon: /sys/class/hwmon name: acpitz indices:  correction:  # pch_cometlake - hwmon: /sys/devices/virtual/thermal/thermal_zone7 name: pch_cometlake indices:  correction:  # nvme # high = 85°C - hwmon: /sys/devices/pci0000:00/0000:00:1b.0/0000:02:00.0/hwmon name: nvme indices: [2, 3] correction: [0, 0] # nvme # high = 85°C - hwmon: /sys/devices/pci0000:00/0000:00:1d.0/0000:55:00.0/hwmon name: nvme indices: [2, 3] correction: [0, 0] # coretemp # high = 100°C, crit = 100°C. - hwmon: /sys/devices/platform/coretemp.0/hwmon name: coretemp indices: [1, 2, 3, 4, 5, 6, 7, 8, 9] correction: [0, 0, 0, 0, 0, 0, 0, 0, 0] # thinkpad - hwmon: /sys/devices/platform/thinkpad_hwmon/hwmon name: thinkpad indices: [1, 2, 3, 4, 5, 6] correction: [0, 0, 0, 0, 0, 0] # thinkpad - hwmon: /sys/devices/platform/thinkpad_hwmon/hwmon name: thinkpad indices:  correction:  # thinkpad - hwmon: /sys/devices/platform/thinkpad_hwmon/hwmon name: thinkpad optional: true indices:  correction:  # iwlwifi_1 - hwmon: /sys/class/hwmon name: iwlwifi_1 optional: true indices:  correction:  fans: - tpacpi: /proc/acpi/ibm/fan levels: - [0, 0, 60] - [2, 60, 65] - [3, 65, 70] - [5, 70, 75] - [6, 75, 80] - [7, 80, 85] - ["level disengaged", 85, 255]
Enabling Turbo boost
By default, the CPU power governor does not allow CPU frequencies to reach turbo boost speeds. This can be fixed via, for instance, cpupower-gui.
This can be changed by modifying the file
[Profile] #This setting was: profile = Balanced profile = Performance
And, of course, running the
# sudo systemctl start cpupower-gui # sudo systemctl enable cpupower-gui
This Device has fwupd support.
Disabling the built-in screen can lead to severely degraded graphics performance on external screens (around 2 FPS). This is probably