Bitcoin Forum
August 18, 2017, 05:35:21 AM *
News: Latest stable version of Bitcoin Core: 0.14.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 780 781 782 783 784 785 786 787 788 789 790 791 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 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.10.0  (Read 5371662 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.
kipper01
Full Member
***
Offline Offline

Activity: 186

1KippERXwH1PdBxKNt1ksgqh89WBv6CtWQ


View Profile
December 06, 2016, 02:22:01 AM
 #16581

Can someone just verify I am reading this correctly in the README

--enable-avalon4 Compile support for Avalon4/4.1/6 (default disabled)

If I build with this switch it will support the Avalon 6?  If so what command line options is available?
1503034521
Hero Member
*
Offline Offline

Posts: 1503034521

View Profile Personal Message (Offline)

Ignore
1503034521
Reply with quote  #2

1503034521
Report to moderator
1503034521
Hero Member
*
Offline Offline

Posts: 1503034521

View Profile Personal Message (Offline)

Ignore
1503034521
Reply with quote  #2

1503034521
Report to moderator
1503034521
Hero Member
*
Offline Offline

Posts: 1503034521

View Profile Personal Message (Offline)

Ignore
1503034521
Reply with quote  #2

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

Posts: 1503034521

View Profile Personal Message (Offline)

Ignore
1503034521
Reply with quote  #2

1503034521
Report to moderator
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2254


Ruu \o/


View Profile WWW
December 06, 2016, 02:30:39 AM
 #16582

Can someone just verify I am reading this correctly in the README

--enable-avalon4 Compile support for Avalon4/4.1/6 (default disabled)

If I build with this switch it will support the Avalon 6?  If so what command line options is available?
Yes that's correct. In the file ASIC-README it lists the avalon4 specific commands, they're the ones starting with --avalon4-*

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

Activity: 90


View Profile
December 30, 2016, 02:42:50 PM
 #16583

can I mine on my laptop?

os2sam
Legendary
*
Offline Offline

Activity: 2184


Think for yourself


View Profile
December 30, 2016, 02:45:55 PM
 #16584

can I mine on my laptop?

No, You can only mine Bitcoin on dedicated ASIC Bitcoin mining hardware now.  And this isn't the correct thread for that question.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
paramind22
Sr. Member
****
Offline Offline

Activity: 364

Trade Sig's Goods for Top 200 Altcoins


View Profile WWW
January 11, 2017, 10:51:37 PM
 #16585

I'm new again to using a Linux machine, only really having a lot of telnet Unix experience.  I installed cgminer on a Ubuntu install and copied over my Windows bat files to run.  But when I click on them I get the four options to run in terminal, display, cancel and run.  None of them seems to be working on batch files I've used for several months for Windows cgminer.


-ck
Moderator
Legendary
*
Offline Offline

Activity: 2254


Ruu \o/


View Profile WWW
January 11, 2017, 10:53:38 PM
 #16586

I'm new again to using a Linux machine, only really having a lot of telnet Unix experience.  I installed cgminer on a Ubuntu install and copied over my Windows bat files to run.  But when I click on them I get the four options to run in terminal, display, cancel and run.  None of them seems to be working on batch files I've used for several months for Windows cgminer.


Windows text files usually have windows end of line markers which aren't normally readable as text files in unix. Try converting them to unix files
dos2unix file.txt

Additionally if your batch file contains windows dos commands it will never work...

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

Activity: 1348



View Profile
January 12, 2017, 03:34:38 PM
 #16587

I'm new again to using a Linux machine, only really having a lot of telnet Unix experience.  I installed cgminer on a Ubuntu install and copied over my Windows bat files to run.  But when I click on them I get the four options to run in terminal, display, cancel and run.  None of them seems to be working on batch files I've used for several months for Windows cgminer.


Batch files are meant only for DOS, never for unix.
For unix you need shell scripts.
I might help you writing one (and you'll also learn how to navigate in unix, edit files and execute them) if you PM me what you want to achieve.

Free Coins - 🍒🍉🌼 Free Game🌼🍉🍒
BEST FAUCET EVER!!! - Don't Panic... - 1G8zjUzeZBfJpeCbz1MLTc6zQHbLm78vKc
paramind22
Sr. Member
****
Offline Offline

Activity: 364

Trade Sig's Goods for Top 200 Altcoins


View Profile WWW
January 12, 2017, 04:12:54 PM
 #16588

Thanks all for the help, will pm.

paramind22
Sr. Member
****
Offline Offline

Activity: 364

Trade Sig's Goods for Top 200 Altcoins


View Profile WWW
January 14, 2017, 03:19:31 AM
 #16589

Anyone have a good working link for a compiled binary for cgminer ubuntu 386/32 build or one that will work on that?
I did get one from https://launchpad.net/ubuntu/vivid/i386/cgminer but my system didn't have permission to install it. 

-ck
Moderator
Legendary
*
Offline Offline

Activity: 2254


Ruu \o/


View Profile WWW
January 23, 2017, 11:34:48 AM
 #16590

New release: Version 4.10.0 - 23rd January 2017

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

Lots of driver updates and numerous accumulated fixes and improvements.


Human readable changelog:

The very short version:
Avalon 4/5/6/7 support
Compac gekko support
Solo mining segwit support
Updated build to use system libusb
Updated build to latest jansson library
Lots of low level fixes and reliability improvements
Pool failover handling improvements
Diff handling improvements
Extra block change information
Other configuration options
See full changelog for unlisted items.


Full changelog:

- Silence warning.
- Clean up compac driver.
- Allocate appropriate memory size for PSECURITY_DESCRIPTOR
- Remove jansson memory tricks.
- Increase header size for gbt solo.
- Increase header size.
- Fix curl build on mingw
- Windows build fixes.
- Fix avalon4 warnings.
- We can only change diff once per notify so assume successive diffs are stacked
for successive notifies.
- Enable avalon4 building with avalon7.
- Move to system libusb.
- Upgrade to jansson 2.9
- display restart thread errno
- String length sanity checks in config parsing.
- Make pool_no and block height logging more consistent
- Always clean swork when prev_hash changes
- Add nonce mask to api for Avalon7
- Add new options for Avalon7
- Add a device table for Avalon7
- Update AVA7_DEFAULT_MINER_CNT usage
- Add frequency range support 100MHz - 500MHz
- Added roll_work_ntime() to enchance performance
- Revert "Set default ava7 nonce mask to 27 which empiric testing shows stable
and more rapid rise in frequency without significant overshoot."
- Remove useless code in avalon7
- Detect avalon7 modules during ava7 init and only add the device if any modules
exist.
- Unplug avalon7 on failing to re-init AUC to allow a clean hotplug event which
is more reliable.
- Fix warning without ava4/7
- Re-initialise libusb if there are no active devices before the next hotplug
event.
- Reset the tv_end variable before each libusb handle events call.
- Fix Vo display for A741
- Update AVA7_DEFAULT_ASIC_MAX for A741
- Tweak ava7 fan control further.
- Set default ava7 nonce mask to 27 which empiric testing shows stable and more
rapid rise in frequency without significant overshoot.
- Set ava7 starting fan to 1/3 speed between min and max.
- Convert the avalon7 fan control to use a PID-like feedback mechanism for
optimal fan speed and quasi-constant temperature. Change meaning of target
temperature to actual desired temperature, setting it to 90C. Set minimum
fanspeed to 5% as a safety fallback.
- Inherit the diff from the original stratum in submit_nonce2_nonce, fixing
wrong diff submits on avalon6/7.
- Use diff1 and diff rejected to calculate hashrate in avalon7 for a more stable
displayed hashrate.
- Check for nodev errors after usb transfers to not change the err value.
- There is no need for complicated locking in usb_reset; simply use the write
lock and avoid locking risks.
- Update nonce mask from 31 to 29
- Send jobid when it's update
- Flush useless works when new block was found
- Update error polling count
- Fix frequency mode for Avalon7
- Added connection overload detection and API entry
- Fixed some English mistakes
- Fix display mm status when stratum pool is failed
- Update api display
- Reset usb devices if they fail to initialise.
- TIMER_ABSTIME is not available on osx
- Get rid of binary stratum work based on avalon7 define.
- Remove impossible comparisons from avalon7.c
- Style police.
- Don't use the stratum work generator for Avalon7
- Add STRATUM_USER_AGENT macro for utils
- Update README and ASIC-README for Avalon7
- Add Avalon7 support
- Fix warning in AV4 driver
- Update AVA4_DEFAULT_MODULARS
- Update nonce2 start and range
- Add more options for AVA4_FREQ_TEMPADJ_MODE
- Double check data size when use avalon4_auc_xfer
- Update AVA4_MM60_TEMP_FREQADJ
- Fix xfer_err_cnt
- Avoid thread block when use AV4 iic driver
- Update check rules for AUC
- Support AV4 miner detect through iic
- Fix some settings for AvalonMiner 6.0
- advertise segwit support for solo mining
- add support for segwit commitment insertion
- add bip9 support
- Fix work update for hash_work
- Fix various minor once-off memory leaks
- Fix read beyond stack size issue
- Reattach kernel driver to correct IF
- Fix clobbered by ‘longjmp’ or ‘vfork’ warning
- Fix unreachable code
- allow for independent target freq so bad stick doesn't effect group
- +1 freq hex alignment
- tidy up naming to match general conventions
- tidy up some unused vars
- Add in ramp code. Untie compac detect from default icarus fallback detect to
have a cleaner device detect path.
- move over code to fit serial number on screen
- changed a few spaces to tabs
- Added GekkoScience Compac detection and support to the icarus driver.
- Show Current Block Version under pools api
- Show Current Block Height under pools api
- Update avalon4 options
- Update AVA4_DEFAULT_SMART_SPEED to AVA4_DEFAULT_SMARTSPEED_MODE3
- Update avalon4_update process
- Code cleanup
- Minor update
- Detach the duplicate dev when detect in xfer
- Update mm count when scan hash
- Check module if exits when detect
- Update hashmeter for avalon devs
- Fix i_5s usage
- Update smart frequency for AVA4_DEFAULT_SMARTSPEED_MODE3
- Add new smart speed mode (mode 3)
- Update default value
- Add more options for smartspeed
- Don't label threads of devices that are paused as sick
- Set avalon4 to cut off if thread should be paused
- ASIC-README: Avalon6 will come up as AV6
- Update the ASIC-README and help message of Avalon4/4.1/6
- fix cgminer-api compilation on osx
- Support low diffs like those on testnets
- Restart being missed outside of block change
- Set default frequencies for ava4/6 in the correct place if none is specified
- Use a generic zero stats function for drivers that don't implement their own
- The fan control for ava6 overshoots often so use a safer non-linear curve
mechanism relative to the target temperature and remove inappropriate caps to
opt_avalon4_overheat and opt_avalon4_temp_target
- 450 would appear to be the most reliable startup speed for ava6 so revise it
down further
- Avoid double locking when checking if a block exists to prevent a further race
between seeing it and adding it
- AVA6 is more reliable starting up at the slightly slower speed of 470, making
it internally start at 450 before working its way up
- Set the freq array variables when setting default frequency as well
- Set default frequency according to ava type if none is specified on the
command line, choosing 475 as default for ava6
- Use AV6 name for avalon6 in ava4 driver
- Update copyright notices for ava4 driver
- Fix warnings
- Log blockheight when the pool changes to a new block.
- Check for stratum clean message in test_work_current to not give false
positive messages for missed pool notifications of block changes
- Update AVA4_DEFAULT_SPEED_ERROR
- Add new option for Avalon6
- Update frequency process
- Update AVA4_DEFAULT_TEMP_TARGET for Avalon6
- Update voltage decode for Avalon6
- Update temperature target and overheat
- Update target temp settting
- Update fan adjust
- Update Vol api display
- Update avalon4 option
- Display stratum difficulty in pool api
- Fix divide by zero
- Fix nonce counter
- Fix GHS display
- Display total asics for Avalon6
- Update max diff for Avalon4 and Avalon6
- Update temperature check
- Fix typo
- By default we enable automatic frequency
- Minor changes
- Update display
- Update api display
- Fix GHSmm
- Update api for Avalon6
- Display pll infomation for Avalon6
- Update frequency for Avalon6
- Turn on avalon6 nonce check as default
- Update convert voltage
- Update voltage display
- Display more status
- Enable adjust frequency automatically
- Update convert voltage
- Update temperature display for Avalon6
- Add more options for Avalon6
- Update asic count for Avalon6
- Update hashrate counter
- Decode voltage and temperature for Avalon6
- Support error code for Avalon6
- Support 2 miners for Avalon6
- Show ASCI status for Avalon6
- Don't need config voltage for Avalon6
- Update MM60 profile
- Add nonce counter for Avalon6
- Hide MW for Avalon6.0
- Count hw for Avalon6
- Increse stat buffer size
- Fix job_idcmp when copy stratum
- Add Avalon6 support
- Apply immediately the first set_difficulty
- store the next difficulty
- Make pool fallback time configurable and default to 2 minutes instead of 5.
Rework fallback mechanism to check pool status every 5 seconds and not miss a
recovering pool.
- Fix error message for pools such as p2pool that use no nonce1 in their stratum
templates
- Set work delay to 1 for AntS1 and AntS2
- driver-bitmain default tempoverctrl off so it can be disabled
- API add Work Difficulty to pools
- remove some documention references to getwork
- Support multiple modulars frequency setting
- Decode frequency for Avalon nano 2.0
- Decode adc status for Avalon nano 2.0
- Display temperature in api (Avalon nano 2.0
- Display asic match works for Avalon5
- Support adjust frequency by asics
- Display asic freq in status
- Diplay moving average dh for Avalon5
- Fix api display
- Upgrade date/timestamp strings to millisecond accuracy
- Support voltage adjustment automatically by modular
- Support Avalon5
- Increase AVAM_DEFAULT_ADJ_INTERVAL
- Boundary check
- Update AVAM_DEFAULT_VOLTAGE_MIN
- Check the final freq
- Support frequency adjust automatically
- Add simple moving sum of the hardware errors
- Add elapsed info for Avalon miner
- Advise against building blockerupter driver
- Move blockerupter driver to after icarus to not interfere with their detection
if built in

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

Activity: 1332

what is this "brake pedal" you speak of?


View Profile
January 23, 2017, 11:45:47 AM
 #16591

glad to have compac support baked in now. thanks!

will be nice to have the official cgminer running again.

EDIT: avast thinks its a virus. naturally  Roll Eyes

will send it in to them so they can white list it.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2254


Ruu \o/


View Profile WWW
January 23, 2017, 11:50:34 AM
 #16592

glad to have compac support baked in now. thanks!

will be nice to have the official cgminer running again.
You're welcome. Since I don't have one I'm relying entirely on the assurance from the code submitter that it actually works. All I could do was confirm it didn't interfere with existing similar devices that I own.

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

Activity: 1428

Curmudgeonly hardware guy


View Profile
January 23, 2017, 02:36:26 PM
 #16593

Is Compac support based on Novak's Icarus rework from 2015 or so, or VH's new code from the last couple months?

Selling seconds 2Pacs for a friend's med bills - PM for details
Currently in development - 20-120GH USB stick; 700GH 75W pod; 4TH volt-adjustable S1/3/5 upgrade kit
Server PSU interface boards and cables. USB and small-scale miners. Hardware hosting, advice and odd-jobs. Supporting the home miner community since 2013 - http://www.gekkoscience.com
bitsolutions
Sr. Member
****
Offline Offline

Activity: 248



View Profile
January 23, 2017, 02:50:23 PM
 #16594

Is Compac support based on Novak's Icarus rework from 2015 or so, or VH's new code from the last couple months?
The pull request looks to be VH's code.
vh
Sr. Member
****
Offline Offline

Activity: 462


View Profile
January 23, 2017, 03:14:26 PM
 #16595

Is Compac support based on Novak's Icarus rework from 2015 or so, or VH's new code from the last couple months?

This would be the rework based on Novak's code, for proper base compac support in cgminer.   

More recent code will be a complete ground up design / approach for the new products with backward compatibility.   
It has a side effect of nicer performance for the original compac, but is not ready for main cgminer yet.

siddartha1492
Member
**
Offline Offline

Activity: 79

In love with Bitcoin!!


View Profile WWW
January 25, 2017, 07:11:34 AM
 #16596

Hello guys
I just wanted to know if this would work on intel i5-4440 graphics. I don't have external graphics card, but 1 GB of memory is reserved for intel graphics. I am totally new to mining. I hope you guys will help me.

Hash Rush  ▩  First Hash-Powered Online Game  ▩  Hash Rush
Claim Your Ethereum Mining Colony and Get 25% Bonus
▬▬▬▬▬▬▬◤Pre-ICO Starts August 16◥▬▬▬▬▬▬▬
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2254


Ruu \o/


View Profile WWW
January 25, 2017, 07:54:54 AM
 #16597

Hello guys
I just wanted to know if this would work on intel i5-4440 graphics. I don't have external graphics card, but 1 GB of memory is reserved for intel graphics. I am totally new to mining. I hope you guys will help me.
No.

Bitcoin is mined with dedicated hardware called ASICs these days ONLY and not regular PC hardware, and this software is only used to drive ASICs.

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

Activity: 79

In love with Bitcoin!!


View Profile WWW
January 25, 2017, 06:04:39 PM
 #16598

Thanks ck. Is there any other trusted miner through which I can mine using intel graphics or even a separate graphics card. I am not looking to mine Bitcoin, but scrypt based altcoins.

Hash Rush  ▩  First Hash-Powered Online Game  ▩  Hash Rush
Claim Your Ethereum Mining Colony and Get 25% Bonus
▬▬▬▬▬▬▬◤Pre-ICO Starts August 16◥▬▬▬▬▬▬▬
os2sam
Legendary
*
Offline Offline

Activity: 2184


Think for yourself


View Profile
January 25, 2017, 06:07:23 PM
 #16599

Thanks ck. Is there any other trusted miner through which I can mine using intel graphics or even a separate graphics card. I am not looking to mine Bitcoin, but scrypt based altcoins.

Post in the altcoin section, you should get plenty of help there.  This is the Bitcoin section.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
CustomDesigned
Jr. Member
*
Offline Offline

Activity: 35


View Profile
January 27, 2017, 05:18:00 PM
 #16600

ARM crash with a trivial API client

The source for 4.10.0 helpfully provides api-example.php which shows raw summary data, and then php data structure parsed from the raw summary data.  All good, and works.

So, not being a php person I attempted to boil down what api-example.php does, and akaict it does this:

$ echo -n summary | nc 127.0.0.1 4028

Silly me, not only does that not work, but it crashes cgminer, and my 256M arm system running cgminer.  (Some sort of resource exhaustion - system is still pingable, but unable to accept new logins.)  Apparently, the slow readline loop to read result bytes one at a time is critical to avoid crashing cgminer.  Is this a known problem?

All I want to do is monitor the total hash rate with nagios.  I guess I can run php at each check...

I tried this on a x86_64 desktop (Fedora 25) running cgminer-4.10.0, and it works. On the arm controller, both versions crash with "echo -n summary | nc 127.0.0.1 4028".  So I guess it might be a timing thing, and that slow read loop is critical on tiny computers.  Maybe I can simulate it with python.

I tried with and without the embedded jansson-2.9 lib on X86_64 - it works on both.   The arm box system jansson is 2.6, so I used the embedded version.
----
Update: twice now, reading status via API from miner.php has crashed the arm controller.  So it is a timing thing, and it just happens much less often with the php client.  The next step will be to put some resource limits on cgminer via its systemd service.  If I can keep a login running when cgminer crashes, then we can do some debugging.
Pages: « 1 ... 780 781 782 783 784 785 786 787 788 789 790 791 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 »
  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!