troky
32d95dd967
Updated to MSVS 2013
10 years ago
ystarnaud
d9b4798e8e
More options added
...
Added the following options to profiles/pools:
device (set devices on/off per profile), lookup-gap, shaders, worksize,
gpu-powertune, gpu-vddc
11 years ago
Jan Berdajs
d8d8ba8f33
adl spaces indentation
11 years ago
Jan Berdajs
3cbfe2547f
fix bug where device is not restarted after overheating and cooling off
11 years ago
Frank
8fe9b0a175
Added ultratune
11 years ago
Noel Maersk
9e97ccd754
adl/misc: remove unused lpAdlDisplayInfo (silence GCC warning).
11 years ago
Noel Maersk
524833f684
adl/misc: remove unused iNumDisplays.
...
Silence gcc warning.
Added in a7bca56633
by Joe4782, but
never used.
11 years ago
Noel Maersk
5fd5e3b67d
adl/misc: mention that the found adapters are logical.
11 years ago
Markus Peloquin
bf8e37ce19
Support building in cygwin.
...
Revised the compiler platform macros. Building goes like
$ AMDAPPSDKROOT= CPPFLAGS=-I/usr/include/ncurses ./configure
11 years ago
Noel Maersk
3ae7531fa9
adl: rename adl_errors() to adl_error_desc(), shorten error desc's, handle unknown error
11 years ago
deba12
cd63c1bf24
Add descriptive adl errors
11 years ago
Sanjin Trošelj
da42e6ac98
VS2010 build: prepare ADL.
...
Cherry-picked by veox.
11 years ago
Noel Maersk
2879994408
adl: only ask for iDrvIndex on Linux.
...
Should close https://github.com/veox/sgminer/issues/45
11 years ago
Noel Maersk
6089dfbbac
adl: code cleanup after last commit.
11 years ago
Joe4782
a7bca56633
Getting some extra log messages in the adl handling code
11 years ago
Noel Maersk
875db702b3
adl: unambiguosly check if FanSpeedInfo specifies support for either mechanism to set FanSpeed.
...
Reported by olejr: https://github.com/veox/sgminer/issues/15#issuecomment-32715082
Related issue: https://github.com/veox/sgminer/issues/15
11 years ago
Luke Dashjr
74fb5ab4b8
adl: Set iSpeedType to RPM for get-fanspeed requests
...
...and ensure we don't change do something weird with the fan when initially setting user-defined speed flag.
Fixes crash on R9 cards. Thanks to tkg for hints on what was wrong!
RPM preferred over percent since writing RPM back is always supported (while percent is not in some cases).
Conflicts:
adl.c
11 years ago
Noel Maersk
50066cf3c7
misc: Replace all remaining instances of 'cgminer' with 'sgminer'.
...
sed again.
11 years ago
Martin Danielsen
2799c237c3
Added BIOS information to --ndevs|-n listing.
...
This will aid people identifying cards in setups with different cards within the same series, eg. 7950 and 7970s, or 290 and 290Xs.
Conflicts:
adl.c
11 years ago
Noel Maersk
45b1219aa1
misc: Change encoding of adl_functions.c to UTF-8.
11 years ago
Martin Danielsen
783cd01e11
Preparation for ADL Overdrive 6 support
...
There's no functionality implemented yet, nor has the existing functionality been changed.
11 years ago
Benjamin Herrenschmidt
4256bd10d8
adl: Properly restore default perf levels
...
We were copying the *pointer* to the perf levels structure rather
than the structure itself, and thus restoring the perf levels
did basically nothing.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
11 years ago
Benjamin Herrenschmidt
f44d2fc57f
adl: Fix query of default fan speed
...
This fixes a crash of the AMD driver when quitting as we were trying
to apply what basically is an uninitialized value.
Adds additional code to cope with a failure to retrieve just in case
we hit another problem like that in the future.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
11 years ago
Con Kolivas
eeac9d81fc
Replace all references to the old n*sleep functions with the equivalent cgsleep_*s replacements.
12 years ago
Kano
b5bf34dc85
applog/quit fix GPU errors created
12 years ago
Con Kolivas
2b78182445
Set the fanspeed to the nominal chosen for GPUs.
12 years ago
Con Kolivas
274bf69485
Clamp initial GPU fanspeed to within user specified range.
12 years ago
Kano
7e3242b05c
adl fix trailing %
12 years ago
Kano
6fb32f7b5d
convert sleep(const) to nmsleep()
12 years ago
Con Kolivas
b6066217e0
Only increase gpu engine speed by a larger step if the temperature is below hysteresis instead of increasing it to max speed.
12 years ago
Paul Sheppard
9f74e650b3
Tidy up device error counts
12 years ago
Con Kolivas
272ba4ed89
Avoid attempting to recursively lock the console mutex by disabling warnings in gpu_fanpercent when fanspeed monitoring fails on windows. Debugged by luke-jr.
13 years ago
Con Kolivas
933627e73b
Reinstate fix ADL gpu-map not working when there are more ADL devices than openCL patch by Nite69. Add virtual adl mapping for when none is specified on the command line to not crash without a map specified.
13 years ago
Con Kolivas
afa7310e9c
If there are more devices than nDevs, don't iterate over them as they may overwrite devices mapped below that with the mapping option.
13 years ago
Con Kolivas
78d6019330
Revert "Fix ADL gpu-map not working when there are more ADL devices than openCL. Patch supplied and tested by Nite69."
...
This reverts commit 2a474fe914
.
Broken.
13 years ago
Con Kolivas
e34105a47a
Set memory clock based on memdiff if present from with engine changes, allowing it to parallel manual changes from the menu as well.
13 years ago
Con Kolivas
2a474fe914
Fix ADL gpu-map not working when there are more ADL devices than openCL. Patch supplied and tested by Nite69.
13 years ago
Con Kolivas
920c56c93b
Add specific information when ADL detects error -10 saying the device is not enabled.
13 years ago
Luke Dashjr
a1edc7dbcb
Bugfix: Fix build without curses but with OpenCL
13 years ago
Con Kolivas
29c0f7bd37
Detect large swings in temperature when below the target temperature range and change fan by amounts dependant on the value of tdiff.
13 years ago
Con Kolivas
e16452f09f
Adjust the fanspeed by the magnitude of the temperature difference when in the optimal range.
13 years ago
Con Kolivas
55aaa7c1cc
Slightly different message since restart may not be successful.
13 years ago
Con Kolivas
07045055e9
Revert "Restarting cgminer from within after ADL has been corrupted only leads to a crash. Display a warning only and disable fanspeed monitoring."
...
This reverts commit 07212db106
.
Reverting this did not fix the crashes people were having with ADL failing after a week and removed the functionality this patch originally intended.
13 years ago
Con Kolivas
057a38eb1c
When disabling fanspeed monitoring on adl failure, remove any twin GPU association. This could have been leading to hangs on machines with dual GPU cards when ADL failed.
13 years ago
Con Kolivas
1e3888336b
Consider the fan optimal if fanspeed is dropping but within the optimal speed window.
13 years ago
Con Kolivas
59679c57c7
Only adjust GPU speed up if the fanspeed is within the normal fanrange and hasn't been turned to maximum speed under overheat conditions.
13 years ago
Con Kolivas
07212db106
Restarting cgminer from within after ADL has been corrupted only leads to a crash. Display a warning only and disable fanspeed monitoring.
13 years ago
Con Kolivas
23b224faf9
Reinit_adl is no longer used.
13 years ago
Con Kolivas
46a679f39e
Revert "Provide simple macros for the repeated use of checking the first value of the input char with strncasecmp."
...
This reverts commit 87708a6a0e
.
Broken.
13 years ago
Con Kolivas
87708a6a0e
Provide simple macros for the repeated use of checking the first value of the input char with strncasecmp.
13 years ago