Advertisement
Guest User

Nvidia on Debian

a guest
Apr 24th, 2016
525
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. 1. Lets remove first everything that point to any existing nvidia installation.
  2.  
  3. open a terminal and type:
  4.  
  5. sudo apt-get remove nvidia*
  6.  
  7. sudo apt-get autoremove
  8.  
  9. 2. Update and download a few tools that we will need:
  10.  
  11. sudo apt-get update
  12.  
  13. sudo apt-get install dkms build-essential linux-headers-$(uname -r)
  14.  
  15. 3. This part is (optional) but its is recommended:
  16.  
  17. Install 32 bit support:
  18.  
  19. dpkg --add-architecture i386
  20.  
  21. sudo apt-get update
  22.  
  23. sudo apt-get install lib32z1 lib32ncurses5
  24.  
  25. sudo apt-get update
  26.  
  27. 4. Now its time to blacklist the nouveau driver.
  28.  
  29. sudo nano /etc/modprobe.d/blacklist-nouveau.conf
  30.  
  31. and add the following lines:
  32.  
  33. blacklist nouveau
  34. blacklist lbm-nouveau
  35. options nouveau modeset=0
  36. alias nouveau off
  37. alias lbm-nouveau off
  38.  
  39. 5. Disable the Kernel nouveau by typing the following commands:
  40.  
  41. echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf
  42.  
  43. sudo update-initramfs -u
  44.  
  45. 6. Download Nvidia drivers from nvidia.com and:
  46.  
  47. cd ~/Downloads/
  48.  
  49. chmod u+x NVIDIA-Linux-x86_64-361.42.run
  50.  
  51. 7. Stop the X-server:
  52.  
  53. sudo /etc/init.d/gdm3 stop
  54.  
  55. 8. Execute the installation:
  56.  
  57. sudo ./ NVIDIA-Linux-x86_64-361.42.run
  58.  
  59. 9. Reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement