Bitcoin Forum
June 24, 2025, 10:45:47 PM *
News: Pizza day contest voting
 
   Home   Help Search Login Register More  
Pages: « 1 ... 775 776 777 778 779 780 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 832 833 834 835 836 837 838 839 840 841 842 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5806361 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. (3 posts by 1+ user deleted.)
sidehack
Legendary
*
Offline Offline

Activity: 3430
Merit: 1866

Curmudgeonly hardware guy


View Profile
January 23, 2017, 02:36:26 PM
 #16481

Is Compac support based on Novak's Icarus rework from 2015 or so, or VH's new code from the last couple months?

Cool, quiet and up to 1TH pod miner, on sale now!
Currently in development - 200+GH USB stick; 6TH volt-adjustable S1/3/5 upgrade kit
Server PSU interface boards and cables. USB and small-scale miners. Hardware hosting, advice and odd-jobs. Supporting the home miner community since 2013 - http://www.gekkoscience.com
bitsolutions
Sr. Member
****
Offline Offline

Activity: 261
Merit: 257



View Profile
January 23, 2017, 02:50:23 PM
 #16482

Is Compac support based on Novak's Icarus rework from 2015 or so, or VH's new code from the last couple months?
The pull request looks to be VH's code.

Mining Software Developer.
vh
Hero Member
*****
Offline Offline

Activity: 699
Merit: 666


View Profile
January 23, 2017, 03:14:26 PM
 #16483

Is Compac support based on Novak's Icarus rework from 2015 or so, or VH's new code from the last couple months?

This would be the rework based on Novak's code, for proper base compac support in cgminer.   

More recent code will be a complete ground up design / approach for the new products with backward compatibility.   
It has a side effect of nicer performance for the original compac, but is not ready for main cgminer yet.

siddartha1492
Sr. Member
****
Offline Offline

Activity: 952
Merit: 284


In love with Bitcoin!! 💓💕


View Profile WWW
January 25, 2017, 07:11:34 AM
 #16484

Hello guys
I just wanted to know if this would work on intel i5-4440 graphics. I don't have external graphics card, but 1 GB of memory is reserved for intel graphics. I am totally new to mining. I hope you guys will help me.

-ck (OP)
Legendary
*
Offline Offline

Activity: 4480
Merit: 1664


Ruu \o/


View Profile WWW
January 25, 2017, 07:54:54 AM
 #16485

Hello guys
I just wanted to know if this would work on intel i5-4440 graphics. I don't have external graphics card, but 1 GB of memory is reserved for intel graphics. I am totally new to mining. I hope you guys will help me.
No.

Bitcoin is mined with dedicated hardware called ASICs these days ONLY and not regular PC hardware, and this software is only used to drive ASICs.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
siddartha1492
Sr. Member
****
Offline Offline

Activity: 952
Merit: 284


In love with Bitcoin!! 💓💕


View Profile WWW
January 25, 2017, 06:04:39 PM
 #16486

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.

os2sam
Legendary
*
Offline Offline

Activity: 3586
Merit: 1099


Think for yourself


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

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?
CustomDesigned
Newbie
*
Offline Offline

Activity: 35
Merit: 0


View Profile
January 27, 2017, 05:18:00 PM
Last edit: February 03, 2017, 04:54:12 PM by CustomDesigned
 #16488

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
Newbie
*
Offline Offline

Activity: 35
Merit: 0


View Profile
January 27, 2017, 07:51:07 PM
Last edit: February 03, 2017, 04:56:57 PM by CustomDesigned
 #16489

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
Merit: 0


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

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 (OP)
Legendary
*
Offline Offline

Activity: 4480
Merit: 1664


Ruu \o/


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

Just downloaded 4.10 for windows

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

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
-ck (OP)
Legendary
*
Offline Offline

Activity: 4480
Merit: 1664


Ruu \o/


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

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.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
vayvanne
Full Member
***
Offline Offline

Activity: 217
Merit: 101


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

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

Activity: 18
Merit: 0


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

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

Activity: 4480
Merit: 1664


Ruu \o/


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

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.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
mokahless
Sr. Member
****
Offline Offline

Activity: 471
Merit: 256



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

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
Legendary
*
Offline Offline

Activity: 2532
Merit: 1516


-> morgen, ist heute, schon gestern <-


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

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..

from the creator of CGMiner http://eusolo.ckpool.org for EU Solominers
from the creator of CGMiner http://solo.ckpool.org for Solominers
sir.humus
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


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

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?
-ck (OP)
Legendary
*
Offline Offline

Activity: 4480
Merit: 1664


Ruu \o/


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

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.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
2112
Legendary
*
Offline Offline

Activity: 2128
Merit: 1076



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

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
Pages: « 1 ... 775 776 777 778 779 780 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 832 833 834 835 836 837 838 839 840 841 842 843 »
  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!