Dell XPS 13 2-in-1 (9365)

From ArchWiki
Jump to navigation Jump to search

The Dell XPS 13 2-in-1 (9365) is the early 2017 model. It can be used like a tablet when folding the display on the back. The touchscreen works out of the box.


BIOS configuration

Bios can be accessed with F2 or F12 on DELL logo boot screen.

With Bios version 1.1.0 or 1.3.1 to 2.1.2 you have to set sata operation to AHCI first and then uncheck in Advanced Boot options -> Legacy ROM.[1][dead link 2020-02-23]

  • In RAID mode the BIOS/UEFI is able to see the internal drive and is able to boot from it. It is possible to boot Archiso in RAID mode, but it can't see the internal drive.
  • In AHCI mode the BIOS/UEFI with Legacy ROM activated is not able to see the internal drive. If you try to boot it will fail and display an error that no harddrive is installed.
  • In AHCI mode the BIOS/UEFI with Legacy ROM deactivated is able to see the internal drive and therefore boot from it and Archiso is able to see the drive too. With these settings you can install and boot arch.

It is also needed to set the following settings [2] :

  • UEFI network stack - disabled
  • Secure Boot - disabled
  • SATA operations - AHCI
  • Legacy ROM - disabled
  • POST Behaviour : Fastboot - minimal (if not, BIOS is really slow, and cannot boot to any mediums)
  • Some changes in BIOS might reset other settings. Check your BIOS settings twice.
  • Those settings are working as of 2018/11/28


Suspend issues

This model only supports the S0 (s2idle) sleep mode. [3] Change the suspend mode to s2idle by adding the mem_sleep_default=s2idle to the kernel parameters. Note: As of 2018/11/18, this does not seem required anymore: the kernel automatically sets it correctly.

Screen not rotating

You need to install iio-sensor-proxy for automatic screen rotation to work.

Fingerprint sensor

The fingerprint sensor on this computer is not yet supported. [4] . There is an open fprint bug opened to track progress on this issue [5]

Soundcard turning off and coil whine

By default, the soundcard automatically turns of which leads to delays when there is a song to play (or distortion). This can also cause coil whine especially while scrolling with headphones plugged and sound muted. To solve this, you can force the soundcard to always stay awake :

options snd_hda_intel power_save=0

Turbo Boost not working

If the CPU is not reaching turbo boost clock speeds a possible solution can be to set activate HWP dynamic boost. Try

 $ echo 1 > /sys/devices/system/cpu/intel_pstate/hwp_dynamic_boost

If that works you can make the change permanent.

w /sys/devices/system/cpu/intel_pstate/hwp_dynamic_boost - - - - 1

Reduce throttling

The CPU seems to throttle already at around 50 to 60°C. You can install throttled to raise this limit. It also has the option to change the short and long term power limit and allows undervolting. It raises the temperature limit by default to 90°C. Intel's product page lists 100°C as the temperature limit. [6] Though it is not recommenced to run it at such a high temperature. You can change these settings at


After installation you need enable the systemd service with

# systemctl enable --now lenovo_fix.service

Beware that a higher temperature might reduce the longevity of your device. The battery in the device is rated for a maximum temperature of 65°C.