ethereum amd driver

Ethereum Sign up or log in to customize your list._ Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top up vote 2 down vote favorite 1 It's well known now that the very same GPU with the 16.4.1 drivers has a lower hash rate than with the 15.12 I absolutely don't have the beginning of an idea to why.mining up vote 4 down vote That's pretty much impossible to answer.A driver is a hardware's soul, it has full control over the hardware and what it will do, and how it will do it.A few things that could influence it: Different task scheduling, so maybe the GPU is doing something else with a higher priority than before, giving less resources to hashing.The driver might have a modified quality-of-service algorithm, maybe more aggressively taking care of overheating (e.g.lower its throughput faster as temperature increases).Different memory management that maybe does more copies in case of ethash, but less for some other task types.
Last but not least, one version may contain a bug over the other that does some extra/useless operation that impacts performance.bitcoin cambio valutaAll in all it's pretty much impossible to answer it properly without a deep understanding of both the hardware and the driver code itself too.bitcoin core multiple walletsEven if the driver works perfectly, it always comes down to balancing various things to achieve an optimal performance on some baseline benchmark, which may or may not lie close to the requirements of ethash.bitcoin-qt logYour Answer Sign up or log in Sign up using Google Sign up using Email and Password Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service.bitcoin usd yahoo finance
Not the answer you're looking for?Browse other questions tagged mining or ask your own question.If you are using AMD Radeon-based video cards for mining crypto currencies you have probably noticed that some algorithms have issues with various video driver versions or the performance you get may differ between older and newer version.bitcoin news nprSince the AMD miners use OpenCL there is an easy solution that can help you deal with driver version issues and to get the optimum hashrate for a specific algorithm.litecoin linux installThere is not need to reinstall the complete video driver, you can just copy the OpenCL DLLs from the respective driver version inside the same folder where the software miner is (cgminer or sgminer) and when you run the miner it will load the different OpenCL version, regardless of what video driver you have installed.
Do note that you need to delete the compiled kernel BIN file for the respective algorithm or algorithms when replacing the OpenCL DDL files in order to get the kernel recompiled with the different version.You can download the different AMD Radeon drivers OpenCL version 13.12, 14.4, 14.6 RC2, 14.8, 14.9 and 14.12 in a single package from the link below and try out what performance you will get by replacing the DLL files inside the miner software’s folder.– To download and try AMD OpenCL DLL files from different drivers for Windows OS…The algorithm is memory hard and in order to fit the DAG into memory, it needs 1-2GB of RAM on each GPU.If you get Error GPU mining.you havent got enough memory.The GPU miner is implemented in OpenCL, so AMD GPUs will be 'faster' than same-category NVIDIA GPUs.ASICs and FPGAs are relatively inefficient and therefore discouraged.To get openCL for your chipset and platform, try: The following instructions are, for the most part, relevant to any system with Ubuntu 14.04 and a Nvidia GPU.
Setting up an EC2 instance for mining You check your cooling status: The official Frontier release of geth only supports a CPU miner natively.We are working on a GPU miner, but it may not be available for the Frontier release.Geth however can be used in conjunction with ethminer, using the standalone miner as workers and geth as scheduler communicating via JSON-RPC.The C++ implementation of Ethereum (not officially released) however has a GPU miner.It can be used from eth, AlethZero (GUI) and ethMiner (the standalone miner).You can install this via ppa on linux, brew tap on MacOS or from source.To install ethminer from source: To set up GPU mining you need a coinbase account.It can be an account created locally or remotely.ethminer communicates with geth on port 8545 (the default RPC port in geth).You can change this by giving the --rpcport option to geth.Ethminer will find get on any port.Note that you need to set the CORS header with --rpccorsdomain localhost.You can also set port on ethminer with -F http://127.0.0.1:3301.
Setting the ports is necessary if you want several instances mining on the same computer, although this is somewhat pointless.If you are testing on a private cluster, we recommend you use CPU mining instead.Also note that you do not need to give geth the --mine option or start the miner in the console unless you want to do CPU mining on TOP of GPU mining.If the default for ethminer does not work try to specify the OpenCL device with: --opencl-device X where X is 0, 1, 2, etc. When running ethminer with -M (benchmark), you should see something like: To debug the miner: Note hashrate info is not available in geth when GPU mining.Check your hashrate with ethminer, miner.hashrate will always report 0. ethminer can be used in conjunction with eth via rpc or you can use eth to GPU mine by itself:It looks like you're new here.If you want to get involved, click one of these buttons!Sign In Register Categories Recent Discussions Activity Unanswered Best Of... Categories All Categories Mining Pool Discussion General Project Discussion (non-technical) Education Protocol and Client discussion web3-js Whisper Swarm 2 RLP IoT & Hardware Smart Contracts and Dapps Serpent Solidity Projects Reference clients code and builds Eth & AlethZero- Cpp Implementation Geth - Go Implementation Mist Node.js Implementation Python Implementation Mix Other Implementations Meetups Other Events Jobs & Skills Press and Articles Audio/Video Ether Sale Other Languages Chinese German Italian French 2 Hebrew 6 Japanese Portugese Romanian Russian Spanish Turkish Watercooler Frontier Mining Setup Notes (Ubuntu 15.04/Geth v1.0/AMD/Ethminer) SilentCicero 159 August 2015 in Mining So I just wanted to put down some mining notes for all those interested in mining Ethereum with AMD cards.
I had some trouble at multiple points of the provided official Ethereum setup guides.These notes are mainly for those who have old alt-coin mining rigs that they want to convert to mine ether.It's not a complete hardware to software setup manual, just my notes and points in order.Please consult the official Ethereum Frontier gitbook before using any of this information.These notes should be used in conjunction with the official guides (and not as a replacement).Also, please read the disclaimer below before reading or using any of the information in this post.Note that all of these shell commands could be assembled in a single shell script, and I imagine there will be many who do that, the purpose of these notes is to assemble and clearly outline the mining setup for Ethereum on a specific kind of machine, in addition to notating some useful pointers and tips.1.Login, download Accelerated AMD Parallel Processing "AMD-APP-SDK-linux-v2.9-1.599.381-GA-x64.tar.bz2" and ADL Display Library "ADL_SDK8.zip", goto "Downloads" and extract both to the "Home" folder, open terminal (CNTRL + ALT + T) and run the first set of commands (i.e.
config and setup AMD parallel processing) then reboot.Login/open terminal again, Install FGLRX updates, initialize your cards with "aticonfig" and check if all your GPU's are all listed $ cd ~ $ sudo ./AMD-APP-SDK-v2.9-1.599.381-GA-linux64.sh $ sudo ln -s /opt/AMDAPPSDK-2.9-1 /opt/AMDAPP $ sudo ln -s /opt/AMDAPP/include/CL /usr/include $ sudo ln -s /opt/AMDAPP/lib/x86_64/* /usr/lib/ $ sudo ldconfig $ sudo reboot $ sudo apt-get install fglrx-updates $ sudo aticonfig --adapter=all --initial $ aticonfig --list-adapters The list should look something likes this, where the number on the farthest left is the AMD GPU device number, in the example below, devices numbered 0 and 1 are listed: * 0.01:00.0 AMD Radeon HD 7900 Series 1.02:00.0 AMD Radeon HD 7900 Series * - Default adapter 3.Install curl/git/geth/cpp-thereum/ethminer (optional, geth PPA install notated below) $ sudo apt-get install curl $ sudo apt-get install git $ /ethereum/frontier-release/master/bin/install-go.sh) $ sudo add-apt-repository ppa:ethereum/ethereum-qt $ sudo add-apt-repository ppa:ethereum/ethereum $ sudo apt-get update $ sudo apt-get install cpp-ethereum 3.
Download/build the genesis block $ cd ~ $ /ethereum/genesis_block_generator/master/mk_genesis_block.py $ curl -O https://bootstrap.pypa.io/get-pip.py $ sudo python get-pip.py $ sudo pip install bitcoin $ sudo pip install --upgrade bitcoin $ python mk_genesis_block.py --extradata 0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa > genesis_block.json 4.Create an account (note, use a strong passphrase and that this RPC cors setting is unsafe), then start geth, let it load the genesis block and sync with the network, watch for the block numbers (e.g.#24179) $ geth account new $ geth --rpc --rpccorsdomain "*" --genesis "~/genesis_block.json" 5. to see latest block #), open another terminal (CNTRL + ALT + T) and start "ethminer" w/ with a GPU, below is ethminer running w/ AMD GPU device 0 $ ethminer -G --opencl-device 0 Notes:- Check temps of ALL cards by running aticonfig --adapter=ALL --od-gettemperature- Constantly monitor temps by running watch -n 3 aticonfig --adapter=ALL --od-gettemperature- Set the fan speed of each GPU by running DISPLAY=:0.X /usr/bin/aticonfig --pplib-cmd "set fanspeed 0 Y", where "X" is your AMD GPU device number (e.g 0, 1, 2 etc) and "Y" is the fan speed percentage (e.g.
85, 95, 100 etc).- Benchmark your card to see if it's working and what its hashing at by running ethminer -G -M --opencl-device X before you mine ("-M" for benchmark setting"), where "X" is your AMD GPU device number- I have two cards that, when benchmarked, shutdown my machine so check your cards first by running the benchmark CMD above- If your cards get beyond a certain temperature you may loose display (black screen).You need "NEED" to watch your temps constantly to ensure good performance and so that your machine doesn't get damaged or set on fire.- Do not run "--rpccorsdomain" with the asterisk ("*") as it's value, that is unsafe, instead use "localhost", I used the asterisk for setup, which is why I listed it in this guide- Please excuse all the "sudo"'s, I understand there is a code to run every terminal CMD in sudo, I just didn't use it here- You can run multiple ethminer instances by opening up another terminal (CNTRL + ALT + T) and running ethminer -G --opencl-device X, where "X" is your additional AMD GPU device number- If specific GPU's are not listed when you use the "aticonfig --list-adapters" command, this could be do to so many things it hurts to think about, but here are a few that come to mind, note there are many more than this: (1) motherboard load order, sometimes you need shutdown and unplug (both power and PCI) all GPU's out of the board, then one by one introduce each card by adding the card, booting (checking to see if it's listed) and then shutting down, adding the next and so forth (this is a hardware related fix/procedure), (2) you don’t have enough power (either your supply is too small, bad quality or you need two power supplies [two supplies can be a fire hazard and very dangerous, google it]), (3) a loose cable or connection (either power or PCI), (4) a bad card (try the card individually with no other cards hooked into the board), (5) a bad PCI cable (sometimes these PCI extender cables are shoty, try each cable with one card to see if you have a bad apple), (6) a bad GPU (sometimes they just don’t work or die), (7) you have more than 6 GPUs (that setup can be very technical, you may need to change drivers and do crazy things), (8) your mother board does not support that many GPU's (google your board specs to find out, the alt-coiners could tell you).- You can still enter JS console commands when geth is running, while it's a little crazy, it will return the result.
does not list mining stats for geth/ethminer, only non-ethminer mining- If you would like to know benchmarking for mining (i.e.what people are getting for hashing), check the "Benchmarking Scores" forum post I've listed below in "Sources & Further Reading".To give you some perspective, my 280x 3gb Clubs hash at around 20 mega hashes.Useful Shell Commands // If you want to Install geth from PPA (and not the bash/curl method) sudo apt-get install software-properties-common sudo add-apt-repository -y ppa:ethereum/ethereum sudo apt-get update sudo apt-get install ethereum // list all GPU's initialized $ aticonfig --list-adapters // check temp of a single GPU ("X" being the GPU #, e.g.1, 2, 3 etc.)$ aticonfig --adapter=X --od-gettemperature // check temps for all GPU's $ aticonfig --adapter=ALL --od-gettemperature // moniter all temps every three seconds, open a new terminal for this :), CNTRL + C to close $ watch -n 3 aticonfig --adapter=ALL --od-gettemperature // change fan speed of a single card, where "X" is GPU device number, and "Y" is fan speed percentage $ DISPLAY=:0.X /usr/bin/aticonfig --pplib-cmd "set fanspeed 0 Y" // benchmark your card too see performance & if it's working, where "X" is the GPU device number $ ethminer -G -M --opencl-device X // start geth with JS console $ geth --rpc --rpccorsdomain "*" console // check balance of coinbase (i.e.
usually your default mining address) // copy and paste this into an geth node w/ JS console running to see coinbase ether balance $ web3.fromWei(eth.getBalance(eth.coinbase), "ether") // get all geth accounts, copy and paste this into an active geth JS console $ eth.accounts // get list of peers admin.peers // get number of peers admin.peers.length // Install "glances" to monitor CPU/Ram and system data live $ sudo apt-get install glances $ glances // some basic linux commands: // "cd" to move/navigate around folders ("cd ../" = back one dir, "cd ~" = home dir) $ cd ~ // "ls" list files in folder $ ls // add the "--help" prefix to just about any tool including "geth" and "ethminer" to see what shell commands are available geth --help ethminer --help aticonfig --help // "shutdown"/"poweroff"/"reboot" commands (try to shutdown nicely with UI shutdown first) $ sudo shutdown -h now $ sudo poweroff $ sudo reboot // "mkdir" to make a directory $ mkdir MyNewDirName // "mv" rename/move a directory of file $ mv MyNewDirName ANotherDirName // "rm" remove a file/folder and all contents within it $ sudo rm -rf A_FOLDER // Your Ethereum block storage/key store should be in "~/.ethereum" $ cd ~/.ethereum $ ls //////////discussion/2134/gpu-mining-is-out-come-and-let-us-know-of-your-bench-scores DISCLAIMER:I am in no way responsible for what you choose to do with this information, it is provided as is and without any warranty.
If any of your devices or software are damaged in any way while using any of the information I have provided here, that is your responsibility, not mine.Mining rigs can be fire hazards, if you don’t believe me, google it.Please use extreme caution when building and operating a mining rig of any scale.Monitor your temperatures frequently and be extremely careful.Also consult the Frontier gitbook for more on disclaimers/mining precaution.August 20154 12345»Comments Marvell9 593 August 2015 0 SilentCicero 159 August 2015 @Marvell9 let me know how it goes, I may have missed a command or two, do check!1 frequency 15 August 2015 0 SilentCicero 159 August 2015 @frequency glad to hear it helped!What are you hashing at?0 ali96090930 3 August 2015 0 frequency 15 August 2015 0 xiaopow 15 August 2015 0 SilentCicero 159 August 2015 @xiaopow not sure on the specifics of how to get that high of a hashrate.
Where are you getting those numbers from?0 xiaopow 15 August 2015 @SilentCicero from here, I might be misreading it./statistics/miners 0 PhonikG 41 August 2015 0 PhonikG 41 August 2015 /images/gpu-mining-farm-800x533.jpg 0 PhonikG 41 August 2015 0 xiaopow 15 August 2015 0 SilentCicero 159 August 2015 @xiapow this can be caused by many factors.Temperature was causing it for me, but it may also be caused by linux drivers.Definitely google it and ask around the lite-coin/alt-coin mining community, they may be able to help you more quickly.Also, please post all your specs/GPU info/Ubuntu version etc. 0 xiaopow 15 August 2015 Thank you @SilentCicero.I read that we should use git to update our geth regularly, but following your setup, I cannot find the geth directory in my home directory, any idea where it could be?Intel i3 3.6GHZ/R9 390x/15.04.
Also my GPU shows up as DIR:67B0 RID:80 in my details section, dont know why thats the case.August 20150 SilentCicero 159 August 2015 @xiaopow how much RAM do you have?You will need at least 4gb in my experience, although less may work.You should keep geth up to date, but a clean install of all these software's should not need updating, at least for while, and I dont believe that's whats causing your problem.Possible causes:1.Your power supply is too small for the card2.Your don't have enough ram3.Linux drivers/kernal does not work with your card (390x) **4.///scan.php?page=news_item&px=AMD-300-Open-Source-SupportNote, all of my cards are older R9 280x's.It may be that there are some operating issues with your model and the linux kernal/drivers.This however is only a hypothesis.There could be many issues causing the black screen.When does the blackscreen appear, only when you mine?0 xiaopow 15 August 2015 Hi @SilentCicero, the black screen only happened once so far.
I have 2 x 4GB RAM.Power supply is 750W cooler master.I have turned up the GPU fans to 80% power now and the temp has dropped to 57C average.I also turned of auto lock screen in ubuntu settings.Right now, I am not getting the black screen anymore.Will keep it on through the night to see what happens.Btw, could you please tell me how to update geth through the command line in your setup?0 SilentCicero 159 August 2015 @xiaopow should be `sudo apt-get update` although I haven't read the bash/curl install script so I could be wrong.Yeah, leave the machine running, see if it gets brought down.0 xiaopow 15 August 2015 @SilentCicero morning, it kept mining all night, no black screen.However, it did stop 15min ago.I crt + c it and ran ethminer again.It started generating a new DAG file.Does that mean it doesn't auto generate the new DAG file, so i have to reset it manually?Update, after the new DAG file was 100% generated.the process stopped again.I killed it and ran ethminer again.
It came with an error [OPENCL]:Allocating/mapping single buffer failed with: clCreateBuffer(-61).GPU can't allocate the DAG in a single chunck.-38) August 20150 SilentCicero 159 August 2015 @xiaopow you should check on specifics for that with a dev I haven't been following DAG generation details./2015/08/04/the-thawing-frontier/ 0 xiaopow 15 August 2015 @SilentCicero thank you, all fixed!0 xiaopow 15 August 2015 @PhonikG any idea how to setup a GPU farm like that?0 jabba1016 1 August 2015 I managed to mine on windows.But now after i tried your tut on ubuntu i get the following when starting ethminer.[OPENCL]:Allocating/mappingsingle buffer failed with: clCreateBuffer(-61).GPU can't allocate the DAG in a single chunk.I've read that i can fix it by usingGPU_MAX_ALLOC_PERCENT=95But i have no idea how to set it 0 SilentCicero 159 August 2015 @jabba1016 hehe, your so close $ export GPU_MAX_ALLOC_PERCENT=95 $ ethminer -G --opencl-device 0 --no-precompute 1 PhonikG 41 August 2015 xiaopow said:@PhonikG any idea how to setup a GPU farm like that?