Pages:
Author

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

newbie
Activity: 2
Merit: 0
Hi Luke,
Many thanks. May I ask what is the quick test to know that my system is practically useful? I mean how fast it should be as I read in the CPU README, you said it not worth it to try. As I am new to bitcoin miner,  please advice what I would expect and should do/do not.  Thanks, John.

Hi Luke,
I would like to use my multi-core/clusters and special coprocessors for mining. I would like to write my special drivers (CPU/cluster based). Where is in the source code I should make change or start from?
 Thanks, John
If your system supports OpenCL already, you may be able to just replace CL_DEVICE_TYPE_GPU in ocl.c
If it's similar enough to the existing CPU mining, driver-cpu.c may be the place to hook into the CPU mining stuff.
If it needs an entirely new driver, the HACKING document is a good reference.

full member
Activity: 368
Merit: 100
Have been using BFGMiner 5.0 with Bitcoin Core 9.3 to do some solo mining. Just switched to the new 10.0 Core and now BFG doesn't see any pool available. Using same "bitcoin-qt.exe -server" command to run Bitcoin. What am I missing? TIA.
You mean 0.10, which had release notes explaining that it included BIP66, and also that this means you need to upgrade your miner...
BFGMiner 5.1's release notes also mentioned the need to upgrade.

Thank you Luke-Jr. BFG 5.10 did the trick.
legendary
Activity: 2576
Merit: 1186
Have been using BFGMiner 5.0 with Bitcoin Core 9.3 to do some solo mining. Just switched to the new 10.0 Core and now BFG doesn't see any pool available. Using same "bitcoin-qt.exe -server" command to run Bitcoin. What am I missing? TIA.
You mean 0.10, which had release notes explaining that it included BIP66, and also that this means you need to upgrade your miner...
BFGMiner 5.1's release notes also mentioned the need to upgrade.
full member
Activity: 368
Merit: 100
Have been using BFGMiner 5.0 with Bitcoin Core 9.3 to do some solo mining. Just switched to the new 10.0 Core and now BFG doesn't see any pool available. Using same "bitcoin-qt.exe -server" command to run Bitcoin. What am I missing? TIA.
legendary
Activity: 966
Merit: 1003
Set a time of day in HH:MM to stop mining (will quit without a start time)
legendary
Activity: 3808
Merit: 1723
Hi Luke,
I would like to use my multi-core/clusters and special coprocessors for mining. I would like to write my special drivers (CPU/cluster based). Where is in the source code I should make change or start from?
 Thanks, John
If your system supports OpenCL already, you may be able to just replace CL_DEVICE_TYPE_GPU in ocl.c
If it's similar enough to the existing CPU mining, driver-cpu.c may be the place to hook into the CPU mining stuff.
If it needs an entirely new driver, the HACKING document is a good reference.

Started using BFGMiner with my KNCMINER Jupiter

is there anyway to temporarily disable mining within the software?

Like Pause mining ?
See README.

I read both the README and README.ASIC and there is nothing about pausing or stopping mining.
--sched-start Set a time of day in HH:MM to start mining (a once off without a stop time)
--sched-stop   Set a time of day in HH:MM to stop mining (will quit without a start time)

You can also manually either disable all devices (individually) or disable all pools.

I see. How do I run this from the command terminal.

/etc/init.d/bfgminer --sched-stop

doesn't work.
legendary
Activity: 2576
Merit: 1186
Hi Luke,
I would like to use my multi-core/clusters and special coprocessors for mining. I would like to write my special drivers (CPU/cluster based). Where is in the source code I should make change or start from?
 Thanks, John
If your system supports OpenCL already, you may be able to just replace CL_DEVICE_TYPE_GPU in ocl.c
If it's similar enough to the existing CPU mining, driver-cpu.c may be the place to hook into the CPU mining stuff.
If it needs an entirely new driver, the HACKING document is a good reference.

Started using BFGMiner with my KNCMINER Jupiter

is there anyway to temporarily disable mining within the software?

Like Pause mining ?
See README.

I read both the README and README.ASIC and there is nothing about pausing or stopping mining.
--sched-start Set a time of day in HH:MM to start mining (a once off without a stop time)
--sched-stop   Set a time of day in HH:MM to stop mining (will quit without a start time)

You can also manually either disable all devices (individually) or disable all pools.
legendary
Activity: 3808
Merit: 1723
Hi Luke,
I would like to use my multi-core/clusters and special coprocessors for mining. I would like to write my special drivers (CPU/cluster based). Where is in the source code I should make change or start from?
 Thanks, John
If your system supports OpenCL already, you may be able to just replace CL_DEVICE_TYPE_GPU in ocl.c
If it's similar enough to the existing CPU mining, driver-cpu.c may be the place to hook into the CPU mining stuff.
If it needs an entirely new driver, the HACKING document is a good reference.

Started using BFGMiner with my KNCMINER Jupiter

is there anyway to temporarily disable mining within the software?

Like Pause mining ?
See README.

I read both the README and README.ASIC and there is nothing about pausing or stopping mining.
legendary
Activity: 2576
Merit: 1186
Hi Luke,
I would like to use my multi-core/clusters and special coprocessors for mining. I would like to write my special drivers (CPU/cluster based). Where is in the source code I should make change or start from?
 Thanks, John
If your system supports OpenCL already, you may be able to just replace CL_DEVICE_TYPE_GPU in ocl.c
If it's similar enough to the existing CPU mining, driver-cpu.c may be the place to hook into the CPU mining stuff.
If it needs an entirely new driver, the HACKING document is a good reference.

Started using BFGMiner with my KNCMINER Jupiter

is there anyway to temporarily disable mining within the software?

Like Pause mining ?
See README.
legendary
Activity: 3808
Merit: 1723
Started using BFGMiner with my KNCMINER Jupiter

is there anyway to temporarily disable mining within the software?

Like Pause mining ?
newbie
Activity: 2
Merit: 0
Hi Luke,
I would like to use my multi-core/clusters and special coprocessors for mining. I would like to write my special drivers (CPU/cluster based). Where is in the source code I should make change or start from?
 Thanks, John
legendary
Activity: 2576
Merit: 1186
Hi, I run bfgminer with -S \\.\COM9 \\.\COM10 \\.\COM11 but still my USB memory stick doesn't want to mount properly.

Whenever I plug something into a USB port I see bfgminer complaining about something (can't remember, remote location) so it's definetly not sticking to those COM ports...

How can I force bfgminer to not spam my whole USB circuit?
That's the default behaviour (not probing unrecognised devices) - maybe you have a config file somewhere overriding it?

Well, I don't think it's probing that is the problem. It seems bfgminer is doing something (maybe just communicating with the miners) that disturbs win from finding the USB flash memory. It mounts, but it's empty; I thought the USB stick was fried but then at another location it works fine. Will try mounting it without the miners/bfgminer on next time maybe it's something else that's broken.
Maybe try with --no-hotplug ?
hero member
Activity: 725
Merit: 503
Hi, I run bfgminer with -S \\.\COM9 \\.\COM10 \\.\COM11 but still my USB memory stick doesn't want to mount properly.

Whenever I plug something into a USB port I see bfgminer complaining about something (can't remember, remote location) so it's definetly not sticking to those COM ports...

How can I force bfgminer to not spam my whole USB circuit?
That's the default behaviour (not probing unrecognised devices) - maybe you have a config file somewhere overriding it?

Well, I don't think it's probing that is the problem. It seems bfgminer is doing something (maybe just communicating with the miners) that disturbs win from finding the USB flash memory. It mounts, but it's empty; I thought the USB stick was fried but then at another location it works fine. Will try mounting it without the miners/bfgminer on next time maybe it's something else that's broken.
legendary
Activity: 2576
Merit: 1186
AntMiner U3 support needs some pretty major improvements to the "icarus" driver that serves as the base for many FPGA and ASIC devices.
If you can help test (I don't have all the devices!), please do. List of stuff that needs testing is on https://github.com/luke-jr/bfgminer/pull/603
Windows binaries are available from http://luke.dashjr.org/tmp/code/webisect/webisect.php?dobuild=icarus_ms
sr. member
Activity: 261
Merit: 257
Note that real solo mining does not use shares.
ckpool's server appears to use diff ~1k shares, which should take about 35 minutes on average per share with 2.1 Gh/s.
AFAIK diff should adjust downwards fairly quickly if you have a low speed device. 1K is just the default starting diff.
legendary
Activity: 1274
Merit: 1000
Great information, thank you so much for laying it out for me.

I will attempt to get my solo mining going from home, the contribution to the network is important to me and I understand what you are saying.  I have a full node at home, so there I would be providing benefit if I solo mined.

I went away to lunch and left the stick mining and it adjusted its difficulty on its own and I am now having shares accepted successfully.

Thanks again for your assistance, I really appreciate it.
legendary
Activity: 2576
Merit: 1186
I am "solo" mining in ckpool because it keeps me from having to run a full node at work (which I can't do, but I do at home), and I like that this pool is lightweight and connected to high speed low latency bitcoin nodes for rapid block change notification and propagation.  What I am hoping to achieve is to contribute, albeit negligibly, to the Bitcoin network while giving myself a lottery ticket that plays every 10 minutes.
I suppose it makes sense if you're after the "thrill" of gambling, but do note this doesn't contribute to the network any more than using a pool sharing rewards between miners.
The entire network benefit of solo mining, comes from the locally administrated full node.

I don't seem to be finding any shares, however, which seems odd to me.  Command line display shows it chugging along at ~2.1gh, but not finding shares.  Not sure if that is a BFGminer issue or not.  Been running 10 minutes now and no shares Sad.  Could this be a difficulty setting issue?
Note that real solo mining does not use shares.
ckpool's server appears to use diff ~1k shares, which should take about 35 minutes on average per share with 2.1 Gh/s.

I don't see that BFGminer supports --suggest-diff or anything of that sort. [edit, found option --request-diff, which I think is the same thing, tried using it with value 6 and it would not connect to pool, so maybe not what I was looking for]
ckpool does not support request-diff, and instead implemented (over a year later IIRC) an incompatible way to do the same thing in an apparent effort to push people away from BFGMiner.

If you don't like their diff 1024 target, perhaps the best option is to run a private poolserver on your full node?
Eloipool can help with that if it's a Linux system.
legendary
Activity: 1274
Merit: 1000
Please pastebin (or share a Google Drive file with me) a debug log made by bfgminer -P --debuglog --log-file debug.log

So-called "solo pools" are frankly all the disadvantages of solo mining combined with all the disadvantages of pool mining, with none of the advantages of either.
What exactly are you hoping to achieve? O.o


I am "solo" mining in ckpool because it keeps me from having to run a full node at work (which I can't do, but I do at home), and I like that this pool is lightweight and connected to high speed low latency bitcoin nodes for rapid block change notification and propagation.  What I am hoping to achieve is to contribute, albeit negligibly, to the Bitcoin network while giving myself a lottery ticket that plays every 10 minutes.

Seems I had a firewall issue not related to BFGMiner, got another miner working on my home machine, but did not have time to re-try the HitchHiker at home.  Brought it to work and seem to have it running here, I will test it again from home tonight to verify.

I don't seem to be finding any shares, however, which seems odd to me.  Command line display shows it chugging along at ~2.1gh, but not finding shares.  Not sure if that is a BFGminer issue or not.  Been running 10 minutes now and no shares Sad.  Could this be a difficulty setting issue?  I don't see that BFGminer supports --suggest-diff or anything of that sort. [edit, found option --request-diff, which I think is the same thing, tried using it with value 6 and it would not connect to pool, so maybe not what I was looking for]  Any advice here welcomed (would a debug log of this activity help?).  Pict below:



Thank you.
legendary
Activity: 2576
Merit: 1186
Hi, I run bfgminer with -S \\.\COM9 \\.\COM10 \\.\COM11 but still my USB memory stick doesn't want to mount properly.

Whenever I plug something into a USB port I see bfgminer complaining about something (can't remember, remote location) so it's definetly not sticking to those COM ports...

How can I force bfgminer to not spam my whole USB circuit?
That's the default behaviour (not probing unrecognised devices) - maybe you have a config file somewhere overriding it?
legendary
Activity: 2576
Merit: 1186
My guess would be that the bc address is invalid. I've confirmed that pool seems to work fine (with regard to login).

If you actually want to solo mine, though (which using any third-party operated server is not), just configure and run Bitcoin Core with the RPC server enabled, and skip the -o/-u/-p options.

Double checked the btc address, it is correct.
Please pastebin (or share a Google Drive file with me) a debug log made by bfgminer -P --debuglog --log-file debug.log

There are advantages to ckpool over pure solo mining that I wish to make use of; that pool is as close to solo mining as it comes without technically solo mining.
So-called "solo pools" are frankly all the disadvantages of solo mining combined with all the disadvantages of pool mining, with none of the advantages of either.
What exactly are you hoping to achieve? O.o

I tried configuring BTC core with RPC server enabled, however, since I have moved my block chain data from the default location I have yet to have any luck getting that to work, either.  As I said, new BTC user here. Smiley
You can use the -datadir=/path/to/.bitcoin/directory/ to override where Bitcoin Core looks for stuff.
Pages:
Jump to: