Con Kolivas
ef5e8bea0d
Bump version number.
2011-07-30 22:02:26 +10:00
Con Kolivas
4cb90a8b3f
News.
2011-07-30 22:01:49 +10:00
Con Kolivas
bc2976f538
Be more willing to get work from the backup pools if the work is simply being queued faster than it is being retrieved.
2011-07-30 21:56:51 +10:00
Con Kolivas
ea22674624
Update NEWS.
2011-07-30 17:08:20 +10:00
Con Kolivas
8f186e61e2
Restart threads by abstracting out the clcontext initialisation and using that instead of probing all cards.
2011-07-30 16:59:54 +10:00
Con Kolivas
411570d348
Revert "Don't use asynchronous work with flushes as it decreases reliability and two threads per GPU achieves the same throughput."
...
This reverts commit 7223508f7e
.
Bad idea. Need to work around sync lineup.
2011-07-30 16:36:19 +10:00
Con Kolivas
decafea0ad
Revert "Read buffers only after reading data back now that we're sync."
...
This reverts commit 5f2c3151b4
.
Bad idea. Need to rework around sync lineup.
2011-07-30 16:36:02 +10:00
Con Kolivas
5f2c3151b4
Read buffers only after reading data back now that we're sync.
2011-07-30 16:33:43 +10:00
Con Kolivas
7223508f7e
Don't use asynchronous work with flushes as it decreases reliability and two threads per GPU achieves the same throughput.
2011-07-30 16:11:03 +10:00
Con Kolivas
f763b0db10
Don't free up any ram from the dying thread to avoid dereferences.
2011-07-30 14:27:17 +10:00
Con Kolivas
43faa11358
Use correct name in syslog.
2011-07-30 13:37:34 +10:00
Con Kolivas
5f667e7eab
Get rid of extra line feeds.
2011-07-30 13:36:08 +10:00
Con Kolivas
37115c0e1b
RPC call debugging is a mess with \r in it so remove it.
2011-07-30 13:33:52 +10:00
Con Kolivas
59b640870c
So we can pthread cancel a stuck thread, but can't pthread join it.
...
And we can't tq freeze the old queue or we could hang here.
And we need to re-initialise all the opencl contexts so send a test command and if it succeeds reinit the card.
2011-07-30 13:28:25 +10:00
Con Kolivas
74a07eb461
Revert "Send threads message to stop and then send cancel message but don't pthread_join them if they're stuck nor reinit the opencl code to not hang everything."
...
This reverts commit 62521f3e53
.
Not enough to restart a GPU.
2011-07-30 13:14:59 +10:00
Con Kolivas
e100fcc672
Revert "Send ping to wake up new threads."
...
This reverts commit bf4c3626bc
.
Prepare to rollback.
2011-07-30 13:14:47 +10:00
Con Kolivas
bf4c3626bc
Send ping to wake up new threads.
2011-07-30 12:00:12 +10:00
Con Kolivas
62521f3e53
Send threads message to stop and then send cancel message but don't pthread_join them if they're stuck nor reinit the opencl code to not hang everything.
2011-07-30 10:16:03 +10:00
Con Kolivas
b2cbaa1ae4
Send a hung device a command. If it returns, try to reinitialise it.
2011-07-30 08:21:17 +10:00
Con Kolivas
a702f599d3
Disable the reinit_thread option till we know it actually works.
2011-07-30 02:31:29 +10:00
Con Kolivas
bb575a5585
Reference correct GPU and only try to restart if it reaches DEAD.
2011-07-30 02:16:29 +10:00
Con Kolivas
947a74bfa3
Differentiate thread failure from GPU failure by declaring a GPU sick first and trying to restart the thread without re-initialising the card.
...
If that fails, then try once more at ten minutes and declare it dead.
This should prevent an attempted re-initialising of the GPU from taking out other GPUs.
2011-07-30 01:23:17 +10:00
Con Kolivas
20ce1ebf2a
Typo.
2011-07-29 20:40:57 +10:00
Con Kolivas
0eaacb8c3e
Merge pull request #23 from Kovensky/cgminer
...
Use pkg-config to check for libcurl version (actually links this time) (actually merges this time)
2011-07-28 22:10:11 -07:00
Diogo Franco
44faebecca
Fix the Makefile.am for the last commit
...
That LIBCURL_CHECK_CONFIG macro apparently did some things wrong
too, like adding libraries to a non-standard "LIBCURL" variable
instead of "LIBCURL_LIBS". Fixes linking after the previous commit.
2011-07-29 00:04:39 -03:00
Diogo Franco
dc49d2407d
Use pkg-config to check for libcurl version
...
Fixes autogen on OSX Lion, might fix for other platforms which
don't ship those libcurl m4 macros.
2011-07-29 00:04:39 -03:00
Con Kolivas
106d367b83
Revert "Use pkg-config to check for libcurl version"
...
This reverts commit 98387f94ac
.
Broke generic building.
2011-07-29 12:50:55 +10:00
Con Kolivas
591666eacb
Merge pull request #21 from Kovensky/cgminer
...
Use pkg-config to check for libcurl version
2011-07-28 18:28:41 -07:00
Diogo Franco
98387f94ac
Use pkg-config to check for libcurl version
...
Fixes autogen on OSX Lion, might fix for other platforms which
don't ship those libcurl m4 macros.
2011-07-28 22:24:11 -03:00
Con Kolivas
3803760689
Reimplement the per-thread getwork count with proper accounting at get_work().
2011-07-29 11:11:42 +10:00
Con Kolivas
0fe22d8d94
Revert "Only update the thread getwork queue count if it actually results in a getwork request from the server."
...
This reverts commit 2e607d44f2
.
The count looks far too difficult to add up with this change since many are queued generically.
2011-07-29 11:02:47 +10:00
Con Kolivas
2e607d44f2
Only update the thread getwork queue count if it actually results in a getwork request from the server.
2011-07-29 10:39:58 +10:00
Con Kolivas
4365896ba2
Release the command queue created after we've copied the binary data.
2011-07-29 10:17:36 +10:00
Con Kolivas
283d5d2343
Create a command queue from the program created from source which allows us to flush the command queue in the hope it will not generate a zero sized binary any more.
2011-07-29 10:09:24 +10:00
Con Kolivas
1f837909fc
Bump version number.
2011-07-29 01:16:39 +10:00
Con Kolivas
7a8ceee294
Update news.
2011-07-29 01:15:57 +10:00
Con Kolivas
5b9bfedda1
Display the correct current hash as per blockexplorer, truncated to 16 characters, with just the time.
2011-07-29 00:40:47 +10:00
Con Kolivas
668ab18f8f
More logging info.
2011-07-28 23:14:47 +10:00
Con Kolivas
53e05c6413
Log to the output file at any time with warnings and errors, instead of just when verbose mode is on.
2011-07-28 19:55:54 +10:00
Con Kolivas
5a64ebcca6
Update news.
2011-07-28 13:08:17 +10:00
Con Kolivas
c94737ceab
Add http:// if it's not explicitly set for URL entries.
2011-07-28 12:44:50 +10:00
Con Kolivas
9c52bc2074
Add faq about logging.
2011-07-28 12:07:23 +10:00
Con Kolivas
f0fe82ea37
Some Intel HD graphics support the opencl commands but return errors since they don't support opencl. Don't fail with them, just provide a warning and disable GPU mining.
2011-07-28 10:49:36 +10:00
Con Kolivas
10fa821e33
Update utility and efficiency figures when displaying them.
2011-07-28 10:46:28 +10:00
Con Kolivas
0006eb2da4
Make the "quiet" mode still update the status and display errors, and add a new --real-quiet option which disables all output and can be set once while running.
2011-07-28 10:36:48 +10:00
Con Kolivas
da06a348d0
The work length in the miner thread gets smaller but doesn't get bigger if it's under 1 second.
...
This could end up leading to CPU under-utilisation and lower and lower hash rates.
Fix it by increasing work length if it drops under 1 second.
2011-07-28 10:03:31 +10:00
Con Kolivas
a0924933d0
Restarting a hung GPU can hang the rest of the GPUs so just declare it dead and provide the information in the status.
2011-07-28 09:59:18 +10:00
Con Kolivas
013557a96e
Bump version number.
2011-07-27 22:30:06 +10:00
Con Kolivas
b86df663d2
Update news.
2011-07-27 22:29:40 +10:00
Con Kolivas
45faff2e26
Add debugging output to all tq_pop calls.
2011-07-27 22:28:41 +10:00