NEWS 106 KB

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