Con Kolivas
8e2becc12d
Change pth from being a pointer as we can dereference if we're unlucky on stopping longpoll.
13 years ago
Con Kolivas
833e020dfd
Standardise the way all non-mining threads are destroyed to make sure we can safely cancel them, freeing ram and NULLifying pointers.
13 years ago
Con Kolivas
dff1a81da7
Use a re-entrant value to store what fanspeed we're trying to set in case the card doesn't support small changes.
...
Force it to a multiple of 10% if it fails on trying to speed up the fan.
13 years ago
Con Kolivas
d5fe2cfd7a
Flag devices that have never started and don't allow enabling of devices without restarting them.
13 years ago
Con Kolivas
1917643dd0
Do away with the increasingly confusing and irrelevant total queued and efficiency measures per device.
13 years ago
Con Kolivas
6c8341f133
Define max gpudevices in one macro.
13 years ago
Con Kolivas
9b5cd61886
Implement accepting a range of engine speeds as well to allow a lower limit to be specified on the command line.
13 years ago
Con Kolivas
3997f308a0
Add a thermal cutoff option as well and set it to 95 degrees by default.
13 years ago
Con Kolivas
058303bcf3
Only reset values on exiting if we've ever modified them.
13 years ago
Con Kolivas
b8be1e6c15
Ignore whether the display is active or not since only display enabled devices work this way, and we skip over repeat entries anwyay.
13 years ago
Con Kolivas
2053de6d59
Add the directory name from the arguments cgminer was called from as well to allow it running from a relative pathname.
13 years ago
Con Kolivas
5fc56a45ee
Force the speed to high on startup and restore it to whatever the setting was on exit.
14 years ago
Con Kolivas
47f1a75924
Implement setting the GPU powertune value of all devices or each device as a comma separated value.
14 years ago
Con Kolivas
bd292258d3
Add support for monitoring powertune setting.
14 years ago
Con Kolivas
3a5663cac1
Implement setting the GPU fan speed of all devices or each device as a comma separated value.
14 years ago
Con Kolivas
8ae273c56c
Implement setting the GPU voltage of all devices or each device as a comma separated value.
14 years ago
Con Kolivas
54bc30ceec
Implement setting the GPU memory clock speed of all devices or each device as a comma separated value.
14 years ago
Con Kolivas
ec8808d004
Implement setting the GPU engine clock speed of all devices or each device as a comma separated value.
14 years ago
Con Kolivas
e9b5885ebe
Add a gpu autotune option which adjusts GPU speed to maintain a target temperature within the bounds of the default GPU speed and any overclocking set.
14 years ago
Con Kolivas
dcc97e45db
Add an --auto-fan command line option to allow all GPUs to have autofan enabled from startup.
14 years ago
Con Kolivas
495adcbf5f
Implement auto fanspeed adjustment to maintain a target temperature and fanspeed below 85%, with an overheat check that will speed the fan up to 100%.
14 years ago
Con Kolivas
35ace46325
Enable changing of engine clock setting on the fly.
14 years ago
Con Kolivas
d57cd91955
Implement ATI ADL support for GPU parameter monitoring now and setting later (temp, fan, clocks etc.).
...
Check for the presence of the ADL header files in ADL_SDK.
Import adl_functions.h from amd overdrive ctrl.
Implement a setup function that tries to detect GPUs that support the ADL and link in the parameters into the gpus struct.
Put a summary of monitoring information from the GPU menu.
14 years ago
Con Kolivas
063efb1996
Rename localgen occasions to getwork fail occasions since localgen is unrelated now.
14 years ago
Con Kolivas
8496534168
Add start and stop time scheduling for regular time of day running or once off start/stop options.
14 years ago
Con Kolivas
a593afdbeb
Use the curses_lock to protect the curses_active variable and test it under lock.
14 years ago
Con Kolivas
4969162c03
Check for SSE2 before trying to build 32 bit SSE2 assembly version. Prevents build failure when yasm is installed but -msse2 is not specified.
14 years ago
Con Kolivas
3d5f555407
Allow a custom kernel path to be entered on the command line.
14 years ago
Con Kolivas
7dc3db2340
Implement SSE2 32 bit assembly algorithm as well.
14 years ago
Con Kolivas
dbf0a1366d
Use the new hashes directly for counts instead of the fragile counters currently in use.
14 years ago
Con Kolivas
666fcc3f55
Move staged threads to hashes so we can sort them by time.
14 years ago
Con Kolivas
ced4a9ac92
Clean up the pool switching to not be dependent on whether the work can roll or not by setting a lagging flag and then the idle flag.
14 years ago
Con Kolivas
324d849bf2
Attempt to restart a GPU once every minute while it's sick.
...
Don't kill off the reinit thread if it fails to init a GPU but returns safely.
Only declare a GPU dead if there's been no sign of activity from the reinit thread for 10 mins.
14 years ago
Znort 987
e49bfbf2ec
Add per-device statics log output
14 years ago
Phateus
d15d225a4c
Changed phatk version to 2.2
14 years ago
Con Kolivas
1e77f04481
Clean up the longpoll management to ensure the right paths go to the right pool and display whether we're connected to LP or not in the status line.
14 years ago
Con Kolivas
4e48561a13
Rework the last-initialised time displayed.
14 years ago
Con Kolivas
b1289a0159
Revert "Move the non cl_ variables into the cgpu info struct to allow creating a new cl state on reinit, preserving known GPU variables."
...
This reverts commit 28880d0dc7
.
14 years ago
Con Kolivas
7c50bb02ab
Revert "Display last initialised time in gpu management info."
...
This reverts commit 177e07aed3
.
14 years ago
Con Kolivas
50504ef9e0
If a work item has had any mining done on it, don't consider it discarded work.
14 years ago
Con Kolivas
639d38fbd4
Revert "Make sure to give work items a starting time only once when they're staged."
...
This reverts commit 626ae10d7c
.
Failed to address all work items.
14 years ago
Con Kolivas
626ae10d7c
Make sure to give work items a starting time only once when they're staged.
14 years ago
Con Kolivas
d6dd5d700b
Test each work item to see if it can be rolled instead of per-pool and roll whenever possible, adhering to the 60 second timeout.
14 years ago
Con Kolivas
177e07aed3
Display last initialised time in gpu management info.
14 years ago
Con Kolivas
28880d0dc7
Move the non cl_ variables into the cgpu info struct to allow creating a new cl state on reinit, preserving known GPU variables.
...
Create a new context from scratch in initCQ in case something was corrupted to maximise our chance of succesfully creating a new worker thread.
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
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
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