Giter VIP home page Giter VIP logo

dell-xps-9570-ubuntu-respin's Introduction

Donate Gitter chat

DELL XPS 9570

DELL XPS 15 9570 Ubuntu 18.04 respin and post installation script (both 18.04 and 19.04)

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. I suggest everyone to use the post install method, the respun ISO is no longer neeeded for booting Ubuntu on 9570 as the stock one contains the needed fixes.

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.

dell-xps-9570-ubuntu-respin's People

Contributors

jackhack96 avatar stockmind avatar vikrambombhi avatar rtfpessoa avatar aidanthewiz avatar eelviny avatar akveritas avatar ploic avatar aleksandarstojkovski avatar gigasproule avatar dodenis avatar jiriferkl avatar mmphego avatar beabevi avatar snevas avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.