Bitcoin Forum
August 19, 2017, 06:49:28 PM *
News: Latest stable version of Bitcoin Core: 0.14.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 [369] 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 ... 836 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.10.0  (Read 5375948 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.
kaerf
Hero Member
*****
Offline Offline

Activity: 631


View Profile
October 05, 2012, 09:36:42 AM
 #7361


Code:
                   
 [2012-10-05 02:33:12] [thread 0: 4294967295 hashes, 764919.3 khash/sec]                   
 [2012-10-05 02:33:12] Reusing stratum work                    m         
 [2012-10-05 02:33:12] Generated stratum merkle ff12c5f41deeed4e54282e0984e9d44256a82da37a576578773282f7a8753ca3                   
 [2012-10-05 02:33:12] Generated stratum header 00000002858ad41b7ae76b38c49400052ce2dfa185fa1214458430250000057a00000000ff12c5f41deeed4e54282e0984e9d44256a82da37a576578773282f7a8753ca3506ea93d1a057e0800000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000                   
 [2012-10-05 02:33:12] Work job_id 1bff nonce2 03000000 ntime 506ea93d                   
 [2012-10-05 02:33:12] Generated target ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000                   
 [2012-10-05 02:33:12] BFL0: block data: 5bbe470fe37f0754876f628a6fc05d5b091aaccfb6f12a573e09784c8ac627a1a8753ca3506ea93d1a057e08                   
 [2012-10-05 02:33:17] BFL0: Wait time changed to: 4120, waited 4780                   
 [2012-10-05 02:33:17] BFL0: waited 4780ms until NONCE-FOUND:2C890152
                   
 [2012-10-05 02:33:17]  Proof: 000000002474e5b08b1bfa16c0abeae9d9663fcba0e27b9dcea01d91d9165a43
Target: 00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff
TrgVal? YES (hash < target)                   
 [2012-10-05 02:33:17] Pushing submit work to work thread                   
 [2012-10-05 02:33:17] [thread 0: 4294967295 hashes, 764624.5 khash/sec]                   
 [2012-10-05 02:33:17] Creating extra submit work thread                   
 [2012-10-05 02:33:17] Submitting share 2474e5b0 to pool 0                   
 [2012-10-05 02:33:17] SEND: {"params": ["xxxxx", "?/h??", "n", "K", "5201892c"], "id": 4, "method": "mining.submit"}                   
 [2012-10-05 02:33:17] Popping work to work thread                   
 [2012-10-05 02:33:17] Reusing stratum work                   
 [2012-10-05 02:33:17] Generated stratum merkle 277419191d07451d9cca09d5e8b5a7cb9228d24155ec5e3788545a00ea5ffde8                   
 [2012-10-05 02:33:17] Generated stratum header 00000002858ad41b7ae76b38c49400052ce2dfa185fa1214458430250000057a00000000277419191d07451d9cca09d5e8b5a7cb9228d24155ec5e3788545a00ea5ffde8506ea93d1a057e0800000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000                   
 [2012-10-05 02:33:17] Work job_id 1bff nonce2 04000000 ntime 506ea93d                   
 [2012-10-05 02:33:17] Generated target ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000                   
 [2012-10-05 02:33:17] BFL0: block data: ea85d83701f996f328f1795af8ac6199183b595aa96a061c60cb499d826fd4eeea5ffde8506ea93d1a057e08   

(only started 1 miner this time)
still corrupt

bedtime...bbl
1503168568
Hero Member
*
Offline Offline

Posts: 1503168568

View Profile Personal Message (Offline)

Ignore
1503168568
Reply with quote  #2

1503168568
Report to moderator
1503168568
Hero Member
*
Offline Offline

Posts: 1503168568

View Profile Personal Message (Offline)

Ignore
1503168568
Reply with quote  #2

1503168568
Report to moderator
1503168568
Hero Member
*
Offline Offline

Posts: 1503168568

View Profile Personal Message (Offline)

Ignore
1503168568
Reply with quote  #2

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

Posts: 1503168568

View Profile Personal Message (Offline)

Ignore
1503168568
Reply with quote  #2

1503168568
Report to moderator
1503168568
Hero Member
*
Offline Offline

Posts: 1503168568

View Profile Personal Message (Offline)

Ignore
1503168568
Reply with quote  #2

1503168568
Report to moderator
1503168568
Hero Member
*
Offline Offline

Posts: 1503168568

View Profile Personal Message (Offline)

Ignore
1503168568
Reply with quote  #2

1503168568
Report to moderator
kaerf
Hero Member
*****
Offline Offline

Activity: 631


View Profile
October 05, 2012, 10:03:40 AM
 #7362

so i didn't go to bed  Tongue

found your bug

cgminer.c:4519

   memcpy(work->target, target, 256);

256 should be 32 (or 33?? prob not)

now i can sleep
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2254


Ruu \o/


View Profile WWW
October 05, 2012, 03:16:03 PM
 #7363

so i didn't go to bed  Tongue

found your bug

cgminer.c:4519

   memcpy(work->target, target, 256);

256 should be 32 (or 33?? prob not)

now i can sleep
Very good, thanks! Fixed in git and hopefully fixes the problem for those who have it.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
slush
Legendary
*
Offline Offline

Activity: 1372



View Profile WWW
October 05, 2012, 04:58:31 PM
 #7364

Very good, thanks! Fixed in git and hopefully fixes the problem for those who have it.

Fixed for me as well! Thank you both!

BigBobo
Hero Member
*****
Offline Offline

Activity: 635



View Profile
October 05, 2012, 06:22:52 PM
 #7365

optimize please the program under the 7th series for Litecoin
soniq
Sr. Member
****
Offline Offline

Activity: 462



View Profile
October 05, 2012, 06:31:17 PM
 #7366

Cant get CG miner to recognize a BFL single

used --scan-serial     in Command to find but not recognized

Any ideas?

BitMinerN8
Hero Member
*****
Offline Offline

Activity: 626


Mining since May 2011.


View Profile
October 05, 2012, 06:37:24 PM
 #7367

Cant get CG miner to recognize a BFL single

used --scan-serial     in Command to find but not recognized

Any ideas?

What OS?
soniq
Sr. Member
****
Offline Offline

Activity: 462



View Profile
October 05, 2012, 06:44:13 PM
 #7368

Cant get CG miner to recognize a BFL single

used --scan-serial     in Command to find but not recognized

Any ideas?

What OS?
Windows 7

BitMinerN8
Hero Member
*****
Offline Offline

Activity: 626


Mining since May 2011.


View Profile
October 05, 2012, 06:51:14 PM
 #7369

Cant get CG miner to recognize a BFL single

used --scan-serial     in Command to find but not recognized

Any ideas?

What OS?
Windows 7

Try it like this maybe: (Match the COM port up to what you see in Device Manager)
cgminer.exe -S bitforce://./COM4 -o site:port -u worker -p pass
soniq
Sr. Member
****
Offline Offline

Activity: 462



View Profile
October 05, 2012, 07:07:41 PM
 #7370

Cant get CG miner to recognize a BFL single

used --scan-serial     in Command to find but not recognized

Any ideas?

What OS?
Windows 7

Try it like this maybe: (Match the COM port up to what you see in Device Manager)
cgminer.exe -S bitforce://./COM4 -o site:port -u worker -p pass

Here it is listed in Device Manager  Port_#0004.Hub_#0003

So enter this whole command in CGminer exe  "[W]rite config file" ?    cgminer.exe -S bitforce://./COM0004 -o site:port -u worker -p pass


jork
Newbie
*
Offline Offline

Activity: 15



View Profile
October 05, 2012, 07:11:07 PM
 #7371

Cant get CG miner to recognize a BFL single

used --scan-serial     in Command to find but not recognized

Any ideas?

What OS?
Windows 7

Try it like this maybe: (Match the COM port up to what you see in Device Manager)
cgminer.exe -S bitforce://./COM4 -o site:port -u worker -p pass

Here it is listed in Device Manager  Port_#0004.Hub_#0003

So enter this whole command in CGminer exe  "[W]rite config file" ?    cgminer.exe -S bitforce://./COM0004 -o site:port -u worker -p pass



Also, make sure you are not running EasyMiner at the same time. Only 1 application at a time can "see" the BFL on the USB port.
BitMinerN8
Hero Member
*****
Offline Offline

Activity: 626


Mining since May 2011.


View Profile
October 05, 2012, 07:12:04 PM
 #7372

Cant get CG miner to recognize a BFL single

used --scan-serial     in Command to find but not recognized

Any ideas?

What OS?
Windows 7

Try it like this maybe: (Match the COM port up to what you see in Device Manager)
cgminer.exe -S bitforce://./COM4 -o site:port -u worker -p pass

Here it is listed in Device Manager  Port_#0004.Hub_#0003

So enter this whole command in CGminer exe  "[W]rite config file" ?    cgminer.exe -S bitforce://./COM0004 -o site:port -u worker -p pass

Not sure, I just run it like I wrote it above in a batch file. In Device Manager it should show up under Ports. Try the COM port that is shown under that.
dlasher
Sr. Member
****
Offline Offline

Activity: 468



View Profile WWW
October 05, 2012, 07:25:37 PM
 #7373

 which tag/target in the makefile makes a bundle ready for binary download (precompiled) without .o files, etc?

tacotime
Legendary
*
Offline Offline

Activity: 1484



View Profile
October 05, 2012, 10:01:35 PM
 #7374

Scrypt mining is still broken in that it can not utilize high thread concurrencies (I need to use a thread concurrency of 24000 for my 7950s to mine effectively).  The bug seems to be with the calculation for memory allocation.  It can be easily duplicated by setting the thread concurrency above 8192, eg 12288.  In reaper, any thread concurrency may be used as long as it is a multiple of 64 and produces a memory padding that fits within the card's memory space.

Using "set GPU_MAX_ALLOC_PERCENT=100" in Windows allows the program to run, but it doesn't hash at all and does not create a memory pad on the GPU.

I reported this several weeks ago and it still hasn't been addressed.
That's cause I have no idea what the problem is. Setting GPU_MAX_ALLOC_PERCENT does nothing on windows, only linux.

Code:
[2012-10-05 16:01:03] Started cgminer 2.7.6
 [2012-10-05 16:01:03] Started cgminer 2.7.6
 [2012-10-05 16:01:04] Probing for an alive pool
 [2012-10-05 16:01:04] Long-polling activated for http://ltc.kattare.com:9332/LP

 [2012-10-05 16:01:06] LONGPOLL from pool 0 detected new block
 [2012-10-05 16:01:15] Maximum buffer memory device 0 supports says 524288000, your scrypt settings come to 0
 [2012-10-05 16:01:15] Error -61: clCreateBuffer (padbuffer8), decrease CT or increase LG
 [2012-10-05 16:01:15] Failed to init GPU thread 0, disabling device 0
 [2012-10-05 16:01:15] Restarting the GPU from the menu will not fix this.
 [2012-10-05 16:01:15] Try restarting cgminer.
Press enter to continue:

There's the error code for you.

You should be able to easily replicate this just by setting --thread-concurrency 12288 (which works fine on reaper).

I'm pretty sure the problem has to do with these lines,
Code:
clState->padbufsize = bufsize;
clState->padbuffer8 = clCreateBuffer(clState->context, CL_MEM_READ_WRITE, bufsize, NULL, &status);

For whatever reason your program is calculating 0 for the bufsize.  You should be able to step through this with a debugger and figure it out pretty easily I would presume.

Code:
XMR: 44GBHzv6ZyQdJkjqZje6KLZ3xSyN1hBSFAnLP6EAqJtCRVzMzZmeXTC2AHKDS9aEDTRKmo6a6o9r9j86pYfhCWDkKjbtcns
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2254


Ruu \o/


View Profile WWW
October 05, 2012, 10:24:45 PM
 #7375

Scrypt mining is still broken in that it can not utilize high thread concurrencies (I need to use a thread concurrency of 24000 for my 7950s to mine effectively).  The bug seems to be with the calculation for memory allocation.  It can be easily duplicated by setting the thread concurrency above 8192, eg 12288.  In reaper, any thread concurrency may be used as long as it is a multiple of 64 and produces a memory padding that fits within the card's memory space.

Using "set GPU_MAX_ALLOC_PERCENT=100" in Windows allows the program to run, but it doesn't hash at all and does not create a memory pad on the GPU.

I reported this several weeks ago and it still hasn't been addressed.
That's cause I have no idea what the problem is. Setting GPU_MAX_ALLOC_PERCENT does nothing on windows, only linux.

Code:
[2012-10-05 16:01:03] Started cgminer 2.7.6
 [2012-10-05 16:01:03] Started cgminer 2.7.6
 [2012-10-05 16:01:04] Probing for an alive pool
 [2012-10-05 16:01:04] Long-polling activated for http://ltc.kattare.com:9332/LP

 [2012-10-05 16:01:06] LONGPOLL from pool 0 detected new block
 [2012-10-05 16:01:15] Maximum buffer memory device 0 supports says 524288000, your scrypt settings come to 0
 [2012-10-05 16:01:15] Error -61: clCreateBuffer (padbuffer8), decrease CT or increase LG
 [2012-10-05 16:01:15] Failed to init GPU thread 0, disabling device 0
 [2012-10-05 16:01:15] Restarting the GPU from the menu will not fix this.
 [2012-10-05 16:01:15] Try restarting cgminer.
Press enter to continue:

There's the error code for you.

You should be able to easily replicate this just by setting --thread-concurrency 12288 (which works fine on reaper).

I'm pretty sure the problem has to do with these lines,
Code:
clState->padbufsize = bufsize;
clState->padbuffer8 = clCreateBuffer(clState->context, CL_MEM_READ_WRITE, bufsize, NULL, &status);
Right, that is  the code indeed. The fact it's reading zero is worrying, and looks like it might well be a buffer overflow. It will set it to whatever you choose regardless if it can instead of what it detects as the maximum. However clCreateBuffer takes a size_t variable as the buffer size, and by definition that's a 32 bit unsigned integer. The problem with that is it's impossible to be larger than 2^32. Hrm... let's see

size_t bufsize = 128 * ipt * cgpu->thread_concurrency;

ipt is an unsigned integer, but thread_concurrency is a signed one. Maybe that's all there is to the overflow. I'll dick around with it before the next release.

EDIT: and by the way, I can't replicate any of this without windows...

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2254


Ruu \o/


View Profile WWW
October 05, 2012, 11:19:35 PM
 #7376

You should be able to easily replicate this just by setting --thread-concurrency 12288 (which works fine on reaper).

I'm pretty sure the problem has to do with these lines,
Code:
clState->padbufsize = bufsize;
clState->padbuffer8 = clCreateBuffer(clState->context, CL_MEM_READ_WRITE, bufsize, NULL, &status);

For whatever reason your program is calculating 0 for the bufsize.  You should be able to step through this with a debugger and figure it out pretty easily I would presume.
I'm unable to reproduce this anywhere. Can you give me your whole command line minus any account details?

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
tacotime
Legendary
*
Offline Offline

Activity: 1484



View Profile
October 06, 2012, 03:30:14 AM
 #7377

You should be able to easily replicate this just by setting --thread-concurrency 12288 (which works fine on reaper).

I'm pretty sure the problem has to do with these lines,
Code:
clState->padbufsize = bufsize;
clState->padbuffer8 = clCreateBuffer(clState->context, CL_MEM_READ_WRITE, bufsize, NULL, &status);

For whatever reason your program is calculating 0 for the bufsize.  You should be able to step through this with a debugger and figure it out pretty easily I would presume.
I'm unable to reproduce this anywhere. Can you give me your whole command line minus any account details?

--scrypt -I 20 -g 1 -v 1 -w 256 --shaders 1792 --thread-concurrency 12288 or 24000

Off the top of my head

It's been a noted bug in the windows version since the tittiez beta builds

Code:
XMR: 44GBHzv6ZyQdJkjqZje6KLZ3xSyN1hBSFAnLP6EAqJtCRVzMzZmeXTC2AHKDS9aEDTRKmo6a6o9r9j86pYfhCWDkKjbtcns
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2254


Ruu \o/


View Profile WWW
October 06, 2012, 05:13:08 AM
 #7378

You should be able to easily replicate this just by setting --thread-concurrency 12288 (which works fine on reaper).

I'm pretty sure the problem has to do with these lines,
Code:
clState->padbufsize = bufsize;
clState->padbuffer8 = clCreateBuffer(clState->context, CL_MEM_READ_WRITE, bufsize, NULL, &status);

For whatever reason your program is calculating 0 for the bufsize.  You should be able to step through this with a debugger and figure it out pretty easily I would presume.
I'm unable to reproduce this anywhere. Can you give me your whole command line minus any account details?

--scrypt -I 20 -g 1 -v 1 -w 256 --shaders 1792 --thread-concurrency 12288 or 24000

Off the top of my head

It's been a noted bug in the windows version since the tittiez beta builds
Now that is just bizarre. I tried it even on a windows machine and it didn't give me zero...

EDIT: Nm, can now reproduce.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
420
Hero Member
*****
Offline Offline

Activity: 756



View Profile
October 06, 2012, 06:50:50 PM
 #7379

using v2.6.5 and load balance two pools but one is getting only 5mhash->100Mhash out of my 2.1ghash/s

any fixes for this problem in new versions?

Donations: 1JVhKjUKSjBd7fPXQJsBs5P3Yphk38AqPr - TIPS
the hacks, the hacks, secure your bits!
Krak
Hero Member
*****
Offline Offline

Activity: 591



View Profile WWW
October 06, 2012, 07:16:47 PM
 #7380

using v2.6.5 and load balance two pools but one is getting only 5mhash->100Mhash out of my 2.1ghash/s

any fixes for this problem in new versions?
Use balance instead. Load balance will heavily favor pools with rollntime enabled.

BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
Pages: « 1 ... 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 [369] 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 ... 836 »
  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!