Con Kolivas
37115c0e1b
RPC call debugging is a mess with \r in it so remove it.
14 years ago
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.
14 years ago
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.
14 years ago
Con Kolivas
e100fcc672
Revert "Send ping to wake up new threads."
...
This reverts commit bf4c3626bc
.
Prepare to rollback.
14 years ago
Con Kolivas
bf4c3626bc
Send ping to wake up new threads.
14 years ago
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.
14 years ago
Con Kolivas
b2cbaa1ae4
Send a hung device a command. If it returns, try to reinitialise it.
14 years ago
Con Kolivas
a702f599d3
Disable the reinit_thread option till we know it actually works.
14 years ago
Con Kolivas
bb575a5585
Reference correct GPU and only try to restart if it reaches DEAD.
14 years ago
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.
14 years ago
Con Kolivas
20ce1ebf2a
Typo.
14 years ago
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)
14 years ago
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.
14 years ago
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.
14 years ago
Con Kolivas
106d367b83
Revert "Use pkg-config to check for libcurl version"
...
This reverts commit 98387f94ac
.
Broke generic building.
14 years ago
Con Kolivas
591666eacb
Merge pull request #21 from Kovensky/cgminer
...
Use pkg-config to check for libcurl version
14 years ago
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.
14 years ago
Con Kolivas
3803760689
Reimplement the per-thread getwork count with proper accounting at get_work().
14 years ago
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.
14 years ago
Con Kolivas
2e607d44f2
Only update the thread getwork queue count if it actually results in a getwork request from the server.
14 years ago
Con Kolivas
4365896ba2
Release the command queue created after we've copied the binary data.
14 years ago
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.
14 years ago
Con Kolivas
1f837909fc
Bump version number.
14 years ago
Con Kolivas
7a8ceee294
Update news.
14 years ago
Con Kolivas
5b9bfedda1
Display the correct current hash as per blockexplorer, truncated to 16 characters, with just the time.
14 years ago
Con Kolivas
668ab18f8f
More logging info.
14 years ago
Con Kolivas
53e05c6413
Log to the output file at any time with warnings and errors, instead of just when verbose mode is on.
14 years ago
Con Kolivas
5a64ebcca6
Update news.
14 years ago
Con Kolivas
c94737ceab
Add http:// if it's not explicitly set for URL entries.
14 years ago
Con Kolivas
9c52bc2074
Add faq about logging.
14 years ago
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.
14 years ago
Con Kolivas
10fa821e33
Update utility and efficiency figures when displaying them.
14 years ago
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.
14 years ago
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.
14 years ago
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.
14 years ago
Con Kolivas
013557a96e
Bump version number.
14 years ago
Con Kolivas
b86df663d2
Update news.
14 years ago
Con Kolivas
45faff2e26
Add debugging output to all tq_pop calls.
14 years ago
Con Kolivas
2e2b2ba14c
Add debugging output to tq_push calls.
14 years ago
Con Kolivas
70fa8f319b
Make the display options clearer.
14 years ago
Con Kolivas
4b52f44054
Update news.
14 years ago
Con Kolivas
c7978f11ed
Dividing work is like the work is never removed at all so treat it as such. However the queued bool needs to be reset to ensure we *can* request more work even if we didn't initially.
14 years ago
Con Kolivas
e82e390295
If work has been cloned it is already at the head of the list and when being reinserted into the queue it should be placed back at the head of the list.
14 years ago
Con Kolivas
9c12d49684
Attribute split work as local work generation.
14 years ago
Con Kolivas
720032dacd
Make sure to decrease queued count if we discard the work.
14 years ago
Con Kolivas
967acd39bd
Don't put an extra work item in the queue as each new device thread will do so itself.
14 years ago
Con Kolivas
82698fbffd
Do away with queueing work separately at the start and let each thread grab its own work as soon as it's ready.
14 years ago
Con Kolivas
6cc8d22beb
Properly detect stale work based on time from staging and discard instead of handing on, but be more lax about how long work can be divided for up to the scantime.
14 years ago
Con Kolivas
45d5435781
Make cpu mining work submission asynchronous as well.
14 years ago
Con Kolivas
380d145c64
Make threads report out when they're queueing a request and report if they've failed.
14 years ago