Skip to content
Home » NVidia

NVidia

Visit Tacticalware.com for information related to this tag and others. We look forward to assisting in your tech projects with our in-depth knowledgebase…

INSTALL NVIDIA DRIVERS, CUDA, TENSORFLOW AND ANACONDA ON UBUNTU 20.04

Quick note on how to install the packages. It is in no particular order, these are raw notes my from my temporary build

Install Ubuntu

Open a terminal
sudo bash
apt-get update
apt-get dist-upgrade
nvidia-smi


Pick the version you want to use
apt install nvidia-utils-510
reboot


Open a terminal
sudo bash
nvidia-smi
ubuntu-drivers autoinstall
apt-get install curl


Go to the Anaconda site and download the latest build. For me it was the one below
cd Downloads/
bash Anaconda3-2021.11-Linux-x86_64.sh
source ~/.bashrc
conda info
conda update conda
conda update anaconda
sudo apt install nvidia-cuda-toolkit
reboot


Open a terminal
sudo bash
anaconda-navigator


Open a new notebook
pip install –upgrade tensorflow
Press run


Open a new notebook
import tensorflow as tf
print(tf.version)


Tensorflow will show the version

NVIDIA 1080 TI DRIVER INSTALL ON PARROT OS

This is a tricky one. Getting your NVidia 1080 Ti drivers installed and running on Parrot OS can be a pain. These directions are how to install them on a bare metal system

Open a terminal
Type:
sudo bash
Enter your password

nano /etc/modprobe.d/blacklist-nouveau.conf
Add the following to the file:
blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off

Save the file, exit, and reboot your system

Once back on the desktop
Open a terminal
Type:
sudo bash
Enter your password
apt-get update && apt install nvidia-driver
Type y when prompted
reboot

Once back on the desktop
Open a terminal
Type:
sudo bash
Enter your password
apt install -y ocl-icd-libopencl1 nvidia-cuda-toolkit
Type y when prompted
reboot

Once back on the desktop
Open a terminal
Type:
sudo bash
Enter your password
nvidia-smi – this will show your card now
hashcat -b – this will run hashcat for your system to show benchmarks

That’s it!

The hardware that I used in this guide:
Gigabyte AORUS GeForce GTX 1080 Ti (QTY 6):
https://amzn.to/2JqvXC8

Motherboard (QTY 1): 
https://amzn.to/2JqGJZ7

CPU (QTY 1): 
https://amzn.to/3qevp2X

Memory (QTY 1): 
https://amzn.to/2JqHn8Z

Hard Drive (QTY 1):  
https://amzn.to/3lic3X5

Risers (QTY 6):  
https://amzn.to/33rIgVE

Power Supplies (QTY 2):
https://amzn.to/3fTRpLR

Add2PSU (QTY 1):
https://amzn.to/39s4URY

Power Switch (QTY 1):  
https://amzn.to/3ljmNVk


Mining Veil with CryptoDredge 0.18.0, CUDA 10, on Ubuntu 18.04 with NVidia 1080 TI Cards

  • Mining

This Guide Assumes You Have the OS and Drivers Already Installed

Login to the headless rig

At the command prompt type:

sudo bash

apt-get update

apt-get upgrade

reboot

Log back into the rig

sudo bash

mkdir /miner && cd /miner

wget

tar zxvf CryptoDredge_0.18.0_linux_x64_cuda_10.0.tar.gz

cd CryptoDredge_0.18.0

nano run-veil-bsod.sh

Enter in the following all on one single line:


./CryptoDredge -a x16rt -o stratum+tcp://us.bsod.pw:2532 -u VN1umGknb7NqoL9Fj6d5oU34ZFCs7NbySU -p c=VEIL -i 8

Save the file and Exit

chmod +x run-veil-bsod.sh

screen ./run-veil-bsod.sh

That’s it. Thanks for reading.

The hardware that I used in this guide:
Gigabyte AORUS GeForce GTX 1080 Ti (QTY 6):
https://amzn.to/2JqvXC8

Motherboard (QTY 1): 
https://amzn.to/2JqGJZ7

CPU (QTY 1): 
https://amzn.to/3qevp2X

Memory (QTY 1): 
https://amzn.to/2JqHn8Z

Hard Drive (QTY 1):  
https://amzn.to/3lic3X5

Risers (QTY 6):  
https://amzn.to/33rIgVE

Power Supplies (QTY 2):
https://amzn.to/3fTRpLR

Add2PSU (QTY 1):
https://amzn.to/39s4URY

Power Switch (QTY 1):  
https://amzn.to/3ljmNVk

Mining SUQA with NVIDIA 1080TI Cards

How To Mine SUQA on Ubuntu 18.04 with NVidia 1080 TI cards and CUDA 10

This guide assumes you already have the OS, Drivers, and CUDA installed

sudo bash

apt-get install libc-ares2

cd /miner/drivers/

wget https://github.com/technobyl/CryptoDredge/releases/download/v0.14.0/CryptoDredge_0.14.0_cuda_10.0_linux.tar.gz

tar zxvf CryptoDredge_0.14.0_cuda_10.0_linux.tar.gz

rm Cry*.z

cd CryptoDredge_0.14.0/

nano run-suqa-beepool.sh

Insert your wallet address

Save and Exit

chmod +x run-squa-beepool.sh

./run-squa-beepool.sh

That’s it. Thanks for reading!


The hardware that I used in this guide:
Gigabyte AORUS GeForce GTX 1080 Ti (QTY 6):
https://amzn.to/2JqvXC8

Motherboard (QTY 1): 
https://amzn.to/2JqGJZ7

CPU (QTY 1): 
https://amzn.to/3qevp2X

Memory (QTY 1): 
https://amzn.to/2JqHn8Z

Hard Drive (QTY 1):  
https://amzn.to/3lic3X5

Risers (QTY 6):  
https://amzn.to/33rIgVE

Power Supplies (QTY 2):
https://amzn.to/3fTRpLR

Add2PSU (QTY 1):
https://amzn.to/39s4URY

Power Switch (QTY 1):  
https://amzn.to/3ljmNVk

Headless Mining RVN with Z-Enemy on Ubuntu 18.04

Using NVIDIA 1080 TI Cards, Ubuntu Server 18.04, and Z-Enemy 1.26 to Mine Raven

Here is the quick installation notes on how to mine Raven.  My hashrate has almost doubled over running ccminer, on the same coin and same pool.

Log into the rig

sudo bash

apt-get -y install libcurl3

mkdir /miner && mkdir /miner/drivers && mkdir /miner/drivers/z-enemy
cd /miner/drivers/z-enemy

wget

tar zxvf z-enemy-1.26-cuda100-Linux.tar.gz

nano Raven.sh

Insert the following into the file#

#!/bin/sh

nvidia-smi -pm 1
nvidia-smi -acp 0
nvidia-smi -pl 300
sleep 2
export GPU_FORCE_64BIT_PTR=0
export GPU_MAX_HEAP_SIZE=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100

./z-enemy -a x16r -o stratum+tcp://ravenminer.com:3636 -u RMzHAFgqgjV5qLkajBjLQ325V7HWBpG3d9 -p d=16 -i 20

CTRL + X to Save and Exit

chmod +x Raven.sh

./Raven.sh

You are now mining! Thanks for reading!

The hardware that I used in this guide:
Gigabyte AORUS GeForce GTX 1080 Ti (QTY 6):
https://amzn.to/2JqvXC8

Motherboard (QTY 1): 
https://amzn.to/2JqGJZ7

CPU (QTY 1): 
https://amzn.to/3qevp2X

Memory (QTY 1): 
https://amzn.to/2JqHn8Z

Hard Drive (QTY 1):  
https://amzn.to/3lic3X5

Risers (QTY 6):  
https://amzn.to/33rIgVE

Power Supplies (QTY 2):
https://amzn.to/3fTRpLR

Add2PSU (QTY 1):
https://amzn.to/39s4URY

Power Switch (QTY 1):  
https://amzn.to/3ljmNVk

Z-Enemy 1.26 on Windows 10 with NVIDIA 1080TI Cards and CUDA 10.0

  • Mining

How to Mine Ravencoin on Windows

Here is the quick and dirty:

Install the latest NVIDIA drivers:
https://www.nvidia.com/content/DriverDownload-March2009/confirmation.php?url=/Windows/417.22/417.22-desktop-win10-64bit-international-whql.exe&lang=us&type=TITAN

Reboot

Download and install Visual Studio Community Edition
https://visualstudio.microsoft.com/downloads/

Install the software

Reboot

Now you will want to Download CUDA 10
https://developer.nvidia.com/cuda-downloads?target_os=Windows&target_arch=x86_64&target_version=10&target_type=exelocal

Select Windows > x86_64 > 10 > exe (local)

Download z-enemy 1.26 from here:
https://bitcointalk.org/index.php?topic=3378390.0       

Or direct from this link:
!hOQyzS5T!MNgW0srchmQHSgbpM5D0nKaiABG_6l44i-MYF-iUeEA

Extract the files to your Desktop

Find the mining pool/coin combination that you want to use

Right click on the batch file

Select Edit

Insert your wallet address in place of the currently listed wallet

Save the file and Exit

Double Click on the Batch file, and your miner will begin

Monitor it for a while, and adjust as necessary, then let it run without interference

Mining Minex on Ubuntu 18.04 Using EWBF with NVIDIA 1080TI Cards

  • Mining

How To Install and Run EWBF 0.6 for MINEXCOIN on UBUNTU 18.04

login

sudo bash

apt-get update
apt-get dist-upgrade
apt-get install gcc libglu1-mesa libxi-dev libxmu-dev libglu1-mesa-dev screen

lspci | grep -i nvidia

Check to see if all gpus are listed

apt-get install linux-headers-$(uname -r)

mkdir /miner && mkdir /miner/drivers/ && mkdir /miner/drivers/ewbf && mkdir /miner/drivers/intel && mkdir /miner/drivers/nvidia

add-apt-repository ppa:graphics-drivers/ppa

apt-get update

apt-get install nvidia-driver-410

reboot

nvidia-smi

cd /miner/drivers/ewbf

wget

tar xf EWBF*.gz

cd EW*

nano start.sh

#!/bin/sh
nvidia-smi -pm 1
nvidia-smi -acp 0
nvidia-smi -pl 300
sleep 2
export GPU_FORCE_64BIT_PTR=0
export GPU_MAX_HEAP_SIZE=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100
./miner –algo 96_5 –server stratum.minexpool.eu –port 3333 –user XaaXTPw4UwL8xnkdStHTCCMRXAWB8Ek1er.tacticalware –pass x –templimit 85 –solver 0 –pec 0

Save, Exit, and then

chmod +x start.sh

screen ./start.sh

Now check your miner periodically to see if it is running, inserting your wallet address in place of my wallet   (XaaXTPw4UwL8xnkdStHTCCMRXAWB8Ek1er):

!miner/XaaXTPw4UwL8xnkdStHTCCMRXAWB8Ek1er

And you are done!

The hardware that I used in this guide:
Gigabyte AORUS GeForce GTX 1080 Ti (QTY 6):
https://amzn.to/2JqvXC8

Motherboard (QTY 1): 
https://amzn.to/2JqGJZ7

CPU (QTY 1): 
https://amzn.to/3qevp2X

Memory (QTY 1): 
https://amzn.to/2JqHn8Z

Hard Drive (QTY 1):  
https://amzn.to/3lic3X5

Risers (QTY 6):  
https://amzn.to/33rIgVE

Power Supplies (QTY 2):
https://amzn.to/3fTRpLR

Add2PSU (QTY 1):
https://amzn.to/39s4URY

Power Switch (QTY 1):  
https://amzn.to/3ljmNVk

Thanks for reading!

Hashcat Build and Benchmarking

Installing, Configuring, and Benchmarking Hashcat on a 6GPU NVIDIA 1080TI Rig

Ubuntu Server 18.04 has been installed, cards connected, and these directions pickup at your very first login

Login

sudo bash

apt-get update && apt-get upgrade

apt-get dist-upgrade

add-apt-repository universe

apt-get install gcc libglu1-mesa libxi-dev libxmu-dev libglu1-mesa-dev screen

lspci | grep -i nvidia

You should see all of your video cards listed here

apt-get install linux-headers-$(uname -r)

mkdir /installs && mkdir /installs/drivers/ && mkdir /installs/drivers/intel && mkdir /installs/drivers/nvidia && cd /installs/drivers/nvidia

sudo add-apt-repository ppa:graphics-drivers/ppa && sudo apt update && apt-get install nvidia-driver-410

reboot

Login

sudo bash

nvidia-smi

You will now see your NVidia cards listed

cd /installs/drivers/nvidia

wget https://developer.nvidia.com/compute/cuda/10.0/Prod/local_installers/cuda_10.0.130_410.48_linux

mv cuda_10.0.130_410.48_linux cuda_10.0.130_410.48_linux.run

chmod +x cuda_10.0.130_410.48_linux.run

screen sh cuda_10.0.130_410.48_linux.run

Select No to the driver update

Yes to the toolkit install

cd /home/yourusernamegoeshere/ && nano .bashrc

Add this to the end of the file:
# add cuda tools to command path
export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64:$LD_LIBRARY_PATH
export PATH=/usr/local/cuda-10.0/bin:$PATH

nano /etc/ld.so.conf.d/cuda-10.0-x86_64

Put only one line:
/usr/local/cuda-10.0/lib64

CTRL X to Save and Exit the file

ldconfig

apt-get install hashcat

Now for the OpenCL CPU drivers..I am using an Intel Celeron Processor, so these steps are needed for Hashcat to work properly.  These are not needed for the GPUs

sudo apt-get install ccache flex bison clang-4.0 cmake g++ git patch zlib1g-dev autoconf xutils-dev libtool pkg-config libpciaccess-dev

mkdir -p /installs/drivers/intel-compute-runtime/workspace

cd  /installs/drivers/intel-compute-runtime/workspace

git clone -b release_40 https://github.com/llvm-mirror/clang clang_source

git clone https://github.com/intel/opencl-clang common_clang

git clone https://github.com/intel/llvm-patches llvm_patches

git clone -b release_40 https://github.com/llvm-mirror/llvm llvm_source

git clone https://github.com/intel/gmmlib gmmlib

git clone https://github.com/intel/intel-graphics-compiler igc

git clone https://github.com/KhronosGroup/OpenCL-Headers khronos

git clone https://github.com/intel/compute-runtime neo

ln -s khronos opencl_headers

mkdir -p /installs/drivers/intel-compute-runtime/workspace/build_igc

cd /installs/drivers/intel-compute-runtime/workspace/build_igc

cmake -DIGC_OPTION__OUTPUT_DIR=../igc-install/Release \
-DCMAKE_BUILD_TYPE=Release -DIGC_OPTION__ARCHITECTURE_TARGET=Linux64 \
../igc/IGC

time make -j$(nproc) VERBOSE=1

Now you can generate Debian archives for installation:

time make -j$(nproc) package VERBOSE=1

Install:

sudo dpkg -i *.deb

nano /etc/environment

To the end of the first line (PATH), add the following:

:/usr/local/cuda/bin:/usr/lib/llvm-4.0/bin

Save and Exit

source /etc/environment

mkdir -p /installs/drivers/intel-compute-runtime/workspace/build_icr

cd /installs/drivers/intel-compute-runtime/workspace/build_icr

cmake -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release ../neo

time make -j$(nproc) package VERBOSE=1

sudo dpkg -i *.deb

apt-get install clinfo

clinfo

Now you should see that ICD is installed

And finally you can run

hashcat -b

That’s it!  Thanks for reading!

The hardware that I used in this guide:
Gigabyte AORUS GeForce GTX 1080 Ti (QTY 6):
https://amzn.to/2JqvXC8

Motherboard (QTY 1): 
https://amzn.to/2JqGJZ7

CPU (QTY 1): 
https://amzn.to/3qevp2X

Memory (QTY 1): 
https://amzn.to/2JqHn8Z

Hard Drive (QTY 1):  
https://amzn.to/3lic3X5

Risers (QTY 6):  
https://amzn.to/33rIgVE

Power Supplies (QTY 2):
https://amzn.to/3fTRpLR

Add2PSU (QTY 1):
https://amzn.to/39s4URY

Power Switch (QTY 1):  
https://amzn.to/3ljmNVk

 

Raven Mining on Ubuntu 18.04

Configuring NVidia 1080TI Cards and ccminer on Ubuntu 18.04

This is a Raw guide, assuming that Ubuntu Server 18.04 is already installed.

Login

reboot

Login

sudo bash

add-apt-repository universe

add-apt-repository ppa:graphics-drivers/ppa

apt-get udpate

apt-get -y dist-upgrade

apt-get -y install gcc libglu1-mesa libxi-dev libxmu-dev libglu1-mesa-dev screen git python-dev freeglut3-dev libx11-dev libgl1-mesa-glx gcc make libcurl4-openssl-dev autoconf libncurses5-dev opencl-headers build-essential protobuf-compiler libprotoc-dev libboost-all-dev libleveldb-dev hdf5-tools libhdf5-serial-dev libopencv-core-dev libopencv-highgui-dev libsnappy-dev libsnappy1v5 libatlas-base-dev cmake libgoogle-glog0v5 libgoogle-glog-dev libgflags-dev liblmdb-dev python-pip gfortran libjansson-dev uthash-dev autogen libtool pkg-config gcc-multilib dkms libxml2-dev libxslt1-dev zlib1g-dev linux-image-extra-virtual libopencv-dev python-numpy libssl-dev automake autotools-dev openssl libssl1.0.0 libssl-dev

reboot

Login

sudo bash

lspci | grep -i NVIDIA

Note NVIDIA has to be capital or no results will show, and now you should see all of your video cards listed here

apt-get install linux-headers-$(uname -r)

mkdir /miner && mkdir /miner/drivers/ && mkdir /miner/drivers/ewbf && mkdir /miner/drivers/intel && mkdir /miner/drivers/nvidia && cd /miner/drivers/nvidia

apt-key adv –fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub

sudo bash -c ‘echo “deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 /” > /etc/apt/sources.list.d/cuda.list’

apt update

apt install nvidia-driver-410

wget https://developer.nvidia.com/compute/cuda/10.0/Prod/local_installers/cuda_10.0.130_410.48_linux

mv cuda_10.0.130_410.48_linux cuda_10.0.130_410.48_linux.run

chmod +x cuda_10.0.130_410.48_linux.run

screen sh cuda_10.0.130_410.48_linux.run

Select No to the driver update

Yes to the toolkit install

cd /home/miner/ && nano .bashrc

Add this to the end of the file:
# add cuda tools to command path
export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64:$LD_LIBRARY_PATH
export PATH=/usr/local/cuda-10.0/bin:$PATH

nano /etc/ld.so.conf.d/cuda-10.0-x86_64

Put only one line:
/usr/local/cuda-10.0/lib64

CTRL X to Save and Exit the file

ldconfig

cd /miner/drivers

git clone https://github.com/tpruvot/ccminer.git

cd ccminer

nano Makefile.am

Remove comment on line which refers to “61”

CTRL X

Yes

cd /miner/drivers/ccminer

./build.sh

make install

nano Start-Raven.sh

Fill the file with the following:

#!/bin/sh
nvidia-smi -pm 1
nvidia-smi -acp 0
#nvidia-smi -pl 300
sleep 2
export GPU_FORCE_64BIT_PTR=0
export GPU_MAX_HEAP_SIZE=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100
./ccminer -a x16r -i 20 -o stratum+tcp://us.ravenminer.com:4567 -u RMzHAFgqgjV5qLkajBjLQ325V7HWBpG3d9 -p c=RVN

Save the file

CTRL + X

Y

chmod +x Start-Raven.sh

reboot

Log back in

sudo bash

cd /miner/drivers/ccminer

screen ./Start-Raven.sh

Raven will begin to mine

Install NVidia 1080Ti Drivers on Ubuntu 18.04

NVidia 1080TI Drivers on Ubuntu 18.04

How to guide for installing drivers for the NVidia 1080TI Video Card

sudo bash

echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf

echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf

update-initramfs -u

reboot

Login and then:

sudo bash

dpkg   – -add-architecture i386

apt-get update

apt-get install build-essential libc6:i386 -y

apt-get install pkg-config
apt-get install xorg -y
reboot

Login and then

sudo bash

mkdir /installs && mkdir /installs/drivers && mkdir /installs/drivers/nvidia && cd /installs/drivers/nvidia

Find the drivers from here:
http://www.nvidia.com/Download/index.aspx

Make sure you select the drivers for the Linux 64-bit operating system

Then run
wget and the link that was provided above

Once it is downloaded you will need to run
chmod 755 ./NVI*
./NV*.run

This will begin the installation

Install the 32-bit compatibility libraries

Install and Overwrite with the full version of libglvnd if prompted

Select Yes to run the nvidia-xconfig utility to automatically update your X configuration

Click OK when the installation has completed

reboot

Login as your normal user

Type nvidia-smi to verify all of your adapters show up

That’s it.  Thanks for reading!

The hardware that I used in this guide:
Gigabyte AORUS GeForce GTX 1080 Ti (QTY 6):
https://amzn.to/2JqvXC8

Motherboard (QTY 1): 
https://amzn.to/2JqGJZ7

CPU (QTY 1): 
https://amzn.to/3qevp2X

Memory (QTY 1): 
https://amzn.to/2JqHn8Z

Hard Drive (QTY 1):  
https://amzn.to/3lic3X5

Risers (QTY 6):  
https://amzn.to/33rIgVE

Power Supplies (QTY 2):
https://amzn.to/3fTRpLR

Add2PSU (QTY 1):
https://amzn.to/39s4URY

Power Switch (QTY 1):  
https://amzn.to/3ljmNVk