Linux: Difference between revisions

607 bytes added ,  6 February 2020
No edit summary
Line 63: Line 63:


==Nvidia==
==Nvidia==
===Driver Installation===
* Run <code>ubuntu-drivers list</code> to get a list of drivers
* Install the latest driver
** E.g. <code>sudo apt install nvidia-driver-440</code>
* If you have secure boot enabled, you will be asked for a password during installation
** This is because the driver is a DKMS module.
** After installation, reboot your computer and select "Enroll MOK" and enter that password in.
** '''Note''' Failure to do this will result in the driver not working
* Validate your installation by running <code>nvidia-smi</code>
===Cuda Installation===
Download cuda from the nvidia website.
===Switching between Nvidia and Intel===
===Switching between Nvidia and Intel===
[https://www.linuxbabe.com/desktop-linux/switch-intel-nvidia-graphics-card-ubuntu Reference] <br>
[https://www.linuxbabe.com/desktop-linux/switch-intel-nvidia-graphics-card-ubuntu Reference] <br>