Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

After I have managed to get running Ubuntu 14.04 (look at my last question about booting upgraded Ubuntu) now there is another problem: To continue with that story: I found a way to burn the image on a DVD. I took the amd64-image and with that it was no problem. Even under Windows now it was possible to burn the iso-image. Ubuntu then gave me the option to "reenstall" the already installed but not opening 14.04-distribution. So my data remained in home-directory. But: I didn't know that my machine is able to run 64-bit as it is an Intel processor but the machine has more than 2G RAM, exactly 5,8G. So the whole installation ran smoothly and Ubuntu is there again with 14.04. But: Now I need a new driver for my NVIDIA Gforce GT 630 (correct?). The former driver was rejected as not compatible with the 64-bit. I found that other driver and when I wanted to install it in the terminal with sh I was called first to stop the x-server. It cannot be installed with running x-server.

So the next question: how to stop the x-server? or: how to boot until console prompt without starting the x-server? Somebody can explain it to me so that even I can understand it? The explanation in the Nvidia web site for installation under Linux I didn't understand.

share|improve this question
3  
any reason why you are not using the default additional drivers tab? askubuntu.com/questions/47506/how-do-i-install-extra-drivers –  fossfreedom Apr 20 at 9:53
    
reason: I haven't seen that tag –  Horst Seeger Apr 21 at 8:10
    
possible duplicate of Ubuntu 14.04: nvidia drivers cannot be installed –  RockScience May 18 at 5:30
    
@HorstSeeger, If your problem is solved you should check the correct answer. –  Scotia 웃 Jul 3 at 3:55

7 Answers 7

up vote 0 down vote accepted

You can install Ubuntu open sources drivers , for GT 630 you can use: sudo apt-get install nvidia-304 nvidia-304-updates

share|improve this answer
    
Now I have followed your advice to use: sudo apt-get install nvidia-304 nvidia-304-updates –  Horst Seeger Apr 21 at 8:02
2  
As I say: I followed your advice to use that line. result: ubuntu bootes till the red screen with Ubuntu 14.04 LTS down left and the mouse pointer works but nether Unity nor Gnome appears. Before at least Unity was working without letting me change the background. It was also just read but with all icons and the launcher. Gnome was working completely. Now there is just that red background without anything accessable. How to go on now? –  Horst Seeger Apr 21 at 8:12
1  
In this situation you can use Ctrl+Alt+1 and use ubuntu in text mode, if it blocks you can switch to 2 by Ctrl+Alt+2. The number 7 is the desktop and the number 8 is the log screen. –  L.V.A Apr 22 at 6:56
    
As I wrote already under a subsequent question: my problems are solved. Nvidia is running, Unity and Gnome are running. But thank you for the advices about Ctrl+Alt+F1, F2, F7. These possibilities of working with the console I didn't know yet and they helped me a lot. –  Horst Seeger Apr 23 at 7:20
2  
I once screwed up my system entirely by running "sudo apt-get install nvidia-something", too. NEVER DO THAT –  matteo Aug 5 at 19:08

You can download the driver for your video card for Ubuntu 64bit from here. Assuming that you are using Ubuntu 64bit now. If you installed Ubuntu 32 bit, there is 331 version of the same driver for Ubuntu 32bit. Save your driver somewhere where you can easily access it, like your user home directory or inside a newly created nvidia directory in your user home directory.

To be able to install your nvidia driver you have to remove your previous video driver with this code in a terminal window:

    sudo apt-get remove nvidia*

After you finish with this one, you should also blacklist the nouveau driver by editing this file:

    sudo gedit /etc/modprobe.d/blacklist-nouveau.conf

…and add these lines at the end:

    blacklist nouveau
    blacklist lbm-nouveau
    options nouveau modeset=0
    alias nouveau off
    alias lbm-nouveau off

If, by any chance, there is no blacklist-nouveau.conf present in /etc/modprobe.d/, you can save your file as blacklist-nouveau.conf when prompted.

And you can also disable the Kernel Nouveau by typing these lines in a terminal window:

    echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf

and after that

    update-initramfs -u

Now you can reboot your computer, and when you get to the login prompt, press Ctrl+Alt+F1 to exit to the terminal console. Login with your username and password.

Go to the directory where you saved your nvidia driver using the command cd in the terminal console. Eg. cd nvidia considering that you are already in your user home directory after you login. You can use command dir to be able to see your exact driver's name.

To stop your display manager or the X server, you can type in the console this code:

   sudo stop lightdm   or

   sudo lightdm stop

If you are not using lightdm as your default display manager (DM), replace lightdm with your default display manager, which can be either kdm or gdm or whatever your display manager is.

You should get a message in the terminal console saying --> lightdm stopped/waiting

Install Linux Headers using

  sudo apt-get install linux-headers-generic

And now you can finally install the nvidia driver using a code similar to this one:

  sudo sh NVIDIA-Linux-x86_64.....run    (for Ubuntu 64bit)  

or

  sudo sh NVIDIA-Linux-x86.....run    (for Ubuntu 32bit)

If you don't type the exact name of the driver, you'll get this message: NVIDIA-Linux... could not be found and you should type again the code for installing the driver.

Nvidia installer automatically installs the driver, and at the end it will ask you whether you want to save your new X configuration. Press Yes. After reboot and getting to your desktop and changing your NVIDIA settings as you please you should open a terminal window and type in this code:

  sudo nvidia-xconfig

to save your new nvidia configuration in /etc/X11/xorg.conf.

It can happen that after reboot your system shows a black screen or enters the low graphics mode. To fix this you should exit again to the console terminal, login with your username and password, and use the code provided above sudo nvidia-xconfig and also make use of the following tutorial. It is meant to fix the greeter assuming that they haven't fixed this bug in Ubuntu 14.04.

share|improve this answer
    
Thanks for that clear explanation. Maybe I should have followed it. But I went the simpler way as you see above. Now I need a way to make Unity and Gnome running again –  Horst Seeger Apr 21 at 8:17
    
Visit this page and see if you can find anything worth exploring in there. –  floppy Apr 21 at 8:48
1  
Nice guide, helped me a lot :) –  BlackHawkDesign Aug 23 at 15:24
1  
Is there any particular reason to use this answer and not the simple "additonal drivers tab" thing –  user2618142 Aug 25 at 14:51
1  
No reason at all! –  floppy Aug 25 at 16:18

Here's what I do (via PPA):

I add a xorg-edgers PPA first:

sudo add-apt-repository -y ppa:xorg-edgers/ppa

Then I either install from command line or from additional drivers section.

First, update your package list:

sudo apt-get update

Additional drivers are now updated with newer packages.

And alternatively, from terminal, install nvidia-331 (for v331), nvidia-337 (for v337) or nvidia-current (for very recent version).

After installing, don't forget to logout or reboot, and log back in.

share|improve this answer

I have had a lot of issues with NVIDIA and Ubuntu 14.04. But eventually, I managed to install it. I have Acer Aspire laptop with Nvidia GeForce 820M.

Here how it goes:

  • Install nvidia-331. I did it through Synaptic Package Manager. But I guess

$ sudo apt-get install nvidia-331

will work as well. I did NOT perform sudo apt-get install nvidia-331-updates. I did NOT perform any additional disabling of the nouveau driver.

  • Then I rebooted the system.

  • I have downloaded cuda_5.5.22_linux_64.run from NVidia web page and extracted to separate files:

    $ chmod 755 cuda_5.5.22_linux_64.run
    $ ./cuda_5.5.22_linux_64.run -extract=/home/user/Downloads/cuda-5.5
    $ ls 
    cuda-linux64-rel-5.5.22-16488124.run    NVIDIA-Linux-x86_64-319.37.run cuda-samples-linux-5.5.22-16488124.run
    
    $ sudo sh cuda-linux64-rel-5.5.22-16488124.run
    $ sudo sh cuda-samples-linux-5.5.22-16488124.run
    
  • Then I compiled 1_Utilities/deviceQuery and it worked. And then I compiled the 0_Simple/matrixMul and it worked as well. Be sure to set $PATH and $LD_LIBRARY_PATH.

I have tried to follow the same path with cuda 6.0. Although deviceQuery compiled, it failed to execute:

$ ./deviceQuery 
./deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
cudaGetDeviceCount returned 3
-> initialization error
Result = FAIL

$ echo $PATH
/opt/cuda-6.0/bin:/opt/cuda-5.5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

$ echo $LD_LIBRARY_PATH
/opt/cuda-6.0/lib64:/opt/cuda-6.0/lib:/opt/cuda-5.5/lib64:/opt/cuda-5.5/lib:
share|improve this answer

I had this same problem. I just opened my NVIDIA X Server Settings, clicked on PowerMizer, changed Preferred Mode to "Prefer Maximum Performance" and that fixed it. So it does look to be a problem occurring when the Video Card tries to save power by changing/lowering clock speed temporarily. This is why it feels intermittent.

share|improve this answer

You should try the nouveau driver with bumblebee. I got stuck with it because for some reason, in ubuntu gnome 14.04.1 amd64, installing any nvidia proprietary driver has the result of gnome shell being unable to load successfully. Although, if you use optirun glxspheres64 or primusrun glxspheres64 the fps is very low, in games it appeears to be vary robust. I play NFS World and WOT and the performance is quite better than using nvidia 331 with bumblebee.

share|improve this answer

sudo add-apt-repository -y ppa:xorg-edgers/ppa

sudo apt-get update

sudo apt-get install nvidia-current

I have an Asus Nvidia 750 ti card OS Ubuntu 14.04

share|improve this answer
    
Hi! - it helps the users learn a little bit if you explain why the commands are being run –  Charles Green Aug 4 at 15:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.