Bitcoin Forum
September 20, 2018, 11:57:07 AM *
News: ♦♦ Bitcoin Core users must update to 0.16.3 [Torrent]. More info.
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 [620] 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 ... 847 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5761896 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.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2646
Merit: 1142


Ruu \o/


View Profile WWW
September 08, 2013, 09:44:01 PM
 #12381

Does anyone know a good way to cross compile libudev, so I could keep on cross compiling cgminer for ARM? I had no trouble compiling libncurses and libusb previously, but it looks like libudev has been integrated to the massive systemd project. Obviously I don't need to compile the whole systemd, but I just can't figure out how to compile libudev only.
You can't just install libudev development library?

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

Posts: 1537444627

View Profile Personal Message (Offline)

Ignore
1537444627
Reply with quote  #2

1537444627
Report to moderator
1537444627
Hero Member
*
Offline Offline

Posts: 1537444627

View Profile Personal Message (Offline)

Ignore
1537444627
Reply with quote  #2

1537444627
Report to moderator
1537444627
Hero Member
*
Offline Offline

Posts: 1537444627

View Profile Personal Message (Offline)

Ignore
1537444627
Reply with quote  #2

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

Posts: 1537444627

View Profile Personal Message (Offline)

Ignore
1537444627
Reply with quote  #2

1537444627
Report to moderator
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2646
Merit: 1142


Ruu \o/


View Profile WWW
September 08, 2013, 09:44:33 PM
 #12382

hi
is there really no way to have Xinerama AND all GPU's active mining like here described?

http://whythiserror.blogspot.co.at/2013/06/adl-detected-more-less-devices-gpus.html
TIA
Wrong support thread.

Developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org, 1% Fee Solo mining at solo.ckpool.org
-ck
juhakall
Sr. Member
****
Offline Offline

Activity: 591
Merit: 250



View Profile
September 09, 2013, 02:24:30 AM
 #12383

Does anyone know a good way to cross compile libudev, so I could keep on cross compiling cgminer for ARM? I had no trouble compiling libncurses and libusb previously, but it looks like libudev has been integrated to the massive systemd project. Obviously I don't need to compile the whole systemd, but I just can't figure out how to compile libudev only.
You can't just install libudev development library?

I tried that first, but the configure script doesn't pick it up, presumably because I need to have a version compiled for arm. I'm no cross compilation expert, but that's what worked for me with libusb and libncurses. I downloaded those libraries, cross compiled them for arm and installed them to a specific directory. After pointing the configure script to search for libs and headers from that directory, the dependencies were detected.

If you have managed to cross compile cgminer without having to cross compile libudev too, I'm obviously doing something wrong here.

Elitehash PPS Pools: Bitcore, Gentarium, Gincoin, Raven
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2646
Merit: 1142


Ruu \o/


View Profile WWW
September 09, 2013, 02:27:31 AM
 #12384

Does anyone know a good way to cross compile libudev, so I could keep on cross compiling cgminer for ARM? I had no trouble compiling libncurses and libusb previously, but it looks like libudev has been integrated to the massive systemd project. Obviously I don't need to compile the whole systemd, but I just can't figure out how to compile libudev only.
You can't just install libudev development library?

I tried that first, but the configure script doesn't pick it up, presumably because I need to have a version compiled for arm. I'm no cross compilation expert, but that's what worked for me with libusb and libncurses. I downloaded those libraries, cross compiled them for arm and installed them to a specific directory. After pointing the configure script to search for libs and headers from that directory, the dependencies were detected.

If you have managed to cross compile cgminer without having to cross compile libudev too, I'm obviously doing something wrong here.
I only cross compile for windows, and windows does not use udev. The latest libusb requires udev on linux unfortunately.

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

Activity: 658
Merit: 500


CCNA: There i fixed the internet.


View Profile
September 09, 2013, 03:03:34 AM
 #12385



Human readable changelog:
3.4.1:

- Maximum avalon frequency is now 1000 instead of 450 since some overclockers have pushed beyond 450.


Horrreeee sheet!1
but will it get over 900.0?

Bitfury HW & Habañero : 1.625Th/s
tips/Donations: 1NoS89H3Mr6U5CmP4VwWzU2318JEMxHL1
Come join Coinbase
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
September 09, 2013, 10:35:38 AM
 #12386

3.4.2 crashed on win7x64 after about 36 hours.  Crashed in mswinsck.dll.  I neglected to get a screenshot.  In a hurry this morning. 

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
Wolf0
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1002


Miner Developer


View Profile
September 09, 2013, 10:42:20 AM
 #12387

What configure option do you have to enable for CGMiner to support mining with Block Erupters? I noticed there's no "--enable-asicminer" option...

Code:
Donations: BTC: 1WoLFdwcfNEg64fTYsX1P25KUzzSjtEZC -- XMR: 45SLUTzk7UXYHmzJ7bFN6FPfzTusdUVAZjPRgmEDw7G3SeimWM2kCdnDQXwDBYGUWaBtZNgjYtEYA22aMQT4t8KfU3vHLHG
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2646
Merit: 1142


Ruu \o/


View Profile WWW
September 09, 2013, 10:52:20 AM
 #12388

What configure option do you have to enable for CGMiner to support mining with Block Erupters? I noticed there's no "--enable-asicminer" option...
They use the icarus driver.

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

Activity: 798
Merit: 1002


Miner Developer


View Profile
September 09, 2013, 01:05:01 PM
 #12389

I've noticed that there are times when my block erupter's light flashes, but there's no activity in CGMiner. Shouldn't every flash be accompanied by either accepted shares, rejected shares, or hardware errors being incremented?

Code:
Donations: BTC: 1WoLFdwcfNEg64fTYsX1P25KUzzSjtEZC -- XMR: 45SLUTzk7UXYHmzJ7bFN6FPfzTusdUVAZjPRgmEDw7G3SeimWM2kCdnDQXwDBYGUWaBtZNgjYtEYA22aMQT4t8KfU3vHLHG
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2646
Merit: 1142


Ruu \o/


View Profile WWW
September 09, 2013, 01:05:56 PM
 #12390

I've noticed that there are times when my block erupter's light flashes, but there's no activity in CGMiner. Shouldn't every flash be accompanied by either accepted shares, rejected shares, or hardware errors being incremented?
Not if you're mining at a diff greater than 1. The device returns diff1 shares.

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

Activity: 798
Merit: 1002


Miner Developer


View Profile
September 09, 2013, 01:53:32 PM
 #12391

I've noticed that there are times when my block erupter's light flashes, but there's no activity in CGMiner. Shouldn't every flash be accompanied by either accepted shares, rejected shares, or hardware errors being incremented?
Not if you're mining at a diff greater than 1. The device returns diff1 shares.

I'm mining at diff 1.

Code:
Donations: BTC: 1WoLFdwcfNEg64fTYsX1P25KUzzSjtEZC -- XMR: 45SLUTzk7UXYHmzJ7bFN6FPfzTusdUVAZjPRgmEDw7G3SeimWM2kCdnDQXwDBYGUWaBtZNgjYtEYA22aMQT4t8KfU3vHLHG
-Redacted-
Hero Member
*****
Offline Offline

Activity: 574
Merit: 501


View Profile
September 09, 2013, 02:02:47 PM
 #12392

The screen does not necessarily display lines or update counts instantaneously.  You may see blink, blink, followed by two lines scrolling up the screen a second or two later.
Wolf0
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1002


Miner Developer


View Profile
September 09, 2013, 02:14:07 PM
 #12393

The screen does not necessarily display lines or update counts instantaneously.  You may see blink, blink, followed by two lines scrolling up the screen a second or two later.

No shit. This blinks and CGMiner never shows a thing.

Code:
Donations: BTC: 1WoLFdwcfNEg64fTYsX1P25KUzzSjtEZC -- XMR: 45SLUTzk7UXYHmzJ7bFN6FPfzTusdUVAZjPRgmEDw7G3SeimWM2kCdnDQXwDBYGUWaBtZNgjYtEYA22aMQT4t8KfU3vHLHG
-Redacted-
Hero Member
*****
Offline Offline

Activity: 574
Merit: 501


View Profile
September 09, 2013, 02:25:33 PM
 #12394

OK - well good luck.  Hope you figure it out...
scrubadub
Newbie
*
Offline Offline

Activity: 35
Merit: 0


View Profile
September 09, 2013, 02:40:10 PM
 #12395

Can cgminer support scrypt (on gpus) and blf asic's on the same computer? Would you have to run two instances? Does the --scrypt and --bfl options automatically designate which instance should mine off which hardware?
crazyates
Legendary
*
Offline Offline

Activity: 952
Merit: 1000



View Profile
September 09, 2013, 02:46:57 PM
 #12396

Can cgminer support scrypt (on gpus) and blf asic's on the same computer? Would you have to run two instances? Does the --scrypt and --bfl options automatically designate which instance should mine off which hardware?
Yes.

I run "cgminer.exe --scrypt" on my GPUs, and then "cgminer-nogpu.exe" for my ASICs. Works fine.

Tips? 1crazy8pMqgwJ7tX7ZPZmyPwFbc6xZKM9
Previous Trade History - Sale Thread
rav3n_pl
Legendary
*
Offline Offline

Activity: 1360
Merit: 1000


Don`t panic! Organize!


View Profile WWW
September 09, 2013, 02:47:54 PM
 #12397

Latest git fail to compile on windows:
Code:
------------------------------------------------------------------------
cgminer 3.4.2
------------------------------------------------------------------------


Configuration Options Summary:

  curses.TUI...........: FOUND: -lpdcurses
  OpenCL...............: FOUND. GPU mining support enabled
  scrypt...............: Enabled
  ADL..................: SDK found, GPU monitoring support enabled

  Avalon.ASICs.........: Disabled
  BFL.ASICs............: Disabled
  BitForce.FPGAs.......: Disabled
  Icarus.FPGAs.........: Disabled
  ModMiner.FPGAs.......: Disabled
  Ztex.FPGAs...........: Disabled

Compilation............: make (or gmake)
  CPPFLAGS.............:
  CFLAGS...............: -O3 -msse2
  LDFLAGS..............:
  LDADD................:  -LC:/MinGW/lib -lcurl -lcurldll   compat/jansson
nsson.a -lpthread -lOpenCL   -lws2_32 -lm

Installation...........: make install (as root if needed, with 'su' or 'su
  prefix...............: /usr/local

Making clean in ccan
make[1]: Entering directory `/c/msysgit/cgminer/ccan'
rm -rf .libs _libs
test -z "libccan.a" || rm -f libccan.a
rm -f *.o
rm -f *.lo
make[1]: Leaving directory `/c/msysgit/cgminer/ccan'
Making clean in compat
make[1]: Entering directory `/c/msysgit/cgminer/compat'
Making clean in jansson
make[2]: Entering directory `/c/msysgit/cgminer/compat/jansson'
rm -rf .libs _libs
test -z "libjansson.a" || rm -f libjansson.a
rm -f *.o
rm -f *.lo
make[2]: Leaving directory `/c/msysgit/cgminer/compat/jansson'
Making clean in .
make[2]: Entering directory `/c/msysgit/cgminer/compat'
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory `/c/msysgit/cgminer/compat'
make[1]: Leaving directory `/c/msysgit/cgminer/compat'
Making clean in lib
make[1]: Entering directory `/c/msysgit/cgminer/lib'
Making clean in .
make[2]: Entering directory `/c/msysgit/cgminer/lib'
test -z "" || rm -f
rm -rf .libs _libs
test -z "libgnu.a" || rm -f libgnu.a
test -z "" || rm -f
rm -f *.o
test -z "core *.stackdump arg-nonnull.h arg-nonnull.h-t c++defs.h c++defs.
gnal.h signal.h-t stddef.h stddef.h-t stdint.h stdint.h-t string.h string.
rn-on-use.h warn-on-use.h-t" || rm -f core *.stackdump arg-nonnull.h arg-n
.h-t c++defs.h c++defs.h-t signal.h signal.h-t stddef.h stddef.h-t stdint.
nt.h-t string.h string.h-t warn-on-use.h warn-on-use.h-t
rm -f *.lo
make[2]: Leaving directory `/c/msysgit/cgminer/lib'
make[1]: Leaving directory `/c/msysgit/cgminer/lib'
Making clean in .
make[1]: Entering directory `/c/msysgit/cgminer'
 rm -f cgminer.exe
 rm -f cgminer
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[1]: Leaving directory `/c/msysgit/cgminer'
make  all-recursive
make[1]: Entering directory `/c/msysgit/cgminer'
Making all in lib
make[2]: Entering directory `/c/msysgit/cgminer/lib'
  GEN    arg-nonnull.h
  GEN    c++defs.h
  GEN    warn-on-use.h
  GEN    signal.h
  GEN    string.h
make  all-recursive
make[3]: Entering directory `/c/msysgit/cgminer/lib'
make[4]: Entering directory `/c/msysgit/cgminer/lib'
  CC     dummy.o
  CC     memmem.o
  CC     sigaction.o
  CC     sigprocmask.o
  AR     libgnu.a
make[4]: Leaving directory `/c/msysgit/cgminer/lib'
make[3]: Leaving directory `/c/msysgit/cgminer/lib'
make[2]: Leaving directory `/c/msysgit/cgminer/lib'
Making all in compat
make[2]: Entering directory `/c/msysgit/cgminer/compat'
Making all in jansson
make[3]: Entering directory `/c/msysgit/cgminer/compat/jansson'
  CC     dump.o
  CC     error.o
  CC     hashtable.o
  CC     load.o
  CC     memory.o
  CC     pack_unpack.o
  CC     strbuffer.o
  CC     strconv.o
  CC     utf.o
  CC     value.o
  AR     libjansson.a
make[3]: Leaving directory `/c/msysgit/cgminer/compat/jansson'
make[3]: Entering directory `/c/msysgit/cgminer/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/c/msysgit/cgminer/compat'
make[2]: Leaving directory `/c/msysgit/cgminer/compat'
Making all in ccan
make[2]: Entering directory `/c/msysgit/cgminer/ccan'
  CC     libccan_a-helpers.o
  CC     libccan_a-opt.o
  CC     libccan_a-parse.o
  CC     libccan_a-usage.o
  AR     libccan.a
make[2]: Leaving directory `/c/msysgit/cgminer/ccan'
make[2]: Entering directory `/c/msysgit/cgminer'
  CC     cgminer-cgminer.o
  CC     cgminer-util.o
  CC     cgminer-sha2.o
  CC     cgminer-api.o
  CC     cgminer-logging.o
  CC     cgminer-driver-opencl.o
  CC     cgminer-ocl.o
  CC     cgminer-findnonce.o
  CC     cgminer-adl.o
  CC     cgminer-scrypt.o
  CCLD   cgminer.exe
cgminer-util.o:util.c:(.text+0xd87): undefined reference to `inet_network'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [cgminer.exe] Error 1
make[2]: Leaving directory `/c/msysgit/cgminer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/msysgit/cgminer'
make: *** [all] Error 2

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
Some stuff on https://github.com/Rav3nPL/
PatMan
Hero Member
*****
Offline Offline

Activity: 924
Merit: 1000


Watch out for the "Neg-Rep-Dogie-Police".....


View Profile WWW
September 09, 2013, 02:55:08 PM
 #12398

...
Kano or Ckolivas - any thoughts? Getting a bit desperate here.  Wink
Well ... firstly, as mentioned, I'd prefer to see the overall CPU usage not a screen snapshot at one particular time ... as I've explained already how to.
Run it for 15 minutes and get the top elapsed CPU and elapsed from the API (as I asked before)

Secondly, what is the CPU on that computer and what does cat /proc/cpuinfo | grep MHz say at the same time.

Thirdly, cgminer CPU usage includes the USB CPU usage ... that other miners will not have counted against them when they mine
They all do USB I/O but other miners CPU usage is not correct since the OS doesn't count the USB they all do, USB accounts for quite a lot of the CPU usage ...

SOLVED! (sort of, eventually)

After days of downtime trying to troubleshoot this high cgminer cpu usage problem I have finally found the culprit, and am happy to say that it is most definitely NOT a cgminer problem, but is - as I originally suspected, a usb controller problem, in my case the controller is nvidia. It appears that some usb controllers just don't handle blocks of usb3 powered hubs filled with eruptors very well, but the problem seems to manifest itself as a cgminer issue showing extremely high cpu usage together with a high zombie/error rate. I'd like to post my findings here as, from scrolling through the thread, I can see that I am not the only user who has had this particular problem, and wrongfully assumed it to be a cgminer issue, so hopefully this will help other users in the future. I'd also like to thank Kano for his suggestions about cpu monitoring previously, as if it weren't for this I might never have found the problem. I'll try to keep it as brief as possible:

I connected a monitor & keyboard to my headless rig to carry out Kano's suggestions and noticed that even though the cpu was at a constant 33% with Xubuntu 12.04 (compared with 37% with 13.04!) it was still only using half it's cores. So, I switched off AMD cool n' quiet in the bios & rebooted. It was then that I noticed how long the rig took to boot up, minutes instead of seconds. I then disconnected all 4 usb bricks of eruptors & rebooted again - it took seconds to boot up as it did when I originally installed the OS. This behaviour only occurred on this one machine, so I knew it was a local problem. I ordered a usb addin pci card (VIA chipset) which arrived this morning, disabled all onboard usb ports in the bios, installed the usb card, plugged the 4 bricks into a powered 4 port hub & the 4 port hub into the new usb card on the rig & fired it up. It was up & running in seconds as per normal. It has now been mining for 4 hours, the cpu usage is ~12%, usb HW error rate is <1%, both of which are the lowest it has ever been.

So there you have it. I probably could have found the problem a lot sooner if a) it had not been a headless rig, b) I had paid more attention & c) I was more knowledgeable with the workings of Linux/Ubuntu. Again, big thanks to kano who put me on the right track, & ckolivas for the best mining software out there - bar none.

Conclusion:

Nvidia should stick to GFX chipsets.

Xubuntu 13.04 performed poorly compared to 12.04 (I reinstalled 12.04)

I need to learn more  Grin

"When one person is deluded it is called insanity - when many people are deluded it is called religion" - Robert M. Pirsig.  I don't want your coins, I want change.
Amazon UK BTC payment service - https://bitcointalk.org/index.php?topic=301229.0 - with FREE delivery!
http://www.ae911truth.org/ - http://rethink911.org/ - http://rememberbuilding7.org/
Taugeran
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


CCNA: There i fixed the internet.


View Profile
September 09, 2013, 04:57:34 PM
 #12399

The screen does not necessarily display lines or update counts instantaneously.  You may see blink, blink, followed by two lines scrolling up the screen a second or two later.

No shit. This blinks and CGMiner never shows a thing.

If the share is a hw error does cgminer silently ignore it and only increment the hw count, like a certain other miner.

Not starting a war. Just genuinely curious as I use both.

Bitfury HW & Habañero : 1.625Th/s
tips/Donations: 1NoS89H3Mr6U5CmP4VwWzU2318JEMxHL1
Come join Coinbase
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2646
Merit: 1142


Ruu \o/


View Profile WWW
September 09, 2013, 09:05:01 PM
 #12400

Latest git fail to compile on windows:
Code:
cgminer-util.o:util.c:(.text+0xd87): undefined reference to `inet_network'

Noted and fixed, thanks.

Developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org, 1% Fee Solo mining at solo.ckpool.org
-ck
Pages: « 1 ... 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 [620] 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 ... 847 »
  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!