Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: olib on May 15, 2017, 06:24:28 PM



Title: Sgminer .bin create problem.
Post by: olib on May 15, 2017, 06:24:28 PM
Hi. I'm using win 7 and I have 4 x RX480 8gb cards. When I create a bin file, it will list this:

[20:10:39] Started sgminer 4.1.0


[20:10:39] Started sgminer 4.1.0
[20:10:40] Kernel chaincoin is experimental.
[20:10:40] Error -11: Building Program (clBuildProgram)
[20:10:40] C:\Temp\\OCL5432T5.cl:79:10: fatal error: 'blake.cl' file not found
#include "blake.cl"
         ^
1 error generated.

error: Clang front-end compilation failed!
Frontend phase failed compilation.
Error: Compiling CL to IR

[20:10:40] Failed to init GPU thread 0, disabling device 0
[20:10:40] Restarting the GPU from the menu will not fix this.
[20:10:40] Try restarting sgminer.
Press enter to continue:


When I have an old bin file it's okay. But when I want to mine a new coin and I do not have a bin file I have this problem.
Does anyone know what to do ? Ths.


Title: Re: Sgminer .bin create problem.
Post by: vm1990 on May 15, 2017, 06:31:06 PM
are the new coins you want to mine the same algorithm, you have to change the .bat file to what ever your new coin uses


Title: Re: Sgminer .bin create problem.
Post by: olib on May 15, 2017, 06:34:02 PM
I want to use 4 cards.
.bat file example: sgminer.exe --kernel chaincoin -o stratum+tcp://chc.suprnova.cc:5888 -u user -p pass -I 18 -g 4 -w 128  What's wrong there?
without .bin file


Title: Re: Sgminer .bin create problem.
Post by: vm1990 on May 15, 2017, 06:44:41 PM
I want to use 4 cards.
.bat file example: sgminer.exe --kernel chaincoin -o stratum+tcp://chc.suprnova.cc:5888 -u user -p pass -I 18 -g 4 -w 128  What's wrong there?
without .bin file

you dont need a .bin file as this is to do with software and not something a user should touch, you need to create a .bat file (user command file)

so copy sgminer.exe --kernel chaincoin -o stratum+tcp://chc.suprnova.cc:5888 -u user -p pass -I 18 -g 4 -w 128  into notepad and save as (random name.bat) and click the file type under to all files. drop the .bat file into sgminer double click it and it should run


Title: Re: Sgminer .bin create problem.
Post by: olib on May 15, 2017, 06:53:52 PM
I have these files in sgminer folder https://www.imageupload.co.uk/image/Bna5
And it's still the same.


Title: Re: Sgminer .bin create problem.
Post by: vm1990 on May 15, 2017, 07:01:55 PM
I have these files in sgminer folder https://www.imageupload.co.uk/image/Bna5
And it's still the same.

lets start from the beginning what coin and kernal did you mine and it worked?
did you download sgminer from that coin project? (could be they lightend it so it only have that algorithm in the kernel folder)

.bin file is something sgminer has in it to know how to mine a coin, if it doesn't have that .bin file for that coin then you can mine that coin/kernal
.bat file is where you put user setting and mining settings

if your missing the .bin file then its either been deleted or been removed by the people you downloaded the file from, sgminer can be downloaded in full with all the kernals and stuff from https://bitcointalk.org/index.php?topic=632503.0


Title: Re: Sgminer .bin create problem.
Post by: olib on May 15, 2017, 07:17:58 PM
I have these files in sgminer folder https://www.imageupload.co.uk/image/Bna5
And it's still the same.

lets start from the beginning what coin and kernal did you mine and it worked?
did you download sgminer from that coin project? (could be they lightend it so it only have that algorithm in the kernel folder)

.bin file is something sgminer has in it to know how to mine a coin, if it doesn't have that .bin file for that coin then you can mine that coin/kernal
.bat file is where you put user setting and mining settings

if your missing the .bin file then its either been deleted or been removed by the people you downloaded the file from, sgminer can be downloaded in full with all the kernals and stuff from https://bitcointalk.org/index.php?topic=632503.0
I mined ex. dgb coin algo groestl. There i have .bin ( myriadcoin-groestlEllesmeregw256l4ku0.bin ) At that time I only had two RX 480. There was no problem creating a bin file. And 4 GPUs work when there is the old .bin file.
Yes i downloaded sgminer for CHC coins. https://mega.co.nz/#!w0VWkBbZ!PWyCPnCjIuvm6pH8Ljt-hXvllg4npedd0gfwKGXkL-E (https://mega.co.nz/#!w0VWkBbZ!PWyCPnCjIuvm6pH8Ljt-hXvllg4npedd0gfwKGXkL-E) link for coin https://bitcointalk.org/index.php?topic=422149.0
It is also possible to disconnect two risers from PC boot. Create a bin and then re-enter two GPUs. I just do not want to do this with every new algorithm. So I want to know if i can create a bin file with 4 GPUs?


Title: Re: Sgminer .bin create problem.
Post by: vm1990 on May 15, 2017, 07:33:47 PM
it should be possible to run it with 4gpus, hell iv seen people use 8. this is whats confusing me

[20:10:40] C:\Temp\\OCL5432T5.cl:79:10: fatal error: 'blake.cl' file not found
#include "blake.cl"

is there a blake.cl file in the kernal folder?


Title: Re: Sgminer .bin create problem.
Post by: olib on May 15, 2017, 07:51:53 PM
Yes there is blake.cl in kernel folder. Sgminer I downloaded from the line above.  Now I have tried the algo diamond without the .bin file in another sgminer version. Created a new .bin. So I do not know about the problem in that version of sgminer.


Title: Re: Sgminer .bin create problem.
Post by: vm1990 on May 15, 2017, 07:53:55 PM
Yes there is blake.cl in kernel folder. Sgminer I downloaded from the line above.  Now I have tried the algo diamond without the .bin file in another sgminer version. Created a new .bin. So I do not know about the problem in that version of sgminer.

it might just have got corrupted, either try redownloading it from the link or try the offical one, the official one should do the same as the one in the link and everything else


Title: Re: Sgminer .bin create problem.
Post by: olib on May 15, 2017, 08:45:03 PM
I'll leave it now. I have another job. Thank you so far.