Bitcoin Forum
November 19, 2024, 03:04:43 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Re: Bytom Mining - ASIC algorithm now cracked by GPU miners? Big profits? on: May 27, 2018, 02:51:17 AM
Here is a little guide to run this on UBUNTU

I did a lot of trouble shot just to decide, it is not for me (all my 6 gpus nvidia rigs have crappy cpu, and I think that the pool is stealing from us or the miner is(and hate the fact that the "-url" doesn't do shit)).

So first things first, here is my  run.sh, just little mods (to not kill other process, and to see the log on the term).

#!/bin/bash

cd $(dirname $0)

if [ ! -f address.txt ];then
echo -e "\n file address.txt not exists! \n"
exit
fi

SMI=nvidia-smi

ADDR=$(cat address.txt | head -1 )

DRV=$( $SMI -h |grep Interface | awk -Fv '{print $2}' | cut -d. -f1 )
CARDS=$( $SMI -L | wc -l )

WK=$( /sbin/ifconfig  eth0|grep "inet addr"|awk '{print $2}'|awk -F. '{print $3"x"$4}' )

if [ $DRV -lt 387 ];then
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:cuda8
else
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:cuda9
fi

echo "Driver = $DRV , CARD COUNT=$CARDS , WK=${WK}"


cd btm-miner
./miner -user ${ADDR}.${WK}



Take care with the address, is the most common mistake, you canīt mine directly to most of the exchanges (because the address type, i don't know how does that really works), easiest fix, just download the wallet and create one.


Now, I did everything on UBUNTU 16.04 LTS (this works for 18.04, but the oc method doesn't, someone with more knowledge should  fix that very easy)

Download and fresh install UBUNTU 16.04, click all the extra installations.

Next you need to install nvidia drivers, I used 387  version, so please use the same.

just type this on the terminal and accept everything

$ sudo add-apt-repository ppa:graphics-drivers/ppa
$ sudo apt update
$ sudo apt install nvidia-387

RESTART the system

now you have to see all your gpus if you type "nvidia-smi"

Now download the miner and extract it.

Please copy and paste the .sh I put before, and paste your own address on the address.txt (upool pays with no registration)

now move on your terminal to the carpet of your sh and do

$ sudo chmod +x run.sh

now runit with

$ ./run.sh

you should see all working now to oc (this part doesnt work on 18.04 )


First you have to make a virutal screen for each gpu easiest way to do

$ sudo nvidia-xconfig -a --cool-bits=28 --allow-empty-initial-configuration

We have to check that was correct

go to

$ sudo nano /etc/X11/xorg.conf

now search for the word Coolbits, you should see this

Option "Coolbits" "28"

not this

#Option "Coolbits" "28"

if you have the hastag please erase ti on each gpu (you will have listed all your gpus there)
And dont move anything more!

ctr+x for exit, and save it (read the foot of the screen )

Now do this (change permissions so at startup the configuration doesn't reset)

$ sudo chmod 444 /etc/X11/xorg.conf && sudo chattr +i /etc/X11/xorg.conf

RESTART the system

now you have to make a new script, crankit.sh (or any other name you want)

#!/bin/bash
 
# Script needs to run as sudo for nvidia-smi settings to take effect.
[ "$UID" -eq 0 ] || exec sudo bash "$0" "$@"
 
# Setting a terminal variable called memoryOffset
 
# Since all my cards are the same, I'm happy with using the same Memory Transfer Rate Offset I use this conf to 1050 ti
memoryOffset="700"
cpuOffset="100"
 
# Enable nvidia-smi settings so they are persistent the whole time the system is on.
nvidia-smi -pm 1
 
# Set the power limit for each card (note this value is in watts, not percent! CHANGE THIS TO THE NUMBER OF GPUS YOU HAVE

nvidia-smi -i 0,1,2,3,4,5,6,7,8 -pl 53
 
## Apply overclocking settings to each GPU
nvidia-settings -a [gpu:0]/GpuPowerMizerMode=1
nvidia-settings -a [gpu:0]/GPUMemoryTransferRateOffset[2]=$memoryOffset
nvidia-settings -a '[gpu:0]/GPUGraphicsClockOffset[2]=$cpuOfset


nvidia-settings -a [gpu:1]/GpuPowerMizerMode=1
nvidia-settings -a [gpu:1]/GPUMemoryTransferRateOffset[2]=$memoryOffset
nvidia-settings -a '[gpu:1]/GPUGraphicsClockOffset[2]=$cpuOffset




Add another and change the number on gpu:x for each of your gpus

to run the script you have to chmod again

$ sudo chmod +x crankit.sh

then

$ ./crankit.sh

And you are done, just change the variable on blue and run it and you will be oc your nvidia GPUS

Any tips (eth)

0x0EE0873De03961208F955B4F38d7b953204De042








2  Alternate cryptocurrencies / Mining (Altcoins) / Re: Bytom Mining - ASIC algorithm now cracked by GPU miners? Big profits? on: May 24, 2018, 05:33:26 PM
I am getting on my rig, 400 to 700 h/s but the pool is telling me that I just have 77 h/s

Any advice?  Sad

You need to check over a long period like 4-5 hrs at least to get a realistic view at the pool.



I leave it since 4 am (now I am at 12 pm ) all that time I had 77h/s and I only got like 1.3 btm

Did you use default intensity? Multiple miners?

Default intensity (I think it is Cool I tried with multiple miners for half an hour but the hashrate was just splitting between the 3 instances, so I leave it with only one instance.
3  Alternate cryptocurrencies / Mining (Altcoins) / Re: Bytom Mining - ASIC algorithm now cracked by GPU miners? Big profits? on: May 24, 2018, 04:50:22 PM
I am getting on my rig, 400 to 700 h/s but the pool is telling me that I just have 77 h/s

Any advice?  Sad

You need to check over a long period like 4-5 hrs at least to get a realistic view at the pool.



I leave it since 4 am (now I am at 12 pm ) all that time I had 77h/s and I only got like 1.3 btm
4  Alternate cryptocurrencies / Mining (Altcoins) / Re: Bytom Mining - ASIC algorithm now cracked by GPU miners? Big profits? on: May 24, 2018, 04:09:59 PM
I am getting on my rig, 400 to 700 h/s but the pool is telling me that I just have 77 h/s

Any advice?  Sad
5  Alternate cryptocurrencies / Mining (Altcoins) / Re: Bytom Mining - ASIC algorithm now cracked by GPU miners? Big profits? on: May 24, 2018, 07:16:27 AM
I am having something like this :

nobaj@slave02:~/Documents$ ./run.sh
Driver = 390 , CARD COUNT=6 , WK=slave02
nobaj@slave02:~/Documents$ panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x5cace2]

goroutine 39 [running]:
github.com/leifjacky/btmgominer/clients/stratum.(*Client).Close(0x0)
   /data/go/src/github.com/leifjacky/btmgominer/clients/stratum/stratum.go:94 +0x22
github.com/leifjacky/btmgominer/algorithms/bytom.(*StratumClient).Start(0xc420182000)
   /data/go/src/github.com/leifjacky/btmgominer/algorithms/bytom/siastratum.go:119 +0x64a
created by github.com/leifjacky/btmgominer/algorithms/bytom.(*StratumClient).Start.func1
   /data/go/src/github.com/leifjacky/btmgominer/algorithms/bytom/siastratum.go:75 +0x104





Any advice???
6  Alternate cryptocurrencies / Mining (Altcoins) / Re: Bytom Mining - ASIC algorithm now cracked by GPU miners? Big profits? on: May 23, 2018, 06:38:43 AM
Do someone had try to oc your gpus? tomorrow I will try it, is this a memory intensive or clock intensive algo?

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!