Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Rishabh Jangir jangirrishabh

🎯
Focusing
View GitHub Profile
@8enmann
8enmann / reinstall.sh
Last active Jun 8, 2020
Reinstall NVIDIA drivers without opengl Ubuntu 16.04 GTX 1080ti
View reinstall.sh
# Download installers
mkdir ~/Downloads/nvidia
cd ~/Downloads/nvidia
wget https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda_8.0.61_375.26_linux-run
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/384.59/NVIDIA-Linux-x86_64-384.59.run
sudo chmod +x NVIDIA-Linux-x86_64-384.59.run
sudo chmod +x cuda_8.0.61_375.26_linux-run
./cuda_8.0.61_375.26_linux-run -extract=~/Downloads/nvidia/
# Uninstall old stuff
sudo apt-get --purge remove nvidia-*
@graphific
graphific / 2_test_gpu_cuda.sh
Last active Sep 19, 2017
Test script for checking if Cuda and Drivers correctly installed on Ubuntu 14.04
View 2_test_gpu_cuda.sh
#!/usr/bin/env bash
# Test script for checking if Cuda and Drivers correctly installed on Ubuntu 14.04, by Roelof Pieters (@graphific)
# BSD License
if [ "$(whoami)" == "root" ]; then
echo "running as root, please run as user you want to have stuff installed as"
exit 1
fi
###################################
# Ubuntu 14.04 Install script for:
You can’t perform that action at this time.