XPS-13-7390-2-in-1

Differences between revisions 15 and 37 (spanning 22 versions)
Revision 15 as of 2019-11-06 13:29:53
Size: 3337
Editor: chihchun
Comment:
Revision 37 as of 2019-12-15 14:53:39
Size: 7230
Editor: lool
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
Dell XPS 13 7390 2-in-1 is not the same model with [[https://certification.ubuntu.com/desktop/models?query=7390&category=Desktop&category=Laptop&level=|XPS 13 7390]]. Dell XPS 13 7390 2-in-1 IS NOT certified with Ubuntu.
Line 9: Line 11:
 * Dell does not preload Ubuntu with the machine, the firmware is not published on LVFS.  * Dell does not preload Ubuntu with the machine, this model is not certified by Canonical.
 * The system
firmware is not published on LVFS, the user need to download the exec files from Dell support website.
Line 11: Line 14:
 * The default BIOS setting is designed for Windows, SATA mode needs to be set to AHCI for Linux.  * The default BIOS setting is designed for Windows, SATA mode needs to be set to AHCI for Linux
   * To do this while keeping dual boot: run msconfig, edit the default Windows 10 boot profile in the second tab, "Boot", select "Safe boot" in the "Boot options" box
   * Reboot into BIOS settings (F2), set boot mode to AHCI instead of RAID
   * Reboot into Windows, run msconfig, and disable "Safe boot" in Boot > Boot options
Line 16: Line 22:
|| '''Generci Ubuntu kernel''' || {OK} || || '''Generic Ubuntu kernel''' || {OK} ||
Line 30: Line 36:
|| '''Suspend''' || {i} has issue to resume. ||
Line 34: Line 41:
{OK} = OK ; {X} Unsupported(No Driver) ; /!\ = Error (Couldn't get it working); {i} = Configuration Required; X-( = Only works with extra software componetns from 3rd party {OK} = OK ; {X} Unsupported ; {i} = Configuration Required; X-( = Only works with extra software componetns from 3rd party
Line 38: Line 45:
 * The BIOS version 1.0.6, 1.0.9 or newer is not compatible with Linux. intel-lpss driver conflicts with write-combining MTRR region - https://bugs.launchpad.net/bugs/1845584  * The BIOS version 1.0.6, 1.0.9, 1.0.13 (or newer) is not compatible with Linux. intel-lpss driver conflicts with write-combining MTRR region - https://bugs.launchpad.net/bugs/1845584
Line 43: Line 50:
Line 46: Line 52:
 * Audio does not work after resume from suspend  * Doesn't wake up from suspend on BIOS 1.0.13 with up-to-date 19.10 (2019-12-01) – https://askubuntu.com/questions/1183716/ubuntu-19-10-on-dell-xps-13-2-in-1-7390-suspend-problem
   * Workaround: add `pcie_aspm=off` to kernel cmdline (add to GRUB_CMDLINE_LINUX in /etc/default/grub, and run update-grub) – this will negatively impact power consumption
 * Icelake IPU4 webcam doesn't work (see below)
 * Brightness auto-adjust is too aggressive; workaround: disable auto-adjust and adjust manually
 * While regular suspend/resume works, deep sleep comes back from suspend but doesn't restore display
   * https://bugs.freedesktop.org/show_bug.cgi?id=112143
   * https://bugzilla.kernel.org/show_bug.cgi?id=205205
   * Seems to be a known issue with Dell BIOSes https://gitlab.com/emrose/xps13-7390_debian/merge_requests/4#note_242414579
 * Log is spammed by sensor hub messages on up-to-date 19.10 (2019-12-01) – https://bugzilla.kernel.org/show_bug.cgi?id=204837 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1818547
   * Workaround: silence these messages with a /etc/rsyslog.d/10-hidsensor.conf with contents below and restart rsyslog (sudo systemctl restart rsyslog)
{{{
# Disable runaway messages
:msg, contains, "hid-sensor-hub 001F:8087:0AC2.0003: hid_field_extract() called with n (192) > 32!" stop
}}}
Line 55: Line 74:
== HiDpi issues ==

 * Boot menu uses a tiny font (GRUB menu)
   * Best way to address this would be to have GRUB automatically select the right font, but GRUB is kept small on purpose, or to install a larger GRUB font when installing Ubuntu
   * Workaround: let the default GRUB terminal driver, gfxterm, switch to a supported mode such as 1600x1200 (NB to list video modes, disable secure mode in the BIOS and run the videoinfo command in the GRUB shell accessed by pressing "c" from the GRUB menu):
     * Set `GRUB_GFXMODE=1600x1200` in `/etc/default/grub` and run `update-grub`

 * Splash screen uses too small logo and somewhat too small fonts (Plymouth)
   * Plymouth has logic to detect the proper scaling to apply, but it's still too small; workaround by forcing the scale on the kernel cmdline:
     * Add `plymouth.force-scale=3` to `GRUB_CMDLINE_LINUX=` in `/etc/default/grub` and run `update-grub`

 * Console terminal uses too small fonts
   * Note that the package shipping the Ubuntu Monospace font for the terminal, `fonts-ubuntu-console`, is not installed by default and only ships 8x16 fonts
   * Change the font by running `dpkg-reconfigure console-setup`, select a font face that supports a larger font size, for instance the `Terminus` font, and select a large font size such as `16x32`; you need to reboot for the new font to be set
Line 57: Line 91:
 * Dell XPS 13 2-in-1 (7390) - ArchWiki - https://wiki.archlinux.org/index.php/Dell_XPS_13_2-in-1_(7390)  * [[https://wiki.archlinux.org/index.php/Dell_XPS_13_2-in-1_(7390)|Dell XPS 13 2-in-1 (7390) - ArchWiki]]
 * [[https://www.reddit.com/r/Dell/comments/cx0fkc/xps_13_2_in_1_7390_linux_boot_attempt/|XPS 13 2 in 1 (7390) - Linux boot attempt]]
 * [[https://www.phoronix.com/scan.php?page=article&item=dell-xps7390-ubuntu1910&num=1|Ubuntu 19.10 Provides Good Out-Of-The-Box Support For The Dell XPS 7390 Icelake Laptop - Phoronix]]
 * [[https://github.com/intel/intel-camera-drivers/tree/master/drivers/media|Joule IPU4 drivers]] - these drivers are the only public IPU4 drivers as of 2019-12-01, but they need non-trivial porting to build against 5.3

Introduction

This page should give some information you need about running Ubuntu on a Dell XPS 13 7390 2-in-1 laptop.

Dell XPS 13 7390 2-in-1 is not the same model with XPS 13 7390. Dell XPS 13 7390 2-in-1 IS NOT certified with Ubuntu.

Installation gotcha's

  • Dell does not preload Ubuntu with the machine, this model is not certified by Canonical.
  • The system firmware is not published on LVFS, the user need to download the exec files from Dell support website.
  • XPS 13 7390 2-in-1 is using Intel Ice Lake processor, Ice Lake is first supported by 5.3 Ubuntu generic kernel with 19.10 or linux-oem-osp1 kernel with 18.04 LTS.

  • The default BIOS setting is designed for Windows, SATA mode needs to be set to AHCI for Linux
    • To do this while keeping dual boot: run msconfig, edit the default Windows 10 boot profile in the second tab, "Boot", select "Safe boot" in the "Boot options" box
    • Reboot into BIOS settings (F2), set boot mode to AHCI instead of RAID
    • Reboot into Windows, run msconfig, and disable "Safe boot" in Boot > Boot options

Hardware Support Matrix

HARDWARE

Eoan 19.10

Generic Ubuntu kernel

(OK)

Display

(OK)

Keyboard and Hotkeys

(OK)

Trackpad

(OK)

Wireless ethernet

(OK)

Wired ethernet

(i) Not built-in ethernet

Audio Playback

(OK)

Microphone

(OK)

Camera

(X)

Multitouch screen

(OK)

HDMI

(OK)

USB 3

(OK)

Thunderbolt

(OK)

Fingerprint Reader

(X)

Suspend

(i) has issue to resume.

Legend :

(OK) = OK ; (X) Unsupported ; (i) = Configuration Required; Angry X-( = Only works with extra software componetns from 3rd party

Issue has been fixed

Known issues

# Disable runaway messages
:msg, contains, "hid-sensor-hub 001F:8087:0AC2.0003: hid_field_extract() called with n (192) > 32!" stop

Camera

Intel Icelake integrated the IPU 4th Generation Gen IPU with on-die MIPI interface, which is not supported by Linux.

The current linux mainline 5.3 supports only Intel Image Processing Unit 3, tested on Kaby Lake platforms (U/Y processor lines). Since the IPU4 contains both scalar processor and vector processors, the lowest layer of the software stack is the firmware that runs on those cores. The IPU4 is a single PCI device but logically it is comprised of two independent systems: the input system (ISYS) and the processing system (PSYS). As such, each has its own driver.

The Linux camera stack is heavily reusing Android and keeps IPU FW, Kernel drivers, libiacss, and advanced 3A libraries exactly same as Android. An alternate Linux camera HAL has been introduced into the stack to provide a unique interface for upper-layer software. Specific in Yocto Linux, GStreamer is required as the multimedia framework where a camera source plugin for IPU4 will be needed.

HiDpi issues

  • Boot menu uses a tiny font (GRUB menu)
    • Best way to address this would be to have GRUB automatically select the right font, but GRUB is kept small on purpose, or to install a larger GRUB font when installing Ubuntu
    • Workaround: let the default GRUB terminal driver, gfxterm, switch to a supported mode such as 1600x1200 (NB to list video modes, disable secure mode in the BIOS and run the videoinfo command in the GRUB shell accessed by pressing "c" from the GRUB menu):
      • Set GRUB_GFXMODE=1600x1200 in /etc/default/grub and run update-grub

  • Splash screen uses too small logo and somewhat too small fonts (Plymouth)
    • Plymouth has logic to detect the proper scaling to apply, but it's still too small; workaround by forcing the scale on the kernel cmdline:
      • Add plymouth.force-scale=3 to GRUB_CMDLINE_LINUX= in /etc/default/grub and run update-grub

  • Console terminal uses too small fonts
    • Note that the package shipping the Ubuntu Monospace font for the terminal, fonts-ubuntu-console, is not installed by default and only ships 8x16 fonts

    • Change the font by running dpkg-reconfigure console-setup, select a font face that supports a larger font size, for instance the Terminus font, and select a large font size such as 16x32; you need to reboot for the new font to be set

Dell/XPS/XPS-13-7390-2-in-1 (last edited 2019-12-15 14:53:39 by lool)