There are several questions floating around about getting Ubuntu LTS working with Nvidia 960M cards. Given that there's no definitive answer, I want to offer the following: after testing several distros, Knoppix and Kali both worked without any problems.
So, my questions:
- What is different about Ubuntu that Nvidia drivers don't work out of the box?
- More importantly, is there an easy way (for an end user) to import whatever's working into Ubuntu 16.04?
Edit: Here's what I tried:
- Purged nvidia-* and reinstalled 364 drivers.
- Got login loop, followed answers here (chown, chmod, rm .Xauthority, and /tmp)
- Reinstalled xorg and unity.
- Went to NVIDIA website and found the latest driver version that works with my card (opted for the Long lived branch).
- Purged nvidia* (no dash, following a tip in a comment), and reinstalled 367 drivers.
- Purged nvidia*, reinstalled 370 drivers. Currently stuck at login loop, after following instructions from 2.
Basically, there are two main steps to solve this: first, install Ubuntu, then get your graphics working properly.
Update: I installed system updates last night and the system would not boot. Not sure if the update process went well, or gave an error somewhere. Anyway, in hindsight, I think it would be better to update first, then follow these steps. If that doesn't work, then no system update =P. Today I tried purging and redoing these steps, and no dice.
Update 2: Decided to try Elementary OS, to see if out of the box drivers worked. No luck, same problems, and same solution: followed the steps from "Getting decent graphics" (below), and everything worked until I ran system update.
Update 3: Got it working with Yakety Yak, including latest system updates. See instructions below.
Update 4: YY broke, replicated procedure in 16.04 and it worked, see below.
Installing Ubuntu
- When you boot to the USB for the first time (Grub), press
e
to edit boot options - At the end of the line that starts with
linux
, addnomodeset,
then press F10. - You'll have to install with 800x600 resolution (hopefully not worse than that). It's doable, since you can move windows around, or press
Enter
to advance through dialogs.
Getting decent graphics in 16.04 and 16.10
- Install all updates from the Software Centre.
- Open Unity Launcher, type Additional Drivers and run that.
- Pick the Nvidia driver that appears, click Apply.
- Finally, remove
nomodeset
fromgrub.cfg
using the instructions here (note that the instructions explain how to add it permanently, so, adjust accordingly). - Restart.
No comments:
Post a Comment