NEWS 47 KB

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