[HOW TO] Mining LBRY on Windows and Linux

in #howto8 years ago

LBRY is decentralized content-sharing platform based on the new blockchain directed creators of content (film-makers, musicians, writers, or software developer) who want to have full control over their own work. No advertising, no corporate censorship, and LBRY not take part of your income as content creators and consumers can also benefit because there is finally an alternative to storing large media. 

Step by step how to mining LBRY on windows.

  1. Download the SGMINER with lbry support here   
  2. Extract All files 
  3. Go to Suprnova lbry pool here 
  4. Register and create worker
  5. Open the extracted folder, then edit the suprnova bat file, change your username and your worker
  6. save it and run it

sgminer running with Radeon HD 6570


Step by step how to mining LBRY on linux (ubuntu Server 14.04)

  1. Download AMD ADL from here and extract it to /opt/AMDADL. Download and install AMD SDK from here.
  2. Change user to root (or you can use sudo if you didnt want to be root)
  3. Run this following command
    1. apt-get install build-essential libcurl4-openssl-dev git automake libtool libjansson* libncurses5-dev
    2. git clone --recursive https://github.com/lbryio/lbrycrd-gpu.git
    3. cd sgminer/
    4. cp /opt/AMDADL/include/* ADL_SDK/
    5. ./autogen.sh
    6. ./configure CFLAGS="-O3 -Wall -march=native"
    7. make
    8. ./sgminer --kernel lbry -o stratum+tcp://lbry.suprnova.cc:6256 -u yourworker.1 -p password -I 19 -w 64
  4. Please change your worker and password before running sgminer (on step 8)

Sgminer running on 2x Radeon 280x

Sort:  

sorry, the step in linux number 3 is cd lbrycrd-gpu/
not sgminer

Thanks man!

I got a build error here:

sgminer.c:811:18: error: ‘TRUE’ undeclared (first use in this function)
pool->backup = TRUE;

To fix it, open sgminer.c on line 811 and replace TRUE with true.

Also the OpenCL kernel won't compile... does this miner work on Nvidia?

./kernel/wolf-sha512.cl:55:69: warning: implicit declaration of function 'amd_bitalign' is invalid in C99
ulong FAST_ROTR64_LO(const uint2 x, const uint y) { return(as_ulong(amd_bitalign(x.s10, x, y))); }
^
./kernel/wolf-sha512.cl:55:60: error: call to 'as_ulong' is ambiguous
ulong FAST_ROTR64_LO(const uint2 x, const uint y) { return(as_ulong(amd_bitalign(x.s10, x, y))); }
^~~~~~~

Works on my AMD rig, getting about 43 MH/s per 7970 (not overclocked).

Thanks for your guide!

my 280x - 74mh/s, they say that optimize wolf miner 280x - 130mh/s and 290 - 160mh/s

Did all this w/Linux but when I run the last command to startup sgminer, it does nothing at all - just exits immediately with no error, and I can't find an error log. Hmm.. (Well ok, I did get sgminer from github, not that link whatever that is.)

Congratulations @anamichii! You have received a personal award!

Happy Birthday - 1 Year
Click on the badge to view your own Board of Honor on SteemitBoard.

For more information about this award, click here

By upvoting this notification, you can help all Steemit users. Learn how here!

Congratulations @anamichii! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 3 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Coin Marketplace

STEEM 0.16
TRX 0.16
JST 0.031
BTC 58969.80
ETH 2512.94
USDT 1.00
SBD 2.48