Ubuntu 15.10 won't start with NVIDIA drivers installed
Solution 1
First you have to uninstall all NVIDIA drivers and repositories you have already installed before.
When the GRUB boot menu appears - Highlight the Ubuntu menu entry and press the E key.
Add the nouveau.modeset=0
parameter to the end of the linux line ... Then press F10 to boot.
When the login screen appears - press Ctrl+Alt+F1.
Enter your user name and your password - then execute :
sudo apt-get install ppa-purge
sudo apt-get purge nvidia*
sudo ppa-purge ppa:xorg-edgers/ppa
sudo reboot
Now install the latest official NVIDIA drivers 358.16 which support your GEFORCE GTX 960 GPU.
When the GRUB boot menu appears - Highlight the Ubuntu menu entry and press the E key.
Add the nouveau.modeset=0
parameter to the end of the linux line ... Then press F10 to boot.
When the login screen appears - press Ctrl+Alt+F1.
Enter your user name and your password - then execute :
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-358
sudo reboot
Solution 2
With this I refer to the link given here :
Has anyone successfully installed CUDA 7.5 on Ubuntu 14.04.3 LTS x86_64?
There is Method A and Method B explained by me :
First of course clean the non-suiting installations with :
sudo apt-get install ppa-purge
sudo apt-get purge nvidia*
sudo ppa-purge ppa:xorg-edgers/ppa
sudo reboot
For place reasons only Method A here :
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-355 nvidia-prime
or is this working ?:
sudo apt-get install nvidia-358 nvidia-prime ?
sudo reboot
Happy coding and merry x-mas.
Solution 3
This will remove the nouveau
driver and will allow you to install the proprietary driver from the Nvidia website
sudo apt-get -y autoremove xserver-xorg-video-nouveau --purge
Here is the proprietary Nvidia driver for your specific GPU:
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/352.63/NVIDIA-Linux-x86_64-352.63.run
Then you just have to run the command below and it will install the Nvidia driver:
sudo sh NVIDIA-Linux-x86_64-352.63.run
Related videos on Youtube
Stefan Hamcke
Updated on September 18, 2022Comments
-
Stefan Hamcke over 1 year
I recently bought a new desktop computer and installed Ubuntu 15.10 64-Bit on it. By default, the nouveau driver is in use for my Nvidia Geforce GTX 960, but I cannot watch any video on Youtube with more than 360 pt, so I installed the proprietary Nvidia drivers. The boot process, however, does not get past the Ubuntu logo with the blinking circles below it, and I cannot do anything in that situation except for pressing Ctrl+Alt+Del to reboot. This happens with the driver from the standard repository (nvidia-352 which is installed via the software-properties-gtk interface) as well as with the driver from the Xorg-Edgers PPA (nvidia-304 on which the nvidia-current package depends). I would try the driver from the official Nvidia page, but it requires me to disable the nouveau driver first and I don't know how to do that.
Does anyone have an idea on how to get the driver working?
Update (12/04/15): With the boot options
quiet splash nomodeset
, the system boots normally. After some file system checks, the Nvidia logo appears and then the login screen appears. The output oflspci -v | grep -A 14 NVIDIA
01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1) (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. Device 8678 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 138 Region 0: Memory at de000000 (32-bit, non-prefetchable) [size=16M] Region 1: Memory at c0000000 (64-bit, prefetchable) [size=256M] Region 3: Memory at d0000000 (64-bit, prefetchable) [size=32M] Region 5: I/O ports at e000 [size=128] [virtual] Expansion ROM at df000000 [disabled] [size=512K] Capabilities: <access denied> Kernel driver in use: nvidia 01:00.1 Audio device: NVIDIA Corporation Device 0fba (rev a1) Subsystem: ASUSTeK Computer Inc. Device 8678 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin B routed to IRQ 17 Region 0: Memory at df080000 (32-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: snd_hda_intel 02:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller (prog-if 30 [XHCI]) Subsystem: ASUSTeK Computer Inc. Device 8675 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes
suggests that the nvidia module is in use, which I can confirm with
lsmod
. Still, I can watch Youtube videos only in 144p.Update (12/07/15): It finally works. I cannot say precisely what made it work. I installed two packages: nvidia-common and nvidia-modprobe, updating all installed packages in the process. I also ran
nvidia-xconfig
which created a xorg.conf in my /etc/X11/ folder. Finally I addedquiet splash nomodeset
to my grub.cfg (as opposed to adding them in the grub menu at each boot). After rebooting, I was able to watch videos in HD. I then deleted the xorg.conf and also purged the two packages I had just installed, and it still works. So either the updating of my installed packages or the boot parameters in the grub.cfg made the difference.Update 2 (12/07/15): So I removed the
quiet splash nomodeset
from my grub.cfg (and I didn't add them in the boot process either), and it still works. So I have no idea what changed the situation. Let's just see if this change is permanent now :-)-
cl-netbox over 8 yearsI regularly check the status of the questions and the issues I am trying to help getting fixed. As it seems, everything is working fine now. I am glad that you have got your problem solved. Sometimes things just have to settle down. When you install the drivers, the configuration of the settings occur automatically. Maybe something did not work as it should in your earlier attempts. The graphics drivers installation experience depends a lot on the specific hardware and the current kernel. Hope I could help you with my answer and assistance to achieve the solution - enjoy ubuntu experience ! :)
-
-
Stefan Hamcke over 8 yearsI'll try that ...
-
Stefan Hamcke over 8 yearsWith
nouveau.modeset=0
the system hangs the same way as when the Nvidia drivers are installed, so I could only perform the steps without that option. -
cl-netbox over 8 years@StefanHamcke : The parameter disables nouveau only for the time you are uninstalling the old drivers and installing the new drivers. After installation of the new NVIDIA drivers you do not have to add the parameter anymore. If it doesn't work, perform the installation without adding the boot parameter.
-
Stefan Hamcke over 8 yearsThe problem is that I cannot even access the tty1 via Ctrl+Alt+F1 when the problem occurs.
-
cl-netbox over 8 years@StefanHamcke : Try to boot with the parameter nomodeset instead of nouveau.modeset=0.
-
Stefan Hamcke over 8 yearsIt did not work :-(
-
Stefan Hamcke over 8 yearsI installed the latest drivers from the graphics-drivers ppa but to no avail. Now I've booted in recovery mode,
lspci
says that the kernel driver in use is nvidia, but I can't watch videos in more than 360pt, so booting in recovery mode is not a solution. -
cl-netbox over 8 years@StefanHamcke : Maybe something went wrong with the basic system installation. My suggestion : Make a new clean install - format the ubuntu partition with ext4 before, using GParted from the Ubuntu Live installation media and after installation is finished, first install the NVIDIA drivers (with or without adding the parameter) following the instructions ... As it is a new install, the first part (purge) is not necessary.
-
Stefan Hamcke over 8 yearsOK, I'll try a fresh install, although this installation is pretty fresh, just bought the PC yesterday. Thanks for your answer, by the way :-)
-
Stefan Hamcke over 8 yearsOK, I reinstalled Ubuntu, and immediately afterwards, I installed nvidia-355 from your PPA. I still cannot boot normally, only in recovery mode :-(
-
cl-netbox over 8 years@StefanHamcke : Strange ... then there must be something wrong with your hardware ... just guessing : maybe a switch in BIOS ? Otherwise I would ask the hardware vendor, because all of these installation instructions worked in nearly all of the cases. I am really sorry that I cannot help you further with this. :)