Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Small, quick guide to set up Manjaro on the XPS 15 9560
# 1. First of all of course get Manjaro:
https://manjaro.org/get-manjaro/
# I recommend using Etcher to copy the image to your USB:
https://etcher.io/
# 2. Before installing make sure:
# - Secure boot is disabled in BIOS
# - Your SSD, HDD or NVME drive is set to AHCI instead of RAID
# - Fastboot should be on Auto or minimal, but this shouldn't matter to much
# 3. Once at the GRUB menu do the following (these steps are important, Manjaro won't even boot otherwise):
# - For drivers select the nonfree option instead of free, there is no support for Pascal GPUs yet (is planned for 4.12)
# - Hover over the option 'From stick/hdd' and press 'e' to edit the boot entry
# - Look for 'quiet' in the boot entry, after quiet you should type the following:
nouveau.modeset=0 nogpumanager pcie_aspm=off acpi_backlight=none acpi_osi=Linux acpi_osi=!
# It should now look something like this:
quiet nouvea.modeset=0 nogpumanager pcie_aspm=off acpi_backlight=none acpi_osi=Linux acpi_osi=!
# 4. Now just install Manjaro like you normally would.
# After install repeat step 3 as Manjaro will still not be bootable without
# 5. Once Manjaro is installed pretty much everything is set up already.
# Manjaro handles things like installing Bumblebee beautifully, but there is one more thing we should do.
# We need to add the boot arguments given in step 3.
# I recommend using something like grub-customizer (available from AUR or https://launchpad.net/grub-customizer)
# This is an UI for making Grub customizations
##### Using grub-customizer #####
# - Open up grub-customizer
# - Go to the 'General settings' tab
# - and add the following after quiet:
quiet pcie_port_pm=off acpi_backlight=none acpi_osi=Linux acpi_osi=! acpi_osi='Windows 2009'
# Press 'ctrl + s' or click save and we are done. Your installation should be fully working now.
##### Using terminal #####
# sudo nano /etc/default/grub
# Find this line and make sure it looks like this:
GRUB_CMDLINE_LINUX_DEFAULT="nouvea.modeset=0 nogpumanager pcie_aspm=off acpi_backlight=none acpi_osi=Linux acpi_osi=!"
# run
sudo update-grub2 # (or update-grub if update-grub2 is not symlinked)
# to update your Grub config and we are done.
# Some last notes
# I get around 5 to 8 hours of battery life on a i7, 16GB, 512GB 4k model 9560.
# Stay on kernel 4.9 (standard on Manjaro right now).
# I have tried 4.11, but it was hard-locking/freezing my XPS 15 every few minutes or wouldn't even boot up.
# 4.11 only adds NVME power management so we aren't missing out on anything.
# Once 4.12 hits I will test and update this guide, hoping there is better support for Pascal as well.
# Update as of May 2018
# Latest install of Manjaro is possible using the exact same instructions.
# The current kernel version used by Manjaro is 4.14 and it seems to run fine.
# Update November 2018
# I've updated the boot parameters as I found the originals didn't work for me anymore
# Additional notes
# (Thanks @Cznielsen) For the XPS 9570 it seems this flag is necessary 'systemd.mask=mhwd-live.service'
# (Thanks @Jonathancollinet) Some people needed this flag to boot Manjaro: 'acpi_rev_override=1'
# (Thanks @stucash) For fixing power management of the intel graphics use these parameters: 'i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 i915.i915_psr=1 drm.vblankoffdelay=1'
@arturbosch

This comment has been minimized.

Copy link

arturbosch commented Jun 24, 2017

Worked for me for Manjaro i3, big thx!

@MerwinV1

This comment has been minimized.

Copy link

MerwinV1 commented Sep 3, 2017

Hello,
Your tutorial just saved my life after spending the whole day looking for an answer to my problem.
Manjaro is well installed, but now windows is missing in the grub, so i was wondering if you had an answer to this problem,
Thanks a lot for your time.

@buchdag

This comment has been minimized.

Copy link

buchdag commented Sep 4, 2017

Hi. Thanks for the instructions, worked like a charm.

There is a slight error on line 16: acpi_osi='Windows 2009 should be acpi_osi="Windows 2009"

Also on line 42: sudo update-grub2, the version I installed (Manjaro KDE 17.0.3) does not have update-grub2 symlinked to update-grub, so the command is sudo update-grub instead.

Had any luck with kernel 4.12 yet ?

@dishcandanty

This comment has been minimized.

Copy link

dishcandanty commented Sep 20, 2017

anything needed with nvidia drivers?

@adridev

This comment has been minimized.

Copy link

adridev commented Sep 26, 2017

Good job!

@buchdag

This comment has been minimized.

Copy link

buchdag commented Oct 4, 2017

As of kernel 4.13 and TLP v1.0, on a i7 16GB 512GB FHD model 9560 (not 4K / touch), most of those kernel parameters aren't needed, acpi_rev_override=1 is enough.

The trackpad works way better without acpi_osi=Linux acpi_osi=! acpi_osi='Windows 2009'.

You can squeeze out significant battery time thanks to the NVME power management and by enabling power saving feature for the i915 kernel module.

@Tknott95

This comment has been minimized.

Copy link

Tknott95 commented Oct 4, 2017

This used to be such a horrid issue. Hand Built from arch felt easier. Seriously thank you! I am switching back now. Does anyone use Cinnamon with manjaro? I want to keep resources lighter and cinnamon looks killer. (Used it previously until hdpi issues on xps 15 release). Gnome is amazing to. Thank you!!!!

@Tknott95

This comment has been minimized.

Copy link

Tknott95 commented Oct 4, 2017

Y'all running xcfe I would assume?

@dishcandanty

This comment has been minimized.

Copy link

dishcandanty commented Oct 4, 2017

I'm using gnome

@ASafdari

This comment has been minimized.

Copy link

ASafdari commented Oct 13, 2017

This broke my whole computer, can't even run Windows 10 anymore

@wadouk

This comment has been minimized.

Copy link

wadouk commented Oct 27, 2017

@ASafdari, it's seems when you switch from RAID to AHCI, the windows boot is broken
I have reinstall with https://www.dell.com/support/home/us/en/19/drivers/osiso/recoverytool and it's great

I don't find the option 'From stick/hdd' instead, for manjaro xfce 64bits the place to edit the kernel parameters is on the line "manjaro logo Boot : Manjaro.x86_64 xfce"

I leave here some links and commands because I have not finished the grub configuration

  • to execute the update-grub command the main fs should be mounted and the efi fs too
  • to mount LUKS partition use udiskctl unlock and mount the second /dev, the one created by udiskctl
  • grub-install --root-directory --efi-directory
  • reboot
  • F12 to enter in efi boot selector, select manjaro
  • and after ... with the args in previous post on GRUB_CMDLINE_LINUX_DEFAULT I arrive in grub shell not in the menu, maybe i leaved the splash option, don't remember
@tomeaton17

This comment has been minimized.

Copy link

tomeaton17 commented Oct 31, 2017

Thank you very much for this! Keeping it 💯

@Jonathancollinet

This comment has been minimized.

Copy link

Jonathancollinet commented Nov 5, 2017

I finally got a stable manjaro running on my xps 9560. Everything works well.

KDE, nonfree hybrid bumblebee graphic driver, Kernel 4.14
[ suspend, laptop idle, gestures (yaourt gestures-manager), fn keys ] -> OK.

Only the grub parameter acpi_rev_override=1 is required and it should be the only one with quiet ! with kernel 4.14
Looks like: ... quiet acpi_rev_override=1

If any trouble with X like:
acpi exception AE_NOT_FOUND....
Try to open tty with ctrl+F1 or ctrl+fn+F1, login, and try to remove nonfree driver with mhwd and install free driver-intel.

PS: i also tried manjaro architect and it works well ! With it you can choose directly the good kernel version.

Thank you for the guide 👍

@Mskty

This comment has been minimized.

Copy link

Mskty commented Nov 9, 2017

You saved me some days of frustration! Thanks!

@luispabon

This comment has been minimized.

Copy link

luispabon commented Nov 23, 2017

@Jonathancollinet how's battery life so far? does bumblebee in fact work properly? what version of nvidia drivers? I'll be trying to replicate this on Ubuntu soon.

@njouanin

This comment has been minimized.

Copy link

njouanin commented Dec 2, 2017

@Jonathancollinet, could you describe the steps to fix : acpi exception AE_NOT_FOUND....

@wadouk

This comment has been minimized.

Copy link

wadouk commented Dec 20, 2017

@Jonathancollinet +1 works great, no error

@KevOBrien

This comment has been minimized.

Copy link

KevOBrien commented Jan 6, 2018

@MeirBon & @Jonathancollinet I have been trying to get my Nvidia GPU working for months and months for machine learning purposes. I have gone through several broken installs, reinstalled many times, and given up countless times. Your solutions worked flawlessly in minutes - many thanks!

@frecano

This comment has been minimized.

Copy link

frecano commented Feb 1, 2018

For avoiding windows re-installation you only have to follow this 4 steps guide https://triplescomputers.com/blog/uncategorized/solution-switch-windows-10-from-raidide-to-ahci-operation/

@DxCx

This comment has been minimized.

Copy link

DxCx commented Feb 20, 2018

Hey @MeirBon
thank for this one i just got my XPS =)
is Hibernation working well?
anyelse is causing troubles or not properly working?

@MeirBon

This comment has been minimized.

Copy link
Owner Author

MeirBon commented Jun 3, 2018

Hi everyone,
Sorry for my very late response. I had a XPS 15 last year which had to be repaired 5 times and still wasn't fixed after the last repair. Long story short, it was a big mess and I bought a MacBook Pro. I have just started to use the XPS 15 again as Dell refused to let me return it. I didn't get any notifications of comments on this gist, but I will try to update it with what you have commented and check the comments more often.

@ghost

This comment has been minimized.

Copy link

ghost commented Jun 25, 2018

booting gives me a grey screen with a blinking cursor Xps 9560. PLZ HELP! I removed windows I just wanted to solo boot

@MeirBon

This comment has been minimized.

Copy link
Owner Author

MeirBon commented Jun 28, 2018

@ghost Make sure your SSD/HDD is in AHCI mode instead of RAID and Secure Boot is disabled. Did you follow step 3? That's what causes a blinking cursor I think. Otherwise you could try adding nouveau.modeset=0

@federicourban

This comment has been minimized.

Copy link

federicourban commented Jul 5, 2018

Thanks @MeirBon, this worked beautifully for my new XPS. Some info for those reading: my machine is an XPS 15 9560 with the i7-7700HQ, nVidia GP107M and Intel video cards, the infamous Qualcomm Atheros QC6174, and a 512 SSD. Here's what worked for Manjaro 17.1.11 i3, with kernel 4.17.

  1. Disable Secure boot
  2. Change RAID to AHCI — if I don't I can boot but can't see the SSD
  3. Use acpi_rev_override=1 in the live boot parameters, or it won't boot (with nonfree)
  4. Install with nonfree — in principle I was able to install without acpi_rev_override and free, but the system would randomly freeze after ~10s upon login
  5. Chroot into the nvme0n1p2 (in my case) after installation and before reboot to add acpi_rev_override=1 to /etc/default/grub, and update-grub
  6. Reboot and nearly everything works, power saving works (cpu usage on idle shows 0% to 2%, and cat /proc/acpi/bbswitch shows OFF).

Still fiddling with the wifi: it connects but it's super-slow: I have a 5520 with a realtek on it and it and on the same network it goes at double the speed

Hope this helps!
Federico

@dante825

This comment has been minimized.

Copy link

dante825 commented Aug 1, 2018

I have a Dell G3 with Intel i5-8300H, 12Gb ram, NVidia GTX 1050, intel ssd 256Gb. I have windows 10 installed. I would like to have dual boot manjaro xfce alongside windows 10.

I tried the method above with Manjaro XFCE 17.1.11 but the boot stopped at "Started TLP system startup/shutdown" it won't proceed.
Is there any extra steps needed? Helps would be appreciated.

Regards,
Dante

@stucash

This comment has been minimized.

Copy link

stucash commented Aug 7, 2018

@buchdag are you suggesting replacing those ‘acpi_osi’ overrides with the i915 parameters? If yes could you share the setting you’ve got? I am wondering how much battery you get? as 5-8 hours from OP already looks darn good. Thanks very much!

@stucash

This comment has been minimized.

Copy link

stucash commented Aug 15, 2018

For anyone who has problem with power management as well, you can also add these parameters to grub setting (after quiet):
i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 i915.i915_psr=1 drm.vblankoffdelay=1; any permutation as you wish but I would suggest definitely the first three. manjaro has a page for some of the settings and this page also could be very useful.
Bear in mind you don't have to do this in installtion or chroot (but for us XPSers probably we have to :)), you can always write a i915 config file under /etc/modprobe.d/i915.conf.

@stucash

This comment has been minimized.

Copy link

stucash commented Aug 20, 2018

I am back for an update with batter life, my setup was manjaro with i3, kernal version 4.17, XPS 15 9560. With mild usage (moving mouses and opening terminal, wondering around, etc), I've gone to 30% left after 6 hours running time.

@Cznielsen

This comment has been minimized.

Copy link

Cznielsen commented Sep 22, 2018

For 9570 I couldn't boot the USB without adding at least

systemd.mask=mhwd-live.service

To ignore the hw-check

@MeirBon

This comment has been minimized.

Copy link
Owner Author

MeirBon commented Nov 3, 2018

Hey everyone, I have updated the document with my latest settings and added the suggestions from @stucash, @Cznielsen and @Jonathancollinet

Thanks a lot!

@alexpazzo

This comment has been minimized.

Copy link

alexpazzo commented Nov 10, 2018

hello, there is a typo on "nouvea.modeset=0". the correct option is "nouveau.modeset=0"

@MeirBon

This comment has been minimized.

Copy link
Owner Author

MeirBon commented Nov 15, 2018

@alexpazzo thanks, updated it

@SvenMeyer

This comment has been minimized.

Copy link

SvenMeyer commented Jan 15, 2019

Great summary. Could not get with my XPS15 9560 into GUI from USB-boot but once I figured out that I had to and how to change boot parameter and just replaced "quiet" with " 'acpi_rev_override=1" it worked great.

It's a little but annoying that although I selected a non-US keyboard layout the USB-based system still worked with US-keyboard layout (which makes entering and editing the boot parameters a little bit tricky).

@vitorroriz

This comment has been minimized.

Copy link

vitorroriz commented Feb 10, 2019

Thank you a lot, this saved me a lot of time with Manjaro + i3.

Also, the tips of @Jonathancollinet were very useful. I've installed Manjaro using all the options litest but the option "acpi_rev_override=1" was enough and avoid my boot process to freeze.

@prakharsinha

This comment has been minimized.

Copy link

prakharsinha commented May 19, 2019

I'm installing Manjaro KDE 18.0.4. From what I understand, the only change that has to be made is acpi_rev_override=1... correct?

Funny thing is the installation went thru properly, but when I try to boot into manjaro, laptop gets stuck at the dell logo. where am i going wrong?

@Dema323

This comment has been minimized.

Copy link

Dema323 commented May 26, 2019

@prakharsinha i have exactly the same issue and also dell laptop and KDE

@Dema323

This comment has been minimized.

Copy link

Dema323 commented May 26, 2019

im getting stuck on Load/Save Screen Backlight Brightness of backlight:intel_backlight

@rsetkus

This comment has been minimized.

Copy link

rsetkus commented Jun 1, 2019

Anybody had WiFi issues with Dell XPS 9560? After a while connection gets lost and trying to turn off and then on freezes the system.

@prakharsinha

This comment has been minimized.

Copy link

prakharsinha commented Jun 1, 2019

@prakharsinha i have exactly the same issue and also dell laptop and KDE

you have to update your grub to achpi rev override =1 and update it.

Thats what I had to do

@WDaan

This comment has been minimized.

Copy link

WDaan commented Aug 3, 2019

Dual-boot Windows 10 & Manjaro (i3) (xps 9560)

Thanks @MeirBon & @federicourban

  1. Disable Secure boot
  2. Change RAID to AHCI
  3. Use acpi_rev_override=1 in the live boot parameters
  4. Install with nonfree
  5. Chroot into the nvme0n1p2 (in my case) after installation and before reboot to add acpi_rev_override=1 to /etc/default/grub
    add it on the line with ....CMD_DEFAULT="quiet acpi_rev_override=1" like this.

EXTRA: you can easily chroot by running 'sudo manjaro-chroot -a' and then pressing '1' to select the first & only option.

  1. run 'sudo update-grub' ... in my case it kept hanging but was easily fixed with 'sudo pacman -Syyuu' and then run 'sudo update-grub' again.

  2. Reboot, log into Manjaro... open terminal and run 'sudo os-prober' && 'sudo update-grub'

Congrats... dualboot complete! You should now be able to choose OS on every boot

@notthebee

This comment has been minimized.

Copy link

notthebee commented Oct 22, 2019

Looks like acpi_rev_override doesn't do the trick anymore, at least in my case.
On my 9570 with 4K panel, i7 and 1050ti I still need to set acpi_osi=! acpi_osi="Windows 2009" in order to even reach the desktop in LiveUSB environment (otherwise it freezes completely).
However, when I set the acpi_osi parameter, I get an ever so slight, but noticable keyboard and touchpad lag, plus the touchscreen isn't working.
This happens with both Intel and NVIDIA graphics set as default, on the following systems that I've tried:

  • Fedora 31
  • Ubuntu 19.10
  • Ubuntu 18.04.3
  • Arch Linux
  • GParted LiveCD

Am I missing something here?

@WDaan

This comment has been minimized.

Copy link

WDaan commented Oct 22, 2019

I reinstalled a couple of weeks ago & it still worked.

I sadly don't know what goes wrong with your install :/

@notthebee

This comment has been minimized.

Copy link

notthebee commented Oct 22, 2019

What BIOS version are you on?

@WDaan

This comment has been minimized.

Copy link

WDaan commented Oct 22, 2019

Dell XPS 15 9560 System BIOS - 1.16.0 - 9.73 MB - Urgent
According to SupportAssist

But Manjaro was installed just before I updated my BIOS to that version.

@notthebee

This comment has been minimized.

Copy link

notthebee commented Oct 22, 2019

Oh, my bad, I have a 9570, not 9560.

@alxbxbx

This comment has been minimized.

Copy link

alxbxbx commented Nov 8, 2019

Can I ask you maybe to try running Manjaro Deepin edition on your XPS? I've installed it but it freezes the screen after 5-10 minutes of uptime so I'm not sure if I need to apply these steps while installing Deepin edition (since after the installation I can login and DE is properly loaded).

@Jobra1995

This comment has been minimized.

Copy link

Jobra1995 commented Dec 12, 2019

I installed Manjaro today through your guide and i was wondering. I used the Free Option for drivers and after installation Manjaro booted normally. Is it necessary to edit the following string in Grub: GRUB_CMDLINE_LINUX_DEFAULT="nouvea.modeset=0 nogpumanager pcie_aspm=off acpi_backlight=none acpi_osi=Linux acpi_osi=!"

@MeirBon

This comment has been minimized.

Copy link
Owner Author

MeirBon commented Dec 12, 2019

@Jobra1995 this guide is quite old by now and probably isn't up to date. When I got my XPS 15, Nvidia's Pascal GPUs were causing many issues if you weren't using Nvidia's drivers. The nouveau driver probably is a lot better nowadays thus you don't necessarily require all those flags. Still, if you want all the performance you can get out of your GPU I'd suggest installing the proprietary drivers.

@Jobra1995

This comment has been minimized.

Copy link

Jobra1995 commented Dec 12, 2019

@MeirBon just to get it straight for myself would that mean re installing Manjaro with the Non Free Drivers? And then seeing how it fares and use the flags if necesarry?

Sorry for the probably stupid questions but i'm a new Linux user and choose Manjaro as my first Distro cause it seemed interesting and challenging.

@pythonInRelay

This comment has been minimized.

Copy link

pythonInRelay commented Dec 13, 2019

@MeirBon just to get it straight for myself would that mean re installing Manjaro with the Non Free Drivers? And then seeing how it fares and use the flags if necesarry?

Sorry for the probably stupid questions but i'm a new Linux user and choose Manjaro as my first Distro cause it seemed interesting and challenging.

Manjaro/Arch might be a bit much if you are new to Linux. I would recommend Debian or Mint if you start to have problems with Manjaro. You do not need to add those flags though that you mentioned if you are going to use the proprietary drivers.

@Jobra1995

This comment has been minimized.

Copy link

Jobra1995 commented Dec 13, 2019

Manjaro/Arch might be a bit much if you are new to Linux. I would recommend Debian or Mint if you start to have problems with Manjaro. You do not need to add those flags though that you mentioned if you are going to use the proprietary drivers.

I kinda want to run into problems with Manjaro as it would speed up the learning process of getting used to Linux. I don't mind learning the hard way. But i'll start by installing the proprietaty drivers for now :)

@dontdieych

This comment has been minimized.

Copy link

dontdieych commented Apr 2, 2020

acpi_rev_override=1
This is essential. Without this X11 will hang up when dealing with nvidia.

pcie_aspm=off
without this kernel spit out some pci error/warning

modprobe.blacklist=nouveau
just don't touch nouveau driver. it's abandoned. at least to xps 15 9560

both nouveau and acpi_rev things are important for safely boot into livecd and normal system.

@fqr297

This comment has been minimized.

Copy link

fqr297 commented Apr 7, 2020

acpi_rev_override=1
This is essential. Without this X11 will hang up when dealing with nvidia.

pcie_aspm=off
without this kernel spit out some pci error/warning

modprobe.blacklist=nouveau
just don't touch nouveau driver. it's abandoned. at least to xps 15 9560

both nouveau and acpi_rev things are important for safely boot into livecd and normal system.

Actually you don't need to blacklist Nouveau because when you select nonfree install in boot menu it automatically does it for you and installs Nvidia with PRIME.

@spirosbond

This comment has been minimized.

Copy link

spirosbond commented May 12, 2020

Just to report that I successfully installed Manjaro 20.0.1 with the nonfree drivers and I didn't have to add any flags in the grub configuration.
Just switch to the nonfree drivers in the grub menu when you boot from the live USB and the installation will take care of installing the nonfree drivers.

After that system boots perfectly fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.