Skip to content

Collection of scripts and tweaks to adapt Ubuntu 18.04 running smooth on Dell XPS 15 9570.

Notifications You must be signed in to change notification settings

jkktom/dell-xps-9570-ubuntu-respin

 
 

Repository files navigation

Donate Gitter chat

DELL XPS 9570

DELL XPS 15 9570 Ubuntu 18.04 Respin

Table of Contents

  1. Post-install script
  2. Ready to use ISO
  3. Manual respin procedure
  4. Switching from one graphic card to the other
  5. Troubleshooting

Collection of scripts and tweaks to make Ubuntu 18.04 run smooth on Dell XPS 15 9570.

All informations, tips and tricks was gathered from:

Kudos and all the credits for things not related to my work go to developers and users on those pages!

What works out-of-the-box

  • ✅ Atheros Wifi
  • ✅ Audio
  • ✅ Audio on HDMI
  • ✅ HDMI ( even on lid closed )
  • ✅ Nvidia/Intel graphic cards switch
  • ✅ Keyboard backlight
  • ✅ Display brightness
  • ✅ Sleep/wake on Intel

What does't work properly

  • ➖ Sleep/wake on nVidia

What doesn't work at the moment

  • ❌ Goodix Fingerprint sensor

Post-install script

If you already have a standard Ubuntu install, you can try applying basic tweaks with the xps-tweaks.sh script. You can run it directly without cloning the repository with the following command (requires curl):

bash -c "$(curl -fsSL https://raw.githubusercontent.com/JackHack96/dell-xps-9570-ubuntu-respin/master/xps-tweaks.sh)"

Ready to use ISO

You can download an already respun ISO here.

Manual respin procedure

  1. Clone the repo and install necessary tools
  2. Download your Ubuntu 18.04 ISO
  3. Respin the ISO (it many take a about 30 minutes or even longer)
  4. Install OS and run post-install commands

Step 1: Cloning the Repo and Installing Tools

To respin an existing Ubuntu ISO, you will need to use a Linux machine with some packages like squashfs-tools and xorriso installed (e.g. sudo apt install -y squashfs-tools xorriso) and a working internet connection. Script require at least 10GB of free storage space.

The first step is to clone this repo:

git clone https://github.com/jackhack96/dell-xps-9570-ubuntu-respin.git
cd dell-xps-9570-ubuntu-respin/

Debian-based systems:

Install all the required packages:

sudo apt install -y git wget genisoimage bc squashfs-tools xorriso

Arch-Based Systems:

Install all the required packages:

sudo pacman -S git wget cdrkit bc libisoburn squashfs-tools dosfstools

Step 2: Download your Ubuntu 18.04 ISO

Download Ubuntu 18.04 ISO and copy it in this repository cloned folder.

Step 3: Build Your Respun ISO

Run ./build.sh script like this:

./build.sh -i <iso filename>

There are also two flags you can set for enabling other options:

  • The v flag will autoinstall video codecs if set to true
  • The s flag will disable SPECTRE/Meltdown patches for additional performance if set to false

Run ./build.sh -h for help.

Step 4: Install and Update

Boot ISO from USB device

I suggest Etcher to write ISO on usb flash drives. It's fast, reliable and multi-platform.

Boot system using one time boot menu. Disable Secure boot in bios to boot from the ISO.

Post-install notes

If you want touchpad gestures, check https://github.com/bulletmark/libinput-gestures.

How to switch from one graphic card to the other

Intel:

sudo prime-select intel

Nvidia:

sudo prime-select nvidia

Note: A full reboot could be required when switching graphic cards.

Troubleshooting

Check the wiki page about it.

About

Collection of scripts and tweaks to adapt Ubuntu 18.04 running smooth on Dell XPS 15 9570.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%