@patrik2 Six. I've been running number of rigs with 6 GPUs under Ubuntu 14.04 servers for a couple months now.
Wow, nice! I am running W7 and it support 4 GPUs only without tweaking the drivers. Well, actually I have only 5 slots on my MoBo, so +1 GPU is not a bad thing
@adaseb Begin by making sure your in your home directory: enter: cd Create a text file starting with the line: #!/bin/bash
Then add the lines you have above.
add the line: exit 0
Save the file.
enter: chmod 755 filename
run it with: ./filename
If you want to be neat about it, and accommodate additional scripts in the future, create a directory in your home directory: enter: mkdir bin Put your newly created file, above, in the new directory "bin": enter: mv filename bin
Now see if your PATH already thinks you have a $HOME/bin directory: enter: which filename
If the output says: /home/username/bin/filename, you're good to go, and your can type the name of your script ("filename") from anywhere and it will run. If you don't get the output I mentioned then:
Edit your .bashrc file and add a line at the end: export PATH=$PATH:$HOME/bin
Save the file. Then: enter: source .bashrc
You should now be able to run your new script from any directory, just like any other command.
-Best Care David
P.S. If you don't understand, I've missed something, or you have a problem, let me know.
@adaseb You don't have /bin/bash ? If you do: ls -l /bin/bash is the program there? For this, you could just change it to: !#/bin/sh , instead of bash.
@adaseb You have to compile it from source code, with means you have to have all the compiler tools installed first. Unless you already know how to build programs from source, I think you might have a hard time doing it.
So, i followed step 2, and when I type $ aticonfig --list-adapters ... and it can't find any gpu I'm new at ubuntu, any help will be greatly appreciated. Thank you
I have 14.04 LTS Desktop and I have been banging my head against a wall for 3 days now. I have searched everywhere and hope someone can lend a hand if they know how to get this machine mining. I have followed this guide and just can't get it to work.
aticonfig --list-adapters looks good with: * 0. 01:00.0 AMD Radeon R9 200 Series * - Default adapter
But, eth --list-devices & ethminer -G --list-devices both give this: (++)Ethereum No protocol specified No protocol specified [OPENCL]: Listing OpenCL devices. FORMAT: [deviceID] deviceName
geth gpuinfo gives: ============================================= ============ OpenCL Device Info ============= ============================================= No protocol specified Platform id 0 Platform Name AMD Accelerated Parallel Processing Platform Vendor Advanced Micro Devices, Inc. Platform Version OpenCL 1.2 AMD-APP (1445.5) Platform Extensions cl_khr_icd cl_amd_event_callback cl_amd_offline_devices cl_amd_hsa Platform Profile FULL_PROFILE Device error (check your GPU drivers) : cl: Device Not Found
geth gpubench gives this: No protocol specified OpenCL init error: Devices error: cl: Device Not Found Check your GPU drivers and then run geth gpuinfo
To me it looks like a video card driver issue (as the above even says "Check your GPU drivers" at 2 points) but lshw -c video gives me: driver=fglrx_pci
And lspci -nnk | grep -i vga -A3 | grep 'in use' gives me: Kernel driver in use: fglrx_pci
I like I said before, I have been working on this for 3 days and just can't get this going. I have run out of ideas and google leads to just the same set of results. Any help would be very appreciated!! Thank you!
@dance191 Yep, sounds like a driver issue to me. Don't use the Crimson drivers. Do a search for: fglrx-core_15.201-0ubuntu1_amd64.deb and fglrx_15.201-0ubuntu1_amd64.deb. They are stable and work great. Make sure you remove all fglrx driver packages before installing these. And you do not need to install the APP-SDK from AMD. All it seems to do if muck up the library links. The driver packages above contain the OpenCL libraries you need. The only reason to install the APP-SDK is if you're building from source, but even then, all you need is the OpenCL header files. HTH
Hi. I Very grateful for this instruction. If you have time - can explain some task. I have 4 comps with 5 video-card at 1 of 5 . How do I can sync them? Because If i want change pool for example. Can I create one file which will be as setting for all card? And how I can monitoring all my card - for example temperature. Thank you
@Brossinger It really depends on how you are connecting to the pool you are using. Are you using a stratum proxy connection (eth-proxy)? You need to supply more information in order to answer you're question. Details matter.
I have followed this guide to setup ethminer with 3x R7 390 GPUs on Ubuntu 15.10 and I can only mine on the first card.
I have tried the following so far without success:
-> adding the switch --opencl-device 0 1 2 results in "undefined variable 1", -> adding the switch --opencl-device 0 or --opencl-device 1 or 2 results always on one card mining, if I open a new terminal and start a new instance of ethminer adding --opencl-device 1 (or 2) I get an error about not enough memory left on the GPU to start mining which makes me think that it's not really trying to start mining on one of the other two cards but still on the first?
I have been reading about a -t X (3 in my case) switch to mine with all cards in one ethminer instance, is this correct?
@Brossinger It really depends on how you are connecting to the pool you are using. Are you using a stratum proxy connection (eth-proxy)? You need to supply more information in order to answer you're question. Details matter.
@sot173 Yes, you want to run one 'ethminer' command with '-t 3'. Ethminer will handle all three cards. This is the "right" way to run 'ethminer' when you have multiple GPUs in your system.
@sot173 Yes, you want to run one 'ethminer' command with '-t 3'. Ethminer will handle all three cards. This is the "right" way to run 'ethminer' when you have multiple GPUs in your system.
Thank you David, I will give it a try tomorrow when I have again access to the machine and report back.
Comments
export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
ethminer --farm-recheck 200 -G -F http://127.0.0.1:8080/
enter: cd
Create a text file starting with the line:
#!/bin/bash
Then add the lines you have above.
add the line: exit 0
Save the file.
enter: chmod 755 filename
run it with: ./filename
If you want to be neat about it, and accommodate additional scripts in the future, create a directory in your home directory:
enter: mkdir bin
Put your newly created file, above, in the new directory "bin":
enter: mv filename bin
Now see if your PATH already thinks you have a $HOME/bin directory:
enter: which filename
If the output says: /home/username/bin/filename, you're good to go, and your can type the name of your script ("filename") from anywhere and it will run. If you don't get the output I mentioned then:
Edit your .bashrc file and add a line at the end:
export PATH=$PATH:$HOME/bin
Save the file. Then:
enter: source .bashrc
You should now be able to run your new script from any directory, just like any other command.
-Best Care
David
P.S. If you don't understand, I've missed something, or you have a problem, let me know.
bash: ./Ethminer.sh: /bin/bash^M: bad interpreter: No such file or directory
Do you know how to get ethminer-0.9.41-genoil-1.x.x working under Linux? I only see a EXE file for Windows. I want to see my hashrate.
I have 14.04 LTS Desktop and I have been banging my head against a wall for 3 days now. I have searched everywhere and hope someone can lend a hand if they know how to get this machine mining. I have followed this guide and just can't get it to work.
aticonfig --list-adapters looks good with:
* 0. 01:00.0 AMD Radeon R9 200 Series
* - Default adapter
But, eth --list-devices & ethminer -G --list-devices both give this:
(++)Ethereum
No protocol specified
No protocol specified
[OPENCL]:
Listing OpenCL devices.
FORMAT: [deviceID] deviceName
geth gpuinfo gives:
=============================================
============ OpenCL Device Info =============
=============================================
No protocol specified
Platform id 0
Platform Name AMD Accelerated Parallel Processing
Platform Vendor Advanced Micro Devices, Inc.
Platform Version OpenCL 1.2 AMD-APP (1445.5)
Platform Extensions cl_khr_icd cl_amd_event_callback cl_amd_offline_devices cl_amd_hsa
Platform Profile FULL_PROFILE
Device error (check your GPU drivers) : cl: Device Not Found
geth gpubench gives this:
No protocol specified
OpenCL init error: Devices error: cl: Device Not Found
Check your GPU drivers and then run geth gpuinfo
To me it looks like a video card driver issue (as the above even says "Check your GPU drivers" at 2 points) but
lshw -c video gives me:
driver=fglrx_pci
And
lspci -nnk | grep -i vga -A3 | grep 'in use' gives me:
Kernel driver in use: fglrx_pci
I like I said before, I have been working on this for 3 days and just can't get this going. I have run out of ideas and google leads to just the same set of results. Any help would be very appreciated!! Thank you!
-Best Care
David
I have followed this guide to setup ethminer with 3x R7 390 GPUs on Ubuntu 15.10 and I can only mine on the first card.
I have tried the following so far without success:
-> adding the switch --opencl-device 0 1 2 results in "undefined variable 1",
-> adding the switch --opencl-device 0 or --opencl-device 1 or 2 results always on one card mining, if I open a new terminal and start a new instance of ethminer adding --opencl-device 1 (or 2) I get an error about not enough memory left on the GPU to start mining which makes me think that it's not really trying to start mining on one of the other two cards but still on the first?
I have been reading about a -t X (3 in my case) switch to mine with all cards in one ethminer instance, is this correct?
Thank you in advance.
sudo ethminer -G -F http://ethereumpool.co/[email protected] [email protected] name