Bitcoin Forum
December 11, 2016, 12:31:26 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 [240] 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 ... 830 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2  (Read 4827637 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: 2002


Ruu \o/


View Profile WWW
March 30, 2012, 09:28:37 PM
 #4781

Wow thanks. If it does nothing at all positive then it's not worth it.

I've been using this for over a month now. Smiley

Code:
#elif defined VECTORS2
uint result = W[117].x ? 0u:W[3].x;
     result = W[117].y ? result:W[3].y;
if (result)
output[FOUND] = output[NFLAG & result] = result;
This fell into the category of changes known as: I tried it, it compiled differently to less ALUs, but I could not demonstrate any benefit.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
1481416286
Hero Member
*
Offline Offline

Posts: 1481416286

View Profile Personal Message (Offline)

Ignore
1481416286
Reply with quote  #2

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

Posts: 1481416286

View Profile Personal Message (Offline)

Ignore
1481416286
Reply with quote  #2

1481416286
Report to moderator
Vbs
Hero Member
*****
Offline Offline

Activity: 504


View Profile
March 31, 2012, 01:44:18 AM
 #4782

 Grin
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
March 31, 2012, 04:12:09 AM
 #4783

Finally managed to get to my target hashrate for the 7970 with my latest kernel changes to poclbm (at 1200/1050+5%):
 GPU 0:  73.0C 3764RPM | 720.0/719.8Mh/s | A:186 R:0 HW:0 U:10.19/m I:11

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
March 31, 2012, 05:11:39 AM
 #4784

New version: 2.3.2 March 31 2012
Despite the huge changelog, there should be little risk in updating, with extra features and enhancements that don't affect the internals dramatically which is why the version number is still 2.3.x

Human readable changes:
Better BFL support.
Support for Icarus devices
Better hashrate calculator
Massive rewrite of poclbm kernel for fastest hashrate yet on 2.6 SDKs.
Minor updates to diablo kernel.
Updated diapolo kernel.
Attempt to get ADL stats again if they stop working.
Fanspeed starts at 50% now instead of 85% in auto mode.
Extra RPC API features.
Discarded stale counter won't rise if stales are force submitted.
Display the beginning of the new block in verbose mode in the logs.
Fixed dual GPU device fancontrol.
Monitor app started with -m should be terminated on cgminer exit.

Full changelog:
- Damping small changes in hashrate so dramatically has the tendency to always
make the hashrate underread so go back to gentle damping instead.
- Revert the crossover of variables from Vals to W in poclbm kernel now that
Vals are the first declared variables so they're used more frequently.
- Vals variables appearing first in the array in poclbm is faster.
- Change the preferred vector width to 1 for Tahiti only, not all poclbm
kernels.
- Use a time constant 0.63 for when large changes in hashrate are detected to
damp change in case the large change is an aliasing artefact instead of a real
chang
- Only increment stale counter if the detected stales are discarded.
- Attempt to re-initialise ADL should a device that previously reported fanspeed
stops reporting it.
- Move the ADL setup and clearing to separate functions and provide a reinit_adl
function to be used when adl fails while running.
- Use slightly more damping on the decay time function in the never-ending quest
to smooth off the hashmeter.
- Set the starting fanspeed to a safe and fairly neutral 50% when autofan is
enabled.
- Provide locking around updates of cgpu hashrates as well to prevent multiple
threads accessing data fields on the same device.
- Display the beginning of the new block in verbose mode in the logs.
- Reinstate old diablo kernel variable ordering from 120222, adding only goffset
and vector size hint. The massive variable ordering change only helped one SDK
on
- Change the version number on the correct kernels.
- api.c devicecode/osinfo incorrectly swapped for json
- Add extensive instructions on how to make a native windows build.
- Update version numbers of poclbm and diablo kernels as their APIs have also
changed.
- Use global offset parameter to diablo and poclbm kernel ONLY for 1 vector
kernels.
- Use poclbm preferentially on Tahiti now regardless of SDK.
- Remove unused constant passed to poclbm.
- Clean up use of macros in poclbm and use bitselect everywhere possible.
- Add vector type hint to diablo kernel.
- Add worksize and vector attribute hints to the poclbm kernel.
- Spaces for non-aligned variables in poclbm.
- More tidying of poclbm.
- Swap Vals and W variables where they can overlap in poclbm.
- More tidying of poclbm.
- Tidy up first half of poclbm.
- Clean up use of any() by diablo and poclbm kernels.
- Minor variable symmetry changes in poclbm.
- Put additions on separate lines for consistency in poclbm.
- Consolidate last use of W11 into Vals4 in poclbm.
- Change email due to SPAM
- api.c miner.php add a '*' to the front of all notify counters - simplifies
future support of new counters
- miner.php add display 'notify' command
- Small change to help arch's without processor affinity
- Fix bitforce compile error
- api.c notify should report disabled devices also - of course
- API returns the simple device history with the 'notify' command
- code changes for supporting a simple device history
- api.c Report an OS string in config to help with device issues
- api.c fix Log Interval - integer in JSON
- api.c config 'Device Code' to show list of compiled devices + README
- api.c increase buffer size close to current code allowable limit
- removed 8-component vector support from kernel, as this is not supported in
CGMINER anyway
- forgot to update kernel modification date, fixed Wink
- reordered an addition in the kernel, which results in less instructions used
in the GPU ISA code for GCN
- miner.php: option for readonly or check privileged access
- Ignore reduntant-with-build options --disable-gpu, --no-adl, and --no-restart
- miner.php: ereg_replace is DEPRECATED so use preg_replace instead
- Make curses TUI support optional at compile-time.
- Bugfix: AC_ARG_WITH provides withval instead of enableval
- miner.php split devs output for different devices
- api.c: correct error messages
- icarus.c modify (regular) timeout warning to only be debug
- icarus.c set the windows TODO timeout
- Allow specifying a specific driver for --scan-serial
- optimized nonce-check and output code for -v 2 and -v 4
- Bugfix: Check for libudev header (not just library) in configure, and document
optional dependency
- Add API support for Icarus and Bitforce
- Next API version is 1.4 (1.3 is current)
- README/api.c add "When" the request was processed to STATUS
- Bugfix: ZLX to read BitFORCE temp, not ZKX -.-
- Use libudev to autodetect BitFORCE GPUs, if available
- Use the return value of fan_autotune to set fan_optimal instead of passing it
as a pointer.
- Pass the lasttemp from the device we're using to adjust fanspeed in twin
devices.
- fix the name to 3 chars, fix the multi-icarus support
- Bugfix: "-S auto" is the default if no -S is specified, and there is no such
delay in using it
- README add information missing from --scan-serial
- Update README RPC API Version comment
- Bugfix: Allow enabling CPU even without OpenCL support
- Change failed-to-mine number of requested shares messge to avoid segfault on
recursive calling of quit().
- Get rid of extra char which is just truncated in poclbm kernel.
- only small code formating changes
- removed vec_step() as this could lead to errors on older SDKs
- unified code for generating nonce in kernel and moved addition of base to the
end -> faster

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Krak
Hero Member
*****
Offline Offline

Activity: 591



View Profile WWW
March 31, 2012, 05:34:57 AM
 #4785

I downloaded the 64 bit Ubuntu build and it keeps saying it can't find the cgminer executable.

Code:
tyler@tyler-pc:~/cgminer$ ./cgminer.sh
./cgminer.sh: 3: /home/tyler/cgminer/cgminer: not found

Not sure why exactly; I've downloaded it twice now and I can clearly see the executable in the folder.

BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
March 31, 2012, 05:43:20 AM
 #4786

I downloaded the 64 bit Ubuntu build and it keeps saying it can't find the cgminer executable.

Code:
tyler@tyler-pc:~/cgminer$ ./cgminer.sh
./cgminer.sh: 3: /home/tyler/cgminer/cgminer: not found

Not sure why exactly; I've downloaded it twice now and I can clearly see the executable in the folder.
My bad, I built it on my desktop arch at home and forgot I used to do it on ubuntu. I'll update it shortly.
Ok, try re-downloading.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Krak
Hero Member
*****
Offline Offline

Activity: 591



View Profile WWW
March 31, 2012, 05:47:48 AM
 #4787

Ok, try re-downloading.
Works now. Thanks. Smiley

BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
Turbor
Legendary
*
Offline Offline

Activity: 1008


BitMinter


View Profile WWW
March 31, 2012, 01:40:13 PM
 #4788

Icarus works fine now on Windows so my 5 BTC bounty goes to ckolivas. I do feel that kano and xiangfu should also get a part of this but con was the man that made it available to me !

-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
March 31, 2012, 01:50:38 PM
 #4789

Icarus works fine now on Windows so my 5 BTC bounty goes to ckolivas. I do feel that kano and xiangfu should also get a part of this but con was the man that made it available to me !
Much appreciate the donation. Enjoy.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Turbor
Legendary
*
Offline Offline

Activity: 1008


BitMinter


View Profile WWW
March 31, 2012, 01:52:37 PM
 #4790

Icarus works fine now on Windows so my 5 BTC bounty goes to ckolivas. I do feel that kano and xiangfu should also get a part of this but con was the man that made it available to me !
Much appreciate the donation. Enjoy.

Thank you for the hard work !

JWU42
Legendary
*
Offline Offline

Activity: 1484


View Profile
March 31, 2012, 01:55:43 PM
 #4791

All - I am sure each of you could spare some BTC for the work conman and kanoi do.  My life is so much less hectic with CGminer!  It is truly set it and forget it software -- It just runs and runs...

148KkS2vgVi4VzUi4JcKzM2PMaMVPi3nnq is the donation address

I'll follow Turbor's lead and just sent 5.00001337  Wink






GPG PubKey | THREEMA | OTC | HeatWare | 1JWU42QLGFESoQCC4iPzUDTRiC9nx5bi95
kano
Legendary
*
Online Online

Activity: 1932


Linux since 1997 RedHat 4


View Profile
March 31, 2012, 03:30:02 PM
 #4792

Icarus works fine now on Windows so my 5 BTC bounty goes to ckolivas. I do feel that kano and xiangfu should also get a part of this but con was the man that made it available to me !
Nope, your bounty was for a working windows binary and ckolivas was the one who actually supplied it.
He should of course get it all.

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
April 01, 2012, 01:41:33 PM
 #4793

Small heads up. If you notice a hashrate drop in dynamic mode, you can tune  it with the

--gpu-dyninterval <arg> Set the refresh interval in ms for GPUs using dynamic intensity (default: 7)

parameter. The same exponential counter that adjusts hashrate display also affects detected dynamic speed changes and may affect your hashrate in dynamic mode on going to version 2.3.2.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
April 03, 2012, 12:10:41 AM
 #4794

I've downgraded to the 8.921 driver for my 7970 on linux. 12.2 would crash the 7970 at lower engine clocks than normal and 12.3 would introduce rare but occasional hardware errors on the 7970 and would spontaneously crash a 6970, taking the device with it and I'd need to cold boot the machine for the 6970 to reappear. 8.921 was the version that needed a manually edited xorg.conf and specific card order to work with 7970 and 6970 was mixed.

Way to go AMD..

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
kano
Legendary
*
Online Online

Activity: 1932


Linux since 1997 RedHat 4


View Profile
April 03, 2012, 05:38:21 AM
 #4795

I compiled Windows binaries from 2.3.2 sources, with --enable-icarus, now I'm getting

[2012-04-03 00:21:01] Started cgminer 2.3.2
[2012-04-03 00:21:09] Icarus Read: No data in 8 seconds
[2012-04-03 00:21:10] Icarus Detect: Test failed at com3: get 00000000, should: 063c5e0

I've tried all 5 cards, one at the time.  I get the above error for all 5 cards.


Most likely the windows USB driver for Prolific is the cause.
However, I don't have windows.
There was discussion about this in the Icarus thread about windows prolific driver versions but that's all I know about it.

Edit: the code opens the USB serial as: 115,200baud ...
But I've yet to hear anyone mention the port settings, unless you've changed them from default?

Aside: however Smiley
If anyone with an Icarus on windows and can compile cgminer ...
The version at the top of my git has some extra changes to icarus.c to improve LP handing.
(It's not in 2.3.2 coz I didn't manage to test on windows before the release)

The only change required is just icarus.c so you can grab it from my git and do a diff if you are unsure
My git is https://github.com/kanoi/cgminer and the top commit is "icarus.c reduce stales by aborting work on LP "

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
kano
Legendary
*
Online Online

Activity: 1932


Linux since 1997 RedHat 4


View Profile
April 03, 2012, 06:24:25 AM
 #4796

Thanks Kano.  I'll try your version tomorrow.
The diff between your version and Con's is that the read timeout is set to 100 msecs in your version, and it tries 80 times for total of 8 seconds.
Con's version has read timeout of 1 second, and 8 tries.  Same thing.
Careful, you might just actually miss the important change ... ... Tongue
(and Xiangfu re-wrote it based on an early version of bitforce.c - I just helped with a few bugs - Con didn't write that code)

My git aborts the job if it detects an LP
The reason for setting the timeout to 0.1 seconds is coz that's the minimum value with the current code.
That means it will waste at most 0.1 seconds of processing, not 1 second, before aborting due to an LP.

Look at all the changes when you do a diff and post about it please.

Edit: the line is
Code:
if (thr_id >= 0 && work_restart[thr_id].restart) {

Quote
I see two leds (out of three) to go off after write of "golden_ob" but nothing comes back in 8 seconds.
Should I increase the timeout to 10 seconds?
No, changing it to 10 seconds wont help.

That most likely means that the data sent wasn't correct, thus got messed up in the transfer somehow (driver? settings?)

Also, I've found a 'golden_ob' that takes less than 1ms that I'm going to change it to soon
(once I successfully determine the golden_ob value correctly Tongue)

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
DutchBrat
Hero Member
*****
Offline Offline

Activity: 868


View Profile
April 03, 2012, 03:04:08 PM
 #4797

I have been using CGMiner for almost 9  months now, no problems whatsoever.

Moved 2 miners to a different Windows XP-32 bit pc and all of a sudden it won't work anymore....

It's a 5830 and a 6770

I get the following windows-error when I run CGMiner or CGMiner -n:

"The procedure entry point GetLogicalProcessorInformation could not be located in the dynamic link library KERNEL32.dll"

Any advice ? Have un-re-installed both drivers and OpenCL/SDK

Brat
twmz
Hero Member
*****
Offline Offline

Activity: 737



View Profile
April 03, 2012, 03:41:03 PM
 #4798

I have been using CGMiner for almost 9  months now, no problems whatsoever.

Moved 2 miners to a different Windows XP-32 bit pc and all of a sudden it won't work anymore....

It's a 5830 and a 6770

I get the following windows-error when I run CGMiner or CGMiner -n:

"The procedure entry point GetLogicalProcessorInformation could not be located in the dynamic link library KERNEL32.dll"

Any advice ? Have un-re-installed both drivers and OpenCL/SDK

Brat

Upgrade your Windows.  GetLogicalProcessorInformation isn't available until Windows XP SP3. 

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
twmz
Hero Member
*****
Offline Offline

Activity: 737



View Profile
April 03, 2012, 04:40:49 PM
 #4799

Question: I only hooked up one card.  I'm getting ICA 0 and ICA 1 devices.
ICA 0 is getting 325-355 Mh/s average, ICA 1 is not getting any work. cgminer detects two ICA devices for each icarus card, right?

No, each card shows up as only one ICA device.  If you are seeing two and only actually have one, I think something is wrong with the auto-detection. 

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
DutchBrat
Hero Member
*****
Offline Offline

Activity: 868


View Profile
April 03, 2012, 04:55:04 PM
 #4800

Upgrade your Windows.  GetLogicalProcessorInformation isn't available until Windows XP SP3. 

That's embarrassing lol

Thanks
Pages: « 1 ... 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 [240] 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 ... 830 »
  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!