Bitcoin Forum
April 19, 2024, 05:20:34 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
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 ... 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5805205 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. (3 posts by 1+ user deleted.)
-ck (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1630


Ruu \o/


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

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

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
1713547234
Hero Member
*
Offline Offline

Posts: 1713547234

View Profile Personal Message (Offline)

Ignore
1713547234
Reply with quote  #2

1713547234
Report to moderator
1713547234
Hero Member
*
Offline Offline

Posts: 1713547234

View Profile Personal Message (Offline)

Ignore
1713547234
Reply with quote  #2

1713547234
Report to moderator
1713547234
Hero Member
*
Offline Offline

Posts: 1713547234

View Profile Personal Message (Offline)

Ignore
1713547234
Reply with quote  #2

1713547234
Report to moderator
"I'm sure that in 20 years there will either be very large transaction volume or no volume." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713547234
Hero Member
*
Offline Offline

Posts: 1713547234

View Profile Personal Message (Offline)

Ignore
1713547234
Reply with quote  #2

1713547234
Report to moderator
1713547234
Hero Member
*
Offline Offline

Posts: 1713547234

View Profile Personal Message (Offline)

Ignore
1713547234
Reply with quote  #2

1713547234
Report to moderator
1713547234
Hero Member
*
Offline Offline

Posts: 1713547234

View Profile Personal Message (Offline)

Ignore
1713547234
Reply with quote  #2

1713547234
Report to moderator
Krak
Hero Member
*****
Offline Offline

Activity: 591
Merit: 500



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

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 (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1630


Ruu \o/


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

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.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Krak
Hero Member
*****
Offline Offline

Activity: 591
Merit: 500



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

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

BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
Turbor
Legendary
*
Offline Offline

Activity: 1022
Merit: 1000


BitMinter


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

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 (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1630


Ruu \o/


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

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.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Turbor
Legendary
*
Offline Offline

Activity: 1022
Merit: 1000


BitMinter


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

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: 1666
Merit: 1000


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

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






kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
March 31, 2012, 03:30:02 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 !
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 - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
-ck (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1630


Ruu \o/


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

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.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
-ck (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1630


Ruu \o/


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

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..

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


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

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 - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


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

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 - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
DutchBrat
Hero Member
*****
Offline Offline

Activity: 868
Merit: 1000


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

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
Merit: 500



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

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
Merit: 500



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

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
Merit: 1000


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

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

That's embarrassing lol

Thanks
Epoch
Legendary
*
Offline Offline

Activity: 922
Merit: 1003



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

On a related note, how does cgminer react when an FPGA device (Icarus, Single, etc.) unexpectedly 'goes away' (due to USB cable coming loose, for example)? Does it wait for the device to re-appear and starts mining again? Does it quit? Does it do something else?

I ask because I've read elsewhere that the Ufasoft miner supports 'hot plugging' (at least for FPGAs; not sure about GPUs). That is you can attach, disconnect, and re-attach devices and Ufasoft will automatically add them to the mining chain as they come available (and removing them when they detach). It does this automatically without any user intervention. Seems like a very elegant (and useful) feature.

Just wondering if cgminer has similar behavior. I don't have an FPGA yet to test with. Does anyone have any experience with this?
The00Dustin
Hero Member
*****
Offline Offline

Activity: 807
Merit: 500


View Profile
April 03, 2012, 08:43:06 PM
 #4799

Not sure who pushes data to icarus port during boot, maybe it is windows...
I think you can add something like /noserialmice to boot.ini in WindowsXP to prevent that.  I don't remember if that is the right switch, but if you have XP, find the switches and you may solve the problem (not that flushing / clearing the buffer would be a bad thing to do in case something other than a Windows boot-up caused such a condition).  However, I wonder if doing this in cgminer could cause two mining applications to fight over the device.
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
April 03, 2012, 10:49:35 PM
Last edit: April 03, 2012, 11:01:19 PM by kano
 #4800

Well, the windows side seems to have a collection of issues it would seem caused by windows and the windows USB driver.
I've not tried windows with my git code (as I mentioned above)

However, I'd again suspect it is the USB driver that is causing the problems (but as usual I could be wrong)
The reason is that the basic USB code is the same for BFL and Icarus.
The difference between them is the USB driver.

The cgminer code differences between BLF and Icarus are of course how you process work on each (and my changes I've done for Icarus)
But the basic I/O is the same.

If the code is seeing 2 COM ports then you need to look at the USB device list in device manager and see if that is OK or not.
Is anyone else using Icarus on Windows?
On seconds thoughts ... I should point out the obvious before assuming the complex ...
My guess is you are asking for COM5 twice.
Probably: once on the command line and again in cgminer.conf ...
(or twice in one or other of those?)

Edit: As for clearing the buffer, I might try that with the new golden_ob - however, the issue with doing anything is how long it takes.
If it takes a few seconds then that is no good.
Even 1/10 of a second can be painful if there is other initialisation related to it:
e.g. Xiangfu has a setup with 41 Icarus and then suddenly it becomes minutes to start cgminer if each device is a couple of seconds to setup, and that of course is no good.
A hack/workaround to resolve something that is caused outside cgminer's control that can also be resolved by the cause, is a last resort, not an early consideration.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
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 ... 843 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!