Skip to content

Instantly share code, notes, and snippets.

@android10
Forked from greigdp/xps-9370.md
Created May 30, 2018 07:31
Show Gist options
  • Save android10/1f0a91c1aec10c175e32850d31adc61e to your computer and use it in GitHub Desktop.
Save android10/1f0a91c1aec10c175e32850d31adc61e to your computer and use it in GitHub Desktop.
Dell XPS 13 (9370) Archlinux Install Notes

Install Notes - Dell XPS 13 (9370) 2018

The laptop works well on Archlinux. A few notes based on the installation guide for the previous version.

Intel GPU Power Saving

Per the Arch wiki, more power can be saved by creating /etc/modprobe.d/i915.confwith the following content:

options i915 modeset=1 enable_rc6=1 enable_fbc=1 enable_guc_loading=1 enable_guc_submission=1 enable_psr=1

(some of these options might be redundant; specifically PSR appears to be enabled by default, and modesetting is probably already in use)

Sleep Mode Power Usage

After initial installation, sleep mode appeared to be fairly inefficient, consuming not much less power than would be used in normal use with the screen off. Investigation revealed that Linux was trying to use the old s2idle means of sleep. This is not true S3 ACPI sleep. Check the sleep mode by doing cat /sys/power/mem_sleep and see whether the selected sleep mode (surrounded by square brackts) is s2idle or deep.

If it is not deep, add mem_sleep_default=deep to your kernel cmdline variable (for grub, edit /etc/default/grub and re-generate the grub configuration. Temporarily test this by echo'ing deep to /sys/power/mem_sleep and then put the laptop to sleep - it should take slightly longer to wake than before, and will consume much less power!

Of interest, the reported issue on the 9360 (2017 model) where leaving Thunderbolt boot enabled results in higher power usage after resuming from sleep appears to be resolved.

Expect power consumption of around 2 Watts when idle, with screen on low brightness, connected to Wi-Fi. Low power consumption continues after resuming from sleep.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment