Skip to content
Home » drivers

drivers

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…

INSTALLING CUDA ON UBUNTU SERVER 20.04

  • Mining

In the past, installing CUDA onto Ubuntu Servers, used in mining, was a large undertaking. With the latest release of Ubuntu, everything has changed. Thankfully. Now we are able to easily go through the steps of installing cuda on ubuntu server 20.04. The steps below outline what you will need to do to make this work. I have had success installing either before, or after, I already have the 1080ti drivers on the system. It may not be the same in the future, but as of this writing today, all you have to do are the few steps below.

Open a Terminal
sudo bash
apt-get update
apt install nvidia-cuda-toolkit
y

Cuda will now run the installation. It will take a while, so sit tight. Once it is done installing cuda on ubuntu server 20.04…you are done. Enjoy!

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

ERROR Installing AMDGPU-PRO Drivers on Ubuntu 18.04

Easy way to fix the following errors

Installing AMD Drivers on Ubuntu 18.04 has been a pain…until now. To fix the following errors you have to simply do the following

ERRORS:

The following packages have unmet dependencies:

amdgpu-pro : Depends: libvdpau-amdgpu-pro but it is not going to be installed

              Depends: clinfo-amdgpu-pro but it is not going to be installed

amdgpu-pro-dkms : Depends: dkms (>= 1.95) but it is not going to be installed

amdgpu-pro-lib32 : Depends: libdrm-amdgpu-pro-amdgpu1:i386

                    Depends: libgbm1-amdgpu-pro:i386

                    Depends: libgl1-amdgpu-pro-glx:i386

Etc, etc, etc………

To fix it, at the command line, type the following:

sudo dpkg –add-architecture i386

Now try the install again:

sudo ./amdgpu-pro-install -y

AND IT FINALLY WORKS!

Install Alfa AWUS036ACH Drivers on ParrotOS

Simple Command To Install Alfa Drivers

Open a terminal and escalate your privelages

sudo bash

ifconfig

Note your wireless adapters…if any are installed

apt-get install realtek-rtl88xxau-dkms

Drivers will install, this may take a few minutes.

Once it is done type the following

ifconfig

You will now see your ALFA wireless card

 

 

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

 

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