Updated and known to work on 01/03/18 12pm est.
A simple guide to install whatever driver you want from Nvidia’s web site.
It is really not recommended to do this on your Manjaro install unless you have a real need. If you choose to do this keep in mind that you are now responsible for maintaining your own driver, this takes a lot more work than just using the defaults provided by Manjaro. For example, every time there is a kernel update you will have to go though this whole mess again.
Note: This tutorial is command line heavy
Now to the install:
- First goto the Nvidia site and download your desired driver
- move it to the root of the drive / and make it executable in two steps
sudo cp ~/Downloads/NVIDIA-Linux-x86_64-384.59.run /
sudo chmod +x /NVIDIA-Linux-x86_64-384.59.run
- Update your system with pacman and please take note if there is a kernel update, if so you need to reboot and start from this step again.
$ sudo pacman -Syu
- See what kernel you have installed with uname -a
$ uname -a
Linux Z77M 4.11.12-1-MANJARO #1 SMP PREEMPT Fri Jul 21 08:51:46 UTC 2017 x86_64 GNU/Linux
- Install the kernel headers for your running kernel, from uname (as command above) we find we are running kernel 4.11 now we install the headers for linux411.
sudo pacman -S linux411-headers
- Reboot now and make sure you can get to grub for the next step.
- At Manjaro Grub menu use the keyboard to hit “e” to edit the kernel boot line.
- In the grub editor look for the line beginning with Linux, it should look like this.
linux /boot/vmlinuz-4.11-x86_64 root=UUID=0a01099a-1e33-489a-a2de-10104e8492f5 rw quiet
- backspace over the word quiet and add systemd.unit=multi-user.target like below.
linux /boot/vmlinuz-4.11-x86_64 root=UUID=0a01099a-1e33-489a-a2de-10104e8492f5 rw systemd.unit=multi-user.target
- Now boot the system with F10 key
- You should be offered a login, login with your root account. At this point you should have a working system with an Internet connection.
- Change directory to / with (note there is a space after “cd”)
- Run the driver install program
- When it completes you can type
rebootand the system will start as normal with the new driver installed, my first load always takes a little more time to start for some reason.
- You should let the driver install program edit xorg.conf.
- Make sure you are starting from a system that already has the normal Manjaro proprietary drivers installed.
Edit: 08/02/17 noticed personal copy from harddrive that I paste back here gave the wrong home directory command in step 2 and changed it to the more universal ~/.
Edit: 09/26/17 tried to format for clarity while in the light, everything is still working.