NEWS 112 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329
  1. BFGMiner Version 2.6.0 - July 29, 2012
  2. - Autoselect --scrypt iff all pools send scrypt work
  3. - Adapt SCRYPT-README to BFGMiner (directing Bitcoin donations the correct
  4. direction to reach Con)
  5. - Remove mentions of Litecoin specifically
  6. - Bugfix: Fix build without OpenCL but with scrypt
  7. - make-release: Add SCRYPT-README
  8. - Bump version 2.6.0, adding SCRYPT README to makefile.
  9. - Smarter autogen.sh script.
  10. - Sleeping on intensity decrease is broken, remove it.
  11. - Sleep only the extra amount of time we overran the dynamic interval in dynamic
  12. mode.
  13. - Add scrypt documentation in the form of a separate readme.
  14. - Fix build error without scrypt enabled.
  15. - Limit thread concurrency for scrypt to 5xshaders if shaders is specified.
  16. - Simplify repeated use of gpus[gpu]. in ocl.c
  17. - Find the nearest power of 2 maximum alloc size for the scrypt buffer that can
  18. successfully be allocated and is large enough to accomodate the thread
  19. concurrency chosen, thus mapping it to an intensity.
  20. - Don't make opt_scrypt mandatory blocking with opencl code.
  21. - Update kernel versions reflecting changes in the API.
  22. - Make the thread concurrency and lookup gap options hidden on the command line
  23. and autotune parameters with a newly parsed --shaders option.
  24. - Fix target testing with scrypt kernel as it would have been missing shares
  25. below target.
  26. - Always create the largest possible padbuffer for scrypt kernels even if not
  27. needed for thread_concurrency, giving us some headroom for intensity levels.
  28. - Use the detected maximum allocable memory on a GPU to determine the optimal
  29. scrypt settings when lookup_gap and thread_concurrency parameters are not given.
  30. - Check the maximum allocable memory size per opencl device.
  31. - Add debugging output if buffer allocation fails for scrypt and round up
  32. bufsize to a multiple of 256.
  33. - Nonce testing for btc got screwed up, leading to no accepted shares. Fix it.
  34. - Display size of scrypt buffer used in debug.
  35. - Allow intensities up to 20 if scrypt is compiled in.
  36. - Add name to scrypt kernel copyright.
  37. - Allow lookup gap and thread concurrency to be passed per device and store
  38. details in kernel binary filename.
  39. - Ignore negative intensities for scrypt.
  40. - Change the scale of intensity for scrypt kernel and fix a build warning.
  41. - Correct target value passed to scrypt kernel.
  42. - Use 256 output slots for kernels to allow 1 for each worksize.
  43. - Test the target in the actual scrypt kernel itself saving further
  44. calculations.
  45. - Reinstate GPU only opencl device detection.
  46. - Decrease lookup gap to 1. Does not seem to help in any way being 2.
  47. - Fix build.
  48. - Make pad0 and pad1 local variable in scrypt kernel.
  49. - Constify input variable in scrypt kernel.
  50. - Send correct values to scrypt kernel to get it finally working.
  51. - Create command queue before compiling program in opencl.
  52. - Fix external scrypt algo missing.
  53. - Limit scrypt to 1 vector.
  54. - Handle KL_SCRYPT in config write.
  55. - Get rid of stuff.
  56. - Don't enqueuewrite buffer at all for pad8 and pass work details around for
  57. scrypt in dev_blk.
  58. - Set the correct data for cldata and prepare for pad8 fixes.
  59. - Get rid of spaces in arrays in scrypt kernel.
  60. - Start with smaller amount of hashes in cpu mining to enable scrypt to return
  61. today sometime.
  62. - Free the scratchbuf memory allocated in scrypt and don't check if CPUs are
  63. sick since they can't be. Prepare for khash hash rates in display.
  64. - Add cpumining capability for scrypt.
  65. - Set scrypt settings and buffer size in ocl.c code to be future modifiable.
  66. - Cope with when we cannot set intensity low enough to meet dynamic interval by
  67. inducing a forced sleep.
  68. - Make dynamic and scrypt opencl calls blocking.
  69. - Fix nonce submission code for scrypt.
  70. - Make sure goffset is set for scrypt and drop padbuffer8 to something
  71. manageable for now.
  72. - Set up buffer8 for scrypt.
  73. - Build fix for opt scrypt.
  74. - Don't check postcalc nonce with sha256 in scrypt.
  75. - Don't test nonce with sha and various fixes for scrypt.
  76. - Make scrypt buffers and midstate compatible.
  77. - Use specific output array entries in scrypt kernel.
  78. - Provide initial support for the scrypt kernel to compile with and mine scrypt
  79. with the --scrypt option.
  80. - Enable completely compiling scrypt out.
  81. - Begin import of scrypt opencl kernel from reaper.
  82. BFGMiner Version 2.5.3 - July 29, 2012
  83. - Bugfix: Add zlib1.dll to Win32 release archive
  84. - Bugfix: SICK low-hashrate is now determined by being under 1/3 the runtime
  85. average hashrate
  86. - Bugfix: cpu_set_t is never #defined, so use CPU_ZERO which is a macro
  87. BFGMiner Version 2.5.2 - July 29, 2012
  88. - Limit total number of curls recruited per pool to the number of mining threads
  89. to prevent blasting the network when we only have one pool to talk to.
  90. - Bugfix: Skip writing configuration of range-limited int options with negative
  91. values
  92. - Bugfix: Correctly attempt to load ~/.bfgminer/bfgminer.conf or
  93. ~/.cgminer/cgminer.conf as defaults
  94. - Send X-Minimum-Wait header on longpolls, to explicitly inform pools we will
  95. handle a response with no delay
  96. - bitforce: Abandon (only) stale searches for work restarts
  97. - Keep a counter of enabled pools and use that instead of iterating over the
  98. pool list. Use that value to ensure we don't set the last remaining active pool
  99. to the rejecting state.
  100. - bitforce: Skip out of sending work if work restart requested
  101. - RPC: Writeup on poolpriority command usage
  102. - Bugfix: API: Report errors from poolpriority command
  103. - RPC: New "poolpriority" command to set the order of pool priorities
  104. - strtok_ts: Thread-safe strtok that work on POSIX or Windows
  105. - Bugfix: Supress "caught up" event when first switching to a pool
  106. - Announce and restart work immediately when current pool has caught up to the
  107. current block
  108. - Bugfix: Don't consider work stale due to other pools' longpolls, if
  109. --failover-only is active
  110. - Refactor stale_work function to only flag actual stale shares
  111. - stale_work: Don't factor getwork delay into expiry for shares (only for work
  112. itself)
  113. - Bugfix: Use pool number rather than numeric pointer to strict pool, in block
  114. found notice
  115. - Accept JSON Numbers in config file parameters
  116. - Improve readability of OPT_HASARG in parse_config
  117. - Allow JSON false as a valid value for strictly boolean options
  118. - Include scan-serial in example configuration file
  119. - fpgautils: add support for 57.6 kBd serial
  120. - miner.php add a socket RCV timeout for if cgminer is hung and the API thread
  121. is still running
  122. - BFL force all code to timeout to avoid hanging
  123. - Detach pthread from within the api thread in case it is terminated due to not
  124. being instantiated before pthread_cancel is called from main, leading to a
  125. segfault.
  126. - Initialise mdplatform.
  127. - Find the gpu platform with the most devices and use that if no platform option
  128. is passed.
  129. - Allow more platforms to be probed if first does not return GPUs.
  130. - Bugfix: It is not a hardware error if nonces returned from modminer don't
  131. meet the pool target
  132. - bitforce & icarus: Log detection failures at debug log level, so we don't
  133. confuse users who have different devices (which is why these drivers are
  134. failing detection!)
  135. - Show "WAIT" (LIFE_WAIT status) if a cgpu is idle waiting for work (pool
  136. slow/dead)
  137. - Instead of quitting on failing N retries, just discard the share
  138. - Bugfix: Don't discard stale shares after submission failure, if user or pool
  139. wants stales submitted
  140. - Bugfix: Record discard-during-retry shares in the sharelog
  141. - Bugfix: Only show Algorithm in RPC summary if CPU mining is actually active
  142. - OpenCL: Remove intensity from statline, since it overflowed
  143. - Move "Q" (requested getworks) to second status line as "GW" to balance out
  144. better
  145. - Bugfix: Use a mutex to control non-curses output
  146. - Simplify code to a single vprintf path for curses-less printing
  147. - Move opt_quiet check to my_log_curses, so it works for curses-less builds
  148. - Use log_generic for vapplog to cut down on code duplication
  149. - Add space to log output now that there is more screen real estate available.
  150. - Bugfix: Copy argv[0] given to dirname()
  151. - Find the gpu platform with the most devices and use that if no platform
  152. option is passed.
  153. - Allow more platforms to be probed if first does not return GPUs.
  154. - Detach pthread from within the api thread in case it is terminated due to not
  155. being instantiated before pthread_cancel is called from main, leading to a
  156. segfault.
  157. - Debug output per thread hashrate is out by a factor of 1000.
  158. - Don't check if CPUs are sick since they can't be.
  159. - Calculate midstate in separate function and remove likely/unlikely macros
  160. since they're dependent on pools, not code design.
  161. - Display in debug mode when we're making the midstate locally.
  162. - Bugfix: Document --no-adl and --gpu-platform
  163. - Bugfix: Remove redundant documentation of --auto-fan and --auto-gpu (they
  164. are in GPU-specific options)
  165. - CPU mining may not be included in binaries, but it's not deprecated for
  166. BFGMiner either
  167. - Bugfix: Restore case-insensitivity to input
  168. - Scroll the device list with up/down arrow keys, if it is overflowed
  169. - Use select statement to handle input
  170. - Bugfix: Actually check that the device fits in the individual summary window
  171. before trying to print it
  172. - Bugfix: Fix build without curses but with OpenCL
  173. - Bugfix: Don't show a Temperature key if it isn't known
  174. - BFGMiner-specific NEWS fix
  175. BFGMiner Version 2.5.1 - July 13, 2012
  176. - Replace CPU Algo in header with runtime
  177. - Bugfix: Calculate diff-1 utility to fix utility-hashrate on pools with
  178. diff!=1
  179. - Add utility hashrate to curses display
  180. - Show units in kh, Gh, Th, etc as needed to use at most 3 integer digits
  181. - Use FTD2XX.DLL on Windows to autodetect BitFORCE SHA256 devices
  182. - bitforce_get_result returns -1 on error now.
  183. - Check return value of read in BFgets
  184. - Bugfix: modminer: Count hashes done before work restart
  185. - Bugfix: modminer: Adapt "get nonce" error condition to new scanhash=>-1
  186. error API
  187. - Bugfix: Make our Windows nanosleep/sleep replacements standards-compliant
  188. (which fixes nmsleep) and include compat.h for bitforce (for sleep)
  189. - miner.php fix rig # when miners fail
  190. - Fix whitespace mangling.
  191. - bitforce: Use "full work" vs "nonce range" for kernel name
  192. - Abbrv. correction
  193. - Remove superfluous ave_wait
  194. - Put kname change for broken nonce-range back in
  195. - Add average wait time to api stats
  196. - Revert "Merge branch 'ave_time' of https://github.com/pshep/cgminer.git"
  197. - Add average return time to api stats
  198. - Missed one nonce-range disabling.
  199. - Remove bitforce_thread_init The delay thing does nothing useful... when long
  200. poll comes around, all threads restart at the same time anyway.
  201. - Change timeouts to time-vals for accuracy.
  202. - More BFL tweaks. Add delay between closing and reopening port. Remove buffer
  203. clear in re-init Add kernel type (mini-rig or single)
  204. - Revert "Change BFL driver thread initialising to a constant 100ms delay
  205. between devices instead of a random arrangement."
  206. - Only try to shut down work cleanly if we've successfully connected and started
  207. mining.
  208. - Fix spelling.
  209. - modminer: Firmware returns 0xffffff00 immediately if we set clockspeed too
  210. high
  211. - Bugfix: modminer: Actually count good shares
  212. - Bugfix: Adapt OpenCL scanhash errors to driver API change (errors are now -1,
  213. not 0)
  214. - Remove bitforce_thread_init The delay thing does nothing useful... when long
  215. poll comes around, all threads restart at the same time anyway.
  216. - fix API support for big endian machines
  217. - Bugfix: Use const struct device_api* for mt_disable
  218. - modminer: Show progress of bitstream upload
  219. - Bugfix: Don't declare devices SICK if they're just busy initializing
  220. - Bugfix: Calculate nsec in nmsleep correctly
  221. - miner.php allow rig names in number buttons
  222. - Change BFL driver thread initialising to a constant 100ms delay between
  223. devices instead of a random arrangement.
  224. - Spelling typo.
  225. - Time opencl work from start of queueing a kernel till it's flushed when
  226. calculating dynamic intensity.
  227. - Modify te scanhash API to use an int64_t and return -1 on error, allowing zero
  228. to be a valid return value.
  229. - Check for work restart after the hashmeter is invoked for we lose the hashes
  230. otherwise contributed in the count.
  231. - Remove disabled: label from mining thread function, using a separate
  232. mt_disable function.
  233. - Style changes.
  234. - Cope with signals interrupting the nanosleep of nmsleep.
  235. - Use standard cfsetispeed/cfsetospeed to set baud rate on *nix
  236. - miner.php split() flagged deprecated in PHP 5.3.0
  237. - Bugfix: Use nmsleep instead of restart_wait, so we always wait the full time
  238. - Make long timeout 10seconds on bitforce for when usleep or nanosleep just
  239. can't be accurate...
  240. BFGMiner Version 2.5.0 - July 7, 2012
  241. - Fix BitFORCE driver to not silenty discard valid shares (bug introduced by
  242. CGMiner merges)
  243. - Fix --benchmark not working since the dynamic addition of pools and pool
  244. stats.
  245. - Make disabling BFL nonce range support a warning since it has to be explicitly
  246. enabled on the command line now.
  247. - miner.php allow renaming table headers
  248. - Make bitforce nonce range support a command line option --bfl-range since
  249. enabling it decrease hashrate by 1%.
  250. - Add sanity checking to make sure we don't make sleep_ms less than 0 in
  251. bitforce.
  252. - The fastest minirig devices need a significantly smaller starting sleep time.
  253. - Use a much shorter initial sleep time to account for faster devices and nonce
  254. range working, and increase it if nonce range fails to work.
  255. - Use nmsleep instead of usleep in bitforce.
  256. - Provide a ms based sleep function that uses nanosleep to avoid the inaccuracy
  257. of usleep on SMP systems.
  258. - delay_time_ms is always set so need not be initialised in bitforce.
  259. - Increase bitforce timeout to 10 seconds.
  260. - Add more hysteresis and poll ~5 times to allow for timer delays in bitforce
  261. devices.
  262. - miner.php allow alternating line colours (off by default)
  263. - Display the actual duration of wait when it is greater than the cutoff.
  264. - Set nonce to maximum once we determine nonce range support is broken.
  265. - Initial wait time is always known so no need to zero it beforehand in
  266. bitforce.
  267. - No point counting wait time until the work is actually sent to bitforce
  268. devices.
  269. - Use string comparison functions instead of explicit comparisons.
  270. - Account for wait_ms time when nonce_range is in use on BFL.
  271. - Split nonces up into 1/5 chunks when nonce range is supported.
  272. - limit clear buffer iterations.
  273. - Ad fd check to clear buffer.
  274. - miner.php remove incorrect 'DATE' error message
  275. - miner.php allow summary header in custom pages
  276. - Disable nonce range support in BFL when broken support is detected.
  277. - Restart_wait is only called with a ms value so incorporate that into the
  278. function.
  279. - Only try to adjust dev width when curses is built in.
  280. - miner.php define custom sum fields as a simple array
  281. - Fix off-by-one error in nonce increment in bfl.
  282. - Use BE when setting nonce in bitforce nonce range work.
  283. - Enable nonce range in the normal init sequence for bfl.
  284. - Queue extra work at 2/3 differently depending on whether we're using nonce
  285. range or not.
  286. - Initially enable support for nonce range support on bfl, splitting nonces up
  287. into 3/4 size and only disable it if it fails on work submit.
  288. - Attempt to detect nonce range support in BFL by sending work requring its
  289. support.
  290. - Limit retrying on busy for up to BITFORCE_TIMEOUT_MS
  291. - Attempt to initialise while bitforce device returns BUSY.
  292. - Extend length of string that can be passed to BFL devices.
  293. - Fix signedness warning.
  294. - Adjust device width column to be consistent.
  295. - Use cgpu-> not gpus[] in watchdog thread.
  296. - Add api stats (sleep time)
  297. - Timing tweaks Added long and short timeouts, short for detecting throttling,
  298. long to give up totally. Reset sleep time when device re-initialised Still check
  299. results after timeout Back up a larger time if result on first poll.
  300. - Add API Notify counter 'Comms Error'
  301. - Style police on api.c
  302. - Do all logging outside of the bitforce mutex locking to avoid deadlocks.
  303. - Remove applog call from bfwrite to prevent grabbing nested mutexes.
  304. - Bitforce style changes.
  305. - Minor style changes.
  306. - Remove needless roundl define.
  307. - Made JSON error message verbose.
  308. - Fine-tune timing adjustment. Also remove old work_restart timing.
  309. - Check for gpu return times of >= 0, not just 0, to fix intensity dropping to
  310. -10.
  311. - Restart is zeroed in the mining thread so no need to do it inside the bitforce
  312. code.
  313. - More improvements to comms. BFL return nothing when throttling, so should not
  314. be considered an error. Instead repeat with a longer delay.
  315. - Polling every 10ms there's not much point checking the pthread_cond_timedwait
  316. as it just adds overhead. Simply check the value of work_restart in the bfl main
  317. polling loop.
  318. - Use a pthread conditional that is broadcast whenever work restarts are
  319. required. Create a generic wait function waiting a specified time on that
  320. conditional that returns if the condition is met or a specified time passed to
  321. it has elapsed. Use this to do smarter polling in bitforce to abort work, queue
  322. more work, and check for results to minimise time spent working needlessly.
  323. - Add busy time to wait time.
  324. - api.c put version up to 1.14
  325. - Add tiny delay after writing to BFL Change BFL errors to something more human
  326. readable Send work busy re-tries after 10ms delay
  327. - Fix race condition in thread creation that could under some conditions crash
  328. BFGMiner at startup
  329. BFGMiner Version 2.4.4 - July 1, 2012
  330. - Fix builds on non gnu platforms.
  331. - api.c ensure old mode is always available when not using --api-groups + quit()
  332. on param errors
  333. - Implement rudimentary X-Mining-Hashrate support.
  334. - Detect large swings in temperature when below the target temperature range and
  335. change fan by amounts dependant on the value of tdiff.
  336. - Adjust the fanspeed by the magnitude of the temperature difference when in the
  337. optimal range.
  338. - Revert "Restarting cgminer from within after ADL has been corrupted only leads
  339. to a crash. Display a warning only and disable fanspeed monitoring."
  340. - api.c fix json already closed
  341. - implement and document API option --api-groups
  342. - Put upper bounds to under 2 hours that work can be rolled into the future for
  343. bitcoind will deem it invalid beyond that.
  344. - define API option --api-groups
  345. - api.c allow unwell devices to be enabled so they can be cured
  346. - miner.php - fix/enable autorefresh for custom pages
  347. - miner.php allow custom summary pages - new 'Mobile' summary
  348. - Work around pools that advertise very low expire= time inappropriately as this
  349. leads to many false positives for stale shares detected.
  350. - Only show ztex board count if any exist.
  351. - There is no need for work to be a union in struct workio_cmd
  352. - fpgautils.c include a debug message for all unknown open errors
  353. - Don't keep rolling work right up to the expire= cut off. Use 2/3 of the time
  354. between the scantime and the expiry as cutoff for reusing work.
  355. - Log a specific error when serial opens fail due to lack of user permissions
  356. - Increase GPU timing resolution to microsecond and add sanity check to ensure
  357. times are positive.
  358. - Opencl code may start executing before the clfinish order is given to it so
  359. get the start timing used for dynamic intensity from before the kernel is
  360. queued.
  361. - fpgautils.c - set BAUD rate according to termio spec
  362. - fpgautils.c - linux ordering back to the correct way
  363. - miner.php remove unneeded '.'s
  364. - miner.php add auto refresh options
  365. - miner.php add 'restart' next to 'quit'
  366. - miner.php make fontname/size configurable with myminer.php
  367. - Make the pools array a dynamically allocated array to allow unlimited pools to
  368. be added.
  369. - Make the devices array a dynamically allocated array of pointers to allow
  370. unlimited devices.
  371. - Dynamic intensity for GPUs should be calculated on a per device basis. Clean
  372. up the code to only calculate it if required as well.
  373. - Bugfix: Provide alternative to JSON_ENCODE_ANY for Jansson 1.x
  374. - Use a queueing bool set under control_lock to prevent multiple calls to
  375. queue_request racing.
  376. - Use the work clone flag to determine if we should subtract it from the total
  377. queued variable and provide a subtract queued function to prevent looping over
  378. locked code.
  379. - Don't decrement staged extras count from longpoll work.
  380. - Count longpoll's contribution to the queue.
  381. - Increase queued count before pushing message.
  382. - Test we have enough work queued for pools with and without rolltime
  383. capability.
  384. - As work is sorted by age, we can discard the oldest work at regular intervals
  385. to keep only 1 of the newest work items per mining thread.
  386. - Roll work again after duplicating it to prevent duplicates on return to the
  387. clone function.
  388. - Abstract out work cloning and clone $mining_threads copies whenever a rollable
  389. work item is found and return a clone instead.
  390. - api.c display Pool Av in json
  391. - Take into account average getwork delay as a marker of pool communications
  392. when considering work stale.
  393. - Work out a rolling average getwork delay stored in pool_stats.
  394. - Getwork delay in stats should include retries for each getwork call.
  395. - Walk through the thread list instead of searching for them when disabling
  396. threads for dynamic mode.
  397. - Extend nrolltime to support the expiry= parameter. Do this by turning the
  398. rolltime bool into an integer set to the expiry time. If the pool supports
  399. rolltime but not expiry= then set the expiry time to the standard scantime.
  400. - When disabling fanspeed monitoring on adl failure, remove any twin GPU
  401. association. This could have been leading to hangs on machines with dual GPU
  402. cards when ADL failed.
  403. - modminer: Don't delay 2nd+ FPGAs during work restart
  404. - Disable OpenCL code when not available.
  405. - Fix openwrt crashing on regeneratehash() by making check_solve a noop.
  406. - FPGA - allow device detect override without an open failure
  407. - Fix sign warning.
  408. - Bugfix: icarus: properly store/restore info and work end times across longpoll
  409. restarts
  410. - Enable modminer for release builds
  411. BFGMiner Version 2.4.3 - June 14, 2012
  412. - Change device API "name" to reflect driver name abbreviation instead of device type name
  413. - miner.php allow a separate user settings file
  414. - modminer: Implement extended device stats to expose each Board to the RPC API
  415. - Bugfix: Use new cgpu->thr for longpoll waking
  416. - bitforce: Remove 4.5s delay before polling starts, since MiniRig finishes sooner
  417. - FPGA - allow device detect override without an open failure
  418. - Bugfix: Missing printf value in merge from cgminer
  419. - Ensure C compiler is in C99 mode
  420. - Add CPU core count detection for BSD/Mac
  421. - Set CPU mining idle priority on Windows
  422. - can_roll and should_roll should have no bearing on the cycle period within the
  423. miner_thread so remove it.
  424. - Check for strategy being changed to load balance when enabling LPs.
  425. - Check that all threads on the device that called get_work are waiting on
  426. getwork before considering the pool lagging.
  427. - Iterate over each thread belonging to each device in the hashmeter instead of
  428. searching for them now that they're a list.
  429. - When using rotate pool strategy, ensure we only select from alive enabled
  430. pools.
  431. - Start longpoll from every pool when load balance strategy is in use.
  432. - Add mandatory and block fields to the work struct. Flag any shares that are
  433. detected as blocks as mandatory to submit, along with longpoll work from a
  434. previously rejecting pool.
  435. - Consider the fan optimal if fanspeed is dropping but within the optimal speed
  436. window.
  437. - Fix typo in some API messages (succeess/success)
  438. - api.c MMQ stat bugs
  439. - Bugfix: Fix warnings when built without libudev support
  440. - Bugfix: slay a variety of warnings
  441. - Bugfix: modminer: Fix unsigned/signed comparison and similar warnings
  442. - API add ModMinerQuad support
  443. - Bugfix: Honour forceauto parameter in serial_detect functions
  444. - modminer: Temperature sensor improvements
  445. - modminer: Make log messages more consistent in format
  446. - Only adjust GPU speed up if the fanspeed is within the normal fanrange and
  447. hasn't been turned to maximum speed under overheat conditions.
  448. - ModMiner use valid .name
  449. - New driver: BTCFPGA ModMiner
  450. - Abstract generally useful FPGA code into fpgautils.c
  451. - API add stats for pool getworks
  452. - miner.php option to hide specific fields from the display
  453. - miner.php add version numbers to the summary page
  454. - Update debian configs to v2.4.2
  455. - Add API and FPGA READMEs into Makefile to be included in source distribution.
  456. - Icarus - fix unit64_t printf warnings
  457. BFGMiner Version 2.4.2 - June 2, 2012
  458. - Use epoll to immediately interrupt Icarus with new work on longpolls (Linux)
  459. - API.class compiled with Java SE 6.0_03 - works with Win7x64
  460. - miner.php highlight devs too slow finding shares (possibly failing)
  461. - API update version to V1.11 and document changes
  462. - API save default config file if none specified
  463. - api.c save success incorrectly returns error
  464. - api.c replace BUFSIZ (linux/windows have different values)
  465. - Move RPC API content out of README to API-README
  466. - Open a longpoll connection if a pool is in the REJECTING state as it's the
  467. only way to re-enable it automatically.
  468. - Use only one longpoll as much as possible by using a pthread conditional
  469. broadcast that each longpoll thread waits on and checks if it's the current pool
  470. before
  471. - If shares are known stale, don't use them to decide to disable a pool for
  472. sequential rejects.
  473. - Restarting cgminer from within after ADL has been corrupted only leads to a
  474. crash. Display a warning only and disable fanspeed monitoring.
  475. - Icarus: fix abort calculation/allow user specified abort
  476. - Icarus: make --icarus-timing hidden and document it in FPGA-README
  477. - Icarus: high accuracy timing and other bitstream speed support
  478. - add-MIPSEB-to-icarus-for-BIG_ENDIAN
  479. - work_decode only needs swab32 on midstate under BIG ENDIAN
  480. - add compile command to api-example.c
  481. - save config bugfix: writing an extra ',' when no gpus
  482. - Add dpkg-source commits
  483. BFGMiner Version 2.4.1 - May 6, 2012
  484. - Icarus: Calibrate hashrate yet even more accurately
  485. - In the unlikely event of finding a block, display the block solved count with
  486. the pool it came from for auditing.
  487. - Display the device summary on exit even if a device has been disabled.
  488. - Use correct pool enabled enums in api.c.
  489. - Import Debian packaging configs
  490. - Ensure we test for a pool recovering from idle so long as it's not set to
  491. disabled.
  492. - Fix pool number display.
  493. - Give BFGMiner -T message only if curses is in use.
  494. - Reinit_adl is no longer used.
  495. - API 'stats' allow devices to add their own stats also for testing/debug
  496. - API add getwork stats to BFGMiner - accesable from API 'stats'
  497. - Don't initialise variables to zero when in global scope since they're already
  498. initialised.
  499. - Get rid of unitialised variable warning when it's false.
  500. - Move a pool to POOL_REJECTING to be disabled only after 3 minutes of
  501. continuous rejected shares.
  502. - Some tweaks to reporting and logging.
  503. - API support new pool status
  504. - Add a temporarily disabled state for enabled pools called POOL_REJECTING and
  505. use the work from each longpoll to help determine when a rejecting pool has
  506. started working again. Switch pools based on the multipool strategy once a pool
  507. is re-enabled.
  508. - Removing extra debug
  509. - Fix the benchmark feature by bypassing the new networking code.
  510. - Reset sequential reject counter after a pool is disabled for when it is
  511. re-enabled.
  512. - ztex updateFreq was always reporting on fpga 0
  513. - Trying harder to get 1.15y working
  514. - Specifying threads on multi fpga boards extra cgpu
  515. - Missing the add cgpu per extra fpga on 1.15y boards
  516. - API add last share time to each pool
  517. - Don't try to reap curls if benchmarking is enabled.
  518. BFGMiner Version 2.4.0 - May 3, 2012
  519. - Only show longpoll warning once when it has failed.
  520. - Convert hashes to an unsigned long long as well.
  521. - Detect pools that have issues represented by endless rejected shares and
  522. disable them, with a parameter to optionally disable this feature.
  523. - Bugfix: Use a 64-bit type for hashes_done (miner_thread) since it can overflow
  524. 32-bit on some FPGAs
  525. - Implement an older header fix for a label existing before the pthread_cleanup
  526. macro.
  527. - Limit the number of curls we recruit on communication failures and with
  528. delaynet enabled to 5 by maintaining a per-pool curl count, and using a pthread
  529. conditional that wakes up when one is returned to the ring buffer.
  530. - Generalise add_pool() functions since they're repeated in add_pool_details.
  531. - Bugfix: Return failure, rather than quit, if BFwrite fails
  532. - Disable failing devices such that the user can attempt to re-enable them
  533. - Bugfix: thread_shutdown shouldn't try to free the device, since it's needed
  534. afterward
  535. - API bool's and 1TBS fixes
  536. - Icarus - minimise code delays and name timer variables
  537. - api.c V1.9 add 'restart' + redesign 'quit' so thread exits cleanly
  538. - api.c bug - remove extra ']'s in notify command
  539. - Increase pool watch interval to 30 seconds.
  540. - Reap curls that are unused for over a minute. This allows connections to be
  541. closed, thereby allowing the number of curl handles to always be the minimum
  542. necessary to not delay networking.
  543. - Use the ringbuffer of curls from the same pool for submit as well as getwork
  544. threads. Since the curl handles were already connected to the same pool and are
  545. immediately available, share submission will not be delayed by getworks.
  546. - Implement a scaleable networking framework designed to cope with any sized
  547. network requirements, yet minimise the number of connections being reopened. Do
  548. this by create a ring buffer linked list of curl handles to be used by getwork,
  549. recruiting extra handles when none is immediately available.
  550. - There is no need for the submit and getwork curls to be tied to the pool
  551. struct.
  552. - Do not recruit extra connection threads if there have been connection errors
  553. to the pool in question.
  554. - We should not retry submitting shares indefinitely or we may end up with a
  555. huge backlog during network outages, so discard stale shares if we failed to
  556. submit them and they've become stale in the interim.
  557. BFGMiner Version 2.3.6 - April 29, 2012
  558. - Shorten stale share messages slightly.
  559. - Protect the freeing of current_hash under mutex_lock to prevent racing on it
  560. when set_curblock is hit concurrently.
  561. - Change default behaviour to submitting stale, removing the --submit-stale
  562. option and adding a --no-submit-stale option.
  563. - Make sure to start the getwork and submit threads when a pool is added on the
  564. fly. This fixes a crash when a pool is added to running BFGMiner and then
  565. switched to.
  566. - Faster hardware can easily outstrip the speed we can get work and submit
  567. shares when using only one connection per pool.
  568. - Test the queued list to see if any get/submits are already queued and if they
  569. are, start recruiting extra connections by generating new threads.
  570. - This allows us to reuse network connections at low loads but recuit new open
  571. connections as they're needed, so that BFGMiner can scale to hardware of any
  572. size.
  573. BFGMiner Version 2.3.5 - April 28, 2012
  574. - Restarting BFGMiner leads to a socket that can't be bound for 60 seconds, so
  575. increase the interval that API binding waits to 30 seconds to minimise the
  576. number of times it will retry, spamming the logs.
  577. - Give a longpoll message for any longpoll that detects a block change, primary
  578. or backup, and also display which pool it was.
  579. - Decrease utility display to one decimal place.
  580. - Small cosmetic output alignment.
  581. - Add pool number to stale share message.
  582. - Add space to log output now that there is more screen real estate available.
  583. - Indentation clean up.
  584. - Remove thread id display from rejected shares as well.
  585. - Merge pull request #185 from Diapolo/diakgcn
  586. - add goffset support for diakgcn with -v 1 and update kernel version
  587. - Set have_longpoll to true when there is at least one pool with longpoll.
  588. - Don't display the thread ID since it adds no useful information over the
  589. device number.
  590. - Don't display the first 8 bytes of a share since they will always be zero at
  591. >= 1 difficulty.
  592. - work->longpoll is reset across test_work_current so we need to recheck what
  593. pool it belongs to.
  594. - Use longpolls from backup pools with failover-only enabled just to check for
  595. block changes, but don't use them as work.
  596. - Start longpoll only after we have tried to extract the longpoll URL.
  597. - Check for submitold flag on resubmit of shares, and give different message for
  598. stale shares on retry.
  599. - Check for submitold before submitstale.
  600. - Don't force fresh curl connections on anything but longpoll threads.
  601. - Create one longpoll thread per pool, using backup pools for those pools that
  602. don't have longpoll.
  603. - Use the work created from the longpoll return only if we don't have
  604. failover-enabled, and only flag the work as a longpoll if it is the current
  605. pool.
  606. - This will work around the problem of trying to restart the single longpoll
  607. thread on pool changes that was leading to race conditions.
  608. - It will also have less work restarts from the multiple longpolls received from
  609. different pools.
  610. - Remove the invalid entries from the example configuration file.
  611. - Add support for latest ATI SDK on windows.
  612. - Export missing function from libztex.
  613. - miner.php change socktimeoutsec = 10 (it only waits once)
  614. - Bugfix: Make initial_args a const char** to satisfy exec argument type warning
  615. (on Windows only)
  616. - miner.php add a timeout so you don't sit and wait ... forever
  617. - Create discrete persistent submit and get work threads per pool, thus allowing
  618. all submitworks belonging to the same pool to reuse the same curl handle, and
  619. all getworks to reuse their own handle.
  620. - Use separate handles for submission to not make getwork potentially delay
  621. share submission which is time critical.
  622. - This will allow much more reusing of persistent connections instead of opening
  623. new ones which can flood routers.
  624. - This mandated a rework of the extra longpoll support (for when pools are
  625. switched) and this is managed by restarting longpoll cleanly and waiting for a
  626. thread join.
  627. - miner.php only show the current date header once
  628. - miner.php also add current time like single rig page
  629. - miner.php display rig 'when' table at top of the multi-rig summary page
  630. - README - add some Ztex details
  631. - api.c include zTex in the FPGA support list
  632. - api.c ensure 'devs' shows PGA's when only PGA code is compiled
  633. - miner.c sharelog code consistency and compile warning fix
  634. - README correct API version number
  635. - README spelling error
  636. - api.c combine all pairs of sprintfs()
  637. - api.c uncomment and use BLANK (and COMMA)
  638. - Code style cleanup
  639. - Annotating frequency changes with the changed from value
  640. - README clarification of 'notify' command
  641. - README update for API RPC 'devdetails'
  642. - api.c 'devdetails' list static details of devices
  643. - Using less heap space as my TP-Link seems to not handle this much
  644. BFGMiner Version 2.3.4 - April 26, 2012
  645. - New maintainership of code with modular FPGA/GPU focus, under BFGMiner name
  646. - Complete working support for cross-compiling Windows builds on Linux.
  647. - Fix usage of low --scan-time settings so it doesn't busy-loop
  648. - JSON API: Add new 'devdetail' command to get fixed device information
  649. - JSON API: Implement driver abstraction for extra device status
  650. - Icarus: Use epoll to wait for serial port input properly, when available
  651. - Icarus: Workaround buggy USB-UART that causes Icarus to stop mining rarely
  652. - Icarus: Estimate mining hashrate correctly, calibrated from real-world data
  653. - Icarus: Parallelize work setup with Icarus hash search improving performance
  654. - Icarus: More reliable detection and runtime
  655. - OpenCL: Move GPU-specific data fetching from JSON API to OpenCL driver
  656. - OpenCL: Dynamically load OpenCL library, to be more vendor-independent and
  657. allow use without actually having OpenCL (i.e. FPGA-only rigs).
  658. CGMiner Version 2.3.4 - April 25, 2012
  659. - Extensively document the cause of GPU device issues and the use of --gpu-map.
  660. - Support for share logging
  661. - Detect poorly performing combination of SDK and phatk kernel and add verbose
  662. warning at startup.
  663. - Icarus update to new add_cgpu()
  664. - Icarus driver working with Linux and Windows
  665. - api.c fix unused variable compile warning
  666. - Display all OpenCL devices when -n is called as well to allow debugging of
  667. differential mapping of OpenCL to ADL.
  668. - Add a --gpu-map option which will allow arbitrarily mapping ADL devices to
  669. OpenCL devices for instances where association by enumeration alone fails.
  670. - Increase upper limit on number of extra items to queue as some FPGA code can't
  671. yet reliably keep many devices busy.
  672. - Display configuration file information when -c option is passed and only when
  673. file exists on loading default config file.
  674. - Display configuration file loaded, if any, and debug output if configuration
  675. file parsing failed.
  676. - Add missing ztex header to Makefile for distribution.
  677. - Document long-form COM port device names on Windows, required to specify
  678. serial ports above 9
  679. - Include ztex bitstreams firmware in distribution and install if configured in.
  680. - Style police on driver-ztex.c
  681. - work_restart should only be changed by cgminer.c now
  682. - Shut down the api cleanly when the api thread is cancelled. This should allow
  683. the api socket to be closed successfully to next be reopened with app_restart.
  684. - Make a union for cgpu device handles, and rename "device" to "device_ztex"
  685. since it's Ztex-specific
  686. - Initialise name variable.
  687. - Remove unnecessary check for variable that always has memory allocated.
  688. - Bugfix: Missing "break" no-op in default case
  689. - Make the status window and log window as large as can fit on startup,
  690. rechecking to see if it can be enlarged after the fact. This allows any number
  691. of devices to be displayed provided the window is made long enough without
  692. corrupting the output.
  693. - Style police on libztex.c.
  694. - API add removepool like the screen interface
  695. - api.c escape required characters in return strings + pools returns the
  696. username
  697. - Set lp_path to NULL after free for consistency.
  698. - Removing dmalloc import left behind by mistake
  699. - Fixing leak in resp_hdr_cb
  700. - miner.php warning highlight GPU stats if they are zero (e.g. ADL not enabled)
  701. - miner.php highlight any device that isn't 'Enabled'
  702. - miner.php highlight any Status that isn't 'Alive'
  703. - miner.php optionally support multiple rigs
  704. - Initial Ztex support 1.15x board.
  705. CGMiner Version 2.3.3 - April 15, 2012
  706. - Don't even display that cpumining is disabled on ./configure to discourage
  707. people from enabling it.
  708. - Do a complete cgminer restart if the ATI Display Library fails, as it does on
  709. windows after running for some time, when fanspeed reporting fails.
  710. - Cache the initial arguments passed to cgminer and implement an attempted
  711. restart option from the settings menu.
  712. - Disable per-device status lines when there are more than 8 devices since
  713. screen output will be corrupted, enumerating them to the log output instead at
  714. startup.
  715. - Reuse Vals[] array more than W[] till they're re-initialised on the second
  716. sha256 cycle in poclbm kernel.
  717. - Minor variable alignment in poclbm kernel.
  718. - Make sure to disable devices with any status not being DEV_ENABLED to ensure
  719. that thermal cutoff code works as it was setting the status to DEV_RECOVER.
  720. - Re-initialising ADL simply made the driver fail since it is corruption over
  721. time within the windows driver that's responsible. Revert "Attempt to
  722. re-initialise ADL should a device that previously reported fanspeed stops
  723. reporting it."
  724. - Microoptimise poclbm kernel by ordering Val variables according to usage
  725. frequency.
  726. CGMiner Version 2.3.2 - March 31, 2012
  727. - Damping small changes in hashrate so dramatically has the tendency to always
  728. make the hashrate underread so go back to gentle damping instead.
  729. - Revert the crossover of variables from Vals to W in poclbm kernel now that
  730. Vals are the first declared variables so they're used more frequently.
  731. - Vals variables appearing first in the array in poclbm is faster.
  732. - Change the preferred vector width to 1 for Tahiti only, not all poclbm
  733. kernels.
  734. - Use a time constant 0.63 for when large changes in hashrate are detected to
  735. damp change in case the large change is an aliasing artefact instead of a real
  736. chang
  737. - Only increment stale counter if the detected stales are discarded.
  738. - Attempt to re-initialise ADL should a device that previously reported fanspeed
  739. stops reporting it.
  740. - Move the ADL setup and clearing to separate functions and provide a reinit_adl
  741. function to be used when adl fails while running.
  742. - Use slightly more damping on the decay time function in the never-ending quest
  743. to smooth off the hashmeter.
  744. - Set the starting fanspeed to a safe and fairly neutral 50% when autofan is
  745. enabled.
  746. - Provide locking around updates of cgpu hashrates as well to prevent multiple
  747. threads accessing data fields on the same device.
  748. - Display the beginning of the new block in verbose mode in the logs.
  749. - Reinstate old diablo kernel variable ordering from 120222, adding only goffset
  750. and vector size hint. The massive variable ordering change only helped one SDK
  751. on
  752. - Change the version number on the correct kernels.
  753. - api.c devicecode/osinfo incorrectly swapped for json
  754. - Add extensive instructions on how to make a native windows build.
  755. - Update version numbers of poclbm and diablo kernels as their APIs have also
  756. changed.
  757. - Use global offset parameter to diablo and poclbm kernel ONLY for 1 vector
  758. kernels.
  759. - Use poclbm preferentially on Tahiti now regardless of SDK.
  760. - Remove unused constant passed to poclbm.
  761. - Clean up use of macros in poclbm and use bitselect everywhere possible.
  762. - Add vector type hint to diablo kernel.
  763. - Add worksize and vector attribute hints to the poclbm kernel.
  764. - Spaces for non-aligned variables in poclbm.
  765. - More tidying of poclbm.
  766. - Swap Vals and W variables where they can overlap in poclbm.
  767. - More tidying of poclbm.
  768. - Tidy up first half of poclbm.
  769. - Clean up use of any() by diablo and poclbm kernels.
  770. - Minor variable symmetry changes in poclbm.
  771. - Put additions on separate lines for consistency in poclbm.
  772. - Consolidate last use of W11 into Vals4 in poclbm.
  773. - Change email due to SPAM
  774. - api.c miner.php add a '*' to the front of all notify counters - simplifies
  775. future support of new counters
  776. - miner.php add display 'notify' command
  777. - Small change to help arch's without processor affinity
  778. - Fix bitforce compile error
  779. - api.c notify should report disabled devices also - of course
  780. - API returns the simple device history with the 'notify' command
  781. - code changes for supporting a simple device history
  782. - api.c Report an OS string in config to help with device issues
  783. - api.c fix Log Interval - integer in JSON
  784. - api.c config 'Device Code' to show list of compiled devices + README
  785. - api.c increase buffer size close to current code allowable limit
  786. - removed 8-component vector support from kernel, as this is not supported in
  787. CGMINER anyway
  788. - forgot to update kernel modification date, fixed ;)
  789. - reordered an addition in the kernel, which results in less instructions used
  790. in the GPU ISA code for GCN
  791. - miner.php: option for readonly or check privileged access
  792. - Ignore reduntant-with-build options --disable-gpu, --no-adl, and --no-restart
  793. - miner.php: ereg_replace is DEPRECATED so use preg_replace instead
  794. - Make curses TUI support optional at compile-time.
  795. - Bugfix: AC_ARG_WITH provides withval instead of enableval
  796. - miner.php split devs output for different devices
  797. - api.c: correct error messages
  798. - icarus.c modify (regular) timeout warning to only be debug
  799. - icarus.c set the windows TODO timeout
  800. - Allow specifying a specific driver for --scan-serial
  801. - optimized nonce-check and output code for -v 2 and -v 4
  802. - Bugfix: Check for libudev header (not just library) in configure, and document
  803. optional dependency
  804. - Add API support for Icarus and Bitforce
  805. - Next API version is 1.4 (1.3 is current)
  806. - README/api.c add "When" the request was processed to STATUS
  807. - Bugfix: ZLX to read BitFORCE temp, not ZKX -.-
  808. - Use libudev to autodetect BitFORCE GPUs, if available
  809. - Use the return value of fan_autotune to set fan_optimal instead of passing it
  810. as a pointer.
  811. - Pass the lasttemp from the device we're using to adjust fanspeed in twin
  812. devices.
  813. - fix the name to 3 chars, fix the multi-icarus support
  814. - Bugfix: "-S auto" is the default if no -S is specified, and there is no such
  815. delay in using it
  816. - README add information missing from --scan-serial
  817. - Update README RPC API Version comment
  818. - Bugfix: Allow enabling CPU even without OpenCL support
  819. - Change failed-to-mine number of requested shares messge to avoid segfault on
  820. recursive calling of quit().
  821. - Get rid of extra char which is just truncated in poclbm kernel.
  822. - only small code formating changes
  823. - removed vec_step() as this could lead to errors on older SDKs
  824. - unified code for generating nonce in kernel and moved addition of base to the
  825. end -> faster
  826. CGMiner Version 2.3.1 - February 24, 2012
  827. - Revert input and output code on diakgcn and phatk kernels to old style which
  828. worked better for older hardware and SDKs.
  829. - Add a vector*worksize parameter passed to those kernels to avoid one op.
  830. - Increase the speed of hashrate adaptation.
  831. - Only send out extra longpoll requests if we want longpolls.
  832. - API implement addpool command
  833. - API return the untouched Total MH also (API now version 1.3)
  834. - Add enable/disablepool to miner.php example and reduce font size 1pt
  835. CGMiner Version 2.3.0 - February 23, 2012
  836. - Consider extra longpoll work items as staged_extra so as to make sure we queue
  837. more work if queueing regular work items as longpolls.
  838. - Use diablo kernel on all future SDKs for Tahiti and set preferred vector width
  839. to 1 on poclbm kernel only.
  840. - Explicitly type the constants in diakgcn kernel as uint, to be in line with
  841. poclbm kernel.
  842. - Reset all hash counters at the same time as resetting start times to get
  843. accurate hashrates on exiting which is mandatory for benchmarking.
  844. - Report thread out before it starts to avoid being flagged as sick when waiting
  845. for the first work item.
  846. - Don't disable and re-enable devices as they may recover and in the meantime
  847. have their status set to OFF.
  848. - API new commands enablepool and disablepool (version already incremented)
  849. - Tolerate new-format temperature readings for bitforce
  850. - Modify cgminer.c pool control to allow API to call it
  851. - Bugfix: Fix BitFORCE driver memory leak in debug logging
  852. - Extra byte was being unused in poclbm leading to failure on some platforms.
  853. - Explicitly type the constants in poclbm kernel as uint.
  854. - Don't save 'include' when saving the configuration
  855. - Allow configuration file to include another recursively
  856. - Use the SDK and hardware information to choose good performing default
  857. kernels.
  858. - Move phatk kernel to offset vector based nonce bases as well.
  859. - Add a --benchmark feature which works on a fake item indefinitely to compare
  860. device performance without any server or networking influence.
  861. - Allow writing of multiple worksizes to the configuration file.
  862. - Allow writing of multiple vector sizes to the configuration file.
  863. - Allow writing of multiple kernels to the configuration file.
  864. - Allow multiple different kernels to be chosen per device.
  865. - Allow the worksize to be set per-device.
  866. - Allow different vectors to be set per device.
  867. - If we're well below the target temperature, increase gpu engine speed back to
  868. maximum in case we have gotten lost between profiles during an idle period.
  869. - We should be setting the value of fan_optimal, not its address.
  870. - As all kernels will be new versions it's an opportunity to change the .bin
  871. format and make it simpler. Specifying bitalign is redundant and long can be l.
  872. - Use any() in kernel output code.
  873. - Put the nonce for each vector offset in advance, avoiding one extra addition
  874. in the kernel.
  875. - Reset times after all mining threads are started to make estimating hashrates
  876. easier at startup.
  877. - Bugfix: allow no-exec (NX) stack
  878. - Fix minor warning.
  879. - fix the bitforce.c code style follow 1TBS
  880. - fix icarus.c compile warning
  881. - small changes to speedup no vec for AMD 898.1 OCL runtime
  882. - Update licensing to GPL V3.
  883. - Reset the longpoll flag after it's been used once to prevent it restarting
  884. work again.
  885. - Begin import of DiabloMiner kernel.
  886. - Modify API debug messages to say API instead of DBG
  887. - When API shuts down cgminer don't kill itself
  888. - Don't make rolled work from the longpoll be seen as other longpoll work items.
  889. - API add 'privileged' command so can verify access level
  890. - Set the lp_sent variable under lock since there will almost always be a race
  891. on setting this variable, potentially leading to multiple LPs being sent out.
  892. - API restrict access to all non display commands by default
  893. - Update API version to 1.2 for new 'Log Interval'
  894. - API add --log Interval to 'config' reply
  895. - --api-allow special case 0/0 means all
  896. CGMiner Version 2.2.7 - February 20, 2012
  897. - Send out extra longpolls when we have switched pools and the longpoll thread
  898. is still bound to the old one. This is particularly useful with p2pool where
  899. longpolls do not correlate with main bitcoin block change and would have led to
  900. high reject rates on failover.
  901. - Store whether a work item is the result of a longpoll or not in struct work
  902. and use it to help determine block changes directly from the work longpoll bool.
  903. - Keep track of when a longpoll has been sent for a pool and if the current pool
  904. is requesting work but has not sent a longpoll request, convert one of the work
  905. items to a longpoll.
  906. - Store the longpoll url in the pool struct and update it from the pool_active
  907. test in case it changes. This is to allow further changes to longpoll management
  908. on switching pools.
  909. - Re-check for a longpoll supporting pool every 30 seconds if none is found
  910. initially.
  911. - Report threads as busy waiting on getwork on startup to avoid them being
  912. flagged sick on startup during slow networking.
  913. - Allow devices that are disabled due to overheating to be flagged as recovering
  914. instead of disabling them and re-enable them if they're below ideal temperatures
  915. - Tahiti prefers worksize 64 with poclbm.
  916. - No need to expressly retain the opencl program now that the zero binary issue
  917. is fixed. This actually fixes cgminer to work with the latest SDK included with
  918. the ATI catalyst driver 12.2.
  919. - Show error code on any opencl failure status.
  920. - Add detection for version 898.1 SDK as well but only give SDK 2.6 warning once
  921. on startup instead of with each device initialisation.
  922. - Always use a fresh connection for longpoll as prolonged persistent connections
  923. can fail for many reasons.
  924. - Keep track of intended engine clock speed and only adjust up if it's higher
  925. than the last intended speed. This avoids setting the clock speed to one
  926. relative to a lower profile one by mistake.
  927. - Use gpu-memdiff on startup if an engine clockspeed is set and a memdiff value
  928. is set.
  929. - Revert "Adjust engine speed up according to performance level engine setting,
  930. not the current engine speed." - ineffectual.
  931. - Freeze the queues on all threads that are sent the pause message to prevent
  932. them trying to start up again with saved pings in their queues.
  933. - Updates to diakgcn kernel/
  934. - Consolidate all screen updates to the watchdog thread and touch both windows
  935. before refresh.
  936. - Curses will be disabled in clean_up so don't do it early in kill_work, and
  937. disable_adl so that GPU settings may be restored to normal in case shutting down
  938. curses leads to instability on windows.
  939. - Stop the mining threads before trying to kill them.
  940. - Plain refresh() does not give reliably screen updates so get rid of all uses
  941. of it.
  942. - First release with working diakgcn kernel.
  943. CGMiner Version 2.2.6 - February 16, 2012
  944. - Provide warning on each startup about sdk 2.6
  945. - Fix unused warnings on win32.
  946. - bitforce: Simplify BFopen WIN32 ifdef/else
  947. - Fix initialization warning with jansson 1.3
  948. - bitforce: Cleanup extraneous TODO that isn't needed
  949. - Move tcsetattr (and new tcflush) into *nix BFopen to simplify things a bit
  950. - Add message explaining 2nd thread disabling for dynamic mode and how to tune
  951. it.
  952. - Move logwindow down once number of devices is known.
  953. - Automatically choose phatk kernel for bitalign non-gcn ATI cards, and then
  954. only select poclbm if SDK2.6 is detected.
  955. - Allow the refresh interval to be adjusted in dynamic intensity with a
  956. --gpu-dyninterval parameter.
  957. - Make curses display visible right from the beginning and fix the window sizes
  958. so the initial messages don't get lost once the status window is drawn.
  959. - The amount of work scanned can fluctuate when intensity changes and since we
  960. do this one cycle behind, we increment the work more than enough to prevent
  961. repeati
  962. - bitforce: Set a 30 second timeout for serial port on Windows, since the
  963. default is undefined
  964. - Use PreVal4addT1 instead of PreVal4 in poclbm kernel.
  965. - Import PreVal4 and PreVal0 into poclbm kernel.
  966. - Import more prepared constants into poclbm kernel.
  967. - Keep variables in one array but use Vals[] name for consistency with other
  968. kernel designs.
  969. - Replace constants that are mandatorily added in poclbm kernel with one value.
  970. - Remove addition of final constant before testing for result in poclbm kernel.
  971. - Hand optimise variable addition order.
  972. - Hand optimise first variable declaration order in poclbm kernel.
  973. - Radical reordering machine based first pass to change variables as late as
  974. possible, bringing their usage close together.
  975. - fix strcpy NULL pointer if env HOME unset.
  976. - bitforce: Disable automatic scanning when at least one device is specified
  977. manually
  978. - Unroll all poclbm additions to enable further optimisations.
  979. CGMiner Version 2.2.5 - February 13, 2012
  980. - Make output buffer write only as per Diapolo's suggestion.
  981. - Constify nonce in poclbm.
  982. - Use local and group id on poclbm kernel as well.
  983. - Microoptimise phatk kernel on return code.
  984. - Adjust engine speed up according to performance level engine setting, not the
  985. current engine speed.
  986. - Try to load a binary if we've defaulted to the poclbm kernel on SDK2.6
  987. - Use the poclbm kernel on SDK2.6 with bitalign devices only if there is no
  988. binary available.
  989. - Further generic microoptimisations to poclbm kernel.
  990. - The longstanding generation of a zero sized binary appears to be due to the
  991. OpenCL library putting the binary in a RANDOM SLOT amongst 4 possible binary
  992. locations. Iterate over each of them after building from source till the real
  993. binary is found and use that.
  994. - Fix harmless warnings with -Wsign-compare to allow cgminer to build with -W.
  995. - Fix missing field initialisers warnings.
  996. - Put win32 equivalents of nanosleep and sleep into compat.h fixing sleep() for
  997. adl.c.
  998. - Restore compatibility with Jansson 1.3 and 2.0 (api.c required 2.1)
  999. - Modularized logging, support for priority based logging
  1000. - Move CPU chipset specific optimization into device-cpu
  1001. CGMiner Version 2.2.4 - February 11, 2012
  1002. - Fix double definition of A0 B0 to zeroA zeroB.
  1003. - Retain cl program after successfully loading a binary image. May decrease
  1004. failures to build kernels at startup.
  1005. - Variable unused after this so remove setting it.
  1006. - BFI INT patching is not necessarily true on binary loading of files and not
  1007. true on ATI SDK2.6+. Report bitalign instead.
  1008. - Various string fixes for reject reason.
  1009. - Generalize --temp-cutoff and implement support for reading temperature from
  1010. BitFORCE FPGAs
  1011. - Change message from recovered to alive since it is used on startup as well as
  1012. when a pool has recovered.
  1013. - Start mining as soon as any pool is found active and rely on the watchpool
  1014. thread to bring up other pools.
  1015. - Delayed responses from testing pools that are down can hold up the watchdog
  1016. thread from getting to its device testing code, leading to false detection of
  1017. the GPU not checking in, and can substantially delay auto gpu/auto fan
  1018. management leading to overheating. Move pool watching to its own thread.
  1019. - Bugfix: BitFORCE index needs to be static to count correctly
  1020. - Space out retrieval of extra work according to the number of mining threads.
  1021. - Make shutdown more robust. Enable the input thread only after the other
  1022. threads exist. Don't kill off the workio thread and use it to exit main() only
  1023. if there is an unexpected problem. Use kill_work() for all anticipated shutdowns
  1024. where possible. Remove unused thread entry.
  1025. - Change poclbm version number.
  1026. - One array is faster than 2 separate arrays so change to that in poclbm kernel.
  1027. - Microoptimisations to poclbm kernel which increase throughput slightly.
  1028. - Import diablominer kernel. Currently disabled as not working.
  1029. - Import diapolo kernel. Currently disabled as not working.
  1030. - Conflicting entries of cl_kernel may have been causing problems, and
  1031. automatically chosen kernel type was not being passed on. Rename the enum to
  1032. cl_kernels and store the chosen kernel in each clState.
  1033. - Set cl_amd_media_ops with the BITALIGN flag and allow non-bitselect devices to
  1034. build.
  1035. - ALlow much longer filenames for kernels to load properly.
  1036. - Allow different kernels to be used by different devices and fix the logic fail
  1037. of overcorrecting on last commit with !strstr.
  1038. - Fix kernel selection process and build error.
  1039. - queue_phatk_kernel now uses CL_SET_VARG() for base-nonce(s), too
  1040. - added OpenCL >= 1.1 detection code, in preparation of OpenCL 1.1 global offset
  1041. parameter support
  1042. - Use K array explicitly to make it clear what is being added.
  1043. - Work items have a tendency to expire at exactly the same time and we don't
  1044. queue extra items when there are plenty in the queue, regardless of age. Allow
  1045. extra work items to be queued if adequate time has passed since we last
  1046. requested work even if over the limit.
  1047. - Discard work when failover-only is enabled and the work has come from a
  1048. different pool.
  1049. - Missing include to build on newer mingw32.
  1050. - Move from the thread safe localtime_r to regular localtime which is the only
  1051. one supported on newer pthread libraries on mingw32 to make it compile with the
  1052. newer ming. Thread safety is of no importance where localtime is used in this
  1053. code.
  1054. - Define in_addr_t in windows if required
  1055. - sys/wait.h not required in windows
  1056. - Allow API to restrict access by IP address
  1057. - Add pool switching to example miner.php
  1058. - Display X-Reject-Reason, when provided
  1059. - Remove the test for whether the device is on the highest profil level before
  1060. raising the GPU speed as it is ineffectual and may prevent raising the GPU
  1061. speed.
  1062. - Remove unnecessary check for opt_debug one every invocation of applog at
  1063. LOG_DEBUG level and place the check in applog().
  1064. CGMiner Version 2.2.3 - February 6, 2012
  1065. - Revert "Rewrite the convoluted get_work() function to be much simpler and roll
  1066. work as much as possible with each new work item." This seems to cause a race on
  1067. work in free_work(). Presumably other threads are still accessing the structure.
  1068. CGMiner Version 2.2.2 - February 6, 2012
  1069. - Provide support for the submitold extension on a per-pool basis based on the
  1070. value being detected in a longpoll.
  1071. - Don't send a ping to a dynamic device if it's not enabled as that will just
  1072. enable it for one pass and then disable it again.
  1073. - Rewrite the convoluted get_work() function to be much simpler and roll work as
  1074. much as possible with each new work item.
  1075. - Roll as much work as possible from the work returned from a longpoll.
  1076. - Rolling work on each loop through the mining thread serves no purpose.
  1077. - Allow to stage more than necessary work items if we're just rolling work.
  1078. - Replace divide_work with reuse_work function used twice.
  1079. - Give rolled work a new ID to make sure there is no confusion in the hashtable
  1080. lookups.
  1081. - Remove now-defunct hash_div variables.
  1082. - Remove unused get_dondata function.
  1083. - Silence ADL warnings.
  1084. - Silence unused parameter warnings.
  1085. - Stagger the restart of every next thread per device to keep devices busy ahead
  1086. of accessory threads per device.
  1087. - Deprecate the --donation feature. Needlessly complex, questionable usefulness,
  1088. depends on author's server and a central pool of some kind, and was not heavily
  1089. adopted.
  1090. - It's devices that report back now, not threads, update message.
  1091. - Continue auto-management of fan and engine speeds even if a device is disabled
  1092. for safety reasons.
  1093. - No need to check we're highest performance level when throttling GPU engine
  1094. speed.
  1095. - Abstract out tests for whether work has come from a block that has been seen
  1096. before and whether a string is from a previously seen block.
  1097. - Probe but don't set the timeout to 15 seconds as some networks take a long
  1098. time to timeout.
  1099. - Remove most compiler warnings from api.c
  1100. - Add last share's pool info in cgpu_info
  1101. - Allow the OpenCL platform ID to be chosen with --gpu-platform.
  1102. - Iterate over all platforms displaying their information and number of devices
  1103. when --ndevs is called.
  1104. - Deprecate main.c
  1105. - Some networks can take a long time to resolve so go back to 60 second timeouts
  1106. instead of 15.
  1107. - Only enable curses on failure if curses is desired.
  1108. - Fix warnings in bitforce.c
  1109. - Bugfix: Need to open BitForce tty for read-write
  1110. - Fix various build issues.
  1111. - Modularize code: main.c -> device-cpu + device-gpu
  1112. - Fix phatk kernel not working on non-bitalign capable devices (Nvidia, older
  1113. ATI).
  1114. - Update poclbm kernel for better performance on GCN and new SDKs with bitalign
  1115. support when not BFI INT patching. Update phatk kernel to work properly for non
  1116. BFI INT patched kernels, providing support for phatk to run on GCN and non-ATI
  1117. cards.
  1118. - Return last accepted share pool/time for devices
  1119. - Display accepted share pool/time for CPUs
  1120. - Bug intensity always shows GPU 0
  1121. - Update example web miner.php to use new API commands
  1122. CGMiner Version 2.2.1 - January 30, 2012
  1123. NOTE - The GPU Device reordering in 2.2.0 by default was considered a bad idea
  1124. so the original GPU ordering is used by default again unless reordering is
  1125. explicitly requested.
  1126. - Fix bitforce failing to build into cgminer.
  1127. - Add missing options to write config function.
  1128. - Add a --gpu-reorder option to only reorder devices according to PCI Bus ID
  1129. when requested.
  1130. - Fix for midstate support being broken on pools that supported no-midstate
  1131. work by ensuring numbers are 32 bits in sha2.c
  1132. - Set virtual GPUs to work when ADL is disabled or all mining will occur on GPU
  1133. 0.
  1134. - Add information about paused threads in the menu status.
  1135. - Disable all but the first thread on GPUs in dynamic mode for better
  1136. interactivity.
  1137. - Set the latest network access time on share submission for --net-delay even if
  1138. we're not delaying that submission for further network access.
  1139. - Clear adl on exiting after probing values since it may attempt to overclock.
  1140. - As share submission is usually staggered, and delays can be costly, submit
  1141. shares without delay even when --net-delay is enabled.
  1142. - Display GPU number and device name when ADL is successfully enabled on it.
  1143. - Display GPU ordering remapping in verbose mode.
  1144. - Don't fail in the case the number of ADL and OpenCL devices do not match, and
  1145. do not attempt to reorder devices unless they match. Instead give a warning
  1146. about
  1147. - Display error codes should ADL not return ADL_OK in the more critical function
  1148. calls.
  1149. - Fix unused warning.
  1150. - Fix compile warnings in api.c
  1151. - Add extensive ADL based device info in debug mode.
  1152. - Make --ndevs display verbose opencl information as well to make debugging
  1153. version information easier.
  1154. - Display information about the opencl platform with verbose enabled.
  1155. - Explicitly check for nvidia in opencl platform strings as well.
  1156. CGMiner Version 2.2.0 - January 29, 2012
  1157. NOTE: GPU Device order will change with this release with ATI GPUs as cgminer
  1158. now can enumerate them according to their Bus ID which means the values should
  1159. now correlate with their physical position on the motherboard.
  1160. - Default to poclbm kernel on Tahiti (7970) since phatk does not work, even
  1161. though performance is sub-standard so that at least it will mine successfully by
  1162. defau
  1163. - Retain cl program after every possible place we might build the program.
  1164. - Update ADL SDK URL.
  1165. - Fix potential overflow.
  1166. - Map GPU devices to virtual devices in their true physical order based on
  1167. BusNumber.
  1168. - Change the warning that comes with failure to init cl on a device to be more
  1169. generic and accurate.
  1170. - Advertise longpoll support in X-Mining-Extensions
  1171. - Detect dual GPU cards by iterating through all GPUs, finding ones without
  1172. fanspeed and matching twins with fanspeed one bus ID apart.
  1173. - Do not attempt to build the program that becomes the kernel twice. This could
  1174. have been leading to failures on initialising cl.
  1175. - Some opencl compilers have issues with no spaces after -D in the compiler
  1176. options.
  1177. - Allow intensity up to 14.
  1178. - Use calloced stack memory for CompilerOptions to ensure sprintf writes to the
  1179. beginning of the char.
  1180. - Whitelist 79x0 cards to prefer no vectors as they perform better without.
  1181. - Adjust fan speed gently while in the optimal range when temperature is
  1182. drifting to minimise overshoot in either direction.
  1183. - Detect dual GPU cards via the indirect information of - 1st card has a fan
  1184. controller. 2nd card does not have a fan controller, cards share the same device
  1185. name
  1186. - Instead of using the BFI_INT patching hack on any device reporting
  1187. cl_amd_media_ops, create a whitelist of devices that need it. This should enable
  1188. GCN architec
  1189. - Fixed API compiling issue on OS X
  1190. - Add more explanation of JSON format and the 'save' command
  1191. - Return an error if using ADL API commands when it's not available
  1192. - Read off lpThermalControllerInfo from each ADL device.
  1193. - Add ADL_Overdrive5_ThermalDevices_Enum interface.
  1194. - Add API commands: config, switchpool, gpu settings, save
  1195. - Implement socks4 proxy support.
  1196. - Fix send() for JSON strings
  1197. - Introduce a --net-delay option which guarantees at least 250ms between any
  1198. networking requests to not overload slow routers.
  1199. - Generalise locking init code.
  1200. - Allow invalid values to be in the configuration file, just skipping over them
  1201. provided the rest of the file is valid JSON. This will allow older configurat
  1202. - Allow CPU mining explicitly enable only if other mining support is built in.
  1203. - BitForce FPGA support
  1204. - Configure out building and support of all CPU mining code unless
  1205. --enable-cpumining is enabled.
  1206. - Allow parsed values to be zero which will allow 0 values in the config file to
  1207. work.
  1208. - Advertise that we can make our own midstate, so the pool can skip generating
  1209. it for us
  1210. - Refactor the CPU scanhash_* functions to use a common API. Fixes bugs.
  1211. - Don't consider a pool lagging if a request has only just been filed. This
  1212. should decrease the false positives for "pool not providing work fast enough".
  1213. - Invalidating work after longpoll made hash_pop return no work giving a false
  1214. positive for dead pool. Rework hash_pop to retry while finds no staged work u
  1215. - Remove TCP_NODELAY from curl options as many small packets may be contributing
  1216. to network overload, when --net-delay is enabled.
  1217. - Refactor miner_thread to be common code for any kind of device
  1218. - Simplify submit_nonce loop and avoid potentially missing FOUND - 1 entry.
  1219. Reported by Luke-Jr.
  1220. - Micro-optimisation in sha256_sse2 code courtesy of Guido Ascioti
  1221. guido.ascioti@gmail.com
  1222. - Refactor to abstract device-specific code
  1223. CGMiner Version 2.1.2 - January 6, 2012
  1224. - If api-description is specified, save it when writing the config file
  1225. - Adjust utility width to be constant maximum as well.
  1226. - Add percent signs to reject ratio outputs
  1227. - Should the donation pool fail, don't make the fallover pool behave as though
  1228. the primary pool is lagging.
  1229. - Use an alternative pool should the donation getwork fail.
  1230. CGMiner Version 2.1.1 - January 1, 2012
  1231. - Include API examples in distribution tarball.
  1232. - Don't attempt to pthread_join when cancelling threads as they're already
  1233. detached and doing so can lead to a segfault.
  1234. - Give more generic message if slow pool at startup is the donation pool.
  1235. - Continue to attempt restarting GPU threads if they're flagged dead at 1 min.
  1236. intervals.
  1237. - Don't attempt to restart sick flagged GPUs while they're still registering
  1238. activity.
  1239. - Make curl use fresh connections whenever there is any communication issue
  1240. in case there are dead persistent connections preventing further comms from
  1241. working.
  1242. - Display pool in summary if only 1 pool.
  1243. - Adjust column width of A/R/HW to be the maximum of any device and align them.
  1244. CGMiner Version 2.1.0 - December 27, 2011
  1245. - Major infrastructure upgrade with RPC interface for controlling via sockets
  1246. encoded with/without JSON courtesy of Andrew Smith. Added documentation for
  1247. use of the API and sample code to use with it.
  1248. - Updated linux-usb-cgminer document.
  1249. - Rewrite of longpoll mechanism to choose the current pool wherever possible to
  1250. use for the longpoll, or any pool that supports longpoll if the current one
  1251. does not.
  1252. - Display information about longpoll when the chosen server has changed.
  1253. - Fix the bug where longpoll generated work may have been sent back to the
  1254. wrong pool, causing rejects.
  1255. - Fix a few race conditions on closing cgminer which caused some of the crashes
  1256. on exit.
  1257. - Only adjust gpu engine speed in autotune mode if the gpu is currently at the
  1258. performance level of that being adjusted.
  1259. - Various fixes for parsing/writing of configuration files.
  1260. - Do not add blank lines for threads of unused CPUs.
  1261. - Show which pool is unresponsive on startup.
  1262. - Only show GPU management menu item if GPUs are in use.
  1263. - Align most device columns in the curses display.
  1264. CGMiner Version 2.0.8 - November 11, 2011
  1265. - Make longpoll do a mandatory flushing of all work even if the block hasn't
  1266. changed, thus supporting longpoll initiated work change of any sort and merged
  1267. mining.
  1268. - Byteswap computed hash in hashtest so it can be correctly checked. This fixes
  1269. the very rare possibility that a block solve on solo mining was missed.
  1270. - Add x86_64 w64 mingw32 target
  1271. - Allow a fixed speed difference between memory and GPU clock speed with
  1272. --gpu-memdiff that will change memory speed when GPU speed is changed in
  1273. autotune mode.
  1274. - Don't load the default config if a config file is specified on the command
  1275. line.
  1276. - Don't build VIA on apple since -a auto bombs instead of gracefully ignoring
  1277. VIA failing.
  1278. - Build fix for dlopen/dlclose errors in glibc.
  1279. CGMiner Version 2.0.7 - October 17, 2011
  1280. - Support work without midstate or hash1, which are deprecated in bitcoind 0.5+
  1281. - Go to kernel build should we fail to clCreateProgramWithBinary instead of
  1282. failing on that device. This should fix the windows problems with devices not
  1283. initialising.
  1284. - Support new configuration file format courtesy of Chris Savery which can write
  1285. the config file from the menu and will load it on startup.
  1286. - Write unix configuration to .cgminer/cgminer.conf by default and prompt to
  1287. overwrite if given a filename from the menu that exists.
  1288. CGMiner Version 2.0.6 - October 9, 2011
  1289. - Must initialise the donorpool mutex or it fails on windows.
  1290. - Don't make donation work interfere with block change detection allowing
  1291. donation to work regardless of the block chain we're mining on.
  1292. - Expire shares as stale with a separate timeout from the scantime, defaulting
  1293. to 120 seconds.
  1294. - Retry pools after a delay of 15 seconds if none can be contacted on startup
  1295. unless a key is pressed.
  1296. - Don't try to build adl features without having adl.
  1297. - Properly check shares against target difficulty - This will no longer show
  1298. shares when solo mining at all unless they're considered to be a block solve.
  1299. - Add altivec 4 way (cpu mining) support courtesy of Gilles Risch.
  1300. - Try to use SSL if the server supports it.
  1301. - Display the total solved blocks on exit (LOL if you're lucky).
  1302. - Use ADL activity report to tell us if a sick GPU is still busy suggesting it
  1303. is hard hung and do not attempt to restart it.
  1304. CGMiner Version 2.0.5 - September 27, 2011
  1305. - Intensity can now be set to dynamic or static values per-device.
  1306. - New donation feature --donation sends a proportion of shares to author's
  1307. account of choice, but is disabled by default!
  1308. - The hash being displayed and block detection has been fixed.
  1309. - Devices not being mined on will not attempt to be ADL managed.
  1310. - Intensity is now displayed per GPU device.
  1311. - Make longpoll attempt to restart as often as opt_retries specifies.
  1312. - We weren't rolling work as often as we could.
  1313. - Correct some memory management issues.
  1314. - Build fixes.
  1315. - Don't mess with GPUs if we don't have them.
  1316. CGMiner Version 2.0.4 - September 23, 2011
  1317. - Confused Longpoll messages should be finally fixed with cgminer knowing for
  1318. sure who found the new block and possibly avoiding a rare crash.
  1319. - Display now shows the actual hash and will say BLOCK! if a block is deemed
  1320. solved.
  1321. - Extra spaces, which would double space lines on small terminals, have been
  1322. removed.
  1323. - Fan speed change is now damped if it is already heading in the correct
  1324. direction to minimise overshoot.
  1325. - Building without opencl libraries is fixed.
  1326. - GPUs are autoselected if there is only one when in the GPU management menu.
  1327. - GPU menu is refreshed instead of returning to status after a GPU change.
  1328. CGMiner Version 2.0.3 - September 17, 2011
  1329. - Various modes of failure to set fanspeeds and adl values have been addressed
  1330. and auto-fan should work now on most hardware, and possibly other values
  1331. which previously would not have worked.
  1332. - Fixed a crash that can occur on switching pools due to longpoll thread races.
  1333. - Use ATISTREAMSDKROOT if available at build time.
  1334. - Fanspeed management is returned to the driver default on exit instead of
  1335. whatever it was when cgminer was started.
  1336. - Logging of events deemed WARNING or ERR now will display even during
  1337. periods where menu input is being awaited on.
  1338. CGMiner Version 2.0.2 - September 11, 2011
  1339. - Exit cleanly if we abort before various threads are set up or if they no
  1340. longer exist.
  1341. - Fix a rare crash in HASH_DEL due to using different mutexes to protect the
  1342. data.
  1343. - Flag devices that have never started and don't allow enabling of devices
  1344. without restarting them.
  1345. - Only force the adapter speed to high if we've flagged this device as being
  1346. managed.
  1347. - Flag any devices with autofan or autogpu as being managed.
  1348. - Use a re-entrant value to store what fanspeed we're trying to set in case the
  1349. card doesn't support small changes. Force it to a multiple of 10% if it
  1350. fails on trying to speed up the fan.
  1351. - Do not bother resetting values to old ones if changes to GPU parameters report
  1352. failure, instead returning a failure code only if the return value from get()
  1353. differs.
  1354. - Remove redundant check.
  1355. - Only display supported values from fanspeed on change settings.
  1356. - Missing bracket from output.
  1357. - Display fan percentage on devices that only support reporting percent and not
  1358. RPM.
  1359. - Properly substitute DLOPEN flags to build with ADL support when -ldl is needed
  1360. and not when opencl is not found.
  1361. CGMiner Version 2.0.1 - September 9, 2011
  1362. - Fix building on 32bit glibc with dlopen with -lpthread and -ldl
  1363. - ByteReverse is not used and the bswap opcode breaks big endian builds. Remove
  1364. it.
  1365. - Ignore whether the display is active or not since only display enabled devices
  1366. work this way, and we skip over repeat entries anwyay.
  1367. - Only reset values on exiting if we've ever modified them.
  1368. - Flag adl as active if any card is successfully activated.
  1369. - Add a thermal cutoff option as well and set it to 95 degrees by default.
  1370. - Change the fan speed by only 5% if it's over the target temperature but less
  1371. than the hysteresis value to minimise overshoot down in temperature.
  1372. - Add a --no-adl option to disable ADL monitoring and GPU settings.
  1373. - Only show longpoll received delayed message at verbose level.
  1374. - Allow temperatures greater than 100 degrees.
  1375. - We should be passing a float for the remainder of the vddc values.
  1376. - Implement accepting a range of engine speeds as well to allow a lower limit to
  1377. be specified on the command line.
  1378. - Allow per-device fan ranges to be set and use them in auto-fan mode.
  1379. - Display which GPU has overheated in warning message.
  1380. - Allow temperature targets to be set on a per-card basis on the command line.
  1381. - Display fan range in autofan status.
  1382. - Setting the hysteresis is unlikely to be useful on the fly and doesn't belong
  1383. in the per-gpu submenu.
  1384. - With many cards, the GPU summaries can be quite long so use a terse output
  1385. line when showing them all.
  1386. - Use a terser device status line to show fan RPM as well when available.
  1387. - Define max gpudevices in one macro.
  1388. - Allow adapterid 0 cards to enumerate as a device as they will be non-AMD
  1389. cards, and enable ADL on any AMD card.
  1390. - Do away with the increasingly confusing and irrelevant total queued and
  1391. efficiency measures per device.
  1392. - Only display values in the log if they're supported and standardise device log
  1393. line printing.
  1394. CGMiner Version 2.0.0 - September 6, 2011
  1395. Major feature upgrade - GPU monitoring, (over)clocking and fan control for ATI
  1396. GPUs.
  1397. New command line switches:
  1398. --auto-fan- Automatically adjust all GPU fan speeds to maintain a target
  1399. temperature
  1400. --auto-gpu- Automatically adjust all GPU engine clock speeds to maintain
  1401. a target temperature
  1402. --gpu-engine <arg> Set the GPU engine (over)clock in Mhz - one value for all or
  1403. separate by commas for per card.
  1404. --gpu-fan <arg> Set the GPU fan percentage - one value for all or separate
  1405. by commas for per card.
  1406. --gpu-memclock <arg> Set the GPU memory (over)clock in Mhz - one value for all
  1407. or separate by commas for per card.
  1408. --gpu-powertune <arg> Set the GPU powertune percentage - one value for all or
  1409. separate by commas for per card.
  1410. --gpu-vddc <arg> Set the GPU voltage in Volts - one value for all or separate
  1411. by commas for per card.
  1412. --temp-hysteresis <arg> Set how much the temperature can fluctuate outside
  1413. limits when automanaging speeds (default: 3)
  1414. --temp-overheat <arg> Set the overheat temperature when automatically managing
  1415. fan and GPU speeds (default: 85)
  1416. --temp-target <arg> Set the target temperature when automatically managing fan
  1417. and GPU speeds (default: 75)
  1418. - Implement ATI ADL support for GPU parameter monitoring now and setting later
  1419. (temp, fan, clocks etc.).
  1420. - Check for the presence of the ADL header files in ADL_SDK.
  1421. - Import adl_functions.h from amd overdrive ctrl.
  1422. - Implement a setup function that tries to detect GPUs that support the ADL and
  1423. link in the parameters into the gpus struct.
  1424. - Put a summary of monitoring information from the GPU menu.
  1425. - Implement changing memory speed and voltage on the fly.
  1426. - Implement fan speed setting.
  1427. - Minor corrections to set fan speed by percentage.
  1428. - Make sure to read off the value in RPM only.
  1429. - Implement auto fanspeed adjustment to maintain a target temperature and
  1430. fanspeed below 85%, with an overheat check that will speed the fan up to 100%.
  1431. - Add an --auto-fan command line option to allow all GPUs to have autofan
  1432. enabled from startup.
  1433. - Add a gpu autotune option which adjusts GPU speed to maintain a target
  1434. temperature within the bounds of the default GPU speed and any overclocking set.
  1435. - Avoid a dereference if the longpoll thread doesn't exist.
  1436. - Clean up by setting performance profiles and fan settings to startup levels on
  1437. exit.
  1438. - Add a small amount of hysteresis before lowering clock speed.
  1439. - Allow target, overheat and hysteresis temperatures to be set from command
  1440. line.
  1441. - Combine all stats collating into one function to avoid repeating function
  1442. calls on each variable.
  1443. - Add gpu statistics to debugging output via the watchdog thread.
  1444. - Implement menus to change temperature limits.
  1445. - Implement setting the GPU engine clock speed of all devices or each device as
  1446. a comma separated value.
  1447. - Implement setting the GPU memory clock speed of all devices or each device as
  1448. a comma separated value.
  1449. - Implement setting the GPU voltage of all devices or each device as a comma
  1450. separated value.
  1451. - Implement setting the GPU fan speed of all devices or each device as a comma
  1452. separated value.
  1453. - Add support for monitoring powertune setting.
  1454. - Implement changing of powertune value from the GPU change settings menu.
  1455. - Get the value of powertune in get_stats.
  1456. - Implement setting the GPU powertune value of all devices or each device as a
  1457. comma separated value.
  1458. - Remove the safety checks in speed setting since confirmation is done first in
  1459. the menu, then show the new current values after a short pause.
  1460. - Force the speed to high on startup and restore it to whatever the setting was
  1461. on exit.
  1462. - Add temperature to standard output where possible and use more compact output.
  1463. - Move and print at the same time in curses to avoid random trampling display
  1464. errors.
  1465. - Update the status window only from the watchdog thread, do not rewrite the top
  1466. status messages and only refresh once all the status window is complete,
  1467. clearing the window each time to avoid corruption.
  1468. - Set a safe starting fan speed if we're automanaging the speeds.
  1469. - Provide locking around all adl calls to prevent races.
  1470. - Lower profile settings cannot be higher than higher profile ones so link any
  1471. drops in settings.
  1472. - Add new needed text files to distribution.
  1473. - Queue requests ignoring the number of staged clones since they get discarded
  1474. very easily leading to false positives for pool not providing work fast enough.
  1475. - Include libgen.h in opt.c to fix win32 compilation warnings.
  1476. - Fix compilation warning on win32.
  1477. - Add the directory name from the arguments cgminer was called from as well to
  1478. allow it running from a relative pathname.
  1479. - Add a --disable-adl option to configure and only enable it if opencl support
  1480. exists.
  1481. - Retry before returning a failure to get upstream work as a failure to avoid
  1482. false positives for pool dead.
  1483. - Retry also if the decoding of work fails.
  1484. - Use the presence of X-Roll-Ntime in the header as a bool for exists unless N
  1485. is found in the response.
  1486. CGMiner Version 1.6.2 - September 2, 2011
  1487. - Add --failover-only option to not leak work to backup pools when the primary
  1488. pool is lagging.
  1489. - Change recommendation to intensity 9 for dedicated miners.
  1490. - Fix the bouncing short term value by allowing it to change dynamically when
  1491. the latest value is very different from the rolling value, but damp the change
  1492. when it gets close.
  1493. - Use the curses_lock to protect the curses_active variable and test it under
  1494. lock.
  1495. - Go back to requesting work 2/3 of the way through the current scantime with
  1496. CPU mining as reports of mining threads running out of work have occurred with
  1497. only 5 seconds to retrieve work.
  1498. - Add start and stop time scheduling for regular time of day running or once off
  1499. start/stop options.
  1500. - Print summary on quit modes.
  1501. - Put some sanity checks on the times that can be input.
  1502. - Give a verbose message when no active pools are found and pause before
  1503. exiting.
  1504. - Add verbose message when a GPU fails to initialise, and disable the correct
  1505. GPU.
  1506. - Cryptopp asm32 was not correctly updated to the incremental nonce code so the
  1507. hash counter was bogus.
  1508. - Get rid of poorly executed curl check.
  1509. - If curl does not have sockopts, do not try to compile the
  1510. json_rpc_call_sockopt_cb function, making it possible to build against older
  1511. curl libraries.
  1512. - Most people expect /usr/local when an unspecified prefix is used so change to
  1513. that.
  1514. - Rename localgen occasions to getwork fail occasions since localgen is
  1515. unrelated now.
  1516. CGMiner Version 1.6.1 - August 29, 2011
  1517. - Copy cgminer path, not cat it.
  1518. - Switching between redrawing windows does not fix the crash with old
  1519. libncurses, so redraw both windows, but only when the window size hasn't
  1520. changed.
  1521. - Reinstate minimum 1 extra in queue to make it extremely unlikely to ever have
  1522. 0 staged work items and any idle time.
  1523. - Return -1 if no input is detected from the menu to prevent it being
  1524. interpreted as a 0.
  1525. - Make pthread, libcurl and libcurses library checks mandatory or fail.
  1526. - Add a --disable-opencl configure option to make it possible to override
  1527. detection of opencl and build without GPU mining support.
  1528. - Confusion over the variable name for number of devices was passing a bogus
  1529. value which likely was causing the zero sized binary issue.
  1530. - cgminer no longer supports default url user and pass so remove them.
  1531. - Don't show value of intensity since it's dynamic by default.
  1532. - Add options to explicitly enable CPU mining or disable GPU mining.
  1533. - Convert the opt queue into a minimum number of work items to have queued
  1534. instead of an extra number to decrease risk of getting idle devices without
  1535. increasing risk of higher rejects.
  1536. - Statify tv_sort.
  1537. - Check for SSE2 before trying to build 32 bit SSE2 assembly version. Prevents
  1538. build failure when yasm is installed but -msse2 is not specified.
  1539. - Add some defines to configure.ac to enable exporting of values and packaging,
  1540. and clean up output.
  1541. - Give convenient summary at end of ./configure.
  1542. - Display version information and add --version command line option, and make
  1543. sure we flush stdout.
  1544. - Enable curses after the mining threads are set up so that failure messages
  1545. won't be lost in the curses interface.
  1546. - Disable curses after inputting a pool if we requested no curses interface.
  1547. - Add an option to break out after successfully mining a number of accepted
  1548. shares.
  1549. - Exit with a failed return code if we did not reach opt_shares.
  1550. - The cpu mining work data can get modified before we copy it if we submit it
  1551. async, and the sync submission is not truly sync anyway, so just submit it sync.
  1552. CGMiner Version 1.6.0 - August 26, 2011
  1553. - Make restarting of GPUs optional for systems that hang on any attempt to
  1554. restart them. Fix DEAD status by comparing it to last live time rather than
  1555. last attempted restart time since that happens every minute.
  1556. - Move staged threads to hashes so we can sort them by time.
  1557. - Create a hash list of all the blocks created and search them to detect when a
  1558. new block has definitely appeared, using that information to detect stale work
  1559. and discard it.
  1560. - Update configure.ac for newer autoconf tools.
  1561. - Use the new hashes directly for counts instead of the fragile counters
  1562. currently in use.
  1563. - Update to latest sse2 code from cpuminer-ng.
  1564. - Allow LP to reset block detect and block detect lp flags to know who really
  1565. came first.
  1566. - Get start times just before mining begins to not have very slow rise in
  1567. average.
  1568. - Add message about needing one server.
  1569. - We can queue all the necessary work without hitting frequent stales now with
  1570. the time and string stale protection active all the time. This prevents a
  1571. pool being falsely labelled as not providing work fast enough.
  1572. - Include uthash.h in distro.
  1573. - Implement SSE2 32 bit assembly algorithm as well.
  1574. - Fail gracefully if unable to open the opencl files.
  1575. - Make cgminer look in the install directory for the .cl files making make
  1576. install work correctly.
  1577. - Allow a custom kernel path to be entered on the command line.
  1578. - Bump threshhold for lag up to maximum queued but no staged work.
  1579. - Remove fragile source patching for bitalign, vectors et. al and simply pass it
  1580. with the compiler options.
  1581. - Actually check the value returned for the x-roll-ntime extension to make sure
  1582. it isn't saying N.
  1583. - Prevent segfault on exit for when accessory threads don't exist.
  1584. - Disable curl debugging with opt protocol since it spews to stderr.
  1585. CGMiner Version 1.5.8 - August 23, 2011
  1586. - Minimise how much more work can be given in cpu mining threads each interval.
  1587. - Make the fail-pause progressively longer each time it fails until the network
  1588. recovers.
  1589. - Only display the lagging message if we've requested the work earlier.
  1590. - Clean up the pool switching to not be dependent on whether the work can roll
  1591. or not by setting a lagging flag and then the idle flag.
  1592. - Only use one thread to determine if a GPU is sick or well, and make sure to
  1593. reset the sick restart attempt time.
  1594. - The worksize was unintentionally changed back to 4k by mistake, this caused a
  1595. slowdown.
  1596. CGMiner Version 1.5.7 - August 22, 2011
  1597. - Fix a crash with --algo auto
  1598. - Test at appropriate target difficulty now.
  1599. - Add per-device statics log output with --per-device-stats
  1600. - Fix breakage that occurs when 1 or 4 vectors are chosen on new phatk.
  1601. - Make rolltime report debug level only now since we check it every work
  1602. item.
  1603. - Add the ability to enable/disable per-device stats on the fly and match
  1604. logging on/off.
  1605. - Explicitly tell the compiler to retain the program to minimise the chance of
  1606. the zero sized binary errors.
  1607. - Add one more instruction to avoid one branch point in the common path in the
  1608. cl return code. Although this adds more ALUs overall and more branch points, the
  1609. common path code has the same number of ALUs and one less jmp, jmps being more
  1610. expensive.
  1611. - Explicitly link in ws2_32 on the windows build and update README file on how
  1612. to compile successfully on windows.
  1613. - Release cl resources should the gpu mining thread abort.
  1614. - Attempt to restart a GPU once every minute while it's sick.
  1615. - Don't kill off the reinit thread if it fails to init a GPU but returns safely.
  1616. - Only declare a GPU dead if there's been no sign of activity from the reinit
  1617. thread for 10 mins.
  1618. - Never automatically disable any pools but just specify them as idle if they're
  1619. unresponsive at startup.
  1620. - Use any longpoll available, and don't disable it if switching to a server that
  1621. doesn't have it. This allows you to mine solo, yet use the longpoll from a pool
  1622. even if the pool is the backup server.
  1623. - Display which longpoll failed and don't free the ram for lp_url since it
  1624. belongs to the pool hdr path.
  1625. - Make the tcp setsockopts unique to linux in the hope it allows freebsd et. al
  1626. to compile.
  1627. CGMiner Version 1.5.6 - August 17, 2011
  1628. - New phatk and poclbm kernels. Updated phatk to be in sync with latest 2.2
  1629. courtesy of phateus. Custom modified to work best with cgminer.
  1630. - Updated output buffer code to use a smaller buffer with the kernels.
  1631. - Clean up the longpoll management to ensure the right paths go to the right
  1632. pool and display whether we're connected to LP or not in the status line.
  1633. CGMiner Version 1.5.5 - August 16, 2011
  1634. - Rework entirely the GPU restart code. Strike a balance between code that
  1635. re-initialises the GPU entirely so that soft hangs in the code are properly
  1636. managed, but if a GPU is completely hung, the thread restart code fails
  1637. gracefully, so that it does not take out any other code or devices. This will
  1638. allow cgminer to keep restarting GPUs that can be restarted, but continue
  1639. mining even if one or more GPUs hangs which would normally require a reboot.
  1640. - Add --submit-stale option which submits all shares, regardless of whether they
  1641. would normally be considered stale.
  1642. - Keep options in alphabetical order.
  1643. - Probe for slightly longer for when network conditions are lagging.
  1644. - Only display the CPU algo when we're CPU mining.
  1645. - As we have keepalives now, blaming network flakiness on timeouts appears to
  1646. have been wrong. Set a timeout for longpoll to 1 hour, and most other
  1647. network connectivity to 1 minute.
  1648. - Simplify output code and remove HW errors from CPU stats.
  1649. - Simplify code and tidy output.
  1650. - Only show cpu algo in summary if cpu mining.
  1651. - Log summary at the end as per any other output.
  1652. - Flush output.
  1653. - Add a linux-usb-cgminer guide courtesy of Kano.
  1654. CGMiner Version 1.5.4 - August 14, 2011
  1655. - Add new option: --monitor <cmd> Option lets user specify a command <cmd> that
  1656. will get forked by cgminer on startup. cgminer's stderr output subsequently gets
  1657. piped directly to this command.
  1658. - Allocate work from one function to be able to initialise variables added
  1659. later.
  1660. - Add missing fflush(stdout) for --ndevs and conclusion summary.
  1661. - Preinitialise the devices only once on startup.
  1662. - Move the non cl_ variables into the cgpu info struct to allow creating a new
  1663. cl state on reinit, preserving known GPU variables.
  1664. - Create a new context from scratch in initCQ in case something was corrupted to
  1665. maximise our chance of succesfully creating a new worker thread. Hopefully this
  1666. makes thread restart on GPU failure more reliable, without hanging everything
  1667. in the case of a completely wedged GPU.
  1668. - Display last initialised time in gpu management info, to know if a GPU has
  1669. been re-initialised.
  1670. - When pinging a sick cpu, flush finish and then ping it in a separate thread in
  1671. the hope it recovers without needing a restart, but without blocking code
  1672. elsewhere.
  1673. - Only consider a pool lagging if we actually need the work and we have none
  1674. staged despite queue requests stacking up. This decreases significantly the
  1675. amount of work that leaks to the backup pools.
  1676. - The can_roll function fails inappropriately in stale_work.
  1677. - Only put the message that a pool is down if not pinging it every minute. This
  1678. prevents cgminer from saying pool down at 1 minute intervals unless in debug
  1679. mode.
  1680. - Free all work in one place allowing us to perform actions on it in the future.
  1681. - Remove the extra shift in the output code which was of dubious benefit. In
  1682. fact in cgminer's implementation, removing this caused a miniscule speedup.
  1683. - Test each work item to see if it can be rolled instead of per-pool and roll
  1684. whenever possible, adhering to the 60 second timeout. This makes the period
  1685. after a longpoll have smaller dips in throughput, as well as requiring less
  1686. getworks overall thus increasing efficiency.
  1687. - Stick to rolling only work from the current pool unless we're in load balance
  1688. mode or lagging to avoid aggressive rolling imitating load balancing.
  1689. - If a work item has had any mining done on it, don't consider it discarded
  1690. work.
  1691. CGMiner Version 1.5.3 - July 30, 2011
  1692. - Significant work went into attempting to make the thread restart code robust
  1693. to identify sick threads, tag them SICK after 1 minute, then DEAD after 5
  1694. minutes of inactivity and try to restart them. Instead of re-initialising the
  1695. GPU completely, only a new cl context is created to avoid hanging the rest of
  1696. the GPUs should the dead GPU be hung irrevocably.
  1697. - Use correct application name in syslog.
  1698. - Get rid of extra line feeds.
  1699. - Use pkg-config to check for libcurl version
  1700. - Implement per-thread getwork count with proper accounting to not over-account
  1701. queued items when local work replaces it.
  1702. - Create a command queue from the program created from source which allows us
  1703. to flush the command queue in the hope it will not generate a zero sized binary
  1704. any more.
  1705. - Be more willing to get work from the backup pools if the work is simply being
  1706. queued faster than it is being retrieved.
  1707. CGMiner Version 1.5.2 - July 28, 2011
  1708. - Restarting a hung GPU can hang the rest of the GPUs so just declare it dead
  1709. and provide the information in the status.
  1710. - The work length in the miner thread gets smaller but doesn't get bigger if
  1711. it's under 1 second. This could end up leading to CPU under-utilisation and
  1712. lower and lower hash rates. Fix it by increasing work length if it drops
  1713. under 1 second.
  1714. - Make the "quiet" mode still update the status and display errors, and add a
  1715. new --real-quiet option which disables all output and can be set once while
  1716. running.
  1717. - Update utility and efficiency figures when displaying them.
  1718. - Some Intel HD graphics support the opencl commands but return errors since
  1719. they don't support opencl. Don't fail with them, just provide a warning and
  1720. disable GPU mining.
  1721. - Add http:// if it's not explicitly set for URL entries.
  1722. - Log to the output file at any time with warnings and errors, instead of just
  1723. when verbose mode is on.
  1724. - Display the correct current hash as per blockexplorer, truncated to 16
  1725. characters, with just the time.
  1726. CGMiner Version 1.5.1 - July 27, 2011
  1727. - Two redraws in a row cause a crash in old libncurses so just do one redraw
  1728. using the main window.
  1729. - Don't adjust hash_div only up for GPUs. Disable hash_div adjustment for GPUs.
  1730. - Only free the thread structures if the thread still exists.
  1731. - Update both windows separately, but not at the same time to prevent the double
  1732. refresh crash that old libncurses has. Do the window resize check only when
  1733. about to redraw the log window to minimise ncurses cpu usage.
  1734. - Abstract out the decay time function and use it to make hash_div a rolling
  1735. average so it doesn't change too abruptly and divide work in chunks large enough
  1736. to guarantee they won't overlap.
  1737. - Sanity check to prove locking.
  1738. - Don't take more than one lock at a time.
  1739. - Make threads report out when they're queueing a request and report if they've
  1740. failed.
  1741. - Make cpu mining work submission asynchronous as well.
  1742. - Properly detect stale work based on time from staging and discard instead of
  1743. handing on, but be more lax about how long work can be divided for up to the
  1744. scantime.
  1745. - Do away with queueing work separately at the start and let each thread grab
  1746. its own work as soon as it's ready.
  1747. - Don't put an extra work item in the queue as each new device thread will do so
  1748. itself.
  1749. - Make sure to decrease queued count if we discard the work.
  1750. - Attribute split work as local work generation.
  1751. - If work has been cloned it is already at the head of the list and when being
  1752. reinserted into the queue it should be placed back at the head of the list.
  1753. - Dividing work is like the work is never removed at all so treat it as such.
  1754. However the queued bool needs to be reset to ensure we *can* request more work
  1755. even if we didn't initially.
  1756. - Make the display options clearer.
  1757. - Add debugging output to tq_push calls.
  1758. - Add debugging output to all tq_pop calls.
  1759. CGMiner Version 1.5.0 - July 26, 2011
  1760. - Increase efficiency of slow mining threads such as CPU miners dramatically. Do
  1761. this by detecting which threads cannot complete searching a work item within the
  1762. scantime and then divide up a work item into multiple smaller work items.
  1763. Detect the age of the work items and if they've been cloned before to prevent
  1764. doing the same work over. If the work is too old to be divided, then see if it
  1765. can be time rolled and do that to generate work. This dramatically decreases the
  1766. number of queued work items from a pool leading to higher overall efficiency
  1767. (but the same hashrate and share submission rate).
  1768. - Don't request work too early for CPUs as CPUs will scan for the full
  1769. opt_scantime anyway.
  1770. - Simplify gpu management enable/disable/restart code.
  1771. - Implement much more accurate rolling statistics per thread and per gpu and
  1772. improve accuracy of rolling displayed values.
  1773. - Make the rolling log-second average more accurate.
  1774. - Add a menu to manage GPUs on the fly allowing you to enable/disable GPUs or
  1775. try restarting them.
  1776. - Keep track of which GPUs are alive versus enabled.
  1777. - Start threads for devices that are even disabled, but don't allow them to
  1778. start working.
  1779. - The last pool is when we are low in total_pools, not active_pools.
  1780. - Make the thread restart do a pthread_join after disabling the device, only
  1781. re-enabling it if we succeed in restarting the thread. Do this from a separate
  1782. thread so as to not block any other code.This will allow cgminer to continue
  1783. even if one GPU hangs.
  1784. - Try to do every curses manipulation under the curses lock.
  1785. - Only use the sockoptfunction if the version of curl is recent enough.
  1786. CGMiner Version 1.4.1 - July 24, 2011
  1787. - Do away with GET for dealing with longpoll forever. POST is the one that works
  1788. everywhere, not the other way around.
  1789. - Detect when the primary pool is lagging and start queueing requests on backup
  1790. pools if possible before needing to roll work.
  1791. - Load balancing puts more into the current pool if there are disabled pools.
  1792. Fix.
  1793. - Disable a GPU device should the thread fail to init.
  1794. - Out of order command queue may fail on osx. Try without if it fails.
  1795. - Fix possible dereference on blank inputs during input_pool.
  1796. - Defines missing would segfault on --help when no sse mining is built in.
  1797. - Revert "Free up resources/stale compilers." - didn't help.
  1798. - Only try to print the status of active devices or it would crash.
  1799. - Some hardware might benefit from the less OPS so there's no harm in leaving
  1800. kernel changes that do that apart from readability of the code.
  1801. CGMiner Version 1.4.0 - July 23, 2011
  1802. - Feature upgrade: Add keyboard input during runtime to allow modification of
  1803. and viewing of numerous settings such as adding/removing pools, changing
  1804. multipool management strategy, switching pools, changing intensiy, verbosity,
  1805. etc. with a simple keypress menu system.
  1806. - Free up resources/stale compilers.
  1807. - Kernels are safely flushed in a way that allows out of order execution to
  1808. work.
  1809. - Sometimes the cl compiler generates zero sized binaries and only a reboot
  1810. seems to fix it.
  1811. - Don't try to stop/cancel threads that don't exist.
  1812. - Only set option to show devices and exit if built with opencl support.
  1813. - Enable curses earlier and exit with message in main for messages to not be
  1814. lost in curses windows.
  1815. - Make it possible to enter server credentials with curses input if none are
  1816. specified on the command line.
  1817. - Abstract out a curses input function and separate input pool function to allow
  1818. for live adding of pools later.
  1819. - Remove the nil arguments check to allow starting without parameters.
  1820. - Disable/enable echo & cbreak modes.
  1821. - Add a thread that takes keyboard input and allow for quit, silent, debug,
  1822. verbose, normal, rpc protocol debugging and clear screen options.
  1823. - Add pool option to input and display current pool status, pending code to
  1824. allow live changes.
  1825. - Add a bool for explicit enabling/disabling of pools.
  1826. - Make input pool capable of bringing up pools while running.
  1827. - Do one last check of the work before submitting it.
  1828. - Implement the ability to live add, enable, disable, and switch to pools.
  1829. - Only internally test for block changes when the work matches the current pool
  1830. to prevent interleaved block change timing on multipools.
  1831. - Display current pool management strategy to enable changing it on the fly.
  1832. - The longpoll blanking of the current_block data may not be happening before
  1833. the work is converted and appears to be a detected block change. Blank the
  1834. current block be
  1835. - Make --no-longpoll work again.
  1836. - Abstract out active pools count.
  1837. - Allow the pool strategy to be modified on the fly.
  1838. - Display pool information on the fly as well.
  1839. - Add a menu and separate out display options.
  1840. - Clean up the messy way the staging thread communicates with the longpoll
  1841. thread to determine who found the block first.
  1842. - Make the input windows update immediately instead of needing a refresh.
  1843. - Allow log interval to be set in the menu.
  1844. - Allow scan settings to be modified at runtime.
  1845. - Abstract out the longpoll start and explicitly restart it on pool change.
  1846. - Make it possible to enable/disable longpoll.
  1847. - Set priority correctly on multipools. Display priority and alive/dead
  1848. information in display_pools.
  1849. - Implement pool removal.
  1850. - Limit rolltime work generation to 10 iterations only.
  1851. - Decrease testing log to info level.
  1852. - Extra refresh not required.
  1853. - With huge variation in GPU performance, allow intensity to go from -10 to +10.
  1854. - Tell getwork how much of a work item we're likely to complete for future
  1855. splitting up of work.
  1856. - Remove the mandatory work requirement at startup by testing for invalid work
  1857. being passed which allows for work to be queued immediately. This also
  1858. removes the requirem
  1859. - Make sure intensity is carried over to thread count and is at least the
  1860. minimum necessary to work.
  1861. - Unlocking error on retry. Locking unnecessary anyway so remove it.
  1862. - Clear log window from consistent place. No need for locking since logging is
  1863. disabled during input.
  1864. - Cannot print the status of threads that don't exist so just queue enough work
  1865. for the number of mining threads to prevent crash with -Q N.
  1866. - Update phatk kernel to one with new parameters for slightly less overhead
  1867. again. Make the queue kernel parameters call a function pointer to select
  1868. phatk or poclbm.
  1869. - Make it possible to select the choice of kernel on the command line.
  1870. - Simplify the output part of the kernel. There's no demonstrable advantage from
  1871. more complexity.
  1872. - Merge pull request #18 from ycros/cgminer
  1873. - No need to make leaveok changes win32 only.
  1874. - Build support in for all SSE if possible and only set the default according to
  1875. machine capabilities.
  1876. - Win32 threading and longpoll keepalive fixes.
  1877. - Win32: Fix for mangled output on the terminal on exit.
  1878. CGMiner Version 1.3.1 - July 20, 2011
  1879. - Feature upgrade; Multiple strategies for failover. Choose from default which
  1880. now falls back to a priority order from 1st to last, round robin which only
  1881. changes pools when one is idle, rotate which changes pools at user-defined
  1882. intervals, and load-balance which spreads the work evenly amongst all pools.
  1883. - Implement pool rotation strategy.
  1884. - Implement load balancing algorithm by rotating requests to each pool.
  1885. - Timeout on failed discarding of staged requests.
  1886. - Implement proper flagging of idle pools, test them with the watchdog thread,
  1887. and failover correctly.
  1888. - Move pool active test to own function.
  1889. - Allow multiple strategies to be set for multipool management.
  1890. - Track pool number.
  1891. - Don't waste the work items queued on testing the pools at startup.
  1892. - Reinstate the mining thread watchdog restart.
  1893. - Add a getpoll bool into the thread information and don't restart threads stuck
  1894. waiting on work.
  1895. - Rename the idlenet bool for the pool for later use.
  1896. - Allow the user/pass userpass urls to be input in any order.
  1897. - When json rpc errors occur they occur in spits and starts, so trying to limit
  1898. them with the comms error bool doesn't stop a flood of them appearing.
  1899. - Reset the queued count to allow more work to be queued for the new pool on
  1900. pool switch.
  1901. CGMiner Version 1.3.0 - July 19, 2011
  1902. - Massive infrastructure update to support pool failover.
  1903. - Accept multiple parameters for url, user and pass and set up structures of
  1904. pool data accordingly.
  1905. - Probe each pool for what it supports.
  1906. - Implement per pool feature support according to rolltime support as
  1907. advertised by server.
  1908. - Do switching automatically based on a 300 second timeout of locally generated
  1909. work or 60 seconds of no response from a server that doesn't support rolltime.
  1910. - Implement longpoll server switching.
  1911. - Keep per-pool data and display accordingly.
  1912. - Make sure cgminer knows how long the pool has actually been out for before
  1913. deeming it a prolonged outage.
  1914. - Fix bug with ever increasing staged work in 1.2.8 that eventually caused
  1915. infinite rejects.
  1916. - Make warning about empty http requests not show by default since many
  1917. servers do this regularly.
  1918. CGMiner Version 1.2.8 - July 18, 2011
  1919. - More OSX build fixes.
  1920. - Add an sse4 algorithm to CPU mining.
  1921. - Fix CPU mining with other algorithms not working.
  1922. - Rename the poclbm file to ensure a new binary is built since.
  1923. - We now are guaranteed to have one fresh work item after a block change and we
  1924. should only discard staged requests.
  1925. - Don't waste the work we retrieve from a longpoll.
  1926. - Provide a control lock around global bools to avoid racing on them.
  1927. - Iterating over 1026 nonces when confirming data from the GPU is old code
  1928. and unnecessary and can lead to repeats/stales.
  1929. - The poclbm kernel needs to be updated to work with the change to 4k sized
  1930. output buffers.
  1931. - longpoll seems to work either way with post or get but some servers prefer
  1932. get so change to httpget.
  1933. CGMiner Version 1.2.7 - July 16, 2011
  1934. - Show last 8 characters of share submitted in log.
  1935. - Display URL connected to and user logged in as in status.
  1936. - Display current block and when it was started in the status line.
  1937. - Only pthread_join the mining threads if they exist as determined by
  1938. pthread_cancel and don't fail on pthread_cancel.
  1939. - Create a unique work queue for all getworks instead of binding it to thread 0
  1940. to avoid any conflict over thread 0's queue.
  1941. - Clean up the code to make it clear it's watchdog thread being messaged to
  1942. restart the threads.
  1943. - Check the current block description hasn't been blanked pending the real
  1944. new current block data.
  1945. - Re-enable signal handlers once the signal has been received to make it
  1946. possible to kill cgminer if it fails to shut down.
  1947. - Disable restarting of CPU mining threads pending further investigation.
  1948. - Update longpoll messages.
  1949. - Add new block data to status line.
  1950. - Fix opencl tests for osx.
  1951. - Only do local generation of work if the work item is not stale itself.
  1952. - Check for stale work within the mining threads and grab new work if
  1953. positive.
  1954. - Test for idle network conditions and prevent threads from being restarted
  1955. by the watchdog thread under those circumstances.
  1956. - Make sure that local work generation does not continue indefinitely by
  1957. stopping it after 10 minutes.
  1958. - Tweak the kernel to have a shorter path using a 4k buffer and a mask on the
  1959. nonce value instead of a compare and loop for a shorter code path.
  1960. - Allow queue of zero and make that default again now that we can track how
  1961. work is being queued versus staged. This can decrease reject rates.
  1962. - Queue precisely the number of mining threads as longpoll_staged after a
  1963. new block to not generate local work.
  1964. CGMiner Version 1.2.6 - July 15, 2011
  1965. - Put a current system status line beneath the total work status line
  1966. - Fix a counting error that would prevent cgminer from correctly detecting
  1967. situations where getwork was failing - this would cause stalls sometimes
  1968. unrecoverably.
  1969. - Limit the maximum number of requests that can be put into the queue which
  1970. otherwise could get arbitrarily long during a network outage.
  1971. - Only count getworks that are real queue requests.
  1972. CGMiner Version 1.2.5 - July 15, 2011
  1973. - Conflicting -n options corrected
  1974. - Setting an intensity with -I disables dynamic intensity setting
  1975. - Removed option to manually disable dynamic intensity
  1976. - Improve display output
  1977. - Implement signal handler and attempt to clean up properly on exit
  1978. - Only restart threads that are not stuck waiting on mandatory getworks
  1979. - Compatibility changes courtesy of Ycros to build on mingw32 and osx
  1980. - Explicitly grab first work item to prevent false positive hardware errors
  1981. due to working on uninitialised work structs
  1982. - Add option for non curses --text-only output
  1983. - Ensure we connect at least once successfully before continuing to retry to
  1984. connect in case url/login parameters were wrong
  1985. - Print an executive summary when cgminer is terminated
  1986. - Make sure to refresh the status window
  1987. CGMiner Versions -> 1.2.4
  1988. - Con Kolivas - July 2011. New maintainership of code under cgminer name.
  1989. - Massive rewrite to incorporate GPU mining.
  1990. - Incorporate original oclminer c code.
  1991. - Rewrite gpu mining code to efficient work loops.
  1992. - Implement per-card detection and settings.
  1993. - Implement vector code.
  1994. - Implement bfi int patching.
  1995. - Import poclbm and phatk ocl kernels and use according to hardware type.
  1996. - Implement customised optimised versions of opencl kernels.
  1997. - Implement binary kernel generation and loading.
  1998. - Implement preemptive asynchronous threaded work gathering and pushing.
  1999. - Implement variable length extra work queues.
  2000. - Optimise workloads to be efficient miners instead of getting lots of extra
  2001. work.
  2002. - Implement total hash throughput counters, per-card accepted, rejected and
  2003. hw error count.
  2004. - Staging and watchdog threads to prevent fallover.
  2005. - Stale and reject share guarding.
  2006. - Autodetection of new blocks without longpoll.
  2007. - Dynamic setting of intensity to maintain desktop interactivity.
  2008. - Curses interface with generous statistics and information.
  2009. - Local generation of work (xroll ntime) when detecting poor network
  2010. connectivity.
  2011. cpuminer Version 1.0.2
  2012. - Linux x86_64 optimisations - Con Kolivas
  2013. - Optimise for x86_64 by default by using sse2_64 algo
  2014. - Detects CPUs and sets number of threads accordingly
  2015. - Uses CPU affinity for each thread where appropriate
  2016. - Sets scheduling policy to lowest possible
  2017. - Minor performance tweaks
  2018. cpuminer Version 1.0.1 - May 14, 2011
  2019. - OSX support
  2020. cpuminer Version 1.0 - May 9, 2011
  2021. - jansson 2.0 compatibility
  2022. - correct off-by-one in date (month) display output
  2023. - fix platform detection
  2024. - improve yasm configure bits
  2025. - support full URL, in X-Long-Polling header
  2026. cpuminer Version 0.8.1 - March 22, 2011
  2027. - Make --user, --pass actually work
  2028. - Add User-Agent HTTP header to requests, so that server operators may
  2029. more easily identify the miner client.
  2030. - Fix minor bug in example JSON config file
  2031. cpuminer Version 0.8 - March 21, 2011
  2032. - Support long polling: http://deepbit.net/longpolling.php
  2033. - Adjust max workload based on scantime (default 5 seconds,
  2034. or 60 seconds for longpoll)
  2035. - Standardize program output, and support syslog on Unix platforms
  2036. - Suport --user/--pass options (and "user" and "pass" in config file),
  2037. as an alternative to the current --userpass
  2038. cpuminer Version 0.7.2 - March 14, 2011
  2039. - Add port of ufasoft's sse2 assembly implementation (Linux only)
  2040. This is a substantial speed improvement on Intel CPUs.
  2041. - Move all JSON-RPC I/O to separate thread. This reduces the
  2042. number of HTTP connections from one-per-thread to one, reducing resource
  2043. usage on upstream bitcoind / pool server.
  2044. cpuminer Version 0.7.1 - March 2, 2011
  2045. - Add support for JSON-format configuration file. See example
  2046. file example-cfg.json. Any long argument on the command line
  2047. may be stored in the config file.
  2048. - Timestamp each solution found
  2049. - Improve sha256_4way performance. NOTE: This optimization makes
  2050. the 'hash' debug-print output for sha256_way incorrect.
  2051. - Use __builtin_expect() intrinsic as compiler micro-optimization
  2052. - Build on Intel compiler
  2053. - HTTP library now follows HTTP redirects
  2054. cpuminer Version 0.7 - February 12, 2011
  2055. - Re-use CURL object, thereby reuseing DNS cache and HTTP connections
  2056. - Use bswap_32, if compiler intrinsic is not available
  2057. - Disable full target validation (as opposed to simply H==0) for now
  2058. cpuminer Version 0.6.1 - February 4, 2011
  2059. - Fully validate "hash < target", rather than simply stopping our scan
  2060. if the high 32 bits are 00000000.
  2061. - Add --retry-pause, to set length of pause time between failure retries
  2062. - Display proof-of-work hash and target, if -D (debug mode) enabled
  2063. - Fix max-nonce auto-adjustment to actually work. This means if your
  2064. scan takes longer than 5 seconds (--scantime), the miner will slowly
  2065. reduce the number of hashes you work on, before fetching a new work unit.
  2066. cpuminer Version 0.6 - January 29, 2011
  2067. - Fetch new work unit, if scanhash takes longer than 5 seconds (--scantime)
  2068. - BeeCee1's sha256 4way optimizations
  2069. - lfm's byte swap optimization (improves via, cryptopp)
  2070. - Fix non-working short options -q, -r
  2071. cpuminer Version 0.5 - December 28, 2010
  2072. - Exit program, when all threads have exited
  2073. - Improve JSON-RPC failure diagnostics and resilience
  2074. - Add --quiet option, to disable hashmeter output.
  2075. cpuminer Version 0.3.3 - December 27, 2010
  2076. - Critical fix for sha256_cryptopp 'cryptopp_asm' algo
  2077. cpuminer Version 0.3.2 - December 23, 2010
  2078. - Critical fix for sha256_via
  2079. cpuminer Version 0.3.1 - December 19, 2010
  2080. - Critical fix for sha256_via
  2081. - Retry JSON-RPC failures (see --retry, under "minerd --help" output)
  2082. cpuminer Version 0.3 - December 18, 2010
  2083. - Add crypto++ 32bit assembly implementation
  2084. - show version upon 'minerd --help'
  2085. - work around gcc 4.5.x bug that killed 4way performance
  2086. cpuminer Version 0.2.2 - December 6, 2010
  2087. - VIA padlock implementation works now
  2088. - Minor build and runtime fixes
  2089. cpuminer Version 0.2.1 - November 29, 2010
  2090. - avoid buffer overflow when submitting solutions
  2091. - add Crypto++ sha256 implementation (C only, ASM elided for now)
  2092. - minor internal optimizations and cleanups
  2093. cpuminer Version 0.2 - November 27, 2010
  2094. - Add script for building a Windows installer
  2095. - improve hash performance (hashmeter) statistics
  2096. - add tcatm 4way sha256 implementation
  2097. - Add experimental VIA Padlock sha256 implementation
  2098. cpuminer Version 0.1.2 - November 26, 2010
  2099. - many small cleanups and micro-optimizations
  2100. - build win32 exe using mingw
  2101. - RPC URL, username/password become command line arguments
  2102. - remove unused OpenSSL dependency
  2103. cpuminer Version 0.1.1 - November 24, 2010
  2104. - Do not build sha256_generic module separately from cpuminer.
  2105. cpuminer Version 0.1 - November 24, 2010
  2106. - Initial release.