Bitcoin Forum
October 23, 2017, 10:56:31 PM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 [719] 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 ... 839 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.10.0  (Read 5571030 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.
fastcore
Jr. Member
*
Offline Offline

Activity: 40


View Profile
February 05, 2014, 07:26:43 PM
 #14361

You could disable devices. And you could disable pools. Both "pause" mining.  Does this fit for you?


I think so, will mess with those. I have these set up on a media center machine and would love to have them auto pause on launch of a program like VLC like BOINC. Alternatively would be nice to have a one button pause/unpause. GPU crunching and video playing don't do well together.

Yeah nevermind. G then D will disable the GPU pretty well, thanks!

Currently running 9 Saphire block erupters, 4 Red Fury, 1 Ice Fury, 7 AntMiners, and 2 Dualminers. Mining BTC, Doge, and LTC mainly.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1508799391
Hero Member
*
Offline Offline

Posts: 1508799391

View Profile Personal Message (Offline)

Ignore
1508799391
Reply with quote  #2

1508799391
Report to moderator
1508799391
Hero Member
*
Offline Offline

Posts: 1508799391

View Profile Personal Message (Offline)

Ignore
1508799391
Reply with quote  #2

1508799391
Report to moderator
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2310


Ruu \o/


View Profile WWW
February 05, 2014, 10:47:24 PM
 #14362

ckolivas
2nd temp binary is still running ok yet.
Thanks very much for your testing. This confirms that the upgrade from libusb to the merged libusb/x is at fault. It seems that libusbx is still not up to the task. I will revert to the good working libusb in the next  version again.

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

Activity: 546


View Profile WWW
February 05, 2014, 11:06:58 PM
 #14363

So would it be o.k to try this out or did you already clear out the temps? If it works better and doesn't fudge stuff make a 3.12.1 version... right?

Your website is giving me troubles getting to it.

This is where I've been getting releases from you ck.kolivas.org/apps/cgminer/ . Has the page changed or is someone screwing with it?

Like the info address for potential tips Wink
BTC 1CL5BnNhdL2wDVmSDwMbW1cNhZew87CAPV
* http://www.miningrigrentals.com/register?ref=563
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2310


Ruu \o/


View Profile WWW
February 05, 2014, 11:29:39 PM
 #14364

So would it be o.k to try this out or did you already clear out the temps? If it works better and doesn't fudge stuff make a 3.12.1 version... right?

Your website is giving me troubles getting to it.

This is where I've been getting releases from you ck.kolivas.org/apps/cgminer/ . Has the page changed or is someone screwing with it?
Try it, that's still the site.

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

Activity: 546


View Profile WWW
February 05, 2014, 11:40:15 PM
 #14365

Darn website keeps timing out. I'm getting connection was reset errors.

Pm'd the page error I just got.

Like the info address for potential tips Wink
BTC 1CL5BnNhdL2wDVmSDwMbW1cNhZew87CAPV
* http://www.miningrigrentals.com/register?ref=563
techman05
Hero Member
*****
Offline Offline

Activity: 546


View Profile WWW
February 06, 2014, 12:41:32 AM
 #14366

was failed to
Code:
sem_timedwait errno=10060 cgsem=0x044ed2bc sbutils.c callback_wait():2452
one of the expected errors for your test cgminer in the temp folder?

Like the info address for potential tips Wink
BTC 1CL5BnNhdL2wDVmSDwMbW1cNhZew87CAPV
* http://www.miningrigrentals.com/register?ref=563
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2310


Ruu \o/


View Profile WWW
February 06, 2014, 01:32:52 AM
 #14367

was failed to
Code:
sem_timedwait errno=10060 cgsem=0x044ed2bc sbutils.c callback_wait():2452
one of the expected errors for your test cgminer in the temp folder?
Yes that's addressed in the new code.

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

Activity: 546


View Profile WWW
February 06, 2014, 02:19:27 AM
 #14368

O.k then I'll wait for the final code then. At least your page is back up for now. It required admin access to load so when it crashed for me it didn't start right back up without acknowledging it.

I didn't check any further than that error so I hope your on the right path  Grin.

Like the info address for potential tips Wink
BTC 1CL5BnNhdL2wDVmSDwMbW1cNhZew87CAPV
* http://www.miningrigrentals.com/register?ref=563
plasmapelz
Newbie
*
Offline Offline

Activity: 4


View Profile
February 06, 2014, 12:14:59 PM
 #14369

Hello,

Could it be that cgminer-3.12 has a memory leak?

When I run it on my RaspPI for ca. one day, the memory gets swamped like hell, as well as the swap. As soon as I stop cgminer, memory and swap load go down to near zero. I used htop to trace the memory... Also I recognized that, when I don't stop and restart cgminer, it crashes with a segmentation fault at some point (which might be the point, when there is no more memory available).

It would be great if you could check and eventually fix that Smiley


Best Regards
ress
Member
**
Offline Offline

Activity: 112


View Profile
February 06, 2014, 12:38:12 PM
 #14370

Is there any chance that Keccak (SHA3) mining will work on AMD GPUs?  Smiley

-ck
Moderator
Legendary
*
Offline Offline

Activity: 2310


Ruu \o/


View Profile WWW
February 06, 2014, 12:39:42 PM
 #14371

Is there any chance that Keccak (SHA3) mining will work on AMD GPUs?  Smiley
None.

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

Activity: 112


View Profile
February 06, 2014, 01:06:46 PM
 #14372

Is there any chance that Keccak (SHA3) mining will work on AMD GPUs?  Smiley
None.

I'm not a skilled programmer, could you explain why? Smiley It seems like the Nvidia guys have found a way to make it work.

-ck
Moderator
Legendary
*
Offline Offline

Activity: 2310


Ruu \o/


View Profile WWW
February 06, 2014, 01:08:10 PM
 #14373

Is there any chance that Keccak (SHA3) mining will work on AMD GPUs?  Smiley
None.

I'm not a skilled programmer, could you explain why? Smiley It seems like the Nvidia guys have found a way to make it work.
cgminer is now bitcoin only mining software with no gpu code

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

Activity: 112


View Profile
February 06, 2014, 01:17:26 PM
 #14374

Is there any chance that Keccak (SHA3) mining will work on AMD GPUs?  Smiley
None.

I'm not a skilled programmer, could you explain why? Smiley It seems like the Nvidia guys have found a way to make it work.
cgminer is now bitcoin only mining software with no gpu code

Hmm, OK... I thought I was GPU mining with cgminer Cheesy

pinkfloyd11
Jr. Member
*
Offline Offline

Activity: 56


View Profile
February 06, 2014, 01:48:31 PM
 #14375

Hello

I'm studying Klondike firmware but is very difficult do retro enginering.

Can someone of you explane me which are the step that are necessary for create comunication between CGMiner and Avalon 3256 ?

Thanks
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2310


Ruu \o/


View Profile WWW
February 06, 2014, 02:11:58 PM
 #14376

Hello,

Could it be that cgminer-3.12 has a memory leak?

When I run it on my RaspPI for ca. one day, the memory gets swamped like hell, as well as the swap. As soon as I stop cgminer, memory and swap load go down to near zero. I used htop to trace the memory... Also I recognized that, when I don't stop and restart cgminer, it crashes with a segmentation fault at some point (which might be the point, when there is no more memory available).

It would be great if you could check and eventually fix that Smiley


Best Regards

There may well be a memory leak. I have not seen one, but I do not run anything on an RPi. If you can run the most current code from git as a debug build and get output it would be most helpful.
See:
http://ck.kolivas.org/apps/cgminer/debug/README-debug

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

Activity: 142


View Profile
February 06, 2014, 05:05:21 PM
 #14377

I'm running cgminer pulled freshly from github with 2 Antminer U1 after I have seen this commit:
Code:
commit 6ff2b7bd2c5c7684518fe7b1f67d42aca19eb85b
Author: Con Kolivas <kernel@kolivas.org>
Date:   Wed Feb 5 22:22:04 2014 +1100

    Add ability to enter ANU frequency as a multiple of 25 from 150-500.

But when I use
Code:
"anu-freq" : "250"
hashrates are still as default:

Code:
ANU 0:                | 1.741G/1.730Gh/s | A:140 R:4 HW:0 WU: 24.3/m
ANU 1:                | 1.819G/1.730Gh/s | A:128 R:0 HW:0 WU: 23.3/m

Is the option --anu-freq not enabled in the rest of the code for now?

DRK: Xeojbw5gDNtvCbUK7VXaDqfyNU29ahqavB
BTC: 1K5hJ1wiRJ9mAWwn9pLzjst18jTa1benHT
LTC: LiUgyndo4sibahGEyuw8ymphciaq7tbS9a
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2310


Ruu \o/


View Profile WWW
February 06, 2014, 08:09:53 PM
 #14378

Is the option --anu-freq not enabled in the rest of the code for now?
It's just command line option code with nothing implemented yet.

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

Activity: 546


View Profile WWW
February 07, 2014, 02:13:36 AM
 #14379

Hello,

Could it be that cgminer-3.12 has a memory leak?

When I run it on my RaspPI for ca. one day, the memory gets swamped like hell, as well as the swap. As soon as I stop cgminer, memory and swap load go down to near zero. I used htop to trace the memory... Also I recognized that, when I don't stop and restart cgminer, it crashes with a segmentation fault at some point (which might be the point, when there is no more memory available).

It would be great if you could check and eventually fix that Smiley


Best Regards

There may well be a memory leak. I have not seen one, but I do not run anything on an RPi. If you can run the most current code from git as a debug build and get output it would be most helpful.
See:
http://ck.kolivas.org/apps/cgminer/debug/README-debug

If I follow what the debug says it says its 3.9 when I run it and anu devices don't show up. Is there a [compiled] 3.12 debug file?

Like the info address for potential tips Wink
BTC 1CL5BnNhdL2wDVmSDwMbW1cNhZew87CAPV
* http://www.miningrigrentals.com/register?ref=563
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2310


Ruu \o/


View Profile WWW
February 07, 2014, 05:26:15 AM
 #14380

New version: 3.12.1, 7th February 2014

Mostly lots of bugfixes and heaps of new features for hashfast devices with upgraded firmware (due out soon).

Human readable changelog:

- Dynamic temperature based fanspeed and per-die clockspeed control for hashfast devices with the following new commands.

--hfa-fan <arg>     Set fanspeed percentage for hashfast, single value or range (default: 10-85)
--hfa-temp-target <arg> Set the hashfast target temperature (0 to disable) (default: 88)

Defaults chosen are based on extensive discussion with the design engineers responsible for the silicon and boards and basically it will keep your hashfast devices as close to the starting clockspeed as possible while keeping under~95 degrees by initially increasing fanspeed, and then decreasing the clockspeed on the hottest dies discretely. The output can be watched via the API. Enduring sweltering temperatures of up to 44 degrees here has made for an excellent real world test for this code.
- Numerous startup/reset/shutdown reliability improvements for hashfast
- Send a ping to the hashfast device at regular intervals if we don't have any work for it just so it knows cgminer is still alive to try and minimise the dreaded watchdog reboots.
- Lots of extra information in the hashfast API stats output.
- Hashfast serial number is shown as a hex value now.
- Better hashfast flushing of work on restarts - new firmware will build further on this.
- Antminer U1 overclocking support with --anu-freq note:
Quote
By default, Antminer U1 devices run at a clockspeed of 200. This command allows
you to specify a chosen frequency to attempt to run all ANU devices at and the
value must be in increments of 25. Note that cgminer reports hashrate ONLY
FROM VALID HASHES so if you increase the frequency but your hashrate does not
increase or it decreases and hardware errors start showing up, you have
overclocked it too much. In the worst case scenario it will fail to start at
too high a speed.
You basically must use --icarus-timing=short additionally to get the maximum benefit out of the overclocking (at this stage).
- Keep taking a trickle of work even if it's not being used just to keep an eye on pools and to keep the most recent work time up to date
- Make the top "window" wider since hashes these days come in the many millions and don't fit into 80 characters
- In verbose mode, the share above target message shows for which device
- Rolled back to the last good working libusb - the alleged libusb/x merge did not bring improvements and added windows instability with spontaneous exiting
- Handle better numerous non-terminal errors (the cgsem ones) that were leading to cgminer exiting
- BAB improvements courtesy of Kano
- Verbose mode will now show if it takes time to submit a stratum share, or it takes a long time to get a response from pools due to them lagging substantially, to help debug where latencies might be causing high stales.
- Added a way to zero other stats within each driver when the zero stats command is given (though no driver currently uses it).
- Fix one stale work item being passed to drivers after a block change.
- Fix a rare usbutils crash
- Pool diffs that are fractions only show one decimal place now.
- In debug mode a message will show up if there are substantial delays in getting work.
- Fix for massive data over the API
- Other random fixes.


Full changelog:

- Document new features for antminer U1 and hfa devices.
- Add support for ANU overclocking.
- Increase hfa fanspeed by more if we're rising in temp above the target than if
the temp is staying the same.
- Add debug output when get_work() is blocked for an extended period and add
grace time to the device's last valid work to prevent false positives for device
failure.
- Issue a shutdown prior to a reset command for hfa devices and lock access to
reads awaiting the response if the device is already running.
- Do not register as successful a hfa init sequence that reports the clockrate
as zero.
- Show device info in noffset nonce share above target message.
- Widen lines in top menu to fit extra large share values.
- Only show one decimal place if pool diff is not an integer.
- Show serial number as a hex value in hfa verbose startup.
- Slowly remove work even if it's not being used to keep the getwork counter
incrementing even if work is not used and as a test that pools are still
working.
- Increase the maximum diff between hfa dies to 100Mhz.
- Show which hfa die is bringing down all the others when decreasing all the
clock speeds.
- Increase the decrease when temp has increased more and we want to decrease it
on hfa.
- Give device info with share above target message.
- Allow throttling of hfa dies more frequently and increasing of speeds less
frequently.
- Wait after sending a hfa shutdown to allow the device to properly shut down
before possibly sending it more commands.
- Minimise the die clock differences in hfa to no more than 50Mhz.
- Check for when errno is set on windows as well as the windows variant for
errors.
- Revert "Update to libusb-1.0.18"
- Disable fan/die clock control in hfa if the firmware does not support it, with
notification.
- Add ability to enter ANU frequency as a multiple of 25 from 150-500.
- Decrease hfa clock by 10 if a reset is attempted due to the device remaining
idle.
- ifdef out icarus options unused without icarus built in.
- Reorder command line options alphabetically.
- Add no matching work to hfa API output.
- Change various logging message levels in the hfa driver.
- Only adjust clocks if there is no restart in hfa to avoid 2 restarts back to
back.
- Ensure we iterate over all dies adjusting temperate for hfa by starting
iterating after the last die modified.
- Clamp initial hfa fanspeed to min/max if passed as parameters.
- Allow hfa fanspeed to be set via command line.
- Further relax the target temperatures on hfa driver, targetting 88 degrees.
- Try one more time to get the hfa header on init since it can take 2 seconds
for all 3 boards on a sierra.
- Update authors for removal of gpu/scrypt.
- Wait for 5 temperature updates in hfa before adjusting fanspeed.
- Have some leeway before starting to throttle hfa dies.
- Use increments of 10 when increasing hfa clock since it may not have 5 MHz
granularity internally.
- Only perform a hfa fan speed update if we have new temps to work with.
- Correctly measure the hfa max temp and smooth out the changes in its value.
- Choose better defaults for min/max/default fan settings for hfa driver.
- bab - reduce def speed, fix speed staying in ranges and report bank/chips in
ioctl() errors
- bab - add info about number of boards/chips to each Dead Chain
- These may not be longs (eg: OSX)... fo a safe cast to ensure.
- bab - add dead boards and dead chains to stats
- Add fanspeed to hfa api output and set initial fanspeed to 10%
- Add hfa fanspeed control to try and maintain a target temperature.
- API-README correct new text format documentation
- API allow multiple commands/replies in one request
- Add op commands necessary to control hfa fanspeeds.
- Add OP_FAN to hf protocol header.
- Always show the stratum share lag time in debug mode.
- Add stratum share response lag time to verbose output if it's greater than 1
second.
- Add stratum share submission lag time to verbose information if it's over 1
second.
- Check for more interrupted conditions in util.c and handle them gracefully.
- Send a ping to hfa devices if nothing is sent for over 5 seconds.
- Add OP_PING to hfa commands
- Display the hfa serial number as a hexadecimal value.
- Add the ability to display a hexadecimal 32 bit unsigned integer to the API.
- Limit all hfa restarts for temperature control to no closer than 15 seconds
apart.
- Allow the hfa temp target to be disabled by setting it to zero.
- Handle interruptions to various select calls in util.c
- Add sanity check for silly overflows in hfa die temperature readings.
- Add per-die throttling control for hfa driver based on each die's temperature,
issuing a suitable reset to maintain the temperature below a configurable target
temperature.
- Update hf protocol
- Do not memcpy in usbutils unless data was transferred.
- Send a full allotment of jobs to the hfa device after a restart instead of
reading the status.
- Export the flush_queue function for use by drivers.
- Remove wrong goto
- Remove the unqueued work reference when we discard work from get queued as
well.
- Wake the global work scheduler when we remove a work item from the unqueued
work pointer.
- Discard work that is stale in the get_queued() function, returning NULL
instead.
- Add a call to a driver specific zero stats function when zero stats is called
to allow each driver to reset its own stats as well if desired.

Primary 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 ... 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 [719] 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 ... 839 »
  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!