Author

Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.0 - page 420. (Read 5805537 times)

legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
After starting up 2.10.2 for the first time, I almost immediately got "Best share: 25", but no accepted shares for a while. Then I finally got an accepted share 4/4. Looks like the Best share display still isn't fixed, unless for some reason my target was above 25 (never been above 8 for me at BitMinter). Also, now Best share is at 207, even though all the accepted shares for this run are still on screen, and the highest is 55/4.
Fix for this is https://github.com/luke-jr/bfgminer/commit/bfab076d

Lulz - replacing my one function I wrote 15 months ago with 5 - and slower Tongue
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
rav3n_pl ... FYI ... you only need 3 lines to build cgminer... and it's the same on mingw - you can specify everything before make on the single autogen line on mingw and linux, so your first 4 lines become a single command.
It was posted many times, that if I use git version I should always use ./autogen.sh b4 I do anything else.
And I found today that not running "make clean" can generate errors Smiley

I believe what he was saying is that if you use autogen.sh you do not need to run configure. You can put all the options after autogen.sh.
Code:
CFLAGS="-O2 -msse2" ./autogen.sh --enable-scrypt --without-libudev 
make clean
make
Thx Smiley lots faster, no double-configure Smiley
i.e. every time I post the linux link for 11.04 that's what I post at the end ... yeah the usual ... people don't read Tongue
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
After starting up 2.10.2 for the first time, I almost immediately got "Best share: 25", but no accepted shares for a while. Then I finally got an accepted share 4/4. Looks like the Best share display still isn't fixed, unless for some reason my target was above 25 (never been above 8 for me at BitMinter). Also, now Best share is at 207, even though all the accepted shares for this run are still on screen, and the highest is 55/4.
Hmm ok. As an aside, best share does show rejected shares or even shares not submitted if they're below the target. The reason for this is that there is no way of knowing what your best share is when you're solo mining.
hero member
Activity: 807
Merit: 500
After starting up 2.10.2 for the first time, I almost immediately got "Best share: 25", but no accepted shares for a while. Then I finally got an accepted share 4/4. Looks like the Best share display still isn't fixed, unless for some reason my target was above 25 (never been above 8 for me at BitMinter). Also, now Best share is at 207, even though all the accepted shares for this run are still on screen, and the highest is 55/4.
Fix for this is https://github.com/luke-jr/bfgminer/commit/bfab076d
Quoting for con, just in case.
legendary
Activity: 2576
Merit: 1186
After starting up 2.10.2 for the first time, I almost immediately got "Best share: 25", but no accepted shares for a while. Then I finally got an accepted share 4/4. Looks like the Best share display still isn't fixed, unless for some reason my target was above 25 (never been above 8 for me at BitMinter). Also, now Best share is at 207, even though all the accepted shares for this run are still on screen, and the highest is 55/4.
Fix for this is https://github.com/luke-jr/bfgminer/commit/bfab076d
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
rav3n_pl ... FYI ... you only need 3 lines to build cgminer... and it's the same on mingw - you can specify everything before make on the single autogen line on mingw and linux, so your first 4 lines become a single command.
It was posted many times, that if I use git version I should always use ./autogen.sh b4 I do anything else.
And I found today that not running "make clean" can generate errors Smiley

I believe what he was saying is that if you use autogen.sh you do not need to run configure. You can put all the options after autogen.sh.
Code:
CFLAGS="-O2 -msse2" ./autogen.sh --enable-scrypt --without-libudev 
make clean
make
Thx Smiley lots faster, no double-configure Smiley
sr. member
Activity: 383
Merit: 250
rav3n_pl ... FYI ... you only need 3 lines to build cgminer... and it's the same on mingw - you can specify everything before make on the single autogen line on mingw and linux, so your first 4 lines become a single command.
It was posted many times, that if I use git version I should always use ./autogen.sh b4 I do anything else.
And I found today that not running "make clean" can generate errors Smiley

I believe what he was saying is that if you use autogen.sh you do not need to run configure. You can put all the options after autogen.sh.
hero member
Activity: 924
Merit: 1000
Watch out for the "Neg-Rep-Dogie-Police".....
I was time, when 64KB total ram+rom+video was enough to do great things. Now this is forgotten.
If I can make something smaller and still working - why not? Accesing to HDD is 1000x slower than ram, sometimes 1MB more space on pen or CD/DVD is need.
I made this bins for myself - I not need USB and/or FPGA and other stuff, just GPU.
There are alot of ppl that only mine and have no clue about compiling or setting up git or mingw on windows.
It is only up to them to use or not use my binaries. I`m putting then to skydrive to have them accesible from my other machine where I not have mingw.


That would be me, I'm one of those people....lol
sr. member
Activity: 658
Merit: 250
After starting up 2.10.2 for the first time, I almost immediately got "Best share: 25", but no accepted shares for a while. Then I finally got an accepted share 4/4. Looks like the Best share display still isn't fixed, unless for some reason my target was above 25 (never been above 8 for me at BitMinter). Also, now Best share is at 207, even though all the accepted shares for this run are still on screen, and the highest is 55/4.
legendary
Activity: 3583
Merit: 1094
Think for yourself
There are alot of ppl that only mine and have no clue about compiling or setting up git or mingw on windows.

I wrote windows-build.txt so anyone could compile a cgminer binary for Windows. It only takes 30 minutes or less to set up a build environment following the instructions provided. So I read that as "There are a lot lazy people that only mine and have not bothered to read the included documentation".
Cheesy I`m sure they are Tongue
Murphy`s law about documentation: "NO ONE READS IT" Cheesy

"NO ONE READS IT", first.
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
rav3n_pl ... FYI ... you only need 3 lines to build cgminer... and it's the same on mingw - you can specify everything before make on the single autogen line on mingw and linux, so your first 4 lines become a single command.
It was posted many times, that if I use git version I should always use ./autogen.sh b4 I do anything else.
And I found today that not running "make clean" can generate errors Smiley
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
There are alot of ppl that only mine and have no clue about compiling or setting up git or mingw on windows.

I wrote windows-build.txt so anyone could compile a cgminer binary for Windows. It only takes 30 minutes or less to set up a build environment following the instructions provided. So I read that as "There are a lot lazy people that only mine and have not bothered to read the included documentation".
Cheesy I`m sure they are Tongue
Murphy`s law about documentation: "NO ONE READS IT" Cheesy
sr. member
Activity: 383
Merit: 250
There are alot of ppl that only mine and have no clue about compiling or setting up git or mingw on windows.

I wrote windows-build.txt so anyone could compile a cgminer binary for Windows. It only takes 30 minutes or less to set up a build environment following the instructions provided. So I read that as "There are a lot lazy people that only mine and have not bothered to read the included documentation".
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
rav3n_pl ... FYI ... you only need 3 lines to build cgminer... and it's the same on mingw - you can specify everything before make on the single autogen line on mingw and linux, so your first 4 lines become a single command.
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
I was time, when 64KB total ram+rom+video was enough to do great things. Now this is forgotten.
If I can make something smaller and still working - why not? Accesing to HDD is 1000x slower than ram, sometimes 1MB more space on pen or CD/DVD is need.
I made this bins for myself - I not need USB and/or FPGA and other stuff, just GPU.
There are alot of ppl that only mine and have no clue about compiling or setting up git or mingw on windows.
It is only up to them to use or not use my binaries. I`m putting then to skydrive to have them accesible from my other machine where I not have mingw.
sr. member
Activity: 383
Merit: 250
And GPU only + scrypt version on my skydrive ;]
Code:
./autogen.sh
autoreconf -fvi
CFLAGS="-O2 -msse2"
./configure --enable-scrypt --without-libudev
make clean
make
strip cgminer.exe
upx cgminer.exe
All DLLs also UPXed to make all of them as compact as possible.


1. Why would anyone need to compress an executable or dll now a days (in reference to upx)?
2. Why would anyone ever download and run an executable version of cgminer from anyone other than the author. And even then, if one is worried still they can compile their own binary. It only takes 30 minutes or less to set up a build environment on Windows.
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
And GPU only + scrypt version on my skydrive ;]
Code:
./autogen.sh
autoreconf -fvi
CFLAGS="-O2 -msse2"
./configure --enable-scrypt --without-libudev
make clean
make
strip cgminer.exe
upx cgminer.exe
All DLLs also UPXed to make all of them as compact as possible.
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
cut/paste ...

2.10.2
An Xubuntu 11.04 x86_64 executable is in my github called cgminer-2.10.2a
https://github.com/kanoi/cgminer-binaries
(it also works on Fedora 16 and 17)

Yes I had to create a seperate git for the binaries since github has disabled the download feature

To get the binary simply:
wget https://github.com/kanoi/cgminer-binaries/raw/master/cgminer-2.10.2a
chmod +x cgminer-2.10.2a
md5sum cgminer-2.10.2a

272104efde383cac7e287190127e51a9  cgminer-2.10.2a

For anyone who didn't realise, it's just the executable file to put in place of 'cgminer'
Nothing else needs changing
First get and extract the full binary release from ckolivas and then copy my file in place of 'cgminer'

No problems so far (10 minutes) on my GPU, BFL or 'MMQ+2xICA'

Since I'm no longer GPU mining, I just run it for a while on my single 6950 to see what happens

MMQ+ICAs (1.6GH/s) on OzCoin Stratum with fixed 8 diff
BFL (858MH/s) on OzCoin Stratum with fixed 8 diff (BFL now on 864 bitstream)

The same configure options as cvolivas' binary version
In case anyone was wondering:
CFLAGS="-O2 -W -Wall" ./autogen.sh --enable-icarus --enable-bitforce --enable-ztex --enable-modminer --enable-scrypt
make clean
make
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
New version: 2.10.2, 19th December 2012

Various bugfixes and minor feature improvements.


Human readable changelog:

Should have fixed the various ways stratum pools would go dead and not recover to be in use.
When unable to connect to a pool at startup, previously if it eventually connected the menus wouldn't work - fixed.
On stratum disconnect, cgminer now throws away all work from that pool and stops any of that work in progress since it is all invalid and can only lead to rejects.
The best share count could get corrupted on fast machines artificially showing a higher share than was ever found.
Scrypt stratum support.
Kano updated the MMQ code to be much better at handling overheats.
Update API features.
Updated miner.php


Full changelog:

- Stop all work from the current pool if it's a stratum pool once it is
disconnected since it will be invalid upon reconnecting.
- Discard all staged work from stratum pools as well as the shares upon
disconnection since all the work becomes invalid.
- Use correct cbreak after 15 second delay when no pool is found alive.
- MMQ missing firmware -> ERR not DEBUG
- Allow stratum to work with scrypt.
- MMQ ensure delta clock can never exceed limits
- MMQ lowercase new string constants
- MMQ add api pgaset for clock
- API V1.23 - new pgaset command, to be used soon
- Protect the best_share/best_diff values under control lock.
- MMQ style police
- MMQ count work check timeout failures
- MMQ allow partial work replies and count them
- Check a stratum pool hasn't gone dead while being a backup pool and missed
having its idle flag cleared.
- MMQ overheat: remove clockdown (doesn't help) + ensure no lost shares
- API-README grammar
- API-README explain custom page extensions in miner.php
- miner.php add a sample group pool report
- miner.php allow where,group,having on cumstom pages
legendary
Activity: 2128
Merit: 1002
cgminer 2.10.1, Win7 x64, 12.10 driver, still hashing after 4 days (no more Win crashes)
...thanks for the good work.
Jump to: