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.
To install the PPA and then the drivers, use the following commands:
# Install proprietary Nvidia PPA drivers
# 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.
And this shows the PowerMixer settings. Pretty powerful GPU, but if it costs $400 USD, it better be powerful.
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 output
lsmod | grep 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!