NEWS 62 KB

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