exit ubuntu gui:
ctl
+ alt
+ f1
stop ubuntu GUI:
sudo service lightdm stop
sudo init 3
Nvidia Cuda drivers [https://developer.nvidia.com/cuda-downloads]
sudo sh [NVIDIA .run file]
be sure to set PATH variables as noted by the output. Add to the PATH
of .bashrc
:
sudo vi ~/.bashrc
PATH="/some/new/path:$PATH"
save. exit. and source the environment variables: source ~/.bashrc
Next, enter sudo init 5
. And restart your system with sudo restart
sudo apt-get purge nvidia*
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-367
nvidia-smi
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1111 G /usr/lib/xorg/Xorg 249MiB |
| 0 1832 G compiz 164MiB |
+-----------------------------------------------------------------------------+
watch -n0 nvidia-smi
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 375.82 Driver Version: 375.82 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 1070 Off | 0000:01:00.0 On | N/A
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1111 G /usr/lib/xorg/Xorg 249MiB |
| 0 1832 G compiz 159MiB |
+-----------------------------------------------------------------------------+
sudo apt-get install vim
~/Downloads/cpp-ethereum-master/build/ethminer/ethminer -G -F http://127.0.0.1:8545