Bitcoin Forum
August 04, 2020, 12:01:41 AM *
News: Latest Bitcoin Core release: 0.20.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 5800309 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 3 users deleted.)
alexglvr
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
February 20, 2018, 12:21:47 PM
 #16821

Hello,

I installed my own bitcoin mining pool using unomp (ubuntu VM) and I now try to run cgminer to test GPU mining on it.

I am new in mining, and do not manage to make cgminer run...

Here is my actual .bat


Code:
DEL *.BIN
CLS
@ECHO ON
ECHO.
setx GPU_MAX_ALLOC_PERCENT=100
setx GPU_USE_SYNC_OBJECTS=1

timeout /t 4

cgminer.exe --scrypt

and my cgminer.conf file :

Code:
{
"pools" : [
{
"url" : "stratum+tcp://192.168.1.13:3032",
"user" : "toto",
"pass" : "foobar"
}
]
,
"scrypt" : true,
"intensity" : "20",
"vectors" : "1",
"worksize" : "256",
"kernel" : "scrypt",
"lookup-gap" : "0",
"thread-concurrency" : "24550",
"shaders" : "0",
"gpu-engine" : "0",
"gpu-fan" : "100",
"gpu-memclock" : "0",
"gpu-memdiff" : "0",
"gpu-powertune" : "0",
"gpu-vddc" : "0.000",
"temp-cutoff" : "95",
"temp-overheat" : "90",
"temp-target" : "85",
"api-mcast-port" : "4028",
"api-port" : "4028",
"expiry" : "120",
"failover-only" : true,
"gpu-dyninterval" : "7",
"gpu-platform" : "0",
"gpu-threads" : "1",
"hotplug" : "5",
"log" : "10",
"no-pool-disable" : true,
"per-device-stats" : true,
"queue" : "1",
"scan-time" : "60",
"temp-hysteresis" : "3",
"shares" : "0",
"kernel-path" : "/usr/local/bin"
}


But I got errors :
 
[2018-02-20 13:16:14] Init GPU thread 0 GPU 0 virtual GPU 0
 [2018-02-20 13:16:14] CL Platform vendor: NVIDIA Corporation
 [2018-02-20 13:16:14] CL Platform name: NVIDIA CUDA
 [2018-02-20 13:16:14] CL Platform version: OpenCL 1.2 CUDA 9.1.92
 [2018-02-20 13:16:14] List of devices:
 [2018-02-20 13:16:14]  0       GeForce GTX 1050 Ti
 [2018-02-20 13:16:14] Selected 0: GeForce GTX 1050 Ti
 [2018-02-20 13:16:14] Selecting scrypt kernel
 [2018-02-20 13:16:14] Initialising kernel scrypt130511.cl without bitalign, 1 vectors and worksize 256
 [2018-02-20 13:16:14] Maximum buffer memory device 0 supports says 1073741824
 [2018-02-20 13:16:14] Your scrypt settings come to 1608908800
 [2018-02-20 13:16:14] initCl() finished. Found GeForce GTX 1050 Ti
 [2018-02-20 13:16:14] 1 gpu miner threads started
 [2018-02-20 13:16:14] Work update message received
 [2018-02-20 13:16:14] Network diff set to 3.01T
 [2018-02-20 13:16:14] New block: 0000000000000000005cabc1047747a12e81bcd18bdb7e8e41e6a4a1ed450244... diff 3.01T
 [2018-02-20 13:16:16] Error: clEnqueueReadBuffer failed error -5. (clEnqueueReadBuffer)
 [2018-02-20 13:16:16] GPU 0 failure, disabling!
 [2018-02-20 13:16:24] ALL (10s):0.000 (avg):0.000h/s | A:0  R:0  HW:0  WU:0.0/m
 [2018-02-20 13:16:32] Work update message received
 [2018-02-20 13:16:34] ALL (10s):0.000 (avg):0.000h/s | A:0  R:0  HW:0  WU:0.0/m


I use CGMiner 3.7.2 and I have a NVIDIA 1050 TI

What did I miss?

Thank you for your help,

Alex
1596499301
Hero Member
*
Offline Offline

Posts: 1596499301

View Profile Personal Message (Offline)

Ignore
1596499301
Reply with quote  #2

1596499301
Report to moderator
1596499301
Hero Member
*
Offline Offline

Posts: 1596499301

View Profile Personal Message (Offline)

Ignore
1596499301
Reply with quote  #2

1596499301
Report to moderator
1596499301
Hero Member
*
Offline Offline

Posts: 1596499301

View Profile Personal Message (Offline)

Ignore
1596499301
Reply with quote  #2

1596499301
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1596499301
Hero Member
*
Offline Offline

Posts: 1596499301

View Profile Personal Message (Offline)

Ignore
1596499301
Reply with quote  #2

1596499301
Report to moderator
1596499301
Hero Member
*
Offline Offline

Posts: 1596499301

View Profile Personal Message (Offline)

Ignore
1596499301
Reply with quote  #2

1596499301
Report to moderator
-ck
Legendary
*
Offline Offline

Activity: 3192
Merit: 1353


Ruu \o/


View Profile WWW
February 20, 2018, 01:11:20 PM
 #16822

I installed my own bitcoin mining pool using unomp (ubuntu VM) and I now try to run cgminer to test GPU mining on it.

I use CGMiner 3.7.2 and I have a NVIDIA 1050 TI
Unsupported. Only the current version and bitcoin mining with ASICs is supported here.

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

Activity: 2
Merit: 0


View Profile
February 22, 2018, 11:52:17 PM
Last edit: February 23, 2018, 09:15:28 PM by kenkos68
 #16823

I hope this isn't a dumb question...

Going through some of my debug logs, I noticed that the generated stratum header has the version like this:

[2018-02-15 23:08:23.772] Generated stratum header 20000000ed37665c908b8f6b9120d09918afa1ef1c3bd3fa0024d3f700000000000000005fb360c99001606 f4f9aeb9293c5776d6e3e666adf0e6dacdbb9526ae3561fa95a86592f1761e9f800000000000000 8000000000000000000000000000000000000000000000000000000000

Shouldn't it be like this?:

[2018-02-15 23:08:23.772] Generated stratum header 00000020ed37665c908b8f6b9120d09918afa1ef1c3bd3fa0024d3f700000000000000005fb360c99001606 f4f9aeb9293c5776d6e3e666adf0e6dacdbb9526ae3561fa95a86592f1761e9f800000000000000 8000000000000000000000000000000000000000000000000000000000

I didn't see anywhere in the code where the bbversion was reversed.  Unless I missed it.  I did see some previous posts from way back where the block version is shown in the logs like my second example.  

The version gets put in the header_bin as in the first example, not reversed.    Raw block headers have the version reversed and when test hashed, produce the correct hashes.

Thanks,

-Ken
-ck
Legendary
*
Offline Offline

Activity: 3192
Merit: 1353


Ruu \o/


View Profile WWW
February 24, 2018, 05:34:59 AM
 #16824

I hope this isn't a dumb question...

Going through some of my debug logs, I noticed that the generated stratum header has the version like this:

[2018-02-15 23:08:23.772] Generated stratum header 20000000ed37665c908b8f6b9120d09918afa1ef1c3bd3fa0024d3f700000000000000005fb360c99001606 f4f9aeb9293c5776d6e3e666adf0e6dacdbb9526ae3561fa95a86592f1761e9f800000000000000 8000000000000000000000000000000000000000000000000000000000

Shouldn't it be like this?:

[2018-02-15 23:08:23.772] Generated stratum header 00000020ed37665c908b8f6b9120d09918afa1ef1c3bd3fa0024d3f700000000000000005fb360c99001606 f4f9aeb9293c5776d6e3e666adf0e6dacdbb9526ae3561fa95a86592f1761e9f800000000000000 8000000000000000000000000000000000000000000000000000000000

I didn't see anywhere in the code where the bbversion was reversed.  Unless I missed it.  I did see some previous posts from way back where the block version is shown in the logs like my second example.  

The version gets put in the header_bin as in the first example, not reversed.    Raw block headers have the version reversed and when test hashed, produce the correct hashes.

Thanks,

-Ken
Take a look at some blocks to see what version looks like these days, eg:
https://btc.com/00000000000000000077140243064000ba35b22d3e2440e936a722b90cd09365

Compare with older blocks, eg:
https://btc.com/00000000000000001ed61d4b7dd337c8eb1de0f21a0bd310a8733fb35f21991c

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

Activity: 2
Merit: 0


View Profile
February 24, 2018, 11:53:51 PM
 #16825

Thanks ck!

My question was geared more towards how the version is placed into header_bin, pool->header, and eventually work->data prior to being hashed.

The older block you listed gets hashed as:  https://blockchain.info/block/00000000000000001ed61d4b7dd337c8eb1de0f21a0bd310a8733fb35f21991cformat=hex
02000000ea7ee4542a0d7496954302e67b99a4d1a3d1c2724f8ddb1a00000000000000007d28ed3cb6e06dc df8267afaa908999d48f2d4deba94b4e344c3e126a3c8b00b174e1f54e9db2418e5bc702

The newer as (and current blocks):  https://blockchain.info/block/00000000000000000077140243064000ba35b22d3e2440e936a722b90cd09365?format=hex
00000020633a9073c5b1a5f32afefa4c1116c5bb9c593dfa419812000000000000000000515b81eeca6c575 93c90264ee1a1cb581fc3b7052e8adc23ec16db9917cf828bd33d575ac19100184dbccd28

Current blocks manually double sha256 hashed give correct results with the second format.

I guess I am not seeing in the code where the version is flipped after it is placed in as "20000000" prior to being hashed.

Thanks again for your help!

-Ken


+POOL
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile WWW
March 29, 2018, 08:51:37 PM
 #16826

Hi cgminer devs,

someone sells modded firmware for antminer d3 on ebay... as far as i know this contains modified cgminer and your source are under GPLv3.

https://www.ebay.de/itm/AntMiner-D3-Custom-Firmware-50-Stromkosten/162961717033?hash=item25f1467729:g:XuIAAOSwihpataEA

best regards
-ck
Legendary
*
Offline Offline

Activity: 3192
Merit: 1353


Ruu \o/


View Profile WWW
April 30, 2018, 10:28:45 AM
 #16827

Dragonmint T1 driver and asicboost rolling support for cgminer is now part of the public master cgminer code.

https://github.com/ckolivas/cgminer/commit/e7128f35d9b5ba816113e7f959aba47c6a870a3b

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

Activity: 3192
Merit: 1353


Ruu \o/


View Profile WWW
May 16, 2018, 09:11:47 AM
 #16828

Why is the API in Restricted mode?
You choose the settings for the API. Not sure what you're talking about but my guess is you're talking about some hardware specific implementation of cgminer; that's nothing to do with me.

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

Activity: 3192
Merit: 1353


Ruu \o/


View Profile WWW
May 22, 2018, 11:11:57 PM
Merited by igotek (1)
 #16829

this is only for mining BTC ?

is there another algos ?


i have custom FPGA boards and i can connect to my FPGA with cgminer by using usb com port
it is minnig but very low hashrate so i need to mine different algos.
Yes

No.

Then you're asking for help in the wrong place.

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

Activity: 11
Merit: 0


View Profile
May 29, 2018, 03:59:34 PM
 #16830

At what point in the mining cycle do new mempool transactions typically get added to the Merkle tree of a candidate block and what variables govern this?

Is a mempool snapshot taken once and then mined until a winner arrives or is found?
Or does cgminer continually add new transactions to the existing block opportunistically? If so is there any impact on the hashing speed due to the re-computation of the header? Maybe there isn't since the CPU can do that, while the ASIC does the mining? I suppose that would be an opportunity to reset the Nonce too.

Thanks for any insights, I am not a miner, but interested in the effect on the mempool and chances of a new TX getting into the next block.
-ck
Legendary
*
Offline Offline

Activity: 3192
Merit: 1353


Ruu \o/


View Profile WWW
May 29, 2018, 09:13:50 PM
 #16831

At what point in the mining cycle do new mempool transactions typically get added to the Merkle tree of a candidate block and what variables govern this?

Is a mempool snapshot taken once and then mined until a winner arrives or is found?
Or does cgminer continually add new transactions to the existing block opportunistically? If so is there any impact on the hashing speed due to the re-computation of the header? Maybe there isn't since the CPU can do that, while the ASIC does the mining? I suppose that would be an opportunity to reset the Nonce too.

Thanks for any insights, I am not a miner, but interested in the effect on the mempool and chances of a new TX getting into the next block.
The mempool snapshot is done at the server level in the bitcoin daemon which is handed off to the mining pool, about once per minute so they're always up to date. Cgminer is at the client end and does not do any of this unless you are solo mining with it.

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

Activity: 8
Merit: 0


View Profile
June 08, 2018, 01:53:00 PM
 #16832

Hi,

did anyone solved the problem cgminer crashes the Raspberry Pi? (Raspbian)
After putting slub_debug=FP into /boot/config.txt systenm holds for about 8-24 hours then crashes on kernel paging:

Jun  8 12:00:20 RPinode kernel: [50708.328638] Unable to handle kernel paging request at virtual address 223fab15

I could find many other people having the same but no definitive fix or workaround
-ck
Legendary
*
Offline Offline

Activity: 3192
Merit: 1353


Ruu \o/


View Profile WWW
June 10, 2018, 09:55:02 PM
 #16833

Hi,

did anyone solved the problem cgminer crashes the Raspberry Pi? (Raspbian)
After putting slub_debug=FP into /boot/config.txt systenm holds for about 8-24 hours then crashes on kernel paging:

Jun  8 12:00:20 RPinode kernel: [50708.328638] Unable to handle kernel paging request at virtual address 223fab15

I could find many other people having the same but no definitive fix or workaround

It's a linux kernel crash; i.e. an operating system crash. No userspace program should be able to do that so it's not cgminer at fault.

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

Activity: 8
Merit: 0


View Profile
June 12, 2018, 09:11:37 AM
 #16834

Hi,

did anyone solved the problem cgminer crashes the Raspberry Pi? (Raspbian)
After putting slub_debug=FP into /boot/config.txt systenm holds for about 8-24 hours then crashes on kernel paging:

Jun  8 12:00:20 RPinode kernel: [50708.328638] Unable to handle kernel paging request at virtual address 223fab15

I could find many other people having the same but no definitive fix or workaround

It's a linux kernel crash; i.e. an operating system crash. No userspace program should be able to do that so it's not cgminer at fault.

Thanks, but I was trying bfgminer and it works so they maybe did some workaround
-ck
Legendary
*
Offline Offline

Activity: 3192
Merit: 1353


Ruu \o/


View Profile WWW
June 12, 2018, 09:20:20 AM
 #16835

Hi,

did anyone solved the problem cgminer crashes the Raspberry Pi? (Raspbian)
After putting slub_debug=FP into /boot/config.txt systenm holds for about 8-24 hours then crashes on kernel paging:

Jun  8 12:00:20 RPinode kernel: [50708.328638] Unable to handle kernel paging request at virtual address 223fab15

I could find many other people having the same but no definitive fix or workaround

It's a linux kernel crash; i.e. an operating system crash. No userspace program should be able to do that so it's not cgminer at fault.

Thanks, but I was trying bfgminer and it works so they maybe did some workaround
They don't use direct USB drivers. No, I'm not rewriting anything...

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

Activity: 8
Merit: 0


View Profile
June 12, 2018, 10:43:35 AM
 #16836

Hi,

did anyone solved the problem cgminer crashes the Raspberry Pi? (Raspbian)
After putting slub_debug=FP into /boot/config.txt systenm holds for about 8-24 hours then crashes on kernel paging:

Jun  8 12:00:20 RPinode kernel: [50708.328638] Unable to handle kernel paging request at virtual address 223fab15

I could find many other people having the same but no definitive fix or workaround

It's a linux kernel crash; i.e. an operating system crash. No userspace program should be able to do that so it's not cgminer at fault.

Thanks, but I was trying bfgminer and it works so they maybe did some workaround
They don't use direct USB drivers. No, I'm not rewriting anything...

thanks for explanation
litecoinbeast
Full Member
***
Offline Offline

Activity: 134
Merit: 100


View Profile
July 19, 2018, 01:04:49 AM
 #16837

Can anyone confirm this is legit link for windows binary:

http://www.majorgeeks.com/files/details/cgminer.html
-ck
Legendary
*
Offline Offline

Activity: 3192
Merit: 1353


Ruu \o/


View Profile WWW
July 19, 2018, 01:08:07 AM
 #16838

Can anyone confirm this is legit link for windows binary:

http://www.majorgeeks.com/files/details/cgminer.html
There is no legit link for any windows binary any more. The only legit ones were on my website, and antivirus scans falsely tagged them as malware and there was no way to appeal the tag so I've given up on windows binaries entirely and removed them all from my site. Anyone mining today should be mining with linux and most hardware is using a controller device that already runs linux.

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

Activity: 3192
Merit: 1353


Ruu \o/


View Profile WWW
August 15, 2018, 04:07:13 AM
Last edit: August 16, 2018, 02:24:16 AM by -ck
 #16839

I've tagged a new version - 4.11.0 - the first in a while. Apart from numerous small bugfixes, the main new features are the Dragonmint T1 driver and the coinbase decode option. As you're unlikely to use anything but the latter, I've summarised the basic instructions from the README here:

Q: How do I use the --decode function to decode a pool's coinbase?
A: You need to have a bitcoind with server functionality and pass it the
credentials as the first pool in your config, and pass the pool's address that
you wish to decode as the second pool configured. Note the bitcoind NEEDS the
http:// prefix.

e.g.:
./cgminer -o http://localhost:8332 -u user -p pass -o solo.ckpool.org:3333 -u 15qSxP1SQcUX3o4nhkfdbgyoWEFMomJ4rZ --decode

EDIT: Updated to 4.11.1 for a missing bugfix and included NEWS outlining changelog.

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

Activity: 179
Merit: 2


View Profile
August 28, 2018, 07:19:24 AM
 #16840

Hi all,

I have added cgminer support to rig-monitor. Check here: https://bitcointalk.org/index.php?topic=2128602.0
Pages: « 1 ... 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:  

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!