Changes

Jump to navigation Jump to search
1,137 bytes added ,  22:25, 22 January 2019
==Pre-installation==
===Run Updates===
sudo apt-get update
sudo apt-get upgrade
 
===Reboot===
 
===Verify that you have a CUDA-Capable GPU===
lspci | grep -i nvidia
===Add location of CUDA drivers to the PATH===
Add drivers to environment path:
nano ~/.profile
 
With the file opened in the nano editor, scroll down and add at the bottom:
 
export PATH=/usr/local/cuda-10.0/bin${PATH:+:${PATH}}
 
Type ''Ctrl+O'' ENTER to save and ''Ctrl+X'' to exit
===Set configuration===
sudo nvidia-smi -pl 100
 
==Disable automatic updates==
'''IMPORTANT:''' Disabling automatic updates creates a security risk. To keep your system updated manually:
 
sudo apt update
sudo apt upgrade
 
Automatic updates might interfere with your miner. To disable them, edit the following file:
 
sudo nano /etc/apt/apt.conf.d/20auto-upgrades
 
With the file opened in the nano editor, switch off the updater by changing values from 1 to 0:
 
APT::Periodic::Update-Package-Lists "0";
APT::Periodic::Unattended-Upgrade "0";
 
Type ''Ctrl+O'' ENTER to save and ''Ctrl+X'' to exit
==Setting up the miner==
'''OPTIONAL:''' Adjust intensity setting to your liking by adding -i '''X''', where '''X''' is your desired intensity setting, for example 20.
~/trex-miner/t-rex -c config -i 20
 
==Troubleshoot==
===PCI Bus Error===
If you encounter PCIe Bus Error messages:
 
sudo nano /etc/default/grub
 
Add ''pci=noaer'' at the end of GRUB_CMDLINE_LINUX_DEFAULT:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=noaer"
 
Type ''Ctrl+O'' ENTER to save and ''Ctrl+X'' to exit and update grub:
 
sudo update-grub
 
Now reboot

Navigation menu