summaryrefslogtreecommitdiff
path: root/vimwiki/NvidiaDrivers.md
diff options
context:
space:
mode:
authorVito Graffagnino <vito@graffagnino.xyz>2020-09-08 18:10:49 +0100
committerVito Graffagnino <vito@graffagnino.xyz>2020-09-08 18:10:49 +0100
commit3b0142cedcde39e4c2097ecd916a870a3ced5ec6 (patch)
tree2116c49a845dfc0945778f2aa3e2118d72be428b /vimwiki/NvidiaDrivers.md
parent8cc927e930d5b6aafe3e9862a61e81705479a1b4 (diff)
Added the relevent parts of the .config directory. Alss add ssh config
Diffstat (limited to 'vimwiki/NvidiaDrivers.md')
-rw-r--r--vimwiki/NvidiaDrivers.md44
1 files changed, 44 insertions, 0 deletions
diff --git a/vimwiki/NvidiaDrivers.md b/vimwiki/NvidiaDrivers.md
new file mode 100644
index 0000000..71328ca
--- /dev/null
+++ b/vimwiki/NvidiaDrivers.md
@@ -0,0 +1,44 @@
+***Installation of Nvidia Drivers***
+
+1. First need to ensure that the kernel development and header packages are installed.
+ For Scientific Linux/RHEL/Centos or Fedora type the following yum commands:
+ `yum groupinstall "Development Tools"`
+ `yum install kernel-devel kernel-headers dkms`
+
+2. Before installing the drivers, need the driver product type:
+
+ `lspci -nn | grep VGA`
+
+ which will produce output such as the following:
+ `01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108GL [Quadro 600] [10de:0df8] (rev a1)`
+
+ then go to the [NVIDIA](https://www.nvidia.com/Download/index.aspx) official
+ website and download the appropriate linux driver,
+ in this case for the Quadro 600 driver.
+
+3. Disable the Nouveau Driver. This can be done by editing
+4. `/etc/modprobe.d/blacklist.conf` and adding the line `blacklist nouveau`.
+
+5. In addition the following line can be added to the boot options by
+6. editing `/etc/default/grub` and adding `nouveau.blacklist`
+ option to the line:
+
+ `GRUB_CMDLINE_LINUX_DEFAULT="nouveau.blacklist=1"`
+
+ Then run `grub2-mkconfig -o /boot/grub2/grub.cfg`
+
+7. Create a new initramfs file after taking a backup of the existing one, as follows:
+ `mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak`
+ `dracut -v /boot/initramfs-$(uname -r).img $(uname -r)`
+ `init 3`
+ `X -configure`
+ `reboot`
+
+8. To install the driver make sure that the X-server is stopped (e.g. systemctl stop X ;
+ or /etc/init.d/gdm stop ; or killall X ; etc.). The can run the Nvidia driver install script:
+
+ `sh NVIDIA-Linux-x86_64-390.10.run`
+
+9. Then can reboot into Xwindow by typing `init 5`
+
+