User:Plevine457/Lenovo Legion 5 Pro Gen 6 (16ACH6H)

From Gentoo Wiki
Jump to:navigation Jump to:search
Resources

Referred to as one of the best gaming laptops of 2021, and Lenovo's best gaming laptop yet, the Lenovo Legion 5 Pro combines an AMD Ryzen 7 5600H/5800H CPU, an Nvidia GeForce RTX 3060/3070 GPU, and a 16" WQXGA 2560 x 1600 165Hz IPS display.

Hardware

Standard

Device Make/model Status Vendor ID / Product ID Kernel driver(s) Kernel version Notes
CPU AMD Ryzen™ 5 5600H Processor

(3.30 GHz, up to 4.20 GHz Max Boost, 6 Cores, 12 Threads, 16 MB Cache)

Works N/A N/A 5.16.0 Codename: Cezanne (Zen 3)
AMD Ryzen™ 7 5800H Processor

(3.20 GHz, up to 4.40 GHz Max Boost, 8 Cores, 16 Threads, 16 MB Cache)

GPU (Integrated) AMD Radeon Vega 8 Works 1002:1638 amdgpu 5.16.0 Codename: Raven Ridge
GPU (Discrete) NVIDIA GeForce™ RTX 3060 Laptop GPU Works 10de:2560 nvidia, nvidia_drm

nouveau

5.16.0 Codename: NV170 (Ampere)
NVIDIA GeForce™ RTX 3070 Laptop GPU 10de:24dd
Audio High Definition (HD) Audio, Realtek® ALC3306 codec Works 1022:15e3 snd_hda_intel, snd_hda_codec_realtek 5.16.0
Ethernet Realtek RTL8111E Gigabit LAN-on-Motherboard Works 10ec:8168 r8168 5.16.0
Wireless Realtek RTL8852AE Wireless Network Adapter Untested 10ec:8852 rtw89pci Wi-Fi 6, 802.11ax, 2x2
Touchpad MSFT0001:00 06CB Touchpad Works 06CB:CE78 hid_multitouch 5.16.0 i2c_designware_platform needed for device visibility and hid_multitouch for mutitouch capabilities
Bluetooth Realtek RTL8852AE Bluetooth Radio Untested 0bda:4852 btusb Bluetooth 5.1
Webcam Acer Integrated Camera Works 5986:115f uvcvideo 5.16.0 720p, fixed focus, with E-camera shutter

Installation

(Write the necessary steps to get Gentoo onto this system. Try to document any special step that each user will need to reproduce on their system. Includes getting special drivers or firmware from a manufacturer website, etc.)

Firmware

(Optional section.)

Kernel

(Show what options are necessary in the kernel in order to get all device components functional for this hardware platform.)

KERNEL Enable support for these hardware drivers
[*] 64-bit kernel
Processor type and features  --->
  [*] Symmetric multi-processing support
  [*] Support x2apic (for Guest Virtual APIC Interrupt Controller))
  [*] x86 CPU resource control support (for AMD QoS)
  [*] AMD ACPI2Platform devices support
  [*] Supported processor vendors  --->
    [*]   Support AMD processors
  [*] Machine Check / overheating reporting
  [*]   AMD MCE features
  Performance monitoring  --->
    <*> Intel/AMD rapl performance events
  [*] CPU microcode loading support
  [*]   AMD microcode loading support
  [*] AMD Secure Memory Encryption (SME) support
  [*] EFI runtime service support
  [*]   EFI stub support
  Power management and ACPI options  --->
    [*] Energy Model for CPUs
    [*] ACPI (Advanced Configuration and Power Interface) Support  --->
      [*]   ACPI Firmware Performance Data Table (FPDT) support
      <*>   AC Adapter
    CPU Frequency scaling  --->
      <*>   ACPI Processor P-States driver
[*] Virtualization  --->
  <*>   Kernel-based Virtual Machine (KVM) support
  <*>   KVM for AMD processors support
[*] Networking support  --->
  Wireless  --->
    <*>   cfg80211 - wireless configuration API
      [*]     enable powersave by default
      <*>   Generic IEEE 802.11 Networking Stack (mac80211)
Device Drivers  --->
  Generic Driver Options  --->
    Firmware loader  --->
      (SEE THE LIST ABOVE) Build named firmware blobs into the kernel binary
      (/lib/firmware) Firmware blobs root directory
  [*] PCI support  --->
    [*]   PCI Express Port Bus support
  NVME Support  --->
    <*> NVM Express block device
    [*] NVMe multipath support
    <*> NVM Express over Fabrics FC host driver
    <*> NVMe Target support
    <*>   NVMe loopback device support
    <*>   NVMe over Fabrics FC target driver
  I2C support  --->
    [*]   ACPI I2C Operation region support
    <*>   I2C device interface
    <*>   I2C bus multiplexing support
    [*]   Autoselect pertinent helper modules
    I2C Hardware Bus support  --->
      <*> Intel PIIX4 and compatible (ATI/AMD/Serverworks/Broadcom/SMSC
      <*> SMBus Control Method Interface
      <*> Synopsys DesignWare Platform
      <*> Synopsys DesignWare PCI
  <*> Multimedia support  --->
  [*]   Cameras/video grabbers support
  [*]   Media USB Adapters  --->
    <*>   USB Video Class (UVC)
    [*]     UVC input events device support
    Graphics support  --->
    <*> AMD GPU
    [*]   Always enable userptr write support
    [*]   Allow GART access through debugfs
      ACP (Audio CoProcessor) Configuration  --->
        [*] Enable AMD Audio CoProcessor IP support
      Display Engine Configuration  --->
        [*] AMD DC - Enable new display engine
        [*] Enable HDCP support in DC
    [*]   HSA kernel driver for AMD GPU devices
  <*> Sound card support  --->
  <*>   Advanced Linux Sound Architecture  --->
    HD-Audio  --->
      <*> HD Audio PCI
      [*] Support initialization patch loading for HD-audio
      <*> Build Realtek HD-audio codec support
      <*> Build HDMI/DisplayPort HD-audio codec support
    (2048) Pre-allocated buffer size for HD-audio driver
  HID support  --->
    [*]   /dev/hidraw raw HID device support
    <*>   User-space I/O driver support for HID subsystem
    <*>   Generic HID driver
      USB HID support  --->
        <*> USB HID transport layer
        [*] PID device support
        [*] /dev/hiddev raw HID device support
    I2C HID support  --->
      <*> HID over I2C transport layer
  [*] USB support  --->
  <*>   xHCI HCD (USB 3.0) support
  <*>   EHCI HCD (USB 2.0) support
  [*]     Root Hub Transaction Translators
  [*]     Improved Transaction Translator scheduling
  <*>   OHCI HCD (USB 1.1) support
  <*>     OHCI support for PCI-bus USB controllers
  <*>   USB Type-C Support  --->
    <*>   USB Type-C Port Controller Manager
    <*>     Type-C Port Controller Interface driver
    <*>   USB Type-C Connector System Software Interface driver
    <*>     UCSI ACPI Interface Driver
    USB Type-C Alternate Mode drivers  --->
      <*> DisplayPort Alternate Mode driver
  <*> EDAC (Error Detection And Correction) reporting  --->
  <*>   Decode MCEs in human-readable form (only on AMD for now)
  <*>   AMD64 (Opteron, Athlon64)
  [*] X86 Platform Specific Device Drivers  --->
  <*>   Lenovo IdeaPad Laptop Extras
  [*] IOMMU Hardware Support  --->
  [*]   AMD IOMMU support
  <*>     AMD IOMMU Version 2 driver
  [*]   Support for Interrupt Remapping

Emerge

(Optional section. If the platform requires any user space packages or kernel patches, mention them here).

root #emerge --ask category/package

Configuration