Bitcoin Forum
July 13, 2024, 07:17:46 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 [529] 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 ... 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5805337 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.)
bitpop
Legendary
*
Offline Offline

Activity: 2912
Merit: 1060



View Profile WWW
June 03, 2013, 12:55:50 AM
 #10561

3.1.1 used very little and confirmed it by seeing total cpu usage.
3.2 looks like its using 50% by itself with another 20% by system interrupts or drivers of some sort

I just noticed, cgminer 3.2 uses massive CPU. I'm runing 20 lancelots and cgminer is using over 70% on a i7-3770.
What did 3.1.1 use, and is there a way on windows to see what system time the (ftdi) driver is using? The CPU usage of drivers is often hidden from you.

Rant2112
Newbie
*
Offline Offline

Activity: 70
Merit: 0



View Profile
June 03, 2013, 01:34:39 AM
 #10562

Got it working!

I went back to cgminer 3.1.1 and used the -S option to tell it where to look.

I'll play with the other settings now and see if I can get it running without root, etc.
...
As per the ASIC-README for 3.2.0

LINUX:

On linux, the direct USB support requires no drivers at all. However due to
permissions issues, you may not be able to mine directly on the devices as a
regular user without giving the user access to the device or by mining as
root (administrator). In order to give your regular user access, you can make
him a member of the plugdev group with the following commands:
...

Read the rest Smiley

Edit: there's a bit about "sudo cp 01-cgminer.rules /etc/udev/rules.d/" further down to complete the solution to solve permission problems
I'm fairly certain that I understand the permission issue.

As I said in a later post I have set the udev rules so that the USB device is owned by the plugdev group (and I'm in plugdev as well).

My later post has some more details with the --usb-dump output:
https://bitcointalk.org/index.php?topic=28402.msg2353037#msg2353037

It isn't showing a permission issue now - ttyUSB0 is removed when cgminer starts and cgminer 3.2 doesn't find any devices to mine with.

If I start cgminer 3.2 and then plug in the miner afterwards it is disconnected immediately and cgminer doesn't see it.
-ck (OP)
Legendary
*
Offline Offline

Activity: 4172
Merit: 1639


Ruu \o/


View Profile WWW
June 03, 2013, 01:38:19 AM
 #10563

It isn't showing a permission issue now - ttyUSB0 is removed when cgminer starts and cgminer 3.2 doesn't find any devices to mine with.

If I start cgminer 3.2 and then plug in the miner afterwards it is disconnected immediately and cgminer doesn't see it.
Not that this is the cause of your problems, but it's worth nothing that ttyUSB0 is being removed by 3.2.0 because cgminer doesn't want that driver there any more, so it being removed is normal.

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

Activity: 70
Merit: 0



View Profile
June 03, 2013, 02:02:32 AM
 #10564

Also, cgminer 3.2 does NOT work if I 'su root' either.  I don't think it is the permission problem.
-ck (OP)
Legendary
*
Offline Offline

Activity: 4172
Merit: 1639


Ruu \o/


View Profile WWW
June 03, 2013, 02:03:24 AM
 #10565

Also, cgminer 3.2 does NOT work if I 'su root' either.  I don't think it is the permission problem.
USB3 ?

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

Activity: 70
Merit: 0



View Profile
June 03, 2013, 02:29:47 AM
 #10566

Also, cgminer 3.2 does NOT work if I 'su root' either.  I don't think it is the permission problem.
USB3 ?
99% no.  My computer is too old for that.

How do I check?
Krak
Hero Member
*****
Offline Offline

Activity: 591
Merit: 500



View Profile WWW
June 03, 2013, 02:44:48 AM
 #10567

Also, cgminer 3.2 does NOT work if I 'su root' either.  I don't think it is the permission problem.
USB3 ?
99% no.  My computer is too old for that.

How do I check?
Is the flat piece inside of the port blue? USB 2.0 is usually black or red, USB 3.0 is always (as far as I know) blue.

BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
-ck (OP)
Legendary
*
Offline Offline

Activity: 4172
Merit: 1639


Ruu \o/


View Profile WWW
June 03, 2013, 03:24:24 AM
 #10568

3.1.1 used very little and confirmed it by seeing total cpu usage.
3.2 looks like its using 50% by itself with another 20% by system interrupts or drivers of some sort

I just noticed, cgminer 3.2 uses massive CPU. I'm runing 20 lancelots and cgminer is using over 70% on a i7-3770.
What did 3.1.1 use, and is there a way on windows to see what system time the (ftdi) driver is using? The CPU usage of drivers is often hidden from you.
Windows normally uses low resolution timers and perhaps it's related to us trying to use high resolution timers with these new drivers. Can you try one of the .exes in:
http://ck.kolivas.org/apps/cgminer/temp/
to see if it makes any difference to CPU usage please?

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

Activity: 2912
Merit: 1060



View Profile WWW
June 03, 2013, 03:50:54 AM
 #10569

About 5-10% better still over 60%
Also I have problems with 2 instances. Running the 17 fpga instance before a 3 crashes the 3.

3.1.1 used very little and confirmed it by seeing total cpu usage.
3.2 looks like its using 50% by itself with another 20% by system interrupts or drivers of some sort

I just noticed, cgminer 3.2 uses massive CPU. I'm runing 20 lancelots and cgminer is using over 70% on a i7-3770.
What did 3.1.1 use, and is there a way on windows to see what system time the (ftdi) driver is using? The CPU usage of drivers is often hidden from you.
Windows normally uses low resolution timers and perhaps it's related to us trying to use high resolution timers with these new drivers. Can you try one of the .exes in:
http://ck.kolivas.org/apps/cgminer/temp/
to see if it makes any difference to CPU usage please?

-ck (OP)
Legendary
*
Offline Offline

Activity: 4172
Merit: 1639


Ruu \o/


View Profile WWW
June 03, 2013, 03:56:31 AM
 #10570

About 5-10% better still over 60%
Also I have problems with 2 instances. Running the 17 fpga instance before a 3 crashes the 3.
Well I don't think that's the cause then if it's only 5%. We'll investigate further. Meanwhile, if you're reliably getting a crash, can you use a debug build to see what crashes?

http://ck.kolivas.org/apps/cgminer/debug/

The instructions for getting a debug output are in that directory. Thanks!

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

Activity: 2912
Merit: 1060



View Profile WWW
June 03, 2013, 03:58:38 AM
 #10571

Yes reliably. Will post tomorrow. It gets tiresome using rdp on my phone.

-ck (OP)
Legendary
*
Offline Offline

Activity: 4172
Merit: 1639


Ruu \o/


View Profile WWW
June 03, 2013, 04:01:26 AM
 #10572

Yes reliably. Will post tomorrow. It gets tiresome using rdp on my phone.
No rush. We greatly appreciate the debugging but take your time. This is the unfortunate cost of such heavy development, and we're heavily dependent on users testing scenarios we can't reproduce ourselves.

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

Activity: 2912
Merit: 1060



View Profile WWW
June 03, 2013, 04:06:29 AM
 #10573

How do you accomplish system wide knowledge of usb devices? Are you writing a file somewhere or in shared memory somehow?
Because the instances do fail at finding the devices when they count to usb whatever even though they should already know.

 Ps I thought a mod split the thread but I guess not lol

-ck (OP)
Legendary
*
Offline Offline

Activity: 4172
Merit: 1639


Ruu \o/


View Profile WWW
June 03, 2013, 04:10:56 AM
 #10574

How do you accomplish system wide knowledge of usb devices? Are you writing a file somewhere or in shared memory somehow?

 Ps I thought a mod split the thread but I guess not lol
Yes a file and shared memory on linux, and a named mutex on windows with the device name based on the usb bus and device address.

A mod got rid of some trolling and associated discussions, but the troll does not stop stalking this thread and reappearing.

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: 4172
Merit: 1639


Ruu \o/


View Profile WWW
June 03, 2013, 04:48:00 AM
 #10575

How do you accomplish system wide knowledge of usb devices? Are you writing a file somewhere or in shared memory somehow?

 Ps I thought a mod split the thread but I guess not lol
Yes a file and shared memory on linux, and a named mutex on windows with the device name based on the usb bus and device address.

A mod got rid of some trolling and associated discussions, but the troll does not stop stalking this thread and reappearing.
Like I was saying  Roll Eyes

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

Activity: 110
Merit: 11



View Profile
June 03, 2013, 07:36:41 AM
Last edit: June 03, 2013, 08:01:27 AM by yantis
 #10576

Edited this post out - The developer of this software already saw it so no need for it anymore.
-ck (OP)
Legendary
*
Offline Offline

Activity: 4172
Merit: 1639


Ruu \o/


View Profile WWW
June 03, 2013, 07:39:57 AM
 #10577

Has anyone had any luck getting this to work with ASIC Miner USB block erupters on Arch Linux. I have tried both a PC and Raspberry PI (minepeon image) and the latest version doesn't work.
More information would help. What does "doesn't work" mean? Did you follow the new instructions for 3.2.0 in the ASIC-README?

Please, the picture burns my eyes. Take it down.

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

Activity: 110
Merit: 11



View Profile
June 03, 2013, 07:49:58 AM
 #10578

Going to go read the README again and double check just to make 100% sure.
yantis
Member
**
Offline Offline

Activity: 110
Merit: 11



View Profile
June 03, 2013, 07:56:23 AM
 #10579

Does the README_ASIC apply to the USB Block Erupters since its Icarus based?

The problem I have is it doesn't detect any USB devices. This could be user error as I compiled with just Icarus support.
-ck (OP)
Legendary
*
Offline Offline

Activity: 4172
Merit: 1639


Ruu \o/


View Profile WWW
June 03, 2013, 08:01:57 AM
 #10580

Does the README_ASIC apply to the USB Block Erupters since its Icarus based?

The problem I have is it doesn't detect any USB devices. This could be user error as I compiled with just Icarus support.
Everything is direct USB based now, and apologies if it does not expressly say so in the ASIC README, but the advice about permissions and plugdev applies to every USB device now, ASIC and FPGA. Building Icarus in should be enough for them to work.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Pages: « 1 ... 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 [529] 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 ... 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!