Bitcoin Forum
June 16, 2024, 06:15:08 PM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Re: [GUIDE][NVIDIA] How to setup a headless Ubuntu 16 Server with Overclocking on: November 20, 2017, 08:32:43 PM
Note taken.
Will edit it later.
Leaving the OC part as it is for now.
2  Alternate cryptocurrencies / Mining (Altcoins) / Re: [GUIDE][NVIDIA] How to setup a headless Ubuntu 16 Server with Overclocking on: November 20, 2017, 08:11:22 PM
Lightdm disable fixed - wrong copy pasta.
Agree with the rest.
The drivers in the repo are not the most recent tho.
3  Alternate cryptocurrencies / Mining (Altcoins) / [GUIDE][NVIDIA] How to setup a headless Ubuntu 16 Server with Overclocking on: November 20, 2017, 06:28:31 PM
This guide will help you setup multiple NVIDIA GPUs (proprietary drivers) on Ubuntu 16.04.03 headless* server, enabling overclock and fan control.
*Headless means without a monitor connected to the rig

Prerequisites:
  • Clean Ubuntu 16.04.03 headless server installation
  • SSH enabled

Steps
1. Since it's a freshly installed OS, SSH into the system and update:
Quote
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y

2. Install a lightweight X server
Quote
sudo apt-get install --no-install-recommends xorg lightdm

3. Disable the X server from auto starting on boot. Otherwise it would cause conflicts when you try to overclock the cards later on.
Quote
sudo systemctl disable lightdm.service

4. Install GCC and MAKE in order to be able to install the NVIDIA proprietary drivers
Quote
sudo apt-get install gcc make -y

5. Install GTK in order to be able to use nvidia-settings
Quote
sudo apt-get install libgtk-3-dev -y

6. Download the latest NVIDIA proprietary drivers. Right now they are 384.98, so check for updates from NVIDIA's website
Quote

7. Reboot
Quote
sudo reboot

8. Make the file executable and start the installation:
Quote
chmod +x NVIDIA-Linux-x86_64-384.98.run
sudo ./NVIDIA-Linux-x86_64-384.98.run

8.1 At a certain point you will be greeted by the following error.
Code:
WARNING: Unable to find a suitable destination to install 32-bit compatibility libraries. Your system may not be set up for 32-bit
compatibility. 32-bit compatibility files will not be installed; if you wish to install them, re-run the installation and
set a valid directory with the --compat32-libdir option.
Error Screenshot
Ignore it, it's all ok.

8.2 At the end of the installation you will be asked:
Code:
Would you like to run the nvidia-xconfig utility to automatically update your X configuration file so that the NVIDIA X driver will be used when you restart X?  Any pre-existing X configuration file will be backed up.
Click NO.

8.3 Generate xorg.conf
Quote
sudo nvidia-xconfig -a --allow-empty-initial-configuration --cool-bits=31 --use-display-device="DFP-0" --connected-monitor="DFP-0"
cool-bits enables overclocking; the rest tricks the rig that there is a monitor connected to it.

You will get this message:
Code:
Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
Don't worry, ignore it.

8.4 Reboot
Quote
sudo reboot

9. Boot up and check if all the GPUs are shown
Quote
nvidia-smi
You should get something like this:
Code:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.98                 Driver Version: 384.98                    |
|-------------------------------+----------------------+----------------------+
| 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  | 00000000:01:00.0 Off |                  N/A |
|  0%   24C    P0    30W / 151W |      0MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 1070    Off  | 00000000:02:00.0 Off |                  N/A |
|  0%   23C    P0    34W / 180W |      0MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

10. We are nearly done. Let's add some additional stuff and setup overclocking. We are going to make them boot together with Ubuntu, so we don't have to do them manually every single time.
Quote
sudo nano /etc/rc.local
Sample file:
Code:
# Add some error logging, you can disable it after when you are certain everything is working:
exec 2> /tmp/rc.local.log
exec 1>&2
set -x

# Enabling persistence mode makes sure that the driver doesn't get unloaded.
sudo nvidia-smi -pm ENABLED

# Adjust the power limit. In Afterburner you set a % but here you must specify value. You can get base power limit through nvidia-dmi
# In my case, the value for GPU0 is 151W, so 70% power limit is 151*0.70~106
# You specify the card through the parameter -i, so GPU is -i 0
sudo nvidia-dmi -i 0 -pl 110

# You must start the X Server for overclocking and fan control to work
sudo X :0 &
sleep 10
export DISPLAY=:0
sleep 2

# Set GPU0 fan speed to 50%, Clock Offset to +100 and Memory Offset to +300
# For more cards, just copy paste the line and change [gpu:x] and [fan:x]
sudo nvidia-settings -a "[gpu:0]/GPUFanControlState=1" -a "[fan:0]/GPUTargetFanSpeed=50" -a "[gpu:0]/GPUGraphicsClockOffset[3]=100" -a "[gpu:0]/GPUMemoryTransferRateOffset[3]=300"

exit 0

Reboot:
Quote
sudo reboot

Check for error
Quote
cat /tmp/rc.local.log
If the file ends with +exit 0 then you have successfully managed to overclock and set the fan speed.

11. Let's try some mining:
11.1 Download EWBF from the official bitcointalk thread on your main computer
https://bitcointalk.org/index.php?topic=1707546.0

11.2 Upload miner, unarchive and create a run script

From your computer
Quote
scp /Users/xxxx/Downloads/Zec\ Miner\ 0.3.4b\ Linux\ Bin.tar.gz your_user_name@ip_of_rig:/home/your_user_name

From the rig
Quote
tar xvf Zec\ Miner\ 0.3.4b\ Linux\ Bin.tar.gz
cd 0.3.4b
echo "./miner --server eu.zenmine.pro --user znWvyc22usByJRRjijeFeD2D7yNF9P11MAG.rig1 --pass x --port 9009 --log 2 --api 0.0.0.0:3333" > run.sh
chmod +x run.sh

11.3 Run the script
Quote
./run.sh &

Don't forget the prefix &. It makes sure that the miner keeps running after you exit the session.

12. CTRL+D out of the SSH session and enjoy.

Note
If you get an error message regarding the drivers at any point in time, redo STEP 8 and all of its subsets.


If you want I will add additional watchdog scripts.

If you find this guide helpful, you could buy me a beer Wink.
[ BTC ] 18n4eKg8PB1USs5f95MK34JA4KmaV1YhT2
[ ETH ] 0xf5a6431ac4acd8b1e5c8b56b9b45e04cdea20e6e
[ LTC ] LZT8o523jwa8ZmgMjPLNMJeVeBnLuAvRvc
4  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] dstm's ZCash / Equihash Nvidia Miner v0.5.2 (Linux / Windows) on: October 22, 2017, 10:57:48 AM
Miner seems to produce around 4% increase in hash rate.
However, on one of my machines the miner crashes and exits without trace.
A log function would be great.
5  Alternate cryptocurrencies / Mining (Altcoins) / Re: Connecting GPU and Riser from the same PCIe cable on: September 09, 2017, 03:29:59 PM
I have tested it and its faultless. Thanks for all the answers!
6  Alternate cryptocurrencies / Mining (Altcoins) / Re: Connecting GPU and Riser from the same PCIe cable on: September 07, 2017, 07:16:05 AM
Thanks for the answer. Would you mind explaining how the connector is different from a splitter?
Obviously, it is but to non-technical people like me it look a cable coming out from another Smiley.
Cheers!
7  Alternate cryptocurrencies / Mining (Altcoins) / Connecting GPU and Riser from the same PCIe cable on: September 06, 2017, 08:53:41 PM
Hello,

I have an EVGA Supernova 850W PSU which has 2x [6-Pin + 8(6+2)-Pin PCI-E] VGA Cables. Basically, its a cable with a 6-Pin and an 8(6+2)-Pin connectors (I have attached a picture which best describes how they look, though its not the actual cable).

I would like to reduce the amount of cables in the rig and I am wondering if it would be a wise idea to connect a GPU and a riser to that cable.
Essentially, I would connect the GPU to the 8-Pin and the riser to the 6-Pin (through an extender).

Has anyone tried this and can comment and provide some technical details?

Thanks!

https://imgur.com/a/5Avi2
8  Alternate cryptocurrencies / Mining (Altcoins) / Re: Claymore's Dual Ethereum AMD+NVIDIA GPU Miner v10.0 (Windows/Linux) on: September 04, 2017, 08:45:22 PM
Hello,

I am mining ETH+DCR using 1070@384.94 NVIDIA drivers on Win10 Creators Update.
I have noticed that people get much higher DCR hash rate than what I am getting.
Mine seems to be capped to the ETH hash rate.

Here is a snapshot of the log without any overclock (100%/0/0):
Quote
23:37:39:900   fdc   ETH - Total Speed: 209.768 Mh/s, Total Shares: 8, Rejected: 0, Time: 00:04
23:37:39:915   fdc   ETH: GPU0 26.021 Mh/s, GPU1 25.878 Mh/s, GPU2 25.980 Mh/s, GPU3 27.873 Mh/s, GPU4 25.981 Mh/s, GPU5 25.984 Mh/s, GPU6 26.009 Mh/s, GPU7 26.041 Mh/s
23:37:39:915   fdc    DCR - Total Speed: 2097.676 Mh/s, Total Shares: 29, Rejected: 0
23:37:39:915   fdc    DCR: GPU0 260.210 Mh/s, GPU1 258.776 Mh/s, GPU2 259.802 Mh/s, GPU3 278.734 Mh/s, GPU4 259.813 Mh/s, GPU5 259.838 Mh/s, GPU6 260.093 Mh/s, GPU7 260.410 Mh/s

This is my start.bat:
Quote
EthDcrMiner64.exe -epool eth-eu1.nanopool.org:9999 -ewal wallet.user/email -epsw x -dpool stratum+tcp://dcr.suprnova.cc:3252 -dwal userName.worker -dpsw x -platform 2

Please advise.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!