Dell XPS 13 (9370)

From ArchWiki
Revision as of 14:07, 8 September 2018 by Mrfaber (talk | contribs) (Add related XPS13 articles)
Jump to navigation Jump to search
Device Status Modules
Video Working i915
Wireless Working ath10k
Bluetooth Working btusb
Audio Working snd_hda_intel
Touchpad Working hid_multitouch
Webcam Working ¹ uvcvideo
USB-C / Thunderbolt 3 Working intel_wmi_thunderbolt
Wireless switch Working intel_hid
Function/Multimedia Keys Working ?
Fingerprint sensor Not working ?

The Dell XPS 13 Early 2018 (9370) is the fifth-generation model of the XPS 13 line. The laptop was released in January 2018 in both a standard edition with Windows installed as well as a Developer Edition with Ubuntu 16.04 installed, featuring kernel 4.4 as of now. There are only minor hardware differences between them, mostly in regards to the mainboard microchip manufacturers. According to Dell the fingerprint reader is not present on the Linux variant. Just like the older versions (9333, 9343, 9350, and 9360) it is available in different hardware configurations as well. These fifth gen models includes Intel's eighth generation Kaby Lake R processors, and can be configured with up to 16GB LPDDR3 2133 MHz RAM and a 1TB PCI SSD. Unlike previous iterations, the Wi-Fi/BT module is soldered and cannot be replaced, only the Killer 1435 (QCA6174A) is available for consumers, enterprise versions with the Intel 8265 modem also exist.

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. This page covers the current status of hardware support on Arch, as well as post-installation recommendations.

¹ The webcam works with kernel 4.17.4 or later. For earlier kernels this applies: Some users have experienced webcam firmware issues with recent models and there are many reports of non-functional webcams on new laptops. User reports indicate Dell support is responsive to replacing screens to install a webcam that uses linux-compatible UVC 1.0 rather than 1.5 firmware drivers.


To boot from a USB device attached via the USB-C to USB-A adapter included in the box, you'll need to enable Thunderbolt boot in the BIOS (press F2 while the Dell logo is displayed). Once enabled, F12 on boot will enter the boot menu. It is also possible to use the right USB-C port directly without any BIOS adjustment.

Content Adaptive Brightness Control

In the XPS 13 the display panels (both FHD and 4K UHD) come with Content Adaptive Brightness Control (usually referred to as CABC or DBC) enabled by default. While disabling required flashing the display firmware in previous generations, DBC can now be disabled in recent BIOS versions. To test if DBS is enabled, go to this test page.


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 have the 4K (3840x2160) model, also check out HiDPI for UI scaling configurations.

Note that the enable_psr=1 kernel parameter appears not to work properly, at least on the touchscreen model.

Some user support requests indicate that currently-shipping 9370 models may bundle webcams that use UVC 1.5 firmware rather than 1.0, which was not supported prior to kernel 4.17.4.


The Wifi adapter is a Killer card with contains a Qualcomm Atheros QCA6174 module. It should work out of the box with the ath10k_pci driver in recent linux kernels. (In my case) the Wifi firmware sometimes crashes when waking up from suspend. (firmware version WLAN.RM.4.4.1-00051-QCARMSWP-1; dmesg) (In my case) the crash has not again occurred after booting linux-4.15.7 or newer.

If you experience a firmware crash you can try to update the ath10k firmware. Here are the Ubuntu instructions from Dell; the latest firmware releases can be found here. Usually it takes some time for the latest one to get into the linux-firmware packages.


The Bluetooth adapter sometimes becomes unavailable after waking up from suspend and can even stay deactivated and invisible after a warm reboot.


With older firmware, some keys were skipped when typing fast. The issue is fixed in system firmware 1.3.3.

The keyboard backlight has a feature that makes it automatically turn off after a given timeout. This timeout can be adjusted by writing into /sys/class/leds/dell\:\:kbd_backlight/stop_timeout. For example,

echo "5m" > /sys/class/leds/dell\:\:kbd_backlight/stop_timeout

This would set the timeout to 5 minutes. Note that different timeouts are maintained when the machine is connected to AC and when it's running from battery. Before BIOS 1.4.0 there was an issue that prevented the user from changing the timeout on AC. A kernel workaround was added in 4.18 and it was eventually fixed by BIOS 1.4.0.

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 quiet mem_sleep_default=deep to the Kernel parameters.

According to the manufacturer (see this upstream kernel bug), the machine uses S2 intentionally instead of S3, and they are working towards fixing the power drain on S2.

Note: on older BIOS and/or kernel versions the power button cannot be used to wake the laptop from sleep. In this case the Sleep button (Fn + End, or just End if you have Fn lock enabled) can still wake up the machine. This has been fixed by a BIOS update.

Firmware 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. Updates are provided for the Thunderbolt controller as well. There is an issue where the Thunderbolt version number is detected as 00.00 after reflashing (currently being investigated).

Dell has also released updates to the SSD firmware, but these can only be updated from Windows, not from Linux.

Thermal Throttling

By default thermal throttling activates around 80C resulting in maximum sustained CPU frequency around 2.4Ghz, much lower than in Dell's standard Windows installation.

Package temperature above threshold, cpu clock throttled (total events = 971)

This can be resolved using lenovo-throttling-fix-gitAUR. Despite originally conceived to resolve the same issue with Lenovo laptops, it works with the XPS 9370 (and should work well with other Skylake or newer laptops).

To install run (if you have yay installed which is one of the many AUR helpers):

 yay -S lenovo-throttling-fix-git
 sudo systemctl enable --now lenovo_fix.service

Thermal Modes / Fan profiles

Just like in Windows by using Dell Power Manager you can set the thermal configuration and behaviour of the fans of your machine. This is done within a terminal with the following commands.

To find out what thermal mode is set type:

 sudo smbios-thermal-ctl -g

To find all available thermal modes type:

 sudo smbios-thermal-ctl -i

And finally to set the desired thermal mode that you identified with the command before type:

 sudo smbios-thermal-ctl --set-thermal-mode=THERMAL_MODE

Power Saving

To save more battery use tlp package AND/OR Powertop.

You can monitor the used power and also the temperature of your machine with the s-tui tool.


The touchpad can sometimes produce a "cursor jump". Sometimes this is detected and worked around by libinput, resulting in a similar journal entry:

libinput error: event12 - DELL07E6:00 06CB:76AF Touchpad: kernel bug: Touch jump detected and discarded.

There is a libinput bug about this where the conclusion was that this is probably a hardware issue or a bug in the kernel driver.


Works correctly, but the audio controller cannot figure out what kind of device is plugged into the jack on its own. For this reason the desktop environment (eg. Gnome) will pop up a dialog where you can choose if it was a headset, or microphone, etc.

USB Type-C ports

The 9370 has only three Type-C ports (and no other ports, just an audio jack). Two of these (on the left side) support Thunderbolt 3. There is no power jack. A 45 W USB Type-C charger is included in the box. Any of the three Type-C ports can be used for charging. Since the laptop has no USB-A ports, one Dell-branded Type-C to A adapter is included.

Also all three Type-C ports support DisplayPort alternate mode. It is taken care of by the firmware, so it will work even with older kernels that do not otherwise support it. To the operating system it appears as if the laptop had two DisplayPort connectors (in addition to the embedded DP that the internal screen uses). So far I've tested the following adapters. All of these will appear to the operating system as if you plugged something into one of the DP connectors.

Fingerprint reader

The fingerprint reader is not supported. There is a libfprint feature request.