NEWS 60 KB

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