Pages:
Author

Topic: BFGMiner 5.5.0: CPU/GPU/FPGA/ASIC mining software, GBT+Stratum, RPC, Linux/Win64 - page 33. (Read 834514 times)

legendary
Activity: 1274
Merit: 1000
at one time BFG was awesome to GPU mine with I even used to with BFG but as time went on ASIC miner were tweaked and dev , so was BFG and CG .  


that's said you can still GPU mine with some version of BFG but it maybe super hard to get it to work right but it is still poss but look  here https://www.nicehash.com/index.jsp?p=software#gpu  you might be better off using sgmnier Smiley. it's way easier to set up and is made for GPU mining. BFG is made more for the ASIC miners and i would honestly not do script mining with a GPU do one of the script algorithms X11, X13, X15, Quark, Lyra2REv2,  they are made to only work with GPU s, some of the very high end ASIC Script miner can mine any kind of Script but those miner cost to much to be worth it .


BFG may not even support script algorithms X11, X13, X15, Quark, Lyra2REv2 etc anymore or may never have , to benefit from Script mining with a GPU your are better off using SG miner with one of the those script algorithms, Smiley .


BFG and CG are made for  ASIC miners now, BFG does both algorithms SHA256 and Script while CG only does SHA256, it used to do both, Script was removed from CG a while back, BFG is the only Software miner that has fixes and version changes now that supports both algorithms for ASIC miners, SHA256 and Script, more then likely all ways will, which makes it nice .


SO if you want to use BFG for Script mining with a video card, go for it  Smiley . if you can get it to hash it may not being the wrong software miner at one time it wasn't  and unless your doing it for fun or to learn ,it is a total waste of time with BFG now unless you use a forked version of bfg  .
newbie
Activity: 65
Merit: 0
Hello,

I'm trying to get a rig up and running using a Radeon R9 380 on Windows 7.  I'm using bfgminer 5.3.0, AMD SDK 3.0, and Catalyst 15.20.  It will connect to the pool, and bfgminer shows hashing, but no shares are ever accepted.  I've tried different pools, uninstalling/installing catalyst and amd sdk. I tried using another mining program, with basically the same results (although it will show constant HW errors on any intensity).  BFGminer doesn't show any HW errors, just never any shares accepted.  

This is what i have for my batch file:
Code:
bfgminer.exe -S opencl:auto --scrypt -o stratum+tcp://scrypt.usa.nicehash.com:3333 -u 1BceNw9f9wY8Vx9LNN1Dn1Xou4EjnUBkcf -p x --set-device intensity=9

And this is what is in the conf file:

Code:
{
"pools" : [
{
"url" : "stratum+tcp://scrypt.eu.nicehash.com:3333",
"user" : "1BceNw9f9wY8Vx9LNN1Dn1Xou4EjnUBkcf",
"pass" : "x"
},
{
"url" : "stratum+tcp://scrypt.usa.nicehash.com:3333",
       "user" : "1BceNw9f9wY8Vx9LNN1Dn1Xou4EjnUBkcf",
"pass" : "x"
}
],

"intensity" : "d,9,9,9",
"gpu-engine" : "0-985,0-950,0-960,0-1000",
"gpu-fan" : "0-85,0-85,0-85,0-85",
"gpu-memclock" :

"860,825,835,875",
"gpu-powertune" : "20,20,20,20",
"temp-cutoff" : "95,95,95,95",
"temp-overheat" : "85,85,85,85",
"temp-target" : "75,75,75,75",

"auto-fan" : true,
"auto-gpu" : true,
"expiry" : 120,
"failover-only" : true,
"gpu-threads" : 2,
"log" : 5,
"queue" : 1,
"scan-time" : 60,
"temp-

hysteresis" : 3,

"scan-serial" : [
"/dev/ttyUSB0",
"/dev/ttyUSB1",
"/dev/ttyUSB2",
"/dev/ttyUSB3"
],

"kernel-path" : "/usr/local/bin"
}


(another question: the conf file is still named 'example', I'm sure I need to rename it but I have no idea to what)


Any help would be greatly appreciated.
full member
Activity: 179
Merit: 131
I am sorry for being lazy. Does anybody have or know where to get a script to collect the statistic from BFGMiner via RPC and parse it into SQLite database? If so, would it be possible to share that with us? Thanks a lot in advance.
hero member
Activity: 520
Merit: 500
I'm sure it's in here somewhere, but how do I run Gridseed 5 Chip miners on both SHA and Scrypt on 2 different pools through BFGMiner?
My understanding is that while the Gridseed ASIC supports both algorithms, the 5-chip orb is not designed to support SHA2 (due to heat).
Regardless, BFGMiner does not support running it in SHA2 mode.


it won't i had one or two it will but if your not careful you can cook it , using both modes, if that' s the pod ?, it is poss but don't it's a  waste of power and needs major cooling.


might have to use a older version of bfg or bfg and cg for both modes to gather or find a bfg fork that has both modes on by default ,same with cg .

Okay, just checking.  I was curious.  I scrypt mine anyways with my super awesome 3 Orbs and 1.4 Mh/s Fury...mostly for fun and to see if I can remember how to get my Rasp. Pi setup, configure things, and have fun.  Thanks!
legendary
Activity: 1274
Merit: 1000
I'm sure it's in here somewhere, but how do I run Gridseed 5 Chip miners on both SHA and Scrypt on 2 different pools through BFGMiner?
My understanding is that while the Gridseed ASIC supports both algorithms, the 5-chip orb is not designed to support SHA2 (due to heat).
Regardless, BFGMiner does not support running it in SHA2 mode.


it won't i had one or two it will but if your not careful you can cook it , using both modes, if that' s the pod ?, it is poss but don't it's a  waste of power and needs major cooling.


might have to use a older version of bfg or bfg and cg for both modes to gather or find a bfg fork that has both modes on by default ,same with cg .
legendary
Activity: 2576
Merit: 1186
I'm sure it's in here somewhere, but how do I run Gridseed 5 Chip miners on both SHA and Scrypt on 2 different pools through BFGMiner?
My understanding is that while the Gridseed ASIC supports both algorithms, the 5-chip orb is not designed to support SHA2 (due to heat).
Regardless, BFGMiner does not support running it in SHA2 mode.
legendary
Activity: 1274
Merit: 1000
Code:
C:\bfgminer530>bfgminer-rpc "pgaset|1,clock,x0982"
Perhaps a bit out of topic, but where did you get that bfgminer-rpc program from, Mike?

It's bundled with BFGMiner - should be on your router too! Wink

And one more thing I have figured out, may be obvious to you all who know this command line stuff a lot better than I do, but the number in the pgaset command (|#,clock,freq) is the number of the miner in the list shown on bfgminer if you start at the top of the list with 0, i.e. if you have 8 miners running in bfg and your compac stick is the 6th one down from the top you would use 5 in the pgaset command.
legendary
Activity: 1274
Merit: 1000
will 5.4 stay in the S5 on reboot or do i have to find someone that knows how to compile one of bitmians images and replace cgminer or  learn it my self which im gonna do either way because i want to . just wondering how that's gonna work inside in a S5, btw, can't wait .
Someone will need to add it to a firmware image for it to stay permanently.




cool ok  why I'm asking is it's gonna be hard to reboot and test out stuff one or two of my S5 will just stop or under hash for no reason and there is nothing wrong with them it not on you i know it's bitmain firmware it self which will never be fixed, that gonna be a pain, not complaining, time to learn a new how to  .
hero member
Activity: 520
Merit: 500
Code:
 [2015-10-21 15:28:44] Waiting for devices; press 'M+' to add, or 'Q' to quit
 [2015-10-21 15:28:44] Probing for an alive pool
 [2015-10-21 15:28:45] No servers were found that could be used to get work from.
 [2015-10-21 15:28:45] Please check the details from the list below of the servers you have input
 [2015-10-21 15:28:45] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers
 [2015-10-21 15:28:45] Pool: 0  URL: stratum+tcp://stratum.bitcoin.cz:3333  User: USER.worker1  Password: 111
 [2015-10-21 15:28:45] Press any key to exit, or BFGMiner will try again in 15s.
WTF can be wrong with it!? My network is OK

Try specifying a region: https://mining.bitcoin.cz/help/#!/get-started/getting_started
hero member
Activity: 672
Merit: 500
Code:
 [2015-10-21 15:28:44] Waiting for devices; press 'M+' to add, or 'Q' to quit
 [2015-10-21 15:28:44] Probing for an alive pool
 [2015-10-21 15:28:45] No servers were found that could be used to get work from.
 [2015-10-21 15:28:45] Please check the details from the list below of the servers you have input
 [2015-10-21 15:28:45] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers
 [2015-10-21 15:28:45] Pool: 0  URL: stratum+tcp://stratum.bitcoin.cz:3333  User: USER.worker1  Password: 111
 [2015-10-21 15:28:45] Press any key to exit, or BFGMiner will try again in 15s.
WTF can be wrong with it!? My network is OK
hero member
Activity: 672
Merit: 500
Why my 5.3.0 bfgminer (i build it from .zip archive on linux machine Ubuntu 12.XX) can't see network? Always saying no work from server but i know server is OK.

telnet uk1.ghash.io 3333
Trying 5.254.104.87...
Connected to uk1.ghash.io.
Escape character is '^]'.
HELLO
Connection closed by foreign host.
hero member
Activity: 520
Merit: 500
I'm sure it's in here somewhere, but how do I run Gridseed 5 Chip miners on both SHA and Scrypt on 2 different pools through BFGMiner?
full member
Activity: 179
Merit: 131
Code:
C:\bfgminer530>bfgminer-rpc "pgaset|1,clock,x0982"
Perhaps a bit out of topic, but where did you get that bfgminer-rpc program from, Mike?

It's bundled with BFGMiner - should be on your router too! Wink

Thanks Luke,

I must be a really ignorant guy. I have been searching for a simple RPC client to query BFGMiner, but in fact it is always there under my nose.  Smiley

Code:
root:~$ opkg files bfgminer
Package bfgminer (5.3.0-3f30343) is installed on root and has the following files:
/usr/lib/libblkmaker-0.1.so.6
/usr/lib/libblkmaker_jansson-0.1.so
/usr/lib/libblkmaker_jansson-0.1.so.6
/usr/lib/libblkmaker-0.1.so.6.0.1
/usr/bin/bfgminer
/usr/lib/libbase58.so.0.0.2
/usr/bin/bfgminer-rpc
/usr/lib/libblkmaker-0.1.so
/usr/lib/libbase58.so.0
/usr/lib/libblkmaker_jansson-0.1.so.6.0.1
/usr/lib/libbase58.so
root:~$
root:~$ bfgminer-rpc --help
Usage: bfgminer-rpc [command [ip/host [port]]]
root:~$

legendary
Activity: 2576
Merit: 1186
Code:
C:\bfgminer530>bfgminer-rpc "pgaset|1,clock,x0982"
Perhaps a bit out of topic, but where did you get that bfgminer-rpc program from, Mike?

It's bundled with BFGMiner - should be on your router too! Wink
full member
Activity: 179
Merit: 131
Code:
C:\bfgminer530>bfgminer-rpc "pgaset|1,clock,x0982"
Perhaps a bit out of topic, but where did you get that bfgminer-rpc program from, Mike?
full member
Activity: 179
Merit: 131
I think you need to decide Luke how you would set the version of the latest git. Perhaps something like including the commit SHA for instance bfgminer-5.3.0-3f30343 for the above example.

Luke,

I think I have to decide myself how the versioning should look like. However, what I did is very quick and dirty just to see if it works. I need to find more elegant way before I pull request it, so that I will just need to do "make package/bfgminer/{clean,compile,install}" later on regardless of whatever you will do on your repository.



Code:

 [2015-10-21 07:38:20] Timers: Using clock_gettime(CLOCK_MONOTONIC)
 [2015-10-21 07:38:20] Global quota greatest common denominator set to 1
 [2015-10-21 07:38:20] Global quota greatest common denominator set to 1
 [2015-10-21 07:38:20] Global quota greatest common denominator set to 1
 [2015-10-21 07:38:20] setrlimit: Soft fd limit not being changed from 1024 (FD_SETSIZE=1024; hard limit=4096)
 [2015-10-21 07:38:20] Started bfgminer 5.3.0-3f30343
 [2015-10-21 07:38:20] Loaded configuration file /etc/bfgminer/bfgminer.conf
 [2015-10-21 07:38:20] lowlevel_scan: Found vcom device at dev_t:000000000000bc01 (path=/dev/ttyUSB1, vid=0000, pid=0000, manuf=Silicon Labs, prod=CP2102 USB to UART Bridge Controller, serial=0001)
 [2015-10-21 07:38:20] lowlevel_scan: Found vcom device at dev_t:000000000000bc00 (path=/dev/ttyUSB0, vid=0000, pid=0000, manuf=Silicon Labs, prod=CP2102 USB to UART Bridge Controller, serial=0001)
 [2015-10-21 07:38:20] AMU: cgpu_set_defaults: Matched with set default: antminer:voltage=x830
.
.
legendary
Activity: 1274
Merit: 1000
Sounds like the "leading zero" is your problem.
There was never any expectation/support for one.
How can I improve documentation to make that clear?
I used the list of hex codes for frequencies found in the Gekko compac support thread, so maybe that list needs to omit the leading 0.  Your readme-asic does not include the leading 0, so I think the documentation is good.  


I forgot pgaset doesn't take a device specification like that. Really you need to identify them by number, so 0 and 1 instead of cbm0 and cbm1.

I tried replacing cbm0 and cbm1 with 0 and 1 and I get positive feedback when I input the commands, however the second stick still does not change frequency: edit below

Code:
C:\bfgminer530>bfgminer-rpc "pgaset|1,clock,x0982"
Reply was 'STATUS=S,When=1445379015,Code=92,Msg=PGA 1 set OK,Description=bfgminer 5.3.0|'
[STATUS] =>
(
   [STATUS] => S
   [When] => 1445379015
   [Code] => 92
   [Msg] => PGA 1 set OK
   [Description] => bfgminer 5.3.0
)

C:\bfgminer530>bfgminer-rpc "pgaset|0,clock,x0982"
Reply was 'STATUS=S,When=1445379022,Code=92,Msg=PGA 0 set OK,Description=bfgminer 5.3.0|'
[STATUS] =>
(
   [STATUS] => S
   [When] => 1445379022
   [Code] => 92
   [Msg] => PGA 0 set OK
   [Description] => bfgminer 5.3.0
)

(new screen shot from just now, you can see stick 0 takes the new frequency, but stick 1 stays at stock)[/code][/code]

*Edit, I turned up the voltage on 'stick 1' a tad to get rid of the HW errors, and using 0 and 1 in the pgaset command it now ups the voltage on each stick correctly, thanks for your help.
full member
Activity: 179
Merit: 131
That's what git describe does...

anto@hp8530w:~/Development/bfgminer-5.3.0$ git describe
bfgminer-5.2.0-49-g3f30343

Yes. I know. But that means we cannot use the version.h generated by gen-version.sh if we used the latest git as the result is wrong.

Huh

The version in configure.ac is 5.3.0. So if we used the latest git, the gen-version.sh will generate bfgminer-5.2.0 instead of bfgminer-5.3.0. And that version will be displayed on BFGMiner UI as "bfgminer version 5.2.0" too, instead of "bfgminer version 5.3.0". Am I wrong?
legendary
Activity: 2576
Merit: 1186
That's what git describe does...

anto@hp8530w:~/Development/bfgminer-5.3.0$ git describe
bfgminer-5.2.0-49-g3f30343

Yes. I know. But that means we cannot use the version.h generated by gen-version.sh if we used the latest git as the result is wrong.

Huh
full member
Activity: 179
Merit: 131
That's what git describe does...

anto@hp8530w:~/Development/bfgminer-5.3.0$ git describe
bfgminer-5.2.0-49-g3f30343

Yes. I know. But that means we cannot use the version.h generated by gen-version.sh if we used the latest git as the result is wrong.
Pages:
Jump to: