Bitcoin Forum
March 26, 2017, 11:05:47 PM *
News: Latest stable version of Bitcoin Core: 0.14.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 [831]
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.10.0  (Read 5011416 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.
os2sam
Legendary
*
Offline Offline

Activity: 2030


Think for yourself


View Profile
January 25, 2017, 06:07:23 PM
 #16601

Thanks ck. Is there any other trusted miner through which I can mine using intel graphics or even a separate graphics card. I am not looking to mine Bitcoin, but scrypt based altcoins.

Post in the altcoin section, you should get plenty of help there.  This is the Bitcoin section.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
CustomDesigned
Jr. Member
*
Offline Offline

Activity: 35


View Profile
January 27, 2017, 05:18:00 PM
 #16602

ARM crash with a trivial API client

The source for 4.10.0 helpfully provides api-example.php which shows raw summary data, and then php data structure parsed from the raw summary data.  All good, and works.

So, not being a php person I attempted to boil down what api-example.php does, and akaict it does this:

$ echo -n summary | nc 127.0.0.1 4028

Silly me, not only does that not work, but it crashes cgminer, and my 256M arm system running cgminer.  (Some sort of resource exhaustion - system is still pingable, but unable to accept new logins.)  Apparently, the slow readline loop to read result bytes one at a time is critical to avoid crashing cgminer.  Is this a known problem?

All I want to do is monitor the total hash rate with nagios.  I guess I can run php at each check...

I tried this on a x86_64 desktop (Fedora 25) running cgminer-4.10.0, and it works. On the arm controller, both versions crash with "echo -n summary | nc 127.0.0.1 4028".  So I guess it might be a timing thing, and that slow read loop is critical on tiny computers.  Maybe I can simulate it with python.

I tried with and without the embedded jansson-2.9 lib on X86_64 - it works on both.   The arm box system jansson is 2.6, so I used the embedded version.
----
Update: twice now, reading status via API from miner.php has crashed the arm controller.  So it is a timing thing, and it just happens much less often with the php client.  The next step will be to put some resource limits on cgminer via its systemd service.  If I can keep a login running when cgminer crashes, then we can do some debugging.
CustomDesigned
Jr. Member
*
Offline Offline

Activity: 35


View Profile
January 27, 2017, 07:51:07 PM
 #16603

AU3 slowdown from 4.9.2 to 4.10.0

Ok, with cgminer-4.9.2, my AU3 (https://www.amazon.com/gp/product/B016CWBYJK/) gets 12.5Gh/s over several days.  With cgminer-4.10.0, it gets 8.5Gh/s over several days.  The older USB miners all get the same on both versions.  Both versions have all generic USB drivers enabled.  I get the same results on both my 256M arm controller and an x86_64 desktop running Fedora 25.  I'm also getting a lot more accepted hashes with 4.9.2 - several times more, which the modest increase in total hashing power doesn't explain.  [^1]

Conclusion: There may be a (subtle and hard to debug) problem with 4.10.0.  :-(

I will try to submit this to Fedora as an official package.  Fedora will ship using the system jansson lib.  4.9.2 autoconfig is unable to find the system jansson lib, but 4.10.0 does find it.  

Another question:

When systemd kills cgminer (either version) on the ARM system, cgminer spits out a summary as it shuts down which goes into the system journal.  Nice.  When systemd kills cgminer on the x86_64 desktop, cgminer just dies.  No summary.  No "shutting down" message.  Why?

[1]: over a 3 hour period, my tiny rig got 9 accepted shares, with a square root of 3.  So the changes in accepted work units are within reasonable variance for such a small rig.
tim_n
Newbie
*
Offline Offline

Activity: 1


View Profile
January 27, 2017, 08:39:31 PM
 #16604

Just downloaded 4.10 for windows

Have an RX 480, figured since I was working away and have solar panels etc, I'd set my RX doing some work.  Not looking to overclock, just some default settings.

However whenever I try to run cgminer, it runs, enter URL U/P etc and nothing happens - ok not setup to use my GPU, so I go to settings and write and press enter for default settings and it crashes.

It's done it repeatedly - can't get past it.

Been looking for some sort of default config file, but not sure what I should be putting in the for the 8GB RX 480 - I'm assuming core is 1266 and mem is 677? (been told 1/3 of total memory is safe?)

Regardless, nothing happens at all.  Perhaps it's a permissions issue?

Running windows 10 - any help appreciated![/s]
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2100


Ruu \o/


View Profile WWW
January 27, 2017, 08:40:35 PM
 #16605

Just downloaded 4.10 for windows

Have an RX 480
Cgminer is bitcoin mining software for ASIC mining hardware, not GPUs.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Solo mine at solo.ckpool.org
-ck
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2100


Ruu \o/


View Profile WWW
January 27, 2017, 08:43:47 PM
 #16606

Ok, with cgminer-4.9.2, my AU3 (https://www.amazon.com/gp/product/B016CWBYJK/) gets 12.5Gh/s over several days.  With cgminer-4.10.0, it gets 8.5Gh/s over several days.  The older USB miners all get the same on both versions.  Both versions have all generic USB drivers enabled.  I get the same results on both my 256M arm controller and an x86_64 desktop running Fedora 25.  On the arm controller, both versions crash with "echo -n summary | nc 127.0.0.1 4028".  I'm also getting a lot more accepted hashes with 4.9.2 - several times more, which the modest increase in total hashing power doesn't explain.  

Conclusion: There may be a (subtle and hard to debug) problem with 4.10.0.  :-(

Subtle or otherwise, if you do a git bisect to find the point of slowdown between 4.9.2 and 4.10.0 you should be able to find it what commit is responsible.

If you're getting a crash on any platform, if you build a debug version (with CFLAGS -g only) and then run it in gdb you should be able to get a backtrace to find the crash debug. But if you're out of ram/resources, there's not much I can suggest.

Also please don't post 3 consecutive posts for the same issue. Edit your last post or create a new post, deleting your old one.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Solo mine at solo.ckpool.org
-ck
vayvanne
Full Member
***
Offline Offline

Activity: 196

GPG ID 48298AFC


View Profile
January 30, 2017, 12:51:23 AM
 #16607

on my windows setup the 4.10.0 keeps testing the pool and testing and testing Smiley
Narcisse
Newbie
*
Offline Offline

Activity: 20


View Profile
January 30, 2017, 06:11:27 PM
 #16608

Total noob question. How does one update Cgminer in an Antminer S5?
IMs appreciated, Im still learning so dont bash me too bad.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2100


Ruu \o/


View Profile WWW
January 30, 2017, 09:00:10 PM
 #16609

Total noob question. How does one update Cgminer in an Antminer S5?
IMs appreciated, Im still learning so dont bash me too bad.
The cgminer in an antminer S5 is usually precompiled in firmware provided by bitmain and is based on an old forked version of cgminer. It is not supported by the official cgminer version and would be far from trivial to be supported and build a binary for the embedded controller of the S5. In short you cannot build the latest cgminer for S5. I built a temporary binary for the S5 a while ago which you can copy to the S5 here:
http://ck.kolivas.org/apps/cgminer/antminer/s5/
But it does not stay on the device across reboots and is based on 4.9.0 code. If you are not having trouble with your S5 there is little to gain by updating the software anyway, accepting the shortcomings of the forked older version from bitmain. Except in the case of mining on p2pool (which I recommend against with any antminer because of their code problems), most of the issues with their version of cgminer are not showstoppers.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Solo mine at solo.ckpool.org
-ck
mokahless
Sr. Member
****
Offline Offline

Activity: 465



View Profile
February 20, 2017, 02:37:09 AM
 #16610

I'm currently having an issue with Ubuntu and the latest version of CGminer. I'm attempting to compile it and got the error to install libusb-1.0. So I installed libusb-1.0

Code:
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  libusb-0.1-4:a 2:0.1.12-28  amd64        userspace USB programming library
ii  libusb-1.0-0:a 2:1.0.20-1   amd64        userspace USB programming library
ii  libusb-1.0-0-d 2:1.0.20-1   amd64        userspace USB programming library
ii  libusb-1.0-0-d 2:1.0.20-1   amd64        userspace USB programming library
ii  libusb-1.0-doc 2:1.0.20-1   all          documentation for userspace USB p
un  libusb-dev     <none>       <none>       (no description available)
un  libusbmuxd-too <none>       <none>       (no description available)
ii  libusbmuxd4:am 1.0.10-2ubun amd64        USB multiplexor daemon for iPhone


So I tried compiling again but got the same error:

Code:
checking for LIBUSB... no
configure: error: Could not find usb library - please install libusb-1.0


Anyone have an idea?

o_solo_miner
Hero Member
*****
Offline Offline

Activity: 574


-> morgen, ist heute schon gestern <-


View Profile
February 20, 2017, 10:29:28 AM
 #16611

I'm currently having an issue with Ubuntu and the latest version of CGminer. I'm attempting to compile it and got the error to install libusb-1.0. So I installed libusb-1.0

Code:
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  libusb-0.1-4:a 2:0.1.12-28  amd64        userspace USB programming library
ii  libusb-1.0-0:a 2:1.0.20-1   amd64        userspace USB programming library
ii  libusb-1.0-0-d 2:1.0.20-1   amd64        userspace USB programming library
ii  libusb-1.0-0-d 2:1.0.20-1   amd64        userspace USB programming library
ii  libusb-1.0-doc 2:1.0.20-1   all          documentation for userspace USB p
un  libusb-dev     <none>       <none>       (no description available)
un  libusbmuxd-too <none>       <none>       (no description available)
ii  libusbmuxd4:am 1.0.10-2ubun amd64        USB multiplexor daemon for iPhone


So I tried compiling again but got the same error:

Code:
checking for LIBUSB... no
configure: error: Could not find usb library - please install libusb-1.0


Anyone have an idea?


libudev-dev is missing as far as I can see..
sir.humus
Sr. Member
****
Offline Offline

Activity: 462



View Profile
February 28, 2017, 05:10:35 PM
 #16612

Is there a way to use CGMiner on a ZedBoard with Zynq FPGA+ARM?
I have the hardware and really want to start mining.
can you give me a hint where to start?

30+ currencies, bank wires, credit cards supported
Bitcoin Exchange
Bitcoin Debit Card
Bitcoin Wallet
Bitcoin Payment Processor
Amazon Vouchers
Mobile top-ups
24/7 Support
Available worldwide
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2100


Ruu \o/


View Profile WWW
February 28, 2017, 08:15:35 PM
 #16613

Is there a way to use CGMiner on a ZedBoard with Zynq FPGA+ARM?
No. You'd have to write your own driver for it.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Solo mine at solo.ckpool.org
-ck
2112
Legendary
*
Offline Offline

Activity: 1806



View Profile
February 28, 2017, 09:17:40 PM
 #16614

Is there a way to use CGMiner on a ZedBoard with Zynq FPGA+ARM?
I have the hardware and really want to start mining.
can you give me a hint where to start?
The introductory project and code is in the official Xilinx marketing materials "Xcell journal" from 3rd quarter of 2013.

http://www.xilinx.com/publications/archives/xcell/Xcell84.pdf

Obviously, this was over 3 years ago, it is now competitively obsolete. But it is a good educational starting point for porting the modern mining code.

https://bitcointalk.org/index.php?topic=262195.0

Please comment, critique, criticize or ridicule BIP 2112: https://bitcointalk.org/index.php?topic=54382.0
Long-term mining prognosis: https://bitcointalk.org/index.php?topic=91101.0
splat44
Sr. Member
****
Offline Offline

Activity: 246


View Profile
March 12, 2017, 08:49:15 PM
 #16615

This is in relation to version 4.9.2

Does version support gridseed 80 chips blades miner?
I see nothing on readme!
That hardware support scrypt

I hope that version support scrypt and that miner hardware!

I need know the following setting in command line:
1) enable scrypt
2) auto detect gridseed 80 chips blades and as well other related settings I need providing
3) Pool information

Will be great receiving code containing the above!

If latest version support the above let  me know as well!

17YatRuTzSpq7eRz2c5EZeFy5B5U82Xt9R (BTC)
Earn btc for view video, logging and solving captcha
os2sam
Legendary
*
Offline Offline

Activity: 2030


Think for yourself


View Profile
March 12, 2017, 11:04:14 PM
 #16616

CGMiner is for Bitcoin only.  It doesn't support altcoins.  Although some use it to mine sha256 altcoins, it's still not supported.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
toptek
Hero Member
*****
Offline Offline

Activity: 854


View Profile
March 13, 2017, 02:17:38 AM
 #16617

16.10 Ubuntu only ?  i have it running on a RPI 3 controlling my A6 using Minera as the GUI on ubuntu 16.4.02. Smiley .... and can use it  with any of my PI types that run Ubuntu 16.4 with minera 7.0 not the beta version but can use it with the Minera beta version and have ..sense it came out in Jan Smiley ...CGMINER 4.10.0
toptek
Hero Member
*****
Offline Offline

Activity: 854


View Profile
March 13, 2017, 02:40:21 AM
 #16618

This is in relation to version 4.9.2

Does version support gridseed 80 chips blades miner?
I see nothing on readme!
That hardware support scrypt

I hope that version support scrypt and that miner hardware!

I need know the following setting in command line:
1) enable scrypt
2) auto detect gridseed 80 chips blades and as well other related settings I need providing
3) Pool information

Will be great receiving code containing the above!

If latest version support the above let  me know as well!

like he said CGMINER in it present state only does SHA256 coins with no support offered for ALt coins or any kind of Script coins beyond your version but you can mine SHa256 alt coins with CGMNIER even this version with out issue i do it all the time, but I use it mostly to mine BTC ,,  I'm being nice SO, don't ask for support here for alt coins, you more then likely won't get any support for any kind of alt coins here and told you won't in worse words then mine .  just a heads up before you try to push the Issue ....
Mikestang
Hero Member
*****
Offline Offline

Activity: 770



View Profile
March 13, 2017, 05:49:22 PM
 #16619

It appears that with v4.10.0, cgminer no longer runs on WinXP machines, is this correct?  I realize that XP is old and outdated and not supported by most stuff any more, but I just wanted to be sure, thanks.
angkasaz
Newbie
*
Offline Offline

Activity: 28


View Profile
March 15, 2017, 12:37:12 PM
 #16620

thanks for the software, its a bit complicated tho for me xD
Pages: « 1 ... 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 [831]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!