linux/ubuntu guide #14
Comments
|
Hi, If you don't want to build it from sources (as I suppose), just download the latest release (https://github.com/bhamon/gpuPlotGenerator/releases/tag/v4.0.3) and run it. Make sure to choose the correct architecture (x86/x64). As for the run part, it heavily depends on your graphic card. Follow the "How to use" on the home page of this repository, at least for the setup part. Once setup, it's just a matter of tuning parameters to achieve better performances. I can help for that part if you need to. |
ccminer-net
commented
Nov 1, 2016
|
Hi thank you for for not have closed this issue as I asked you ;) Well I got my GPU (msi AMD R9 380 4GB). I followed step by step what you wrote in the readme.txt file: I run
If I try to run the plotter with ./gpuPlotGenerator I get this error from the already build version you gave to me last time: I really hope you can help me with this thank you |
ccminer-net
commented
Nov 2, 2016
•
|
EDIT: I solved the error from the already build version by downgrading the AMDAPPSDK-3.0 to AMDAPPSDK-2.9.1 reply |
ccminer-net
commented
Nov 2, 2016
|
EDIT 2: but after setting up devices.txt and try to start plotting I get this error
Please help |
|
First time I see this error, and there is no reference whatsoever on the official AMD community website (apart from this one which is unsolved). From what I understand, a pseudo instruction seems to be incompatible with your card or with the driver. As I can see, you run on the latest Ubuntu distribution (16.x) which requires the new AMD drivers : I think that's the cause. As for the solution, I see two options :
To help with the second option, I'll create a new VM to build it from scratch and let you know when it's done. |
|
Done. You can download the new release here. Hope it'll work. |
ccminer-net
commented
Nov 2, 2016
|
thank you! |
ccminer-net
commented
Nov 2, 2016
|
The new version gives the same -11 error :( |
|
The original AMD driver(Catalyst) won't be supported for long, so moving to AMDGPU would be the best solution (Ubuntu 16.x). But the driver is not very mature and switching from OpenCL 1.x to OpenCL 2.0 may be the root cause of this issue. For now on, switch to Ubuntu 14.04 to solve your problem. When I find the time I'll review the kernel code to switch it to OpenCL 2.0. |
ccminer-net
commented
Nov 2, 2016
|
I got this error now [ERROR][-1001][CL_UNKNOWN] Unable to retrieve the OpenCL platforms number I'm sorry to bother you like this but this is driving me crazy!!! |
|
Sounds like OpenCL is not detected on your system. Make sure the Catalyst driver has been properly installed, reboot your system and try again. |
ccminer-net
commented
Nov 2, 2016
•
|
I think/hope that we are close by a solution
I hope we are close by a solution. |
|
A std::bad_alloc means that you don't have enough CPU RAM for the generation you launched. How much RAM do you have? What's the command line you launched? Also, 252MB seem rather low for a R9 380. You can increase the globalWorkSize as your card can go up to 4GB. |
ccminer-net
commented
Nov 2, 2016
|
I can work with no issue untill these limits: What do you think? |
|
globalWorkSize=10000 means 2.5GB GPU RAM, it's a good value. Most graphic cards doesn't allow more for a single block allocation. You can test different values of localWorkSize to enhance the throughput. Higher values doesn't necessarily give better speed. Typical power of two usually give good results (128 or 256 most of the time). About your staggerSize=109000, it requires 28.6GB of RAM. Try a lower value, like 57344 (14GB), so the noncesNumber should be 19173961 for 1TB (let's say 19000000 to round things up). Don't forget to optimize your files afterwards (so noncesNumber=staggerSize) to reduce the mining process. |
ccminer-net
commented
Nov 2, 2016
|
Thanks a lot for your work and your help!! About optimizing it is possible to do it with your scrypt or I have to use anotherone? |
|
To optimize an already generated plots file, you'll need another tool. Note that with my tool you can generate already optimized files via the Another thing you can do depending on your GPU power is to generate multiple files at once since the bottleneck part of the generation process is usually the writing speed to the disk. The strategy is then to use one card to generate nonces for two files on different disks. If you have more than one GPU you can use them all too to speed things up a bit more. |
ccminer-net
commented
Nov 3, 2016
|
THank you a lot I'm writing a post about my experience on the burst forum so hopefully nobody will bother you as I did for the same issues! |
ccminer-net commentedOct 18, 2016
Hi
I really can not understand how to run the GPU ploter on ubuntu.
Is there a step by step guide I can read?
Thank you