Uncategorized

Spacience: Ethereum GPU Mining: Ubuntu LTS From Scrape

Fidelis ter Numeris: don’t leave huis without it!

Wednesday, May 27, 2015

Ethereum GPU Mining: Ubuntu 14.04 LTS From Scrape

This guid e is now OUTDATED and has bot updated : The Fresh Guide

Updated Multi-GPU directives

Updated instructions for building cpp-ethereum

Added instructions on transitioning from testnet to Frontier.

Embark Install:

install the GPU and GPU power

boot up the rekentuig

then go to system &, settings >, Extra Drivers &, your GPU should be listed there, select Using movie driver fror the AMD graphics accelerators from fglrx-updates (proprietary)

apply switches and close

Clear out your old blockchain (only if you’ve run geth on test netwerken previously)

wij need to do some last things to setup for Frontier:

(if you throw an error on make geth and you go back and attempt and fix things, make sure to delete the go-ethereum directory before attempting to make geth again (error help mij!))

(inject te a password 2x)

If cmake .. -DGUI=0 -DETHASHCL=1 fails for you, attempt this variant:

Once the genesis block is release do this: (No Longer Required te go-ethereum zometeen than release/1.0.0)

Sync with the Network &, Benchmark:

This will commence syncing you up with the network. Once synced (you are only grabbing 1-2 blocks at a time) head back to the instruction line to benchmark. (Note: Personally I found the results of this benchmarking unreliable. Lighter to just skip to the mining part) :

I originally had some trouble b/c I had an AMD embeded movie card and an AMD GPU. Make sure you are targeting the right GPU card by switching the opencl-device # until you find the right card. Reference this list to see if you are targeting the right card.

Mining:

I then open up a 2nd terminal and type:

Where X is the value given by your benchmarking results. Keep doing the “etheminer -G –opencl-device X”, one time for each GPU you have. It will take a few minutes for rpc console to sync up and get ready spil well spil a few more minutes for the miner to commence hashing so be patient.

Multi-GPU Mining:

Then speelgoedpop open a 2nd terminal and type:

Updating:

References:

63 comments:

good job. thanks for effort

sudo apt-get -y install software-properties-common wget -O – http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add –

sudo add-apt-repository ",deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.5-binaries main",

build/bin/geth –rpc console

Fatal: blockchain db err: resource temporarily unavailable

Fatal: blockchain db err: resource temporarily unavailable

good job. thanks for effort

sudo apt-get -y install software-properties-common wget -O – http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add –

sudo add-apt-repository ",deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.5-binaries main",

build/bin/geth –rpc console

Fatal: blockchain db err: resource temporarily unavailable

Fatal: blockchain db err: resource temporarily unavailable

Wasgoed going well till here, thanks for the effort

bash: geth.loom: Permission denied

build/bin/geth –rpccorsdomain localhost Two>,>, geth.loom &,

whenever I get a resource temporarily unavailable I usually close the terminal down and then reopen a fresh one. I think this problem is caused by numerous versions of geth attempting to access the same resources at the same time.

Thanks for your guide, very effortless top go after but I`m getting an error when I input `make geth`:

build/_workspace/src/github.com/ethereum/go-ethereum/eth/fetcher/fetcher.go:197: cannot use &,blocks (type *types.Blocks) spil type *[]*types.Block ter function argument

build/_workspace/src/github.com/ethereum/go-ethereum/eth/fetcher/fetcher.go:320: cannot use &,blocks (type *types.Blocks) spil type *[]*types.Block te function argument

build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/huin/goupnp/goupnp.go:97: unknown http.Client field `Timeout` ter struct literal

make: *** [geth] Error Two

Kos, found the same error you encountered. Evidently it`s a golang kwestie. (http://www.reddit.com/r/ethereum/comments/38r6z7/psa_building_the_latest_geth_requires_go_version/)

thanks.. well needed postbode!

Fatal: toegevoegd db err: open /huis/a/.ethereum/reserve/033581.ldb: too many open files

Fatal: reserve db err: open /huis/a/.ethereum/toegevoegd/033581.ldb: too many open files

ok, this error is related to an incomplete or omkoopbaar blockchain dir copied overheen.

Thanks for the guide and the ongoing help.

Hello – I got to the step build/bin/geth -unlock `0` -etherbase “ -rpc console

build/bin/geth -unlock `0` -etherbase `0xca9287cbea5f89c67e2893d204948d83e58268d9` -rpc console

But with my address.

@Seb and @David Archer, This is an punt with the Frontier launch, just skip to the next step. I will be adding some extra instructions overheen the next few days on what to do before the genesis block comes out.

Got llvm now, but I`m on Utopic (Ubuntu 14.Ten) and interchanging trusty for utopic te the next line doesn`t seem to work, despite them looking the same here: http://llvm.org/apt/

I don`t believe 14.Ten will work at all. I have not heard of anyone running this build. I suggest you budge back to 14.04

@Greg Colbourn, I just went through the llvm part on 14.04 and it worked fine, no issues.

On the `make -j2` step i get this error

I attempted by hand linking like so

sudo ln -s /usr/include/llvm-c-3.Five/llvm-c/ /usr/include/llvm-c

hey good job dude. thanks for doing all this work. nice to have te one place and te a format that makes sense.

cmake .. -DGUI=0 -DETHASHCL=1

CMake Error at cmake/FindPackageHandleStandardArgs.cmake:138 (message):

Could NOT find v8 (missing: V8_INCLUDE_DIR V8_LIBRARY)

Call Stack (most latest call very first):

@SkithUno I ended up doing a fresh install with 15.04 last night an it worked! Multi-GPU mining with just ",ethminer -M -G", (well I recorded 49MH/s anyway, which voorwaarde be both R9 280Xs 🙂 Just wondering whether it`s worth the risk to add the 3rd now, with just hours away to launch..

@ldub Dev, did ",wget -O – http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -", execute correctly on your machine or did it throw an error? sounds like this instruction didn`t execute decently.

@SkitUno I`m just cautious because I`ve had 1 card suck up already (very likely from overheating, but it could also have bot from overloading power or just because it wasgoed a cheap card sold ",untested spil spares and repairs",). so I`m wary of overloading/overheating the system! Might wait until I`ve at least mined a few blocks, and then attempt adding the 3rd.. Thinking of just getting some more Add2PSU adapters and just having 1 PSU vanaf GPU (I`ve got a flow of cheap 600W ATXs that I use for the 3D printer kits I sell).

1500 blocks to go.. Good luck everyone! 🙂

@SkitUno I`m stuck at this :

CMake Error at cmake/FindPackageHandleStandardArgs.cmake:138 (message):

Could NOT find v8 (missing: V8_INCLUDE_DIR V8_LIBRARY)

Call Stack (most latest call very first):

— Configuring incomplete, errors occurred!

See also ",/huis/cpp-ethereum/build/CMakeFiles/CMakeOutput.loom",.

Now I`m stuck at :

CMake Error at evmjit/CMakeLists.txt:41 (message):

No LLVM package found!

@SkithUno yes, `wget -O – http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -` executed correctly.

Same here.. Getting:

CMake Error at evmjit/CMakeLists.txt:41 (message):

No LLVM package found!

If you`re stuck on the cmake/DGUI=0 step do the following:

sudo apt-get -y update GIVES ERROR

E: The list of sources could not be read.

@Ldub Dev, I am not 100% familiar with what exactly each and every guideline does. I scraped together what I could find from the many many linksaf that have bot posted everywhere on how to install it. If you want suggest abbreviations I`m all ears!

Updated the instructions for building cpp-ethereum. Should cause the ",cmake .. -DGUI=0 -DETHASHCL=1", to function decently. Test it out and let mij know.

So I mined a few blocks, and then when things began to slow down a bit, I thought I`d add the 3rd GPU. Bad stir! Had what I think wasgoed a ",brown out", – the power went off when I began mining. Thought I`d escaped unscathed when the machine came back on again. Went back to the same Two GPU set-up, and now I`m getting ",Bus error (core dumped)", every time I run ethminer, even when putting –opencl-device 0 (so only 1 GPU is called) 🙁 Anyone got any ideas?

P.S. I know the GPUs still work (they can at least power the display).

Solved my own problem – wasgoed a bad DAG verkeersopstopping (that wasgoed ter the process of being generated for the Three GPU set-up when the power went out, I think). Deleted it from the .ethash directory. Ethminer then made a fresh one, and I`m back ter business again 🙂 Will have to stick to 40MH/s for now, until I can get some more components to add more power.

@Eva Shon, Thanks VERY much for the hint on the multi GPU. I`ve bot looking for how to do that for several hours now. Updated the blog on the reserve cmake flag spil well.

Thanks for your blog postbode SkithUno, wasgoed a good complementary guide to the github docs to setting up my very first mining equipment!

Wow, thanks so much for doing this! I wasgoed getting nowhere attempting to go after

the instructions from ethereum.org

[ 46%] Building CXX object libevm/CMakeFiles/evm.dir/ExtVMFace.cpp.o

Linking CXX collective library libevm.so

/usr/bin/ld.gold: error: CMakeFiles/evm.dir/VMFactory.cpp.o: opstopping is empty

collect2: error: ld returned 1 uitgang status

make[Two]: *** [libevm/libevm.so] Error 1

make[1]: *** [libevm/CMakeFiles/evm.dir/all] Error Two

make: *** [all] Error Two

Anyone know what this means? THanks!

Please, does this mean I am mining?

miner 23:57:52|ethminer Header-hash: 4aeb0e37d38f0603cb92588f59eeccdbc5017333326294002436701a5c0b4658

miner 23:57:52|ethminer Seedhash: 0000000000000000000000000000000000000000000000000000000000000000

miner 23:57:52|ethminer Target: 00000000011f71a86ca07185fb10f2561b94b00e8c23d48c8f1b7688d2860022

23:57:52|gpuminer0 workLoop 1 #00000000… #00000000…

miner 23:57:53|ethminer Mining on PoWhash #4aeb0e37… : 11010048 H/s = 5505024 hashes / 0.Five s

miner 23:57:53|ethminer Mining on PoWhash #4aeb0e37… : 11522813 H/s = 11534336 hashes / 1.001 s

miner 23:57:54|ethminer Mining on PoWhash #4aeb0e37… : 11511313 H/s = 17301504 hashes / 1.503 s

on ubuntu 15.04 works fine up

to genis block instruction. i got:

Finished, total purchased: 60108506260000000000000000

Foundation wallet creator address: 5abfec25f74cd88437631a7731906932776356f9

Foundation balance: 11901484239480000000000000

./build/bin/geth: directive not found

/go-ethereum>, ./build/bin/geth –genesis

I0803 Legal:02:46.819984 3181 backend.go:289] Protocol Versions: [61 60], Network Id: 1

Fatal: open /huis/a/genfiles/genesis_block.json: no such verkeersopstopping or directory

on ubuntu 15.04 works fine up

to genis block instruction. i got:

Finished, total purchased: 60108506260000000000000000

Foundation wallet creator address: 5abfec25f74cd88437631a7731906932776356f9

Foundation balance: 11901484239480000000000000

./build/bin/geth: instruction not found

/go-ethereum>, ./build/bin/geth –genesis

I0803 Legitimate:02:46.819984 3181 backend.go:289] Protocol Versions: [61 60], Network Id: 1

Fatal: open /huis/a/genfiles/genesis_block.json: no such verkeersopstopping or directory

Do you know how to switch this setting on my GPU?

@SkithUno @David Archer

Te Linux you can simply punt the following at the guideline prompt:

You might want to do a git checkout master, the newest version doesn`t require the entire genfile stuff (see updated directive line notes ter guide)

@ algebra, yes, you`re mining! Welcome!

Incapable to upgrade to Geth version 1.0.1

sudo apt-get update

sudo apt-get upgrade

git checkout master

sudo apt-get install software-properties-common

sudo add-apt-repository -y ppa:ethereum/ethereum

sudo add-apt-repository -y ppa:ethereum/ethereum-dev

sudo apt-get update

sudo apt-get upgrade

git checkout master

Resolved my problem with some help:

Go to your go-ethereum directory.

Do git fetch, which should synchronize you with the latest tags and branches.

Checkout out 1.0.1: git checkout v1.0.1.

Build it: make geth.

Check the version: ./build/bin/geth version.

@SkithUno. thanks. v1.0.1 works now. (see my latest postbode)

Thanks again for this awesome guide. I`m mining with your help.

I then start mining on device 1 – starts up fine.

(Thesis Two GPUs will run stable indefinitely.)

I then start mining on device Two – entire system crashes.

Wasgoed thinking GPU Three may not be getting the MAX_ALLOC_PERCENT=95 . Any way to send this instruction to a particular GPU?

David – have you successfully mined with all Four GPUs at the same time on this equipment before? They will each need

300watts of power, give or take. I`ve had issues with supplying enough power to the 3rd/4th GPU even w/a bulky PSU – using powered PCI riser cables solved that for mij. Good luck!

Thanks. Yes. I used it to mine litecoin before it became unprofitable. Before I began ethereum, I ran bfgminer (recently) and it showcased all GPUs running and working fine, so I truly think its a protocol punt somewhere. I think the PS should power Four but def Three GPUs. Albeit thesis units seem to hash swifter on ethereum. maybe they use more power.

David – How much RAM does the equipment have? pretty sure ethminer requires more RAM than X11 etc.

hey guys, good guide attempted others but always come back to here!

a clear recipe for Accounts:invoer/send/update spil well spil convert from froniter.

a clear recipe for PM2 install and getting on stats.ethdev.com

a section on ATICONFIG tweaking and monitoring temps.

a section on doing a knot set up (cluster)

I have Two banks of Five cards.

-8GB of RAM is more than enough for Five cards. (GPUDS should have 3GB or more of GDDR)

I pull 1170 W TOTAL on 5-280x with 850EVO SSD. powered by twin 860AIcorsiar(Y adapter)

dont go overheen total rated PSUW by 70% spil effiency steeply drops off from there, you will be doubling your power bill after that, spil effiency is rated at 50% under utter explosion sweet spot..so overheen 50% diminishes your comebacks.(read the fine print)

-start with GPU(display) on MOBO , use TOP PCI16slot,ONBOARD vga off!

-load drivers.1 card only.then run

$ sudo apt-get install fglrx-updates

$ sudo aticonfig –adapter=all –initial

INSTALL CARD Two, reboot, repeat last Two directives,install next GPU, rebooot repeat last to directions, etc.

ENSURE BIOS IS : GEN2, UEFI not legacy, PCI very first, and DISABLE ONBOARD Movie or you WILL have problems.(that includes ",software and drivers",/extra drivers 2nd clause (intel microfirmware) OFF!

get cards out of case and buys some ventilatoren. they will have fever! each bankgebouw of Five is the same spil running a HAIRDRYER on HOT.

thanks again for the fine guide and

good luck fellow miners!

For my multi-GPU equipment (see just above), I believe my problem is the RAM – I have 4gig and Four GPUs Might be too much. Just not sure at this point. Heritic? Got any pointers for mij?

@archer yah 1G system RAM card is not enough, i recommend 1.Five minteken vanaf card. assuming your cards are 3GB gddr or greater. reminisce DDR3 has to go ter pairs so your next option is add a pair of 1GB for a total of 6 will be fine. a good indicator is how many windows you can have open while mining and how much lagen you have going window to window. more ram helps this improvised storage of gegevens.

Whenever I run Geth, I get:

Fatal: Error embarking Ethereum: listen udp :30303: truss: address already te use

Bitcoin mining is the use of Hardware to collect Bitcoins.

Thanks for this nice detailed postbode. I have to say your contents are superb and one of its zuigeling. I have bot following your posts with excellent rente. Keep up the good work and keep us entertained with all your unique contents.

Related movie: Crypto Fibonacci (FIB) – How To PREDICT Patterns While Trading!


Leave a Reply