Dell XPS 13 (9300)

From ArchWiki
Jump to navigation Jump to search
Device Status Modules
Video Working i915
Wireless Working iwlwifi
Bluetooth Working btusb
Audio Working snd_hda_intel
Touchpad Working hid_multitouch
Card Reader Working rtsx_pci
Webcam Working uvcvideo
Infrared Camera Authentication Working N/A
USB-C / Thunderbolt 3 Working thunderbolt
Function/Multimedia Key Working ?
Fingerprint sensor Working ?

The Dell XPS 13 Early 2020 (9300) is the eigth-generation model of the XPS 13 line.

The installation process for Arch on the XPS 13 does not differ from any other PC. For installation help, please see the Installation guide and UEFI.

UEFI

Before installing it is necessary to modify some UEFI Settings. They can be accessed by pressing the F12 key repeatedly when booting.

  • Change the SATA Mode from the default "RAID" to "AHCI" (already the default on the developer edition). This will allow Linux to detect the NVME SSD. If dual booting with an existing Windows installation, Windows will not boot after the change but this can be fixed without a reinstallation.
  • Disable secure boot to allow Linux to boot (already the default on the developer edition).
  • For reliable resumption from sleep, disable both Sign of Life options, i.e. set Early Logo Display and Early Keyboard Backlight to OFF.

Booting and installing from a microSD card is possible, as long as SD Card and SD Card Boot are both enabled in the UEFI setup.

Firmware/BIOS Updates

Dell provides firmware updates via Linux Vendor Firmware Service (LVFS). Refer to Flashing BIOS from Linux#fwupd for additional information. A package is readily available at fwupd. Current firmware version is 1.0.11.

Alternatively, for the BIOS update, you can simply copy the .exe file from the Dell Support page to any fat32 drive (even the boot partition seems to work). Then boot into the "BIOS Flash Update" utility by hitting F12 at boot time.

Display

The video should work with the i915 driver of the current linux kernel. Consult Intel graphics for a detailed installation and configuration guide as well as for Intel graphics#Troubleshooting.

If you installed xf86-video-intel and experienced hanging/freezing when launching Xorg, or when launching apps with GPU Acceleration (such as kitty and alacritty), try uninstalling xf86-video-intel and let Xorg fallback to modesetting driver.

When using modesetting driver, Backlight#xbacklight may produce `No outputs have backlight property`. Replacing xorg-xbacklight with acpilight fixes the problem.

Power Management

If the laptop seems to have an high drain when in sleep mode. As a possible workaround, you can set the machine to enter S3 deep sleep mode. Add mem_sleep_default=deep to the Kernel parameters and disable "Display Logo Sign of Life" under POST Behavior in BIOS setup.

Kernel panics have been reported with some XPS devices when S3 deep sleep is enabled together with secure boot. A workaround that was suggested for the Dell XPS 13 2-in-1 (7390) but seems to work for the XPS 13 9300 is adding intel_iommu=off to the Kernel parameters.

The touchscreen has been reported to stop working after waking up from S3 deep sleep mode.

For reducing drain while running on battery power, refer to Power management. TLP is a userspace tool that is popular and has been reported to work well.

Thermal Throttling

By default, or whatever was set on Windows by Dell Power Manager, a very conservative power profile is set somewhere in memory (seems to persist BIOS resets) and starts throttling the CPU very early (2.4GHz out of 3.9GHz max on i7-1065G7).

This can be resolved using throttled. Despite originally conceived to resolve the same issue with Lenovo laptops, it works with Dell computers.

Wifi

The laptop comes with an AX1650 Killer wifi card soldered to the motherboard (not replaceable). It should work out of the box with kernel 5.6.2+. A reddit user reported that their card did not work with kernel versions 5.4.30 or 5.5.

Infrared camera

The infrared camera can be used as an authentication method with howdyAUR.

Warning: As said in howdy documentation, "DO NOT USE HOWDY AS THE SOLE AUTHENTICATION METHOD FOR YOUR SYSTEM."

The configuration file is located at /lib/security/howdy/config.ini. The device should be configured like this : device_path = /dev/video2 .

Please refer to Howdy to find which /dev/videoX corresponds to your IR camera and for troubleshooting.

Note: After installing howdy, you should tweak the configuration file to find the settings that work best for you. I personally found much better results by increasing dark_threshold all the way to 80 or 90. Please read the config file carefully.

Fingerprint sensor

The fingerprint sensor can be used by installing the proprietary Ubuntu driver released by Dell and Goodix. This requires a different fork of libfprint libfprint-tod-gitAUR - available on the AUR and built from source from the upstream repo. This is a newer version intended for use only with touch-based sensors such as the one on the XPS.

Warning: This driver is proprietary, closed source and only distributed in binary form

The proprietary driver can be obtained from the AUR: libfprint-2-tod1-xps9300-binAUR . Alternatively, it can also be manually installed from the Dell repository by extracting the debian file and copying its contents.

The rest of the process is identical as that described on Fprint - just make sure not to install the version of libfprint on the main repo as it conflicts with libfprint-tod

Thunderbolt

The following thunderbolt devices have been tested:

Device Status Comments
Dell DA200 Working -
Dell DA300 Working -
Dell WD19 130W Working -

Known Issues

Fingerprint Reader

The fingerprint reader only works with a proprietary closed source driver released by Goodix for Ubuntu. However, it can be made to work on Arch (see above).

UEFI

The XPS' UEFI doesn't pass extra parameters to the boot entries, so you cannot use the pre-built Arch kernels with EFI Stub. Alternavely, you can build your own kernel with a custom CONFIG_CMDLINE_BOOL, use EFI blob builder (arch-efibootAUR, sbupdate-gitAUR), or use a bootloader.

Since BIOS update 1.0.10, usb-c to HDMI/DP adapters do not work anymore (even on Windows)

S3 sleep state doesn't seem to be compatible with secure boot, at least by default. See a possible workaround on section #Power Management

For all firmware above 1.0.0, there is a a bug causing the Linux kernel to hang for two seconds on boot time.