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

commented Jun 24, 2017

Worked for me for Manjaro i3, big thx!

@MerwinV1

This comment has been minimized.

Copy link

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

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

commented Sep 20, 2017

anything needed with nvidia drivers?

@adridev

This comment has been minimized.

Copy link

commented Sep 26, 2017

Good job!

@buchdag

This comment has been minimized.

Copy link

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

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

commented Oct 4, 2017

Y'all running xcfe I would assume?

@dishcandanty

This comment has been minimized.

Copy link

commented Oct 4, 2017

I'm using gnome

@ASafdari

This comment has been minimized.

Copy link

commented Oct 13, 2017

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

@wadouk

This comment has been minimized.

Copy link

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

commented Oct 31, 2017

Thank you very much for this! Keeping it 💯

@Jonathancollinet

This comment has been minimized.

Copy link

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

commented Nov 9, 2017

You saved me some days of frustration! Thanks!

@luispabon

This comment has been minimized.

Copy link

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

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

commented Dec 20, 2017

@Jonathancollinet +1 works great, no error

@KevOBrien

This comment has been minimized.

Copy link

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

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

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

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

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

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

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

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

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

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

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

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

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

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

commented Nov 15, 2018

@alexpazzo thanks, updated it

@SvenMeyer

This comment has been minimized.

Copy link

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

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

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

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

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

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

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

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

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.