Bitcoin Forum
May 06, 2024, 07:16:48 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
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] 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 5805220 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.)
-ck (OP)
Legendary
*
Offline Offline

Activity: 4102
Merit: 1632


Ruu \o/


View Profile WWW
August 01, 2017, 02:38:52 AM
 #16601

Just registered to chime in as I happened to be running into this myself and had thought it might be a quirk from compiling/running with MacOSX.  I haven't done much digging into it, and when I get a chance I'll try the debug backtrace mentioned already.  I can also confirm that on my system the problem arises between 4.9.2 and 4.10.0 releases.

In case it might be useful to those more familiar with the code, a few crude tests by way of re-building seem to isolate the problem to setting '--enable-icarus' during configuration.   That is, including all of the non-standalone drivers minus icarus seems to have a functioning write_config on my system.  So do not think this is something to do with all parsing/writing for settings, but may be specific to one or more introduced with icarus support.


Sounds feasible. It's likely to be missing save for the options added to icarus post 4.9.2

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

Posts: 1715023008

View Profile Personal Message (Offline)

Ignore
1715023008
Reply with quote  #2

1715023008
Report to moderator
1715023008
Hero Member
*
Offline Offline

Posts: 1715023008

View Profile Personal Message (Offline)

Ignore
1715023008
Reply with quote  #2

1715023008
Report to moderator
"If you don't want people to know you're a scumbag then don't be a scumbag." -- margaritahuyan
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715023008
Hero Member
*
Offline Offline

Posts: 1715023008

View Profile Personal Message (Offline)

Ignore
1715023008
Reply with quote  #2

1715023008
Report to moderator
1715023008
Hero Member
*
Offline Offline

Posts: 1715023008

View Profile Personal Message (Offline)

Ignore
1715023008
Reply with quote  #2

1715023008
Report to moderator
nkamitaki
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
August 01, 2017, 03:03:44 AM
 #16602

Just registered to chime in as I happened to be running into this myself and had thought it might be a quirk from compiling/running with MacOSX.  I haven't done much digging into it, and when I get a chance I'll try the debug backtrace mentioned already.  I can also confirm that on my system the problem arises between 4.9.2 and 4.10.0 releases.

In case it might be useful to those more familiar with the code, a few crude tests by way of re-building seem to isolate the problem to setting '--enable-icarus' during configuration.   That is, including all of the non-standalone drivers minus icarus seems to have a functioning write_config on my system.  So do not think this is something to do with all parsing/writing for settings, but may be specific to one or more introduced with icarus support.


Sounds feasible. It's likely to be missing save for the options added to icarus post 4.9.2

Hmm, I think I found it after that suggestion - it looks like a line is needed in the write_config of cgminer.c for the newly introduced 'set_float_100_500', such as at L5459:

if (opt->type & OPT_HASARG &&
             ((void *)opt->cb_arg == (void *)set_float_125_to_500 ||
             (void *)opt->cb_arg == (void *)set_float_100_to_500 ||
              (void *)opt->cb_arg == (void *)set_float_100_to_250)) {
            fprintf(fcfg, ",\n\"%s\" : \"%.1f\"", p+2, *(float *)opt->u.arg);
            continue;
         }

This was necessitated upon expanding the Compac GekkoScience frequency range here: https://github.com/ckolivas/cgminer/commit/702b37007caa9605d3adabf646f8df47fe86e83c

Making that change now has config writing when setting '--enable-icarus' during configuation for me.
vayvanne
Full Member
***
Offline Offline

Activity: 217
Merit: 101


View Profile
August 01, 2017, 04:04:47 AM
 #16603

I am not ck but the answer to that question is:
you can use older cgminer Versions, but not an old core version.
So you need as minimum core version 14.0.0 (Segwit support)
AND
you have to add a patch to it so you are not building up on wrong blocks!

Can -ck confirm this please?
-ck (OP)
Legendary
*
Offline Offline

Activity: 4102
Merit: 1632


Ruu \o/


View Profile WWW
August 01, 2017, 04:06:49 AM
 #16604

I am not ck but the answer to that question is:
you can use older cgminer Versions, but not an old core version.
So you need as minimum core version 14.0.0 (Segwit support)
AND
you have to add a patch to it so you are not building up on wrong blocks!

Can -ck confirm this please?
You need minimum bitcoin core 0.14.0, correct. Older versions of cgminer that don't explicitly have segwit support but have solo mining support will still be able to mine valid blocks but they will only mine classic transactions without the segwit commitment or any segwit transactions so realistically you should be using the latest cgminer as well.

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

Activity: 21
Merit: 0


View Profile
August 02, 2017, 01:00:38 PM
 #16605

isdupnonce() tests whether a found nonce was already found.
I wonder under what circumstances such a dupe nonce ever can happen at all.
Can it ever happen with solo mining?

mutluit
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
August 05, 2017, 06:12:59 PM
 #16606

Every 2 minutes or so the device reports a nonce error.
What is the definition of such a nonce error? Why does it happen?

DrakonX
Jr. Member
*
Offline Offline

Activity: 99
Merit: 4


View Profile
August 08, 2017, 06:47:23 PM
 #16607

Does every USB port have an ID that can be optained via cgminer in order to see which of your ASIC miners is broken?
-ck (OP)
Legendary
*
Offline Offline

Activity: 4102
Merit: 1632


Ruu \o/


View Profile WWW
August 08, 2017, 08:54:34 PM
 #16608

Does every USB port have an ID that can be optained via cgminer in order to see which of your ASIC miners is broken?
No,they're assigned randomly by the operating system.

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

Activity: 4494
Merit: 1808


Linux since 1997 RedHat 4


View Profile
August 13, 2017, 03:03:53 AM
 #16609

I'm not sure if someone is going senile or what,

BUT a reminder about cgminer:

NEVER set "no-submit-stale" : true,

like this guy did here:
https://bitcointalk.org/index.php?topic=1876330.msg20829032#msg20829032

Set it to: false
(or don't set it at all)

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
DrakonX
Jr. Member
*
Offline Offline

Activity: 99
Merit: 4


View Profile
August 14, 2017, 09:30:37 AM
 #16610

And why not? Don't know what "no-submit-stale" means.
Moddak2
Full Member
***
Offline Offline

Activity: 138
Merit: 100


View Profile
August 17, 2017, 01:01:21 PM
 #16611

I try start CGminer with mining some coins,and command line dont show my hashrate,I dont know why,I have radeon r4 graphics.
-ck (OP)
Legendary
*
Offline Offline

Activity: 4102
Merit: 1632


Ruu \o/


View Profile WWW
August 17, 2017, 01:02:20 PM
 #16612

I try start CGminer with mining some coins,and command line dont show my hashrate,I dont know why,I have radeon r4 graphics.
Because cgminer hasn't been a GPU miner in many years. It only controls bitcoin mining ASICs.

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

Activity: 1274
Merit: 104


HEX: Longer pays better


View Profile WWW
August 20, 2017, 02:36:34 PM
 #16613

someone please tell me the best os for mining  Sad

-ck (OP)
Legendary
*
Offline Offline

Activity: 4102
Merit: 1632


Ruu \o/


View Profile WWW
August 20, 2017, 10:43:26 PM
 #16614

someone please tell me the best os for mining  Sad
Linux, though it doesn't matter these days since most miners come with or expect images on controllers like the Rpi (all running linux.)

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

Activity: 1274
Merit: 104


HEX: Longer pays better


View Profile WWW
August 21, 2017, 12:50:50 AM
 #16615

someone please tell me the best os for mining  Sad
Linux, though it doesn't matter these days since most miners come with or expect images on controllers like the Rpi (all running linux.)
Raspberry Pi? sorry i'm newbie

-ck (OP)
Legendary
*
Offline Offline

Activity: 4102
Merit: 1632


Ruu \o/


View Profile WWW
August 21, 2017, 12:51:33 AM
 #16616

someone please tell me the best os for mining  Sad
Linux, though it doesn't matter these days since most miners come with or expect images on controllers like the Rpi (all running linux.)
Raspberry Pi? sorry i'm newbie
Yes.

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

Activity: 2
Merit: 0


View Profile WWW
August 26, 2017, 02:47:09 AM
 #16617

Hey thank for the great info....any updates coming Huh Smiley Smiley
-ck (OP)
Legendary
*
Offline Offline

Activity: 4102
Merit: 1632


Ruu \o/


View Profile WWW
August 28, 2017, 09:07:26 PM
 #16618

Hey thank for the great info....any updates coming Huh Smiley Smiley
There's virtually nothing left to do in the mining client space, only improved drivers for existing hardware and drivers for new hardware. As the vast majority of drivers are now maintained by the hardware manufacturers themselves now, and the biggest manufacturer (Bitmain) don't contribute code back to the master cgminer code, that means there really is nothing to do for them.

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

Activity: 138
Merit: 100


View Profile
August 31, 2017, 01:12:25 PM
 #16619

I will setup cgminer and try again mine some coins for windows.
os2sam
Legendary
*
Offline Offline

Activity: 3578
Merit: 1090


Think for yourself


View Profile
September 01, 2017, 12:48:26 AM
 #16620

I will setup cgminer and try again mine some coins for windows.

I don't think windows needs any coins.

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?
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] 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!