deb (network)
to Download.nvidia-smi
Open .bashrc
Add these lines to .bashrc file
Change 11.1 to the latest version
sudo dpkg -i libcudnn8_8.0.4.30-1+cuda11.1_amd64.deb
sudo dpkg -i libcudnn8-dev_8.0.4.30-1+cuda11.1_amd64.deb
sudo dpkg -i libcudnn8-samples_8.0.4.30-1+cuda11.1_amd64.deb
Test passed!
sudo apt install nvidia-cuda-toolkit -y
nvcc --version
In this example, the name of virtual environment is set as "venv" using the below command, you can use any other name.
sudo snap install slack --classic
sudo snap install vlc
sudo snap install pycharm-community --classic
sudo snap install simplenote
sudo snap install blender --classic
sudo snap install pinta-james-carroll
sudo snap install code --classic
cat /proc/sys/fs/inotify/max_user_watches
sudo nano /etc/sysctl.conf
sudo sysctl -p
Enable ‘Minimize on Click’ for the Ubuntu Dock
gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'
sudo apt-get install gnome-tweaks
Open Software & Updates, Other Software tab.
find the PPA definition that contains "gnome-terminator"
select it and click Edit
For ubuntu 18.xx: change the Distribution field from bionic to xenial
For ubuntu 20.xx: change the Distribution field from bionic to focal
Open .bashrc
Add this lines to .bashrc file
Update bashrc
or
Using the above command, check the recommended Nvidia-driver (in my case, it was nvidia-driver-440)
Open softare & updates
program from you application menu. Click the additional drivers
tab.
Select nvidia-driver that you want to install.
Then click on Apply Changes
and then close.
Install from the popup window.
If you couldn't install from the popup window, then run the command, sudo apt install nvidia-440
If a window asking for bios password popsup, then create an 8 character password and use it after reboot when a blue screen comes. Choose the second option on the blue screen and enable the key. (I don' remeber exactly that what options are there.)
nvidia-smi
It's apparently a better solution to run X11 as root. The one-line fix is to add this line to /etc/X11/Xwrapper.config:
You can install xserver-xorg-core appropriate for your system by just typing
If you are still having the problem please add the output of :
Add nouveau.modeset=0
to the end of the linux line - press F10 to boot.