PCSpecialist Optimus XI

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

Hardware information

lscpu

root #lscpu

lspci

root #lspci -nnk

lsusb

root #lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 5986:9102 Acer, Inc BisonCam,NB Pro
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 8087:0029 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Installation

Kernel

EFI stub

The kernel can be booted with EFI stub, however the path has to be /EFI/Boot/bootx64.efi. I haven't been able to register custom entries with efibootmgr (the UEFI firmware seems to reset the entries).

AHCI

AHCI has to be enabled.

KERNEL Based on 5.4.48:
Device Drivers  --->
  <*> Serial ATA and Parallel ATA drivers (libata)  --->
    <*>   AHCI SATA support

SSD drive

If you have a SSD drive, enable NVMe support:

KERNEL Based on 5.4.48:
Device Drivers  --->
  NVME Support  --->
    <*> NVM Express block device

Ethernet

Enable r8169:

KERNEL Based on 5.4.48:
Device Drivers  --->
  [*] Network device support  --->
  [*]   Ethernet driver support  --->
    [*]   Realtek devices
    <*>     Realtek 8169/8168/8101/8125 ethernet support

WiFi

The driver is iwlwifi:

KERNEL Based on 5.4.48:
Device Drivers  --->
  [*] Network device support  --->
  [*]   Wireless LAN  --->
    <M>   Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi)
    <M>     Intel Wireless WiFi DVM Firmware support
    <M>     Intel Wireless WiFi MVM Firmware support

Sound

Enable snd_hda_intel:

KERNEL Based on 5.4.48:
Device Drivers  --->
  <*> Sound card support  --->
    <*>   Advanced Linux Sound Architecture  --->
      HD-Audio  --->
        <*> HD Audio PCI
        <*> Build HDMI/DisplayPort HD-audio codec support
        <*> Enable generic HD-audio codec parser

USB

KERNEL Based on 5.4.48:
Device Drivers  --->
  [*] USB support  --->
    <*>   xHCI HCD (USB 3.0) support
    <*>   EHCI HCD (USB 2.0) support

SD card

Enable rtsx_pci:

KERNEL Based on 5.4.48:
Device Drivers  --->
  Misc devices  --->
    <*> Realtek PCI-E card reader
  <*> MMC/SD/SDIO card support  --->
    <*> Realtek PCI-E SD/MMC Card Interface Driver

Webcam

KERNEL Based on 5.4.48:
Device Drivers  --->
  <*> Multimedia support  --->
    [*]   Cameras/video grabbers support
    [*]   Media USB Adapters  --->
      <*>   USB Video Class (UVC)
      [*]     UVC input events device support

Keyboard backlight

First, enable WMI in the kernel:

KERNEL Based on 5.4.48:
Device Drivers  --->
  [*] X86 Platform Specific Device Drivers  --->
    <*>   WMI
    <*>     WMI embedded Binary MOF driver

Then, install the kernel module app-laptop/tuxedo-keyboard. This will make the keyboard backlight Fn keys work, and allow configuration via /sys/devices/platform/tuxedo_keyboard.

Optimus graphics

Proprietary NVIDIA driver

With the proprietary NVIDIA driver, one can use either bumblebee or PRIME render offload.

For the bumblebee method, bbswitch has to be disabled, as it will freeze the system. To do so, set PMMethod=none in your /etc/bumblebee/bumblebee.conf. Note that this will disable powering off the card when unused; I haven't been able to make linux PM work.

For PRIME render offload, make sure that the libglvnd is enabled and nvidia is in VIDEO_CARDS, and add options nvidia_drm modeset=1 to /etc/modprobe.d/nvidia.conf. To enable power management in the NVIDIA driver, add NVreg_DynamicPowerManagement=0x02 in the module options in /etc/modprobe.d/nvidia.conf. This is described in the driver documentation.

Nouveau

Untested.