Tanguy Pruvot
9c4b8caf1a
nvapi: apply memory offsets like nvsettings
7 years ago
Tanguy Pruvot
bcadca2c45
linux: prepare nvidia-settings queries
...
Note: this method is slower than real apis and requires X opened
and configured correctly.
sample usage: -d 0,1 --mem-clock=+200,-200
8 years ago
Tanguy Pruvot
21600491b8
update instructions for fedora 25
...
its a shame this distrib doesnt provide older gcc toolchains.. :/
8 years ago
Tanguy Pruvot
762c7f8656
nvapi: fix plimit argument on x64
...
now use the same percents as the x86
nvml watts (like linux) could work but requires admin rights
8 years ago
Tanguy Pruvot
e23b577e32
nvml: show product ids and pci bus in ccminer -D -n
8 years ago
Tanguy Pruvot
6c9852c153
nvapi: fix weird code style
8 years ago
Tanguy Pruvot
4da35e0bcf
api: use MHz for all clocks and show plimit
...
plimit value is reported in mW like the power, or % on Windows x86 (via nvapi)
+ the monitor thread will no more report 0W if the device doesnt support it
also upgrade nvml and sample php api.
some more changes may come in this temporary API 1.9 (for the final 2.0)
8 years ago
Tanguy Pruvot
aaa24a6262
stats: submit real freqs and plimit to yiimp benchmarks
8 years ago
Tanguy Pruvot
aaef92cab2
nvml: workaround for beta drivers 378.49 clocks
...
even nvidia-smi doesnt report the right pascal clocks
8 years ago
Tanguy Pruvot
496052e47d
xmr: vstudio warning fix about mpcount linkage
...
and move ptr type cast defines to common cuda helper
8 years ago
Tanguy Pruvot
12ae185594
hwmonitor: efficiency unit and clean dead code
8 years ago
Tanguy Pruvot
0dd022779b
power monitoring thread + some api changes
...
based on alexis monitoring thread idea, but which only use one thread
note: other api changes will come soon, related to that
8 years ago
Tanguy Pruvot
3eba451d4c
nvml: add Elsa vendor and workaround for Colorful pid
...
Colorful (and Inno3D) only set their vid, with an empty product id
8 years ago
Tanguy Pruvot
f84c83afe5
nvml: force 64bits types for mem sizes
...
size_t can be a bit... imprevisible on x86
8 years ago
Tanguy Pruvot
8985f7ee91
nvapi: asus rgb led
...
seems to be too slow to handle all wanted modes
8 years ago
Tanguy Pruvot
9123eff7dd
Update Galax vendor id, used on 1070s
8 years ago
Tanguy Pruvot
af1d5c9f3d
nvapi: zotac rgb led support, to improve..
...
zotac cards doesnt allow a real RGB value, so i converted manually
the card seems to handle it, but seems to lock sometimes for some time...
colors can be tested with "ccminer -d 2 --led=0x1f1f00 -Dn"
but... unsure the card handle it fast enough to be fully usable
8 years ago
Tanguy Pruvot
78c3d25ccf
release 1.8, as promised
8 years ago
Tanguy Pruvot
dbb9507d2b
api: change unit of device mem to MB
...
without that, no way to read sizes > 4GB on x86 binaries
9 years ago
Tanguy Pruvot
fc1472b5f7
nvapi: allow different led modes (mining,shares)
9 years ago
Tanguy Pruvot
0e942bf60c
nvapi: proper rgb color dimm function
9 years ago
Tanguy Pruvot
d43084cec6
nvapi: improve rgb led stability + multi gpus
9 years ago
Tanguy Pruvot
8c4b25426f
nvapi: device led flash on submit
...
disabled by default, require --led=100 on nvidia compatible devices
Gigabyte RGB led hack is not perfect for the moment, can fail and require a reboot.
9 years ago
Tanguy Pruvot
174e26164a
nvapi: fix device mapping in -D -n
...
and rename RVB to RGB, french typo...
9 years ago
Tanguy Pruvot
036473347e
nvapi: fan level, for future use... maybe
9 years ago
Tanguy Pruvot
24436febd6
led: proper log format
9 years ago
Tanguy Pruvot
d3976cf38d
nvapi: sample i2c rvb led color (gigabyte)
...
you can now use --led=0xFF00FF to change the color/level (windows only)
for non-rvb standard nvidia devices, you can use a level value (0 to 100)
ps: i really need to find how to turn them off on linux, not found yet...
9 years ago
Tanguy Pruvot
801db3d076
nvapi: be more secure with unsupported apis
...
also query the led level and fix OV delta output
note: the Gigabyte 1080 G1 seems not compatible with the current nvapi
9 years ago
Tanguy Pruvot
eb84ef9c8a
vendors: add Palit and the right PNY VIDs
...
seen on yiimp benchs, PNY duplicate could be for usb keys only
9 years ago
Tanguy Pruvot
095f25f9a8
nvapi: pascal core voltage boost + meminfo fix x86
...
cuda 6.5 one seems to crash on pascal or report invalid mem sizes
9 years ago
Tanguy Pruvot
d19039fd7f
nvapi: read pascal voltage + show meminfo in -Dn
...
also add perf stats api, unsure what it is exactly..
9 years ago
Tanguy Pruvot
7ff179abe9
nvapi: base memclock was wrong on maxwell
9 years ago
Tanguy Pruvot
bc6ac3a3ab
nvapi: link clocks and tlimit to command line
...
boost clocks and the thermal limit are shared with afterburner
beware with your settings, not as safe as application clocks!
Note: both nvapi and nvml are now used on windows x64
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
9 years ago
Tanguy Pruvot
2ee8bc9791
nvapi: do not print that on normal -D
9 years ago
Tanguy Pruvot
bdc441ebd0
nvapi: link some more apis, pascal boost table
...
these informations are shown with ccminer -D -n
9 years ago
Tanguy Pruvot
9296d5218e
nvml: remove autoboost functions, unsupported
...
not for GTX pascal neither...
9 years ago
Tanguy Pruvot
0deb9a2aca
win32: implement a nvapi.dll wrapper like nvml
...
Allow to get/set missing infos like the power limit on x86
squashed for a better min/max and device mapping
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
9 years ago
Tanguy Pruvot
fd757f2180
nvml: add new getclock api (v8)
...
+ some new functions to test on pascal (if supported)
9 years ago
Tanguy Pruvot
fe99de24a8
nvml: small changes to handle the 750ti app clocks
...
dynamically alloc the hardcoded gpu clocks list array size.
Unlike the 9xx, the 750ti api call requires to get them all (361.62)
Something was "fixed" recently for the 750 Ti in linux drivers...
9 years ago
Tanguy Pruvot
1c3a95213d
nvml: do average on milliwatts reading
...
and ignore nvapi percents in pool stats
also allow decimals in intensity
9 years ago
Tanguy Pruvot
a1d448d4e0
linux: disable pcidev stuff, no more required
9 years ago
Tanguy Pruvot
35b728907c
nvapi: product id was wrong when subsystem id is set
...
also test its filled... (cf Inno3D), use generic nvidia ids else
9 years ago
Tanguy Pruvot
5fb84189b2
nvml: fix possible mismatch of vendor names (x64)
...
seen on a weird motherboard with a PCI Express Switch (MSI XPower Z87)
On this motherboard, the first/top device pci id is the highest one...
9 years ago
Tanguy Pruvot
59a6cd133b
nvapi: x86 can also get sub vendor ids
9 years ago
Tanguy Pruvot
c7cfe0e2ca
Fix windows linkage, C/C++ mismatch
9 years ago
Tanguy Pruvot
64e997e9d6
prepare release 1.6.6
9 years ago
Tanguy Pruvot
40fc2bdcbc
nvml: store prev. clocks/limit for a proper reset on exit
10 years ago
Tanguy Pruvot
25a78c96b5
nvml: allow to keep modified clocks + vendors
...
--keep-clocks option prevent reset clocks on exit...
10 years ago
Tanguy Pruvot
5abfac72d6
plimit: restore default limit on exit if changed
...
and show log on start if set/changed without --debug
10 years ago
Tanguy Pruvot
7c5087d01c
nvml: add --plimit and --pstate parameters
...
--pstate 0 is an alternative to clocks values to set the device in P0
mode, 1 will set appl. clocks to default P1 clocks, 2 to default P2..
--plimit 150W really works on the 9xx and allow to limit/reduce the gpu usage
Note: nvml interface is only available on linux and windows x64
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
10 years ago