Installing The Latest Nvidia Drivers on HiveOS

When you upgrade your HiveOS firmware you will see that Nvidia driver will remain the same version. However you may notice that there could be a new Nvidia driver released earlier.

When you click on any of the rig name you will get your Nvidia driver version on the right bottom.

To upgrade the latest Nvidia drivers there is a simple command available in HiveOS.

nvidia-driver-update

However when I try to upgrade my rig using this command all the time my rig gets stuck in somewhere in upgrade process and then stops working due to corrupted or sketchy installed display drivers.

Ps. It seems nvidia-driver-update command is fixed with 0.6@190306 release but to be in safe side you can do that manually.

Howto manually upgrade the Nvidia drivers?

Step-1:

Open a terminal access on your HiveOS system. If you’re running local you can directly access to shell using Shellinabox option. If you try to access to the HiveOS remotely you can use Hive Shell Start option then wait a while your connection established.

(If you haven’t changed the password you will use login: user and password:1 )

Note: Don’t try this over VNC or AnyDesk, etc. You will have to kill the x server to do the upgrade.

Step-2: Downloading the driver and installing.

Go to https://www.nvidia.com/object/unix.html web site and get the final driver version info. Write this version number down. We will use this later. (ie, 418.43)

Then run following commands in your terminal screen to download latest linux driver, prepare and run.

Change the version number “418.43″ in following commands (line 2, 3, 11) if you notice there is a higher version available. (Run the each command one by one)

cd /hive-drivers-pack/
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/418.43/NVIDIA-Linux-x86_64-418.43.run
chmod +x NVIDIA-Linux-x86_64–418.43.run
miner stop
killall xinit
sudo su
sudo init 3
mkdir /temp
export TMPDIR=/temp
cd /hive-drivers-pack/
./NVIDIA-Linux-x86_64–418.43.run

After the last command installation will start.

Select Yes when it asks for DKMS

Select Yes when it asks for 32-bit compatible drivers.

Select Yes

Final step.

Step-3: Reboot

Write following commands and your rig will restart.

reboot -f

Now, you have updated drivers, but you can no longer control your fans or overclock your cards, to fix that, you need to run the following commands:

sudo su
apt-get update
sudo apt-get install nvidia-settings -y
nvidia-xconfig --allow-empty-initial-configuration --enable-all-gpus --cool-bits=28 --separate-x-screens

By default TMP directory is on RAM disk so you need to enable logs to have some space.

logs-on
reboot -f

If you like the article or topic and it worked for you, you can throw some coins to the following BTC or ETH addresses to buy a coffee for me 🙂

BTC: 1BQa1dQVzGySnNTLVvn3AZrPkQSJXDbZxi
ETH: 0xf467adb07d910e985d0dd08442c246a66bbc0eec

Alternatively to keep this blog up and running you may use following affiliates links to buy your needs. Cheers…


Source: Nvidia & https://medium.com/@overcookedpanda/installing-the-latest-nvidia-drivers-on-hiveos-fe302f214570