I’ve never been into heavy-duty graphics processing units (GPUs), but I got bit by the Bitcoin and cryptocurrency bug so I had to buy one to build a trial cryptocurrency mining rig. The one I bought is an MSI AERO ITX GeForce GTX 1070 for about $400 USD.

That’s expensive, if you ask me, and from what I’ve read, it’s not even the best for cryptocurrency mining, but it’s the only one I could find.

In any case, using it on Ubuntu means installing the proprietary drivers from a PPA (Personal Package Archives). So that’s what this post is about – how to install Nvidia drivers for a GeForce GTX 1070 GPU on Ubuntu 16.10. It will also work on Ubuntu 17.04. By the way, the development page of the PPA is here.

MSI GeForce GTX 1070

MSI Aero ITX GeForce GTX 1070 graphics card

To install the PPA and then the drivers, use the following commands:

 

# Add the PPA

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

# Then update the package database 

sudo apt update 

# Finally, install proprietary Nvidia drivers 

sudo apt install nvidia-381 

 

After that last command has completed, you should be able to find the driver management utility from the launcher. The screenshot below shows the thermal settings.

MSI GeForce Aero ITX GTX 1070

Thermal settings of an MSI GeForce Aero ITX GTX 1070 GPU

And this shows the PowerMixer settings. Pretty powerful GPU, but if it costs $400 USD, it better be powerful.

MSI GeMSI GeForce Aero ITX GTX 1070Force Aero ITX GTX 1070

PowerMixer settings of an MSI GeForce Aero ITX GTX 1070 GPU

You can also verify that it’s installed from the command line by using the following command:


# Confirm Nvidia driver installation from the command line 
# > indicates command output 

lsmod | grep -i nvidia 

> nvidia_uvm 643072 0 
> nvidia_drm 49152 2 
> nvidia_modeset 811008 9 nvidia_drm 
> drm_kms_helper 167936 2 i915,nvidia_drm 
> nvidia 11550720 240 nvidia_modeset,nvidia_uvm 
> drm 368640 6 i915,nvidia_drm,drm_kms_helper 

 

So the GPU I want to use to test-drive cryptocurrency mining is installed and the OS is waiting to be installed. Next posts will show my progress. Stay tuned!