Difference between revisions of "Dell XPS 13 (9343)"
(replaced external links, fixed section fragments, simplification and beautification of wikilinks (interactive))
m (add link to service manual)
|Line 201:||Line 201:|
* [https://github.com/mpalourdio/xps13 Collection of links and different configurations]
* [https://github.com/mpalourdio/xps13 Collection of links and different configurations]
Revision as of 01:04, 5 April 2017
|Wireless switch||Working (Some issues with kde)|
The 2015 Dell XPS 13 (9343) is the second-generation model of Dell's XPS 13 line. Like its predecessor, it has official Linux support courtesy of Dell's Project Sputnik team. They target Ubuntu 14.04 LTS, but the improvements and support from the Sputnik team are generally applicable to all distros.
The installation process for Arch Linux 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.
As of kernel 4.1.3, a patched kernel is no longer necessary and this means Installation Media newer than 2015.08.01 (release date: 2015-08-01) should all be able to boot this machine without problems.
However, some manual configuration is still recommended to get the best experience.
- 1 Model differences
- 2 Configuration
- 3 Troubleshooting
- 3.1 Pink & green artifacts in video or webcam output
- 3.2 Graphical artifacting/instability after S3 resume
- 3.3 Connection issues with Broadcom wireless
- 3.4 rfkill issues with KDE
- 3.5 EFISTUB does not boot
- 3.6 Random kernel hangs at boot
- 3.7 Sound doesn't work after upgrading to kernel 4.4+
- 3.8 Loud cracks/noise during boot or audio playback
- 3.9 Display freezes while manipulating external displays with Xrandr / random blanking
- 4 See also
Although the XPS 13 is sold in a variety of configurations in most markets, those wanting to run Linux should pay special attention to display options (FHD or QHD+) and Wi-Fi adapter differences (Dell DW1560 or Intel 7265).
For users with QHD+ display, they need to use a DE/WM that properly supports HiDPI. Regarding the Wi-Fi adapter, both cards work in Arch Linux; while the Intel 7265 has mainline kernel support, hence it will work out-of-the-box, the Dell DW1560 instead requires a proprietary kernel module that is not well-supported; further details are in the proper below section.
There are no exclusive hardware differences between the Developer Edition and the classical edition (the one with Windows) of this laptop that means this guide is equally applicable to both models.
Best practice is to install and use software on the latest BIOS version and this laptop makes no difference.
The latest BIOS update is A11 and was released on 2017-02-02. With A02 or newer, almost everything should work out-of-the-box, and the kernel boot parameters that were used in conjunction with earlier BIOS versions are no longer necessary.
BIOS upgrade is easy, thanks to the EFI implementation: store the update binary on the EFI partition (
/boot/EFI) or on a USB flash drive, reboot, press
F12 key in order to enter in the Boot Menu and then choose BIOS Update.
- The systemd-backlight.service takes care of both eDP panel and keyboard backlight (and any other external device) status, saving at shutdown and restoring their values at boot.
- Hardware Function keys (
Fn-F12) works without any operation, as well.
This laptop series comes with a SSD as storage device; this section aims to remind you that this technology needs some configuration in order to achieve the best operative conditions. See Solid State Drives for information.
Most configurations feature the Dell DW1560 802.11ac adapter (based on the Broadcom BCM4352 chip) which requires
linux-headers too, even if it is listed as an optional dependency) to be installed. See the Broadcom wireless page for more details and/or assistance.
Some higher-end models do not use the Dell-branded Broadcom adapter but instead they use an Intel Wireless 7265 card, which is supported by the mainline kernel. This card is widely available as an after-market purchase for those wishing to replace the Broadcom adapter in their laptop. This wireless adapter, other than an enviable driver support, for both Wi-Fi and Bluetooth, that makes installation easier, compared to the Broadcom card, it has a 2-3 times wider reception range and a much higher throughput , making it an worthwhile upgrade should you decide to do so.
The Broadcom Bluetooth firmware is not available in the kernel (source), so you need to install AUR and reboot if you want to use Bluetooth.
Alternatively, you can retrieve the firmware directly from the Windows driver by yourself. You need to extract the
.cab file with and then convert it to a
.hcd file with hex2hcd from :
$ cabextract 20662520_6c535fbfa9dca0d07ab069e8918896086e2af0a7.cab $ hex2hcd BCM20702A1_001.002.014.1443.1572.hex # mv BCM20702A1_001.002.014.1443.1572.hcd /lib/firmware/brcm/BCM20702A1-0a5c-216f.hcd # ln -rs /lib/firmware/brcm/BCM20702A1-0a5c-216f.hcd /lib/firmware/brcm/BCM20702A0-0a5c-216f.hcd
After reboot, the firmware is available for your Bluetooth interface.
The sound chipset in this laptop, a Realtek ALC3263, is described as "dual-mode", meaning it supports both the HDA standard and the I2S standard. The embedded controller in the XPS 13 uses the ACPI _REV value provided by the OS you use to determine which mode the sound chipset should be initialized in at boot.
With BIOS A02+ and official Arch Linux kernel 4.3 or older, the sound card will be initialized in HDA mode.
To use HDA mode on newer kernels, compile your kernel with the option
CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y. This will force HDA mode on; you will not be able to use I2S mode by using that kernel.
Setting the default sound card
By default, ALSA doesn't output sound to the PCH card but to the HDMI card. This can be changed by following ALSA#Set the default sound card. To set the proper order, create the following
.conf file in
options snd_hda_intel index=1,0
Note that if you are dual-booting with Windows, you will have to do a cold boot twice before HDA sound will work in Linux and vice-versa. This is not necessary in I2S mode.
With BIOS A02+ and official Arch Linux kernel 4.4 or newer, the sound card will be initialized in I2S mode. I2S support requires  or newer.1.1.0
SND_SOC_INTEL_BROADWELL_MACH=mto be statically compiled otherwise the sound card will not be recognized. This has been resolved in official Arch Linux kernel 4.5.2+; anyhow, a better fix is included in kernel 4.8.
Enabling the microphone
In I2S mode, the built-in microphone is muted by default. To enable it you have to unmute
Mic item; follow the instructions below in order to achieve the goal:
alsamixer(an utility included into the package)
F6and select the broadwell-rt286 sound card
F4to switch to the Capture view and ensure that ADC0 has the CAPTURE label. If it doesn't, toggle over to it with your arrow keys and press the spacebar to turn it on CAPTURE
- finally, toggle over to the Mic item and raise the volume to 100.
pavucontrolapplication, has the same effect of the above instructions.
With the latest BIOS, the touchpad should work out-of-the-box with either the synaptics or libinput drivers.
For more advanced settings with the Synaptics driver, see Touchpad Synaptics.
If the touchpad freezes when you use more than one finger, try enabling Clickpad mode with
For better multi-touch support, you can use. The libinput driver supports nearly all button layouts out of the box with few additional settings.
Section "InputClass" Identifier "touchpad" MatchProduct "DLL0665:01 06CB:76AD Touchpad" Driver "libinput" Option "Tapping" "on" Option "AccelSpeed" "1" EndSection
man libinput for more configurable options (e.g. NaturalScrolling, MiddleEmulation.)
With kernel 4.6.5 and kernel parameter
You may useor AUR to reproduce and check this behaviour by yourself.
- With kernel 4.6+, frame-buffer compression (FBC) and panel self-refresh (PSR) are enabled by default, so
i915.enable_psrparameters are no longer needed. Kernel 4.6.2+ is recommended as older kernels may cause the display to flicker.
- Soon panel self-refresh (PSR) will be disabled again.  Commit 2ee7dc497e348eecbb82adbb1ea9e9a7e29fe921 (drm/i915: disable PSR by default on HSW/BDW) landed on 2016-12-14 and is marked for inclusion in the stable kernel. Kernel 4.9 is already affected. This is the reference bug .
i915.lvds_downclock=1for LVDS downclock is no longer needed. According to IRC #intel-gfx, "there is a new auto-downclock for eDP panels in recent kernels and it is enabled by default if available, so do not use."
i915.enable_rc6=7is useless on Broadwell (Gen8) systems. The deeper GPU power states that this option enables (RC6p and RC6pp) do not exist on Gen7+ hardwares.
Calibrated ICC profile
An ICC profile is a binary file which contains precise data regarding the colour attributes of the monitor. It allows you to produce consistent and repeatable results for graphic and document. The following ICC profile is made with dispcalGUI ( ), ArgyllCMS ( ) and a spectrophotometer for absolute colour accuracy; even if it is possible to achieve better results by calibrating your own monitor by yourself, in general this profile is definitively an improvement over the stock profile.
This profile has been made with the spectrophotometer's high resolution spectral mode, with white and black level drift compensation, the high quality ArgyllCMS switch and 3440 patches. Dynamic Brightness Control has been disabled and the monitor has been turned on for at least 30 minutes prior to start the calibration.
Pink & green artifacts in video or webcam output
Updateif you haven't already; this should fix the issue.
Graphical artifacting/instability after S3 resume
If you encounter some artifacts and/or an unusable graphical environment after resuming from a suspend, you may want to switch your Intel graphics acceleration from SNA to UXA. Switching to UXA, however, will result in decreased performance. Switching to xf86-video-modesetting (glamor acceleration) should not decrease performance much, however it is still not known if will fix resume.
Connection issues with Broadcom wireless
iwlist scan fail after driver installation and reboot, try disabling "Wireless Switch" control in the BIOS.
rfkill issues with KDE
With recent kernel versions (as from 4.4) the rfkill switch works. Under the KDE desktop, the first time that the rfkill switch is used, the mouse pointer freezes. To unfreeze it, switch to another virtual console and back.
EFISTUB does not boot
Random kernel hangs at boot
See here. This issue seems to only affect those with touchscreens. The fix consists in removing "keyboard" from the HOOKS in /etc/mkinitcpio.conf and instead using MODULES="atkbd usbhid hid-generic" (if you need the keyboard hook). You will have to run
mkinitcpio -p linux as root afterwards.
Sound doesn't work after upgrading to kernel 4.4+
You need to do two cold boots (don't reboot; shutdown and turn back on again) to make sound work again. This is necessary because I2S support was enabled in the stock Linux 4.4 kernel, and the XPS 13's embedded controller requires two cold boots to recognize changes in the sound chipset mode.
Loud cracks/noise during boot or audio playback
Some users have reported above sound outputs, as described e.g. in this BBS thread. Disabling audio powersafe may work for people using the HDA audio mode. However, it is still unknown how to solve this issue for the I2S audio mode. For further reference, see the corresponding kernel bug record.
Display freezes while manipulating external displays with Xrandr / random blanking
xrandr commands (for eg. HiDPI#Multiple displays) can result in display freezes with no clear journalctl or Xorg error logs.
Reported to occur for QHD models running kernel version 4.3.x and up  Intel graphics#Skylake support. Setting kernel parameter
i915.preliminary_hw_support=0 can reduce or remove this issue.
If you are experiencing freezes in GNOME on Login and/or after, be sure you have latest BIOS installed and disabled the C state feature.