Bitcoin Forum
March 19, 2024, 02:42:50 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 ... 165 »
  Print  
Author Topic: OLD: BFGMiner 3.10.0: modular ASIC+FPGA, GBT+Strtm, RPC, Mac/Lnx/W64, AntU1, DRB  (Read 1192929 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
MSO
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
April 11, 2013, 11:20:34 PM
 #41

I had two instances of BFGMiner 3.0.0 crash simultaneously today; each was running on its own computer.  Both video cards are MSI Radeon 7770 running AMD's Catalyst 13.1 on Windows 7 64 bit OS.

There was an interruption (my ISP connection went down) followed by a new block detected message and both instances of BFGMiner 3.0.0 trapped.  Due to the trap, I wasn't able to gather any further info.

Machine #1

Faulting application name: bfgminer.exe, version: 0.0.0.0, time stamp: 0x515f07a4 (2013-04-11 17:22:45.000000000Z)
Faulting module name: bfgminer.exe, version: 0.0.0.0, time stamp: 0x515f07a4
Exception code: 0xc0000005
Fault offset: 0x000000000000bf96
Faulting process id: 0x1b28
Faulting application start time: 0x01ce3647d3d57e57
Faulting application path: (removed)\bfgminer.exe
Faulting module path: (removed)\bfgminer.exe

Machine #2

Faulting application name: bfgminer.exe, version: 0.0.0.0, time stamp: 0x515f07a4 (2013-04-11 17:22:45.000000000Z
Faulting module name: bfgminer.exe, version: 0.0.0.0, time stamp: 0x515f07a4
Exception code: 0xc0000005
Fault offset: 0x000000000000bf96
Faulting process id: 0x264
Faulting application start time: 0x01ce35ec278316ab
Faulting application path: (removed)\bfgminer.exe
Faulting module path: (removed)\bfgminer.exe

Model path names contain identifying information so I removed those details.
1710816170
Hero Member
*
Offline Offline

Posts: 1710816170

View Profile Personal Message (Offline)

Ignore
1710816170
Reply with quote  #2

1710816170
Report to moderator
1710816170
Hero Member
*
Offline Offline

Posts: 1710816170

View Profile Personal Message (Offline)

Ignore
1710816170
Reply with quote  #2

1710816170
Report to moderator
1710816170
Hero Member
*
Offline Offline

Posts: 1710816170

View Profile Personal Message (Offline)

Ignore
1710816170
Reply with quote  #2

1710816170
Report to moderator
According to NIST and ECRYPT II, the cryptographic algorithms used in Bitcoin are expected to be strong until at least 2030. (After that, it will not be too difficult to transition to different algorithms.)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Epoch
Legendary
*
Offline Offline

Activity: 922
Merit: 1003



View Profile
April 12, 2013, 12:37:59 AM
 #42

I can add my anecdotal experience here as well. Win7/64, 3 separate machines, 3 separate instances of bfgminer (2.99.1 on all 3, not 3.0.0, but I've had this issue on 3.0.0 as well which is why I downgraded to 2.99.1). All BFL Single FPGAs in my case; no GPUs. All 3 instances crashed simultaneously coincident with bitminter going down temporarily last night.
hanti
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
April 12, 2013, 01:41:25 PM
 #43

same - crashes on bfgminer 3.0 and 2.10.6 with ztex and 6950 im on bitminter too
2.10.5 was stable
cgminer 2.11.4 is stable too
im using backup pools and i think problem is in this;)

Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
April 12, 2013, 06:21:56 PM
 #44

same - crashes on bfgminer 3.0 and 2.10.6 with ztex and 6950 im on bitminter too
2.10.5 was stable
cgminer 2.11.4 is stable too
im using backup pools and i think problem is in this;)
It sounds like you might be able to reproduce the crash easily?
If so, are you willing to go through a series of test builds (preferrably on IRC) to track down the cause?

Thanks,

Luke

O_Shovah
Sr. Member
****
Offline Offline

Activity: 410
Merit: 252


Watercooling the world of mining


View Profile
April 13, 2013, 12:24:29 PM
 #45

Hello,

afther a bit of roaming the README and try an d error i have compiled bfgminer 3.00 on my ubuntu serversystem.
I am running a Icarus board against the ozcoin pool.

Its all running fine so far except one message that nontheless seems not to be critical.

" Unknown stratum msg: {"error": [-3, "Method 'get_transactions' not found for service 'mining'", null], "id": "txlist84f8", "result": null} "


Just for your notice.

Might be interesting to know what this "get transactions" originally was supposed to do.

Regards

Jens

hanti
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
April 13, 2013, 02:14:41 PM
 #46

same - crashes on bfgminer 3.0 and 2.10.6 with ztex and 6950 im on bitminter too
2.10.5 was stable
cgminer 2.11.4 is stable too
im using backup pools and i think problem is in this;)
It sounds like you might be able to reproduce the crash easily?
If so, are you willing to go through a series of test builds (preferrably on IRC) to track down the cause?

Thanks,

Luke

no sorry :/ i cant reproduce this easily it happens after 1h or after 10h
if needed im sitting at freenode #bitminter with same nick

Searinox
Full Member
***
Offline Offline

Activity: 147
Merit: 100


Do you like fire? I'm full of it.


View Profile
April 13, 2013, 06:19:17 PM
 #47

Is there anything I can do to make BFGminer automatically stop mining when the network connection is lost? Frankly I don't even understand what it's mining when there's no more tasks coming in from the network.
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
April 13, 2013, 06:34:09 PM
 #48

Is there anything I can do to make BFGminer automatically stop mining when the network connection is lost? Frankly I don't even understand what it's mining when there's no more tasks coming in from the network.
It should usually stop within 5 minutes when it can't generate any more work.

Searinox
Full Member
***
Offline Offline

Activity: 147
Merit: 100


Do you like fire? I'm full of it.


View Profile
April 13, 2013, 06:52:03 PM
 #49

Is there anything I can do to make BFGminer automatically stop mining when the network connection is lost? Frankly I don't even understand what it's mining when there's no more tasks coming in from the network.
It should usually stop within 5 minutes when it can't generate any more work.
What if it doesn't? What if it keeps going unabated a full 30 minutes after internet disconnection, and p2pool's window simply reports that bfgminer is still doing the usual 200-ish MH/s work with 100% DOA?
nathanrees19
Full Member
***
Offline Offline

Activity: 196
Merit: 100



View Profile
April 14, 2013, 09:47:09 AM
 #50

" Unknown stratum msg: {"error": [-3, "Method 'get_transactions' not found for service 'mining'", null], "id": "txlist84f8", "result": null} "

Might be interesting to know what this "get transactions" originally was supposed to do.

It's a largely-useless command to get the transaction list that the pool is planning to include in a block. In addition to not being necessary for mining, it uses significant additional bandwidth, so most pools (and most miners) don't bother to implement it.
O_Shovah
Sr. Member
****
Offline Offline

Activity: 410
Merit: 252


Watercooling the world of mining


View Profile
April 14, 2013, 11:03:53 AM
 #51

" Unknown stratum msg: {"error": [-3, "Method 'get_transactions' not found for service 'mining'", null], "id": "txlist84f8", "result": null} "

Might be interesting to know what this "get transactions" originally was supposed to do.

It's a largely-useless command to get the transaction list that the pool is planning to include in a block. In addition to not being necessary for mining, it uses significant additional bandwidth, so most pools (and most miners) don't bother to implement it.

Thanks for that info.
So i will just keep ignoring this message Wink


Ps:

X6500 and Icarus happily mining side by side gathering some 750 Mh/s.

purelithium
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500



View Profile
April 16, 2013, 02:15:25 AM
 #52

I posted the meat of this in a post on reddit, but I figured it could be helpful here, since there's no real "Quick-start" guide for BFGMiner. This will get someone mining, and fairly optimized within about 15 min.

This post will be using commands and settings based on BFGMiner so go grab a copy and play along. I'm also going to assume you're in windows, but it really isn't much different in *nix.

Run the client with the options like this either in a command prompt or from a shortcut(or you can just run the .exe and follow the onscreen instructions to set up a pool):

bfgminer.exe -o stratum+tcp://mmpool.bitparking.com:3333 -u YourWorkername -p WorkerPassword

Once you're in the program, and you see your cards spitting out shares, pres "S" then "W" and hit enter twice to get back to the main screen. This creates a config file, saving all your settings. Now to run the program in the future all you need to do is run the .exe (no need for the extra options now)

To change anything, now all you have to do is edit the bfgminer.conf Make sure you don't mess with the formatting, however. If you want to learn how to properly format it by yourself, look up JSON formatting. The easiest way to add more pools (for backup when your primary pool goes down, etc) is from bfgminer itself by hitting "P" then "A" and follow the onscreen prompts. once your new pool is added, make sure you save your config file like we did before.

For how to squeeze every last MH/s out of your chips, you'll want to fiddle with some configuration settings.
In your bfgminer.cfg at the top should be your primary and backup pools, followed by something that looks like this:

"intensity" : "9",
"vectors" : "2",
"worksize" : "128",
"kernel" : "diablo",

with a bunch of other options at the bottom that you don't need to change(if you have 2 or more gpus, it will look similar, but with comma separated values like "d,d" for intensity). You can mess with the intensity, 9 is the max you'll want to go at all, but if you still want to use the desktop that is being rendered, you'll want to go down to "d" which is a dynamic intensity. Try modifying the vectors try out 1, 2, 4, and 8 to see what gives better results. Worksize is the same, 64,128,256 are what you should try. Kernel is a big one I think the default is "poclbm" but i find diablo has given me better results. If you're running a 7000-series try "diakgcn" that is designed for it.

Play with these settings, edit them, save the .conf and then hit "S" "B" and "Y" to quickly restart bfgminer without having to open the .exe again. You'll have to do this lots of times until you find the right combination of kernel, vectors, and worksize that works for your GPU.

If anyone has corrections or criticism, feel free to let me know, I'd like to improve this guide.

Like my post? 1H7bfRYh7F89mfmFgsRCdn4awDaUHQmYqY
Beans
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
April 16, 2013, 05:01:45 AM
 #53

Can bfgminer run on a windows 8 tablet? Also, should any of nicer android tablets work with the BF units?
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
April 16, 2013, 05:45:42 AM
 #54

Can bfgminer run on a windows 8 tablet?
No idea on this. Does it run normal Windows software?

Also, should any of nicer android tablets work with the BF units?
At the very least, you'll need USB host support. Be aware that it might not be possible to use AC power or charge in this mode!
Additionally, you may need to compile BFGMiner for Android unless Butterfly Labs makes a public release of their EasyMiner software based on it - I'm not sure if they will or not, but I bet if they know people want it for use with their own devices they probably will.

Beans
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
April 16, 2013, 07:20:20 AM
 #55

Can bfgminer run on a windows 8 tablet?
No idea on this. Does it run normal Windows software?

I'm not sure what the limitations are on the windows tablets. It looks the same, but I've heard its not. It seems like it would work, if the drivers for the singles supported it. I was hoping someone around here had tried it.
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
April 16, 2013, 07:28:49 AM
 #56

Can bfgminer run on a windows 8 tablet?
No idea on this. Does it run normal Windows software?
I'm not sure what the limitations are on the windows tablets. It looks the same, but I've heard its not. It seems like it would work, if the drivers for the singles supported it. I was hoping someone around here had tried it.
Well, BFGMiner uses the standard FTDI driver which Windows should automatically install, so I expect if it can run normal software it should work...
Non-BFL devices that need libusb (X6500 & ZTEX) might be more problematic, however.

jasonpitts
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
April 20, 2013, 07:05:23 AM
 #57

I have wrote this script to automatically start bfgminer after X loads and it has been working fine. Until I compiled from git with scrypt enabled to mine litecoins. Now whenever it runs on start up, the GPU shows "ERR". If I comment out the command to run bfgminer then run that part manually after the computer starts, everything works fine.

Any thoughts?

Code:
#!/bin/sh
if pidof -x bfgminer > /dev/null
then
   echo "bfgminer is running."
else
   DATE=$(date +"%Y%m%d%H%M");

#
# Overclock The GPUs  
#  
# Uncomment the GPUs needed
#
   export DISPLAY=:0.0; aticonfig --pplib-cmd "set fanspeed 0 100";
#  export DISPLAY=:0.1; aticonfig --pplib-cmd "set fanspeed 0 100";
#  export DISPLAY=:0.2; aticonfig --pplib-cmd "set fanspeed 0 100";
#
   sleep 10s
#
   echo "ROOTPASSWORD" | sudo -S aticonfig --od-enable
#
   echo "ROOTPASSWORD" | sudo -S aticonfig --odsc=1200,1575 --adapter=all
#
#
   cd /home/jason/miner-logs/
   cp bfgminer-ltc /home/jason/miner-logs/archive/bfgminer-btc-$DATE
   cp bfgminer-ltc bfgminer-ltc-last
   rm bfgminer-ltc
#
   cd /home/jason/bfgminer
#
# Uncomment Needed GPUs
#
   export DISPLAY=:0
#  export DISPLAY=:1
#  export DISPLAY=:2
   export GPU_USE_SYNC_OBJECTS=1
   export GPU_MAX_ALLOC_PERCENT=100
#
# *** RUN BFGMINER ***
#
   screen -dmS BTCbfgminer ./bfgminer 2>/home/jason/miner-logs/bfgminer-ltc -w 256 --scrypt -I 13 --lookup-gap 2 --thread-concurrency 24000 --shaders 1792 --gpu-threads 1 --vectors 1
fi


thanks,
Jason
nathanrees19
Full Member
***
Offline Offline

Activity: 196
Merit: 100



View Profile
April 20, 2013, 09:25:01 AM
 #58

I'm not sure what the limitations are on the windows tablets. It looks the same

This is intentional trickery on Microsoft's part. The low end tablets don't have an x86 processor, so they can only run "Metro apps". None of the normal miners (ufasoft, diablo, cgminer, phoenix etc.) will work. The higher end tablets are effectively a netbook in a tablet form factor, so they can run normal .exe applications.
Tia
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
April 20, 2013, 04:12:13 PM
 #59

Can bfgminer run on a windows 8 tablet?
Windows 8 will run mining software fine. The performance may not be great without a radeon card, IMO.
Windows RT however (MS Surface RT) does not run Windows software, as it is it's own OS.
Searinox
Full Member
***
Offline Offline

Activity: 147
Merit: 100


Do you like fire? I'm full of it.


View Profile
April 21, 2013, 02:27:39 PM
 #60

Which kernel does bfgminer run by default?
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 ... 165 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!