NEWS 59 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265
  1. Version 2.2.4
  2. - Retain cl program after successfully loading a binary image. May decrease
  3. failures to build kernels at startup.
  4. - Variable unused after this so remove setting it.
  5. - BFI INT patching is not necessarily true on binary loading of files and not
  6. true on ATI SDK2.6+. Report bitalign instead.
  7. - Various string fixes for reject reason.
  8. - Generalize --temp-cutoff and implement support for reading temperature from
  9. BitFORCE FPGAs
  10. - Change message from recovered to alive since it is used on startup as well as
  11. when a pool has recovered.
  12. - Start mining as soon as any pool is found active and rely on the watchpool
  13. thread to bring up other pools.
  14. - Delayed responses from testing pools that are down can hold up the watchdog
  15. thread from getting to its device testing code, leading to false detection of
  16. the GPU not checking in, and can substantially delay auto gpu/auto fan
  17. management leading to overheating. Move pool watching to its own thread.
  18. - Bugfix: BitFORCE index needs to be static to count correctly
  19. - Space out retrieval of extra work according to the number of mining threads.
  20. - Make shutdown more robust. Enable the input thread only after the other
  21. threads exist. Don't kill off the workio thread and use it to exit main() only
  22. if there is an unexpected problem. Use kill_work() for all anticipated shutdowns
  23. where possible. Remove unused thread entry.
  24. - Change poclbm version number.
  25. - One array is faster than 2 separate arrays so change to that in poclbm kernel.
  26. - Microoptimisations to poclbm kernel which increase throughput slightly.
  27. - Import diablominer kernel. Currently disabled as not working.
  28. - Import diapolo kernel. Currently disabled as not working.
  29. - Conflicting entries of cl_kernel may have been causing problems, and
  30. automatically chosen kernel type was not being passed on. Rename the enum to
  31. cl_kernels and store the chosen kernel in each clState.
  32. - Set cl_amd_media_ops with the BITALIGN flag and allow non-bitselect devices to
  33. build.
  34. - ALlow much longer filenames for kernels to load properly.
  35. - Allow different kernels to be used by different devices and fix the logic fail
  36. of overcorrecting on last commit with !strstr.
  37. - Fix kernel selection process and build error.
  38. - queue_phatk_kernel now uses CL_SET_VARG() for base-nonce(s), too
  39. - added OpenCL >= 1.1 detection code, in preparation of OpenCL 1.1 global offset
  40. parameter support
  41. - Use K array explicitly to make it clear what is being added.
  42. - Work items have a tendency to expire at exactly the same time and we don't
  43. queue extra items when there are plenty in the queue, regardless of age. Allow
  44. extra work items to be queued if adequate time has passed since we last
  45. requested work even if over the limit.
  46. - Discard work when failover-only is enabled and the work has come from a
  47. different pool.
  48. - Missing include to build on newer mingw32.
  49. - Move from the thread safe localtime_r to regular localtime which is the only
  50. one supported on newer pthread libraries on mingw32 to make it compile with the
  51. newer ming. Thread safety is of no importance where localtime is used in this
  52. code.
  53. - Define in_addr_t in windows if required
  54. - sys/wait.h not required in windows
  55. - Allow API to restrict access by IP address
  56. - Add pool switching to example miner.php
  57. - Display X-Reject-Reason, when provided
  58. - Remove the test for whether the device is on the highest profil level before
  59. raising the GPU speed as it is ineffectual and may prevent raising the GPU
  60. speed.
  61. Version 2.2.3 - February 6, 2012
  62. - Revert "Rewrite the convoluted get_work() function to be much simpler and roll
  63. work as much as possible with each new work item." This seems to cause a race on
  64. work in free_work(). Presumably other threads are still accessing the structure.
  65. Version 2.2.2 - February 6, 2012
  66. - Provide support for the submitold extension on a per-pool basis based on the
  67. value being detected in a longpoll.
  68. - Don't send a ping to a dynamic device if it's not enabled as that will just
  69. enable it for one pass and then disable it again.
  70. - Rewrite the convoluted get_work() function to be much simpler and roll work as
  71. much as possible with each new work item.
  72. - Roll as much work as possible from the work returned from a longpoll.
  73. - Rolling work on each loop through the mining thread serves no purpose.
  74. - Allow to stage more than necessary work items if we're just rolling work.
  75. - Replace divide_work with reuse_work function used twice.
  76. - Give rolled work a new ID to make sure there is no confusion in the hashtable
  77. lookups.
  78. - Remove now-defunct hash_div variables.
  79. - Remove unused get_dondata function.
  80. - Silence ADL warnings.
  81. - Silence unused parameter warnings.
  82. - Stagger the restart of every next thread per device to keep devices busy ahead
  83. of accessory threads per device.
  84. - Deprecate the --donation feature. Needlessly complex, questionable usefulness,
  85. depends on author's server and a central pool of some kind, and was not heavily
  86. adopted.
  87. - It's devices that report back now, not threads, update message.
  88. - Continue auto-management of fan and engine speeds even if a device is disabled
  89. for safety reasons.
  90. - No need to check we're highest performance level when throttling GPU engine
  91. speed.
  92. - Abstract out tests for whether work has come from a block that has been seen
  93. before and whether a string is from a previously seen block.
  94. - Probe but don't set the timeout to 15 seconds as some networks take a long
  95. time to timeout.
  96. - Remove most compiler warnings from api.c
  97. - Add last share's pool info in cgpu_info
  98. - Allow the OpenCL platform ID to be chosen with --gpu-platform.
  99. - Iterate over all platforms displaying their information and number of devices
  100. when --ndevs is called.
  101. - Deprecate main.c
  102. - Some networks can take a long time to resolve so go back to 60 second timeouts
  103. instead of 15.
  104. - Only enable curses on failure if curses is desired.
  105. - Fix warnings in bitforce.c
  106. - Bugfix: Need to open BitForce tty for read-write
  107. - Fix various build issues.
  108. - Modularize code: main.c -> device-cpu + device-gpu
  109. - Fix phatk kernel not working on non-bitalign capable devices (Nvidia, older
  110. ATI).
  111. - Update poclbm kernel for better performance on GCN and new SDKs with bitalign
  112. support when not BFI INT patching. Update phatk kernel to work properly for non
  113. BFI INT patched kernels, providing support for phatk to run on GCN and non-ATI
  114. cards.
  115. - Return last accepted share pool/time for devices
  116. - Display accepted share pool/time for CPUs
  117. - Bug intensity always shows GPU 0
  118. - Update example web miner.php to use new API commands
  119. Version 2.2.1 - January 30, 2012
  120. NOTE - The GPU Device reordering in 2.2.0 by default was considered a bad idea
  121. so the original GPU ordering is used by default again unless reordering is
  122. explicitly requested.
  123. - Fix bitforce failing to build into cgminer.
  124. - Add missing options to write config function.
  125. - Add a --gpu-reorder option to only reorder devices according to PCI Bus ID
  126. when requested.
  127. - Fix for midstate support being broken on pools that supported no-midstate
  128. work by ensuring numbers are 32 bits in sha2.c
  129. - Set virtual GPUs to work when ADL is disabled or all mining will occur on GPU
  130. 0.
  131. - Add information about paused threads in the menu status.
  132. - Disable all but the first thread on GPUs in dynamic mode for better
  133. interactivity.
  134. - Set the latest network access time on share submission for --net-delay even if
  135. we're not delaying that submission for further network access.
  136. - Clear adl on exiting after probing values since it may attempt to overclock.
  137. - As share submission is usually staggered, and delays can be costly, submit
  138. shares without delay even when --net-delay is enabled.
  139. - Display GPU number and device name when ADL is successfully enabled on it.
  140. - Display GPU ordering remapping in verbose mode.
  141. - Don't fail in the case the number of ADL and OpenCL devices do not match, and
  142. do not attempt to reorder devices unless they match. Instead give a warning
  143. about
  144. - Display error codes should ADL not return ADL_OK in the more critical function
  145. calls.
  146. - Fix unused warning.
  147. - Fix compile warnings in api.c
  148. - Add extensive ADL based device info in debug mode.
  149. - Make --ndevs display verbose opencl information as well to make debugging
  150. version information easier.
  151. - Display information about the opencl platform with verbose enabled.
  152. - Explicitly check for nvidia in opencl platform strings as well.
  153. Version 2.2.0 - January 29, 2012
  154. NOTE: GPU Device order will change with this release with ATI GPUs as cgminer
  155. now can enumerate them according to their Bus ID which means the values should
  156. now correlate with their physical position on the motherboard.
  157. - Default to poclbm kernel on Tahiti (7970) since phatk does not work, even
  158. though performance is sub-standard so that at least it will mine successfully by
  159. defau
  160. - Retain cl program after every possible place we might build the program.
  161. - Update ADL SDK URL.
  162. - Fix potential overflow.
  163. - Map GPU devices to virtual devices in their true physical order based on
  164. BusNumber.
  165. - Change the warning that comes with failure to init cl on a device to be more
  166. generic and accurate.
  167. - Advertise longpoll support in X-Mining-Extensions
  168. - Detect dual GPU cards by iterating through all GPUs, finding ones without
  169. fanspeed and matching twins with fanspeed one bus ID apart.
  170. - Do not attempt to build the program that becomes the kernel twice. This could
  171. have been leading to failures on initialising cl.
  172. - Some opencl compilers have issues with no spaces after -D in the compiler
  173. options.
  174. - Allow intensity up to 14.
  175. - Use calloced stack memory for CompilerOptions to ensure sprintf writes to the
  176. beginning of the char.
  177. - Whitelist 79x0 cards to prefer no vectors as they perform better without.
  178. - Adjust fan speed gently while in the optimal range when temperature is
  179. drifting to minimise overshoot in either direction.
  180. - Detect dual GPU cards via the indirect information of - 1st card has a fan
  181. controller. 2nd card does not have a fan controller, cards share the same device
  182. name
  183. - Instead of using the BFI_INT patching hack on any device reporting
  184. cl_amd_media_ops, create a whitelist of devices that need it. This should enable
  185. GCN architec
  186. - Fixed API compiling issue on OS X
  187. - Add more explanation of JSON format and the 'save' command
  188. - Return an error if using ADL API commands when it's not available
  189. - Read off lpThermalControllerInfo from each ADL device.
  190. - Add ADL_Overdrive5_ThermalDevices_Enum interface.
  191. - Add API commands: config, switchpool, gpu settings, save
  192. - Implement socks4 proxy support.
  193. - Fix send() for JSON strings
  194. - Introduce a --net-delay option which guarantees at least 250ms between any
  195. networking requests to not overload slow routers.
  196. - Generalise locking init code.
  197. - Allow invalid values to be in the configuration file, just skipping over them
  198. provided the rest of the file is valid JSON. This will allow older configurat
  199. - Allow CPU mining explicitly enable only if other mining support is built in.
  200. - BitForce FPGA support
  201. - Configure out building and support of all CPU mining code unless
  202. --enable-cpumining is enabled.
  203. - Allow parsed values to be zero which will allow 0 values in the config file to
  204. work.
  205. - Advertise that we can make our own midstate, so the pool can skip generating
  206. it for us
  207. - Refactor the CPU scanhash_* functions to use a common API. Fixes bugs.
  208. - Don't consider a pool lagging if a request has only just been filed. This
  209. should decrease the false positives for "pool not providing work fast enough".
  210. - Invalidating work after longpoll made hash_pop return no work giving a false
  211. positive for dead pool. Rework hash_pop to retry while finds no staged work u
  212. - Remove TCP_NODELAY from curl options as many small packets may be contributing
  213. to network overload, when --net-delay is enabled.
  214. - Refactor miner_thread to be common code for any kind of device
  215. - Simplify submit_nonce loop and avoid potentially missing FOUND - 1 entry.
  216. Reported by Luke-Jr.
  217. - Micro-optimisation in sha256_sse2 code courtesy of Guido Ascioti
  218. guido.ascioti@gmail.com
  219. - Refactor to abstract device-specific code
  220. Version 2.1.2 - January 6, 2012
  221. - If api-description is specified, save it when writing the config file
  222. - Adjust utility width to be constant maximum as well.
  223. - Add percent signs to reject ratio outputs
  224. - Should the donation pool fail, don't make the fallover pool behave as though
  225. the primary pool is lagging.
  226. - Use an alternative pool should the donation getwork fail.
  227. Version 2.1.1 - January 1, 2012
  228. - Include API examples in distribution tarball.
  229. - Don't attempt to pthread_join when cancelling threads as they're already
  230. detached and doing so can lead to a segfault.
  231. - Give more generic message if slow pool at startup is the donation pool.
  232. - Continue to attempt restarting GPU threads if they're flagged dead at 1 min.
  233. intervals.
  234. - Don't attempt to restart sick flagged GPUs while they're still registering
  235. activity.
  236. - Make curl use fresh connections whenever there is any communication issue
  237. in case there are dead persistent connections preventing further comms from
  238. working.
  239. - Display pool in summary if only 1 pool.
  240. - Adjust column width of A/R/HW to be the maximum of any device and align them.
  241. Version 2.1.0 - December 27, 2011
  242. - Major infrastructure upgrade with RPC interface for controlling via sockets
  243. encoded with/without JSON courtesy of Andrew Smith. Added documentation for
  244. use of the API and sample code to use with it.
  245. - Updated linux-usb-cgminer document.
  246. - Rewrite of longpoll mechanism to choose the current pool wherever possible to
  247. use for the longpoll, or any pool that supports longpoll if the current one
  248. does not.
  249. - Display information about longpoll when the chosen server has changed.
  250. - Fix the bug where longpoll generated work may have been sent back to the
  251. wrong pool, causing rejects.
  252. - Fix a few race conditions on closing cgminer which caused some of the crashes
  253. on exit.
  254. - Only adjust gpu engine speed in autotune mode if the gpu is currently at the
  255. performance level of that being adjusted.
  256. - Various fixes for parsing/writing of configuration files.
  257. - Do not add blank lines for threads of unused CPUs.
  258. - Show which pool is unresponsive on startup.
  259. - Only show GPU management menu item if GPUs are in use.
  260. - Align most device columns in the curses display.
  261. Version 2.0.8 - November 11, 2011
  262. - Make longpoll do a mandatory flushing of all work even if the block hasn't
  263. changed, thus supporting longpoll initiated work change of any sort and merged
  264. mining.
  265. - Byteswap computed hash in hashtest so it can be correctly checked. This fixes
  266. the very rare possibility that a block solve on solo mining was missed.
  267. - Add x86_64 w64 mingw32 target
  268. - Allow a fixed speed difference between memory and GPU clock speed with
  269. --gpu-memdiff that will change memory speed when GPU speed is changed in
  270. autotune mode.
  271. - Don't load the default config if a config file is specified on the command
  272. line.
  273. - Don't build VIA on apple since -a auto bombs instead of gracefully ignoring
  274. VIA failing.
  275. - Build fix for dlopen/dlclose errors in glibc.
  276. Version 2.0.7 - October 17, 2011
  277. - Support work without midstate or hash1, which are deprecated in bitcoind 0.5+
  278. - Go to kernel build should we fail to clCreateProgramWithBinary instead of
  279. failing on that device. This should fix the windows problems with devices not
  280. initialising.
  281. - Support new configuration file format courtesy of Chris Savery which can write
  282. the config file from the menu and will load it on startup.
  283. - Write unix configuration to .cgminer/cgminer.conf by default and prompt to
  284. overwrite if given a filename from the menu that exists.
  285. Version 2.0.6 - October 9, 2011
  286. - Must initialise the donorpool mutex or it fails on windows.
  287. - Don't make donation work interfere with block change detection allowing
  288. donation to work regardless of the block chain we're mining on.
  289. - Expire shares as stale with a separate timeout from the scantime, defaulting
  290. to 120 seconds.
  291. - Retry pools after a delay of 15 seconds if none can be contacted on startup
  292. unless a key is pressed.
  293. - Don't try to build adl features without having adl.
  294. - Properly check shares against target difficulty - This will no longer show
  295. shares when solo mining at all unless they're considered to be a block solve.
  296. - Add altivec 4 way (cpu mining) support courtesy of Gilles Risch.
  297. - Try to use SSL if the server supports it.
  298. - Display the total solved blocks on exit (LOL if you're lucky).
  299. - Use ADL activity report to tell us if a sick GPU is still busy suggesting it
  300. is hard hung and do not attempt to restart it.
  301. Version 2.0.5 - September 27, 2011
  302. - Intensity can now be set to dynamic or static values per-device.
  303. - New donation feature --donation sends a proportion of shares to author's
  304. account of choice, but is disabled by default!
  305. - The hash being displayed and block detection has been fixed.
  306. - Devices not being mined on will not attempt to be ADL managed.
  307. - Intensity is now displayed per GPU device.
  308. - Make longpoll attempt to restart as often as opt_retries specifies.
  309. - We weren't rolling work as often as we could.
  310. - Correct some memory management issues.
  311. - Build fixes.
  312. - Don't mess with GPUs if we don't have them.
  313. Version 2.0.4 - September 23, 2011
  314. - Confused Longpoll messages should be finally fixed with cgminer knowing for
  315. sure who found the new block and possibly avoiding a rare crash.
  316. - Display now shows the actual hash and will say BLOCK! if a block is deemed
  317. solved.
  318. - Extra spaces, which would double space lines on small terminals, have been
  319. removed.
  320. - Fan speed change is now damped if it is already heading in the correct
  321. direction to minimise overshoot.
  322. - Building without opencl libraries is fixed.
  323. - GPUs are autoselected if there is only one when in the GPU management menu.
  324. - GPU menu is refreshed instead of returning to status after a GPU change.
  325. Version 2.0.3 - September 17, 2011
  326. - Various modes of failure to set fanspeeds and adl values have been addressed
  327. and auto-fan should work now on most hardware, and possibly other values
  328. which previously would not have worked.
  329. - Fixed a crash that can occur on switching pools due to longpoll thread races.
  330. - Use ATISTREAMSDKROOT if available at build time.
  331. - Fanspeed management is returned to the driver default on exit instead of
  332. whatever it was when cgminer was started.
  333. - Logging of events deemed WARNING or ERR now will display even during
  334. periods where menu input is being awaited on.
  335. Version 2.0.2 - September 11, 2011
  336. - Exit cleanly if we abort before various threads are set up or if they no
  337. longer exist.
  338. - Fix a rare crash in HASH_DEL due to using different mutexes to protect the
  339. data.
  340. - Flag devices that have never started and don't allow enabling of devices
  341. without restarting them.
  342. - Only force the adapter speed to high if we've flagged this device as being
  343. managed.
  344. - Flag any devices with autofan or autogpu as being managed.
  345. - Use a re-entrant value to store what fanspeed we're trying to set in case the
  346. card doesn't support small changes. Force it to a multiple of 10% if it
  347. fails on trying to speed up the fan.
  348. - Do not bother resetting values to old ones if changes to GPU parameters report
  349. failure, instead returning a failure code only if the return value from get()
  350. differs.
  351. - Remove redundant check.
  352. - Only display supported values from fanspeed on change settings.
  353. - Missing bracket from output.
  354. - Display fan percentage on devices that only support reporting percent and not
  355. RPM.
  356. - Properly substitute DLOPEN flags to build with ADL support when -ldl is needed
  357. and not when opencl is not found.
  358. Version 2.0.1 - September 9, 2011
  359. - Fix building on 32bit glibc with dlopen with -lpthread and -ldl
  360. - ByteReverse is not used and the bswap opcode breaks big endian builds. Remove
  361. it.
  362. - Ignore whether the display is active or not since only display enabled devices
  363. work this way, and we skip over repeat entries anwyay.
  364. - Only reset values on exiting if we've ever modified them.
  365. - Flag adl as active if any card is successfully activated.
  366. - Add a thermal cutoff option as well and set it to 95 degrees by default.
  367. - Change the fan speed by only 5% if it's over the target temperature but less
  368. than the hysteresis value to minimise overshoot down in temperature.
  369. - Add a --no-adl option to disable ADL monitoring and GPU settings.
  370. - Only show longpoll received delayed message at verbose level.
  371. - Allow temperatures greater than 100 degrees.
  372. - We should be passing a float for the remainder of the vddc values.
  373. - Implement accepting a range of engine speeds as well to allow a lower limit to
  374. be specified on the command line.
  375. - Allow per-device fan ranges to be set and use them in auto-fan mode.
  376. - Display which GPU has overheated in warning message.
  377. - Allow temperature targets to be set on a per-card basis on the command line.
  378. - Display fan range in autofan status.
  379. - Setting the hysteresis is unlikely to be useful on the fly and doesn't belong
  380. in the per-gpu submenu.
  381. - With many cards, the GPU summaries can be quite long so use a terse output
  382. line when showing them all.
  383. - Use a terser device status line to show fan RPM as well when available.
  384. - Define max gpudevices in one macro.
  385. - Allow adapterid 0 cards to enumerate as a device as they will be non-AMD
  386. cards, and enable ADL on any AMD card.
  387. - Do away with the increasingly confusing and irrelevant total queued and
  388. efficiency measures per device.
  389. - Only display values in the log if they're supported and standardise device log
  390. line printing.
  391. Version 2.0.0 - September 6, 2011
  392. Major feature upgrade - GPU monitoring, (over)clocking and fan control for ATI
  393. GPUs.
  394. New command line switches:
  395. --auto-fan- Automatically adjust all GPU fan speeds to maintain a target
  396. temperature
  397. --auto-gpu- Automatically adjust all GPU engine clock speeds to maintain
  398. a target temperature
  399. --gpu-engine <arg> Set the GPU engine (over)clock in Mhz - one value for all or
  400. separate by commas for per card.
  401. --gpu-fan <arg> Set the GPU fan percentage - one value for all or separate
  402. by commas for per card.
  403. --gpu-memclock <arg> Set the GPU memory (over)clock in Mhz - one value for all
  404. or separate by commas for per card.
  405. --gpu-powertune <arg> Set the GPU powertune percentage - one value for all or
  406. separate by commas for per card.
  407. --gpu-vddc <arg> Set the GPU voltage in Volts - one value for all or separate
  408. by commas for per card.
  409. --temp-hysteresis <arg> Set how much the temperature can fluctuate outside
  410. limits when automanaging speeds (default: 3)
  411. --temp-overheat <arg> Set the overheat temperature when automatically managing
  412. fan and GPU speeds (default: 85)
  413. --temp-target <arg> Set the target temperature when automatically managing fan
  414. and GPU speeds (default: 75)
  415. - Implement ATI ADL support for GPU parameter monitoring now and setting later
  416. (temp, fan, clocks etc.).
  417. - Check for the presence of the ADL header files in ADL_SDK.
  418. - Import adl_functions.h from amd overdrive ctrl.
  419. - Implement a setup function that tries to detect GPUs that support the ADL and
  420. link in the parameters into the gpus struct.
  421. - Put a summary of monitoring information from the GPU menu.
  422. - Implement changing memory speed and voltage on the fly.
  423. - Implement fan speed setting.
  424. - Minor corrections to set fan speed by percentage.
  425. - Make sure to read off the value in RPM only.
  426. - Implement auto fanspeed adjustment to maintain a target temperature and
  427. fanspeed below 85%, with an overheat check that will speed the fan up to 100%.
  428. - Add an --auto-fan command line option to allow all GPUs to have autofan
  429. enabled from startup.
  430. - Add a gpu autotune option which adjusts GPU speed to maintain a target
  431. temperature within the bounds of the default GPU speed and any overclocking set.
  432. - Avoid a dereference if the longpoll thread doesn't exist.
  433. - Clean up by setting performance profiles and fan settings to startup levels on
  434. exit.
  435. - Add a small amount of hysteresis before lowering clock speed.
  436. - Allow target, overheat and hysteresis temperatures to be set from command
  437. line.
  438. - Combine all stats collating into one function to avoid repeating function
  439. calls on each variable.
  440. - Add gpu statistics to debugging output via the watchdog thread.
  441. - Implement menus to change temperature limits.
  442. - Implement setting the GPU engine clock speed of all devices or each device as
  443. a comma separated value.
  444. - Implement setting the GPU memory clock speed of all devices or each device as
  445. a comma separated value.
  446. - Implement setting the GPU voltage of all devices or each device as a comma
  447. separated value.
  448. - Implement setting the GPU fan speed of all devices or each device as a comma
  449. separated value.
  450. - Add support for monitoring powertune setting.
  451. - Implement changing of powertune value from the GPU change settings menu.
  452. - Get the value of powertune in get_stats.
  453. - Implement setting the GPU powertune value of all devices or each device as a
  454. comma separated value.
  455. - Remove the safety checks in speed setting since confirmation is done first in
  456. the menu, then show the new current values after a short pause.
  457. - Force the speed to high on startup and restore it to whatever the setting was
  458. on exit.
  459. - Add temperature to standard output where possible and use more compact output.
  460. - Move and print at the same time in curses to avoid random trampling display
  461. errors.
  462. - Update the status window only from the watchdog thread, do not rewrite the top
  463. status messages and only refresh once all the status window is complete,
  464. clearing the window each time to avoid corruption.
  465. - Set a safe starting fan speed if we're automanaging the speeds.
  466. - Provide locking around all adl calls to prevent races.
  467. - Lower profile settings cannot be higher than higher profile ones so link any
  468. drops in settings.
  469. - Add new needed text files to distribution.
  470. - Queue requests ignoring the number of staged clones since they get discarded
  471. very easily leading to false positives for pool not providing work fast enough.
  472. - Include libgen.h in opt.c to fix win32 compilation warnings.
  473. - Fix compilation warning on win32.
  474. - Add the directory name from the arguments cgminer was called from as well to
  475. allow it running from a relative pathname.
  476. - Add a --disable-adl option to configure and only enable it if opencl support
  477. exists.
  478. - Retry before returning a failure to get upstream work as a failure to avoid
  479. false positives for pool dead.
  480. - Retry also if the decoding of work fails.
  481. - Use the presence of X-Roll-Ntime in the header as a bool for exists unless N
  482. is found in the response.
  483. Version 1.6.2 - September 2, 2011
  484. - Add --failover-only option to not leak work to backup pools when the primary
  485. pool is lagging.
  486. - Change recommendation to intensity 9 for dedicated miners.
  487. - Fix the bouncing short term value by allowing it to change dynamically when
  488. the latest value is very different from the rolling value, but damp the change
  489. when it gets close.
  490. - Use the curses_lock to protect the curses_active variable and test it under
  491. lock.
  492. - Go back to requesting work 2/3 of the way through the current scantime with
  493. CPU mining as reports of mining threads running out of work have occurred with
  494. only 5 seconds to retrieve work.
  495. - Add start and stop time scheduling for regular time of day running or once off
  496. start/stop options.
  497. - Print summary on quit modes.
  498. - Put some sanity checks on the times that can be input.
  499. - Give a verbose message when no active pools are found and pause before
  500. exiting.
  501. - Add verbose message when a GPU fails to initialise, and disable the correct
  502. GPU.
  503. - Cryptopp asm32 was not correctly updated to the incremental nonce code so the
  504. hash counter was bogus.
  505. - Get rid of poorly executed curl check.
  506. - If curl does not have sockopts, do not try to compile the
  507. json_rpc_call_sockopt_cb function, making it possible to build against older
  508. curl libraries.
  509. - Most people expect /usr/local when an unspecified prefix is used so change to
  510. that.
  511. - Rename localgen occasions to getwork fail occasions since localgen is
  512. unrelated now.
  513. Version 1.6.1 - August 29, 2011
  514. - Copy cgminer path, not cat it.
  515. - Switching between redrawing windows does not fix the crash with old
  516. libncurses, so redraw both windows, but only when the window size hasn't
  517. changed.
  518. - Reinstate minimum 1 extra in queue to make it extremely unlikely to ever have
  519. 0 staged work items and any idle time.
  520. - Return -1 if no input is detected from the menu to prevent it being
  521. interpreted as a 0.
  522. - Make pthread, libcurl and libcurses library checks mandatory or fail.
  523. - Add a --disable-opencl configure option to make it possible to override
  524. detection of opencl and build without GPU mining support.
  525. - Confusion over the variable name for number of devices was passing a bogus
  526. value which likely was causing the zero sized binary issue.
  527. - cgminer no longer supports default url user and pass so remove them.
  528. - Don't show value of intensity since it's dynamic by default.
  529. - Add options to explicitly enable CPU mining or disable GPU mining.
  530. - Convert the opt queue into a minimum number of work items to have queued
  531. instead of an extra number to decrease risk of getting idle devices without
  532. increasing risk of higher rejects.
  533. - Statify tv_sort.
  534. - Check for SSE2 before trying to build 32 bit SSE2 assembly version. Prevents
  535. build failure when yasm is installed but -msse2 is not specified.
  536. - Add some defines to configure.ac to enable exporting of values and packaging,
  537. and clean up output.
  538. - Give convenient summary at end of ./configure.
  539. - Display version information and add --version command line option, and make
  540. sure we flush stdout.
  541. - Enable curses after the mining threads are set up so that failure messages
  542. won't be lost in the curses interface.
  543. - Disable curses after inputting a pool if we requested no curses interface.
  544. - Add an option to break out after successfully mining a number of accepted
  545. shares.
  546. - Exit with a failed return code if we did not reach opt_shares.
  547. - The cpu mining work data can get modified before we copy it if we submit it
  548. async, and the sync submission is not truly sync anyway, so just submit it sync.
  549. Version 1.6.0 - August 26, 2011
  550. - Make restarting of GPUs optional for systems that hang on any attempt to
  551. restart them. Fix DEAD status by comparing it to last live time rather than
  552. last attempted restart time since that happens every minute.
  553. - Move staged threads to hashes so we can sort them by time.
  554. - Create a hash list of all the blocks created and search them to detect when a
  555. new block has definitely appeared, using that information to detect stale work
  556. and discard it.
  557. - Update configure.ac for newer autoconf tools.
  558. - Use the new hashes directly for counts instead of the fragile counters
  559. currently in use.
  560. - Update to latest sse2 code from cpuminer-ng.
  561. - Allow LP to reset block detect and block detect lp flags to know who really
  562. came first.
  563. - Get start times just before mining begins to not have very slow rise in
  564. average.
  565. - Add message about needing one server.
  566. - We can queue all the necessary work without hitting frequent stales now with
  567. the time and string stale protection active all the time. This prevents a
  568. pool being falsely labelled as not providing work fast enough.
  569. - Include uthash.h in distro.
  570. - Implement SSE2 32 bit assembly algorithm as well.
  571. - Fail gracefully if unable to open the opencl files.
  572. - Make cgminer look in the install directory for the .cl files making make
  573. install work correctly.
  574. - Allow a custom kernel path to be entered on the command line.
  575. - Bump threshhold for lag up to maximum queued but no staged work.
  576. - Remove fragile source patching for bitalign, vectors et. al and simply pass it
  577. with the compiler options.
  578. - Actually check the value returned for the x-roll-ntime extension to make sure
  579. it isn't saying N.
  580. - Prevent segfault on exit for when accessory threads don't exist.
  581. - Disable curl debugging with opt protocol since it spews to stderr.
  582. Version 1.5.8 - August 23, 2011
  583. - Minimise how much more work can be given in cpu mining threads each interval.
  584. - Make the fail-pause progressively longer each time it fails until the network
  585. recovers.
  586. - Only display the lagging message if we've requested the work earlier.
  587. - Clean up the pool switching to not be dependent on whether the work can roll
  588. or not by setting a lagging flag and then the idle flag.
  589. - Only use one thread to determine if a GPU is sick or well, and make sure to
  590. reset the sick restart attempt time.
  591. - The worksize was unintentionally changed back to 4k by mistake, this caused a
  592. slowdown.
  593. Version 1.5.7 - August 22, 2011
  594. - Fix a crash with --algo auto
  595. - Test at appropriate target difficulty now.
  596. - Add per-device statics log output with --per-device-stats
  597. - Fix breakage that occurs when 1 or 4 vectors are chosen on new phatk.
  598. - Make rolltime report debug level only now since we check it every work
  599. item.
  600. - Add the ability to enable/disable per-device stats on the fly and match
  601. logging on/off.
  602. - Explicitly tell the compiler to retain the program to minimise the chance of
  603. the zero sized binary errors.
  604. - Add one more instruction to avoid one branch point in the common path in the
  605. cl return code. Although this adds more ALUs overall and more branch points, the
  606. common path code has the same number of ALUs and one less jmp, jmps being more
  607. expensive.
  608. - Explicitly link in ws2_32 on the windows build and update README file on how
  609. to compile successfully on windows.
  610. - Release cl resources should the gpu mining thread abort.
  611. - Attempt to restart a GPU once every minute while it's sick.
  612. - Don't kill off the reinit thread if it fails to init a GPU but returns safely.
  613. - Only declare a GPU dead if there's been no sign of activity from the reinit
  614. thread for 10 mins.
  615. - Never automatically disable any pools but just specify them as idle if they're
  616. unresponsive at startup.
  617. - Use any longpoll available, and don't disable it if switching to a server that
  618. doesn't have it. This allows you to mine solo, yet use the longpoll from a pool
  619. even if the pool is the backup server.
  620. - Display which longpoll failed and don't free the ram for lp_url since it
  621. belongs to the pool hdr path.
  622. - Make the tcp setsockopts unique to linux in the hope it allows freebsd et. al
  623. to compile.
  624. Version 1.5.6 - August 17, 2011
  625. - New phatk and poclbm kernels. Updated phatk to be in sync with latest 2.2
  626. courtesy of phateus. Custom modified to work best with cgminer.
  627. - Updated output buffer code to use a smaller buffer with the kernels.
  628. - Clean up the longpoll management to ensure the right paths go to the right
  629. pool and display whether we're connected to LP or not in the status line.
  630. Version 1.5.5 - August 16, 2011
  631. - Rework entirely the GPU restart code. Strike a balance between code that
  632. re-initialises the GPU entirely so that soft hangs in the code are properly
  633. managed, but if a GPU is completely hung, the thread restart code fails
  634. gracefully, so that it does not take out any other code or devices. This will
  635. allow cgminer to keep restarting GPUs that can be restarted, but continue
  636. mining even if one or more GPUs hangs which would normally require a reboot.
  637. - Add --submit-stale option which submits all shares, regardless of whether they
  638. would normally be considered stale.
  639. - Keep options in alphabetical order.
  640. - Probe for slightly longer for when network conditions are lagging.
  641. - Only display the CPU algo when we're CPU mining.
  642. - As we have keepalives now, blaming network flakiness on timeouts appears to
  643. have been wrong. Set a timeout for longpoll to 1 hour, and most other
  644. network connectivity to 1 minute.
  645. - Simplify output code and remove HW errors from CPU stats.
  646. - Simplify code and tidy output.
  647. - Only show cpu algo in summary if cpu mining.
  648. - Log summary at the end as per any other output.
  649. - Flush output.
  650. - Add a linux-usb-cgminer guide courtesy of Kano.
  651. Version 1.5.4 - August 14, 2011
  652. - Add new option: --monitor <cmd> Option lets user specify a command <cmd> that
  653. will get forked by cgminer on startup. cgminer's stderr output subsequently gets
  654. piped directly to this command.
  655. - Allocate work from one function to be able to initialise variables added
  656. later.
  657. - Add missing fflush(stdout) for --ndevs and conclusion summary.
  658. - Preinitialise the devices only once on startup.
  659. - Move the non cl_ variables into the cgpu info struct to allow creating a new
  660. cl state on reinit, preserving known GPU variables.
  661. - Create a new context from scratch in initCQ in case something was corrupted to
  662. maximise our chance of succesfully creating a new worker thread. Hopefully this
  663. makes thread restart on GPU failure more reliable, without hanging everything
  664. in the case of a completely wedged GPU.
  665. - Display last initialised time in gpu management info, to know if a GPU has
  666. been re-initialised.
  667. - When pinging a sick cpu, flush finish and then ping it in a separate thread in
  668. the hope it recovers without needing a restart, but without blocking code
  669. elsewhere.
  670. - Only consider a pool lagging if we actually need the work and we have none
  671. staged despite queue requests stacking up. This decreases significantly the
  672. amount of work that leaks to the backup pools.
  673. - The can_roll function fails inappropriately in stale_work.
  674. - Only put the message that a pool is down if not pinging it every minute. This
  675. prevents cgminer from saying pool down at 1 minute intervals unless in debug
  676. mode.
  677. - Free all work in one place allowing us to perform actions on it in the future.
  678. - Remove the extra shift in the output code which was of dubious benefit. In
  679. fact in cgminer's implementation, removing this caused a miniscule speedup.
  680. - Test each work item to see if it can be rolled instead of per-pool and roll
  681. whenever possible, adhering to the 60 second timeout. This makes the period
  682. after a longpoll have smaller dips in throughput, as well as requiring less
  683. getworks overall thus increasing efficiency.
  684. - Stick to rolling only work from the current pool unless we're in load balance
  685. mode or lagging to avoid aggressive rolling imitating load balancing.
  686. - If a work item has had any mining done on it, don't consider it discarded
  687. work.
  688. Version 1.5.3 - July 30, 2011
  689. - Significant work went into attempting to make the thread restart code robust
  690. to identify sick threads, tag them SICK after 1 minute, then DEAD after 5
  691. minutes of inactivity and try to restart them. Instead of re-initialising the
  692. GPU completely, only a new cl context is created to avoid hanging the rest of
  693. the GPUs should the dead GPU be hung irrevocably.
  694. - Use correct application name in syslog.
  695. - Get rid of extra line feeds.
  696. - Use pkg-config to check for libcurl version
  697. - Implement per-thread getwork count with proper accounting to not over-account
  698. queued items when local work replaces it.
  699. - Create a command queue from the program created from source which allows us
  700. to flush the command queue in the hope it will not generate a zero sized binary
  701. any more.
  702. - Be more willing to get work from the backup pools if the work is simply being
  703. queued faster than it is being retrieved.
  704. Version 1.5.2 - July 28, 2011
  705. - Restarting a hung GPU can hang the rest of the GPUs so just declare it dead
  706. and provide the information in the status.
  707. - The work length in the miner thread gets smaller but doesn't get bigger if
  708. it's under 1 second. This could end up leading to CPU under-utilisation and
  709. lower and lower hash rates. Fix it by increasing work length if it drops
  710. under 1 second.
  711. - Make the "quiet" mode still update the status and display errors, and add a
  712. new --real-quiet option which disables all output and can be set once while
  713. running.
  714. - Update utility and efficiency figures when displaying them.
  715. - Some Intel HD graphics support the opencl commands but return errors since
  716. they don't support opencl. Don't fail with them, just provide a warning and
  717. disable GPU mining.
  718. - Add http:// if it's not explicitly set for URL entries.
  719. - Log to the output file at any time with warnings and errors, instead of just
  720. when verbose mode is on.
  721. - Display the correct current hash as per blockexplorer, truncated to 16
  722. characters, with just the time.
  723. Version 1.5.1 - July 27, 2011
  724. - Two redraws in a row cause a crash in old libncurses so just do one redraw
  725. using the main window.
  726. - Don't adjust hash_div only up for GPUs. Disable hash_div adjustment for GPUs.
  727. - Only free the thread structures if the thread still exists.
  728. - Update both windows separately, but not at the same time to prevent the double
  729. refresh crash that old libncurses has. Do the window resize check only when
  730. about to redraw the log window to minimise ncurses cpu usage.
  731. - Abstract out the decay time function and use it to make hash_div a rolling
  732. average so it doesn't change too abruptly and divide work in chunks large enough
  733. to guarantee they won't overlap.
  734. - Sanity check to prove locking.
  735. - Don't take more than one lock at a time.
  736. - Make threads report out when they're queueing a request and report if they've
  737. failed.
  738. - Make cpu mining work submission asynchronous as well.
  739. - Properly detect stale work based on time from staging and discard instead of
  740. handing on, but be more lax about how long work can be divided for up to the
  741. scantime.
  742. - Do away with queueing work separately at the start and let each thread grab
  743. its own work as soon as it's ready.
  744. - Don't put an extra work item in the queue as each new device thread will do so
  745. itself.
  746. - Make sure to decrease queued count if we discard the work.
  747. - Attribute split work as local work generation.
  748. - If work has been cloned it is already at the head of the list and when being
  749. reinserted into the queue it should be placed back at the head of the list.
  750. - Dividing work is like the work is never removed at all so treat it as such.
  751. However the queued bool needs to be reset to ensure we *can* request more work
  752. even if we didn't initially.
  753. - Make the display options clearer.
  754. - Add debugging output to tq_push calls.
  755. - Add debugging output to all tq_pop calls.
  756. Version 1.5.0 - July 26, 2011
  757. - Increase efficiency of slow mining threads such as CPU miners dramatically. Do
  758. this by detecting which threads cannot complete searching a work item within the
  759. scantime and then divide up a work item into multiple smaller work items.
  760. Detect the age of the work items and if they've been cloned before to prevent
  761. doing the same work over. If the work is too old to be divided, then see if it
  762. can be time rolled and do that to generate work. This dramatically decreases the
  763. number of queued work items from a pool leading to higher overall efficiency
  764. (but the same hashrate and share submission rate).
  765. - Don't request work too early for CPUs as CPUs will scan for the full
  766. opt_scantime anyway.
  767. - Simplify gpu management enable/disable/restart code.
  768. - Implement much more accurate rolling statistics per thread and per gpu and
  769. improve accuracy of rolling displayed values.
  770. - Make the rolling log-second average more accurate.
  771. - Add a menu to manage GPUs on the fly allowing you to enable/disable GPUs or
  772. try restarting them.
  773. - Keep track of which GPUs are alive versus enabled.
  774. - Start threads for devices that are even disabled, but don't allow them to
  775. start working.
  776. - The last pool is when we are low in total_pools, not active_pools.
  777. - Make the thread restart do a pthread_join after disabling the device, only
  778. re-enabling it if we succeed in restarting the thread. Do this from a separate
  779. thread so as to not block any other code.This will allow cgminer to continue
  780. even if one GPU hangs.
  781. - Try to do every curses manipulation under the curses lock.
  782. - Only use the sockoptfunction if the version of curl is recent enough.
  783. Version 1.4.1 - July 24, 2011
  784. - Do away with GET for dealing with longpoll forever. POST is the one that works
  785. everywhere, not the other way around.
  786. - Detect when the primary pool is lagging and start queueing requests on backup
  787. pools if possible before needing to roll work.
  788. - Load balancing puts more into the current pool if there are disabled pools.
  789. Fix.
  790. - Disable a GPU device should the thread fail to init.
  791. - Out of order command queue may fail on osx. Try without if it fails.
  792. - Fix possible dereference on blank inputs during input_pool.
  793. - Defines missing would segfault on --help when no sse mining is built in.
  794. - Revert "Free up resources/stale compilers." - didn't help.
  795. - Only try to print the status of active devices or it would crash.
  796. - Some hardware might benefit from the less OPS so there's no harm in leaving
  797. kernel changes that do that apart from readability of the code.
  798. Version 1.4.0 - July 23, 2011
  799. - Feature upgrade: Add keyboard input during runtime to allow modification of
  800. and viewing of numerous settings such as adding/removing pools, changing
  801. multipool management strategy, switching pools, changing intensiy, verbosity,
  802. etc. with a simple keypress menu system.
  803. - Free up resources/stale compilers.
  804. - Kernels are safely flushed in a way that allows out of order execution to
  805. work.
  806. - Sometimes the cl compiler generates zero sized binaries and only a reboot
  807. seems to fix it.
  808. - Don't try to stop/cancel threads that don't exist.
  809. - Only set option to show devices and exit if built with opencl support.
  810. - Enable curses earlier and exit with message in main for messages to not be
  811. lost in curses windows.
  812. - Make it possible to enter server credentials with curses input if none are
  813. specified on the command line.
  814. - Abstract out a curses input function and separate input pool function to allow
  815. for live adding of pools later.
  816. - Remove the nil arguments check to allow starting without parameters.
  817. - Disable/enable echo & cbreak modes.
  818. - Add a thread that takes keyboard input and allow for quit, silent, debug,
  819. verbose, normal, rpc protocol debugging and clear screen options.
  820. - Add pool option to input and display current pool status, pending code to
  821. allow live changes.
  822. - Add a bool for explicit enabling/disabling of pools.
  823. - Make input pool capable of bringing up pools while running.
  824. - Do one last check of the work before submitting it.
  825. - Implement the ability to live add, enable, disable, and switch to pools.
  826. - Only internally test for block changes when the work matches the current pool
  827. to prevent interleaved block change timing on multipools.
  828. - Display current pool management strategy to enable changing it on the fly.
  829. - The longpoll blanking of the current_block data may not be happening before
  830. the work is converted and appears to be a detected block change. Blank the
  831. current block be
  832. - Make --no-longpoll work again.
  833. - Abstract out active pools count.
  834. - Allow the pool strategy to be modified on the fly.
  835. - Display pool information on the fly as well.
  836. - Add a menu and separate out display options.
  837. - Clean up the messy way the staging thread communicates with the longpoll
  838. thread to determine who found the block first.
  839. - Make the input windows update immediately instead of needing a refresh.
  840. - Allow log interval to be set in the menu.
  841. - Allow scan settings to be modified at runtime.
  842. - Abstract out the longpoll start and explicitly restart it on pool change.
  843. - Make it possible to enable/disable longpoll.
  844. - Set priority correctly on multipools. Display priority and alive/dead
  845. information in display_pools.
  846. - Implement pool removal.
  847. - Limit rolltime work generation to 10 iterations only.
  848. - Decrease testing log to info level.
  849. - Extra refresh not required.
  850. - With huge variation in GPU performance, allow intensity to go from -10 to +10.
  851. - Tell getwork how much of a work item we're likely to complete for future
  852. splitting up of work.
  853. - Remove the mandatory work requirement at startup by testing for invalid work
  854. being passed which allows for work to be queued immediately. This also
  855. removes the requirem
  856. - Make sure intensity is carried over to thread count and is at least the
  857. minimum necessary to work.
  858. - Unlocking error on retry. Locking unnecessary anyway so remove it.
  859. - Clear log window from consistent place. No need for locking since logging is
  860. disabled during input.
  861. - Cannot print the status of threads that don't exist so just queue enough work
  862. for the number of mining threads to prevent crash with -Q N.
  863. - Update phatk kernel to one with new parameters for slightly less overhead
  864. again. Make the queue kernel parameters call a function pointer to select
  865. phatk or poclbm.
  866. - Make it possible to select the choice of kernel on the command line.
  867. - Simplify the output part of the kernel. There's no demonstrable advantage from
  868. more complexity.
  869. - Merge pull request #18 from ycros/cgminer
  870. - No need to make leaveok changes win32 only.
  871. - Build support in for all SSE if possible and only set the default according to
  872. machine capabilities.
  873. - Win32 threading and longpoll keepalive fixes.
  874. - Win32: Fix for mangled output on the terminal on exit.
  875. Version 1.3.1 - July 20, 2011
  876. - Feature upgrade; Multiple strategies for failover. Choose from default which
  877. now falls back to a priority order from 1st to last, round robin which only
  878. changes pools when one is idle, rotate which changes pools at user-defined
  879. intervals, and load-balance which spreads the work evenly amongst all pools.
  880. - Implement pool rotation strategy.
  881. - Implement load balancing algorithm by rotating requests to each pool.
  882. - Timeout on failed discarding of staged requests.
  883. - Implement proper flagging of idle pools, test them with the watchdog thread,
  884. and failover correctly.
  885. - Move pool active test to own function.
  886. - Allow multiple strategies to be set for multipool management.
  887. - Track pool number.
  888. - Don't waste the work items queued on testing the pools at startup.
  889. - Reinstate the mining thread watchdog restart.
  890. - Add a getpoll bool into the thread information and don't restart threads stuck
  891. waiting on work.
  892. - Rename the idlenet bool for the pool for later use.
  893. - Allow the user/pass userpass urls to be input in any order.
  894. - When json rpc errors occur they occur in spits and starts, so trying to limit
  895. them with the comms error bool doesn't stop a flood of them appearing.
  896. - Reset the queued count to allow more work to be queued for the new pool on
  897. pool switch.
  898. Version 1.3.0 - July 19, 2011
  899. - Massive infrastructure update to support pool failover.
  900. - Accept multiple parameters for url, user and pass and set up structures of
  901. pool data accordingly.
  902. - Probe each pool for what it supports.
  903. - Implement per pool feature support according to rolltime support as
  904. advertised by server.
  905. - Do switching automatically based on a 300 second timeout of locally generated
  906. work or 60 seconds of no response from a server that doesn't support rolltime.
  907. - Implement longpoll server switching.
  908. - Keep per-pool data and display accordingly.
  909. - Make sure cgminer knows how long the pool has actually been out for before
  910. deeming it a prolonged outage.
  911. - Fix bug with ever increasing staged work in 1.2.8 that eventually caused
  912. infinite rejects.
  913. - Make warning about empty http requests not show by default since many
  914. servers do this regularly.
  915. Version 1.2.8 - July 18, 2011
  916. - More OSX build fixes.
  917. - Add an sse4 algorithm to CPU mining.
  918. - Fix CPU mining with other algorithms not working.
  919. - Rename the poclbm file to ensure a new binary is built since.
  920. - We now are guaranteed to have one fresh work item after a block change and we
  921. should only discard staged requests.
  922. - Don't waste the work we retrieve from a longpoll.
  923. - Provide a control lock around global bools to avoid racing on them.
  924. - Iterating over 1026 nonces when confirming data from the GPU is old code
  925. and unnecessary and can lead to repeats/stales.
  926. - The poclbm kernel needs to be updated to work with the change to 4k sized
  927. output buffers.
  928. - longpoll seems to work either way with post or get but some servers prefer
  929. get so change to httpget.
  930. Version 1.2.7 - July 16, 2011
  931. - Show last 8 characters of share submitted in log.
  932. - Display URL connected to and user logged in as in status.
  933. - Display current block and when it was started in the status line.
  934. - Only pthread_join the mining threads if they exist as determined by
  935. pthread_cancel and don't fail on pthread_cancel.
  936. - Create a unique work queue for all getworks instead of binding it to thread 0
  937. to avoid any conflict over thread 0's queue.
  938. - Clean up the code to make it clear it's watchdog thread being messaged to
  939. restart the threads.
  940. - Check the current block description hasn't been blanked pending the real
  941. new current block data.
  942. - Re-enable signal handlers once the signal has been received to make it
  943. possible to kill cgminer if it fails to shut down.
  944. - Disable restarting of CPU mining threads pending further investigation.
  945. - Update longpoll messages.
  946. - Add new block data to status line.
  947. - Fix opencl tests for osx.
  948. - Only do local generation of work if the work item is not stale itself.
  949. - Check for stale work within the mining threads and grab new work if
  950. positive.
  951. - Test for idle network conditions and prevent threads from being restarted
  952. by the watchdog thread under those circumstances.
  953. - Make sure that local work generation does not continue indefinitely by
  954. stopping it after 10 minutes.
  955. - Tweak the kernel to have a shorter path using a 4k buffer and a mask on the
  956. nonce value instead of a compare and loop for a shorter code path.
  957. - Allow queue of zero and make that default again now that we can track how
  958. work is being queued versus staged. This can decrease reject rates.
  959. - Queue precisely the number of mining threads as longpoll_staged after a
  960. new block to not generate local work.
  961. Version 1.2.6 - July 15, 2011
  962. - Put a current system status line beneath the total work status line
  963. - Fix a counting error that would prevent cgminer from correctly detecting
  964. situations where getwork was failing - this would cause stalls sometimes
  965. unrecoverably.
  966. - Limit the maximum number of requests that can be put into the queue which
  967. otherwise could get arbitrarily long during a network outage.
  968. - Only count getworks that are real queue requests.
  969. Version 1.2.5 - July 15, 2011
  970. - Conflicting -n options corrected
  971. - Setting an intensity with -I disables dynamic intensity setting
  972. - Removed option to manually disable dynamic intensity
  973. - Improve display output
  974. - Implement signal handler and attempt to clean up properly on exit
  975. - Only restart threads that are not stuck waiting on mandatory getworks
  976. - Compatibility changes courtesy of Ycros to build on mingw32 and osx
  977. - Explicitly grab first work item to prevent false positive hardware errors
  978. due to working on uninitialised work structs
  979. - Add option for non curses --text-only output
  980. - Ensure we connect at least once successfully before continuing to retry to
  981. connect in case url/login parameters were wrong
  982. - Print an executive summary when cgminer is terminated
  983. - Make sure to refresh the status window
  984. Versions -> 1.2.4
  985. - Con Kolivas - July 2011. New maintainership of code under cgminer name.
  986. - Massive rewrite to incorporate GPU mining.
  987. - Incorporate original oclminer c code.
  988. - Rewrite gpu mining code to efficient work loops.
  989. - Implement per-card detection and settings.
  990. - Implement vector code.
  991. - Implement bfi int patching.
  992. - Import poclbm and phatk ocl kernels and use according to hardware type.
  993. - Implement customised optimised versions of opencl kernels.
  994. - Implement binary kernel generation and loading.
  995. - Implement preemptive asynchronous threaded work gathering and pushing.
  996. - Implement variable length extra work queues.
  997. - Optimise workloads to be efficient miners instead of getting lots of extra
  998. work.
  999. - Implement total hash throughput counters, per-card accepted, rejected and
  1000. hw error count.
  1001. - Staging and watchdog threads to prevent fallover.
  1002. - Stale and reject share guarding.
  1003. - Autodetection of new blocks without longpoll.
  1004. - Dynamic setting of intensity to maintain desktop interactivity.
  1005. - Curses interface with generous statistics and information.
  1006. - Local generation of work (xroll ntime) when detecting poor network
  1007. connectivity.
  1008. Version 1.0.2
  1009. - Linux x86_64 optimisations - Con Kolivas
  1010. - Optimise for x86_64 by default by using sse2_64 algo
  1011. - Detects CPUs and sets number of threads accordingly
  1012. - Uses CPU affinity for each thread where appropriate
  1013. - Sets scheduling policy to lowest possible
  1014. - Minor performance tweaks
  1015. Version 1.0.1 - May 14, 2011
  1016. - OSX support
  1017. Version 1.0 - May 9, 2011
  1018. - jansson 2.0 compatibility
  1019. - correct off-by-one in date (month) display output
  1020. - fix platform detection
  1021. - improve yasm configure bits
  1022. - support full URL, in X-Long-Polling header
  1023. Version 0.8.1 - March 22, 2011
  1024. - Make --user, --pass actually work
  1025. - Add User-Agent HTTP header to requests, so that server operators may
  1026. more easily identify the miner client.
  1027. - Fix minor bug in example JSON config file
  1028. Version 0.8 - March 21, 2011
  1029. - Support long polling: http://deepbit.net/longpolling.php
  1030. - Adjust max workload based on scantime (default 5 seconds,
  1031. or 60 seconds for longpoll)
  1032. - Standardize program output, and support syslog on Unix platforms
  1033. - Suport --user/--pass options (and "user" and "pass" in config file),
  1034. as an alternative to the current --userpass
  1035. Version 0.7.2 - March 14, 2011
  1036. - Add port of ufasoft's sse2 assembly implementation (Linux only)
  1037. This is a substantial speed improvement on Intel CPUs.
  1038. - Move all JSON-RPC I/O to separate thread. This reduces the
  1039. number of HTTP connections from one-per-thread to one, reducing resource
  1040. usage on upstream bitcoind / pool server.
  1041. Version 0.7.1 - March 2, 2011
  1042. - Add support for JSON-format configuration file. See example
  1043. file example-cfg.json. Any long argument on the command line
  1044. may be stored in the config file.
  1045. - Timestamp each solution found
  1046. - Improve sha256_4way performance. NOTE: This optimization makes
  1047. the 'hash' debug-print output for sha256_way incorrect.
  1048. - Use __builtin_expect() intrinsic as compiler micro-optimization
  1049. - Build on Intel compiler
  1050. - HTTP library now follows HTTP redirects
  1051. Version 0.7 - February 12, 2011
  1052. - Re-use CURL object, thereby reuseing DNS cache and HTTP connections
  1053. - Use bswap_32, if compiler intrinsic is not available
  1054. - Disable full target validation (as opposed to simply H==0) for now
  1055. Version 0.6.1 - February 4, 2011
  1056. - Fully validate "hash < target", rather than simply stopping our scan
  1057. if the high 32 bits are 00000000.
  1058. - Add --retry-pause, to set length of pause time between failure retries
  1059. - Display proof-of-work hash and target, if -D (debug mode) enabled
  1060. - Fix max-nonce auto-adjustment to actually work. This means if your
  1061. scan takes longer than 5 seconds (--scantime), the miner will slowly
  1062. reduce the number of hashes you work on, before fetching a new work unit.
  1063. Version 0.6 - January 29, 2011
  1064. - Fetch new work unit, if scanhash takes longer than 5 seconds (--scantime)
  1065. - BeeCee1's sha256 4way optimizations
  1066. - lfm's byte swap optimization (improves via, cryptopp)
  1067. - Fix non-working short options -q, -r
  1068. Version 0.5 - December 28, 2010
  1069. - Exit program, when all threads have exited
  1070. - Improve JSON-RPC failure diagnostics and resilience
  1071. - Add --quiet option, to disable hashmeter output.
  1072. Version 0.3.3 - December 27, 2010
  1073. - Critical fix for sha256_cryptopp 'cryptopp_asm' algo
  1074. Version 0.3.2 - December 23, 2010
  1075. - Critical fix for sha256_via
  1076. Version 0.3.1 - December 19, 2010
  1077. - Critical fix for sha256_via
  1078. - Retry JSON-RPC failures (see --retry, under "minerd --help" output)
  1079. Version 0.3 - December 18, 2010
  1080. - Add crypto++ 32bit assembly implementation
  1081. - show version upon 'minerd --help'
  1082. - work around gcc 4.5.x bug that killed 4way performance
  1083. Version 0.2.2 - December 6, 2010
  1084. - VIA padlock implementation works now
  1085. - Minor build and runtime fixes
  1086. Version 0.2.1 - November 29, 2010
  1087. - avoid buffer overflow when submitting solutions
  1088. - add Crypto++ sha256 implementation (C only, ASM elided for now)
  1089. - minor internal optimizations and cleanups
  1090. Version 0.2 - November 27, 2010
  1091. - Add script for building a Windows installer
  1092. - improve hash performance (hashmeter) statistics
  1093. - add tcatm 4way sha256 implementation
  1094. - Add experimental VIA Padlock sha256 implementation
  1095. Version 0.1.2 - November 26, 2010
  1096. - many small cleanups and micro-optimizations
  1097. - build win32 exe using mingw
  1098. - RPC URL, username/password become command line arguments
  1099. - remove unused OpenSSL dependency
  1100. Version 0.1.1 - November 24, 2010
  1101. - Do not build sha256_generic module separately from cpuminer.
  1102. Version 0.1 - November 24, 2010
  1103. - Initial release.