Monday, November 13, 2017

11.04 - Installing nVidia drivers from website



My Toshiba laptop has an nVidia graphics card which is not supported in Ubuntu, and there is no Entry in "Additional Drivers"



I tried installing the driver from the nVidia website (Which does have a Linux 64bit version) but nothing happens zwhen I click the .run file (I have made it executable).



The file should be executed in the terminal, not through the file browser. Please make a backup (preferably using disk-cloning software like Clonezilla before proceeding, better safe than sorry. I have had bad experience with the proprietary drivers because my Optimus card is not supported.




  1. Blacklist the nouveau driver by editing the file /etc/modprobe.d/blacklist.conf as root and add the next lines:




    blacklist nouveau
    blacklist nvidiafb


    Alternatively, open a terminal and run the next command:



    printf 'blacklist nouveau\nblacklist nvidiafb\n' | sudo tee /etc/modprobe.d/blacklist.conf

  2. Update the modules dependencies map and the initial ramdisk to remove the nouveau drivers by running the next commands in a terminal.




    sudo depmod -a
    sudo update-initramfs -u

  3. Reboot the machine, and before GRUB is booting, hold the Shift key to make the menu appear.

  4. Select the (recovery mode) entry.

  5. Choose root shell

  6. Assuming you've downloaded the file to /home/user/NVIDIA-Linux-x86_64-260.19.44.run, run the program:



    /home/user/NVIDIA-Linux-x86_64-260.19.44.run



    (root permissions is required because the program needs to write drivers and programs to privileged locations)


  7. Follow the on-screen instructions


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...