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
9 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
Tanguy Pruvot
b9cfee0bb3
nvml: api enhancements, add power usage
...
fallbacks on v2 nvml exports and check api implementation on call
10 years ago
Tanguy Pruvot
f73f5f6a2e
nvml: use the right nvmlDeviceGetPciInfo_v2 api
...
so... pciutils branch is no more required on windows :p
10 years ago
Tanguy Pruvot
7981e83db7
nvml: separated vendor id to string function
...
for the day nvidia will fix their nvmlDeviceGetPciInfo api..
10 years ago
Tanguy Pruvot
a12dfa5370
vendors: add EVGA and fix configure for Slackware
...
Fedora libpci devel package is named pciutils-devel
Debian/Ubuntu is libpci-dev
Slackware lib requires libz... i added the dependency in configure.ac
10 years ago
Tanguy Pruvot
6b41234ff1
nvml: get devices vendor names with libpci
...
made for linux and require libpci-dev (optional)
if libpci is not installed, card's vendor names are not handled...
Note: only a few vendor names were added, common GeForce vendors.
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
10 years ago
Tanguy Pruvot
98f2f8c745
nvml warning fix and disable scrypt gpu test
10 years ago
Tanguy Pruvot
85394cf22b
cuda: reduce possible segfaults on exit
...
not perfect but helps...
10 years ago
Tanguy Pruvot
0c545eb724
nvml: check available memory clocks and fix param for -d 1
...
"-d 1 --gpu-clock 1200" was not working
10 years ago
Tanguy Pruvot
f2c7a45e47
nvml: fix pstate api, nvmlDeviceGetPerformanceState works
...
on linux, 346.72
10 years ago
Tanguy Pruvot
e99ff6c15b
nvml: clocks cleanup + pstate check (still not supported)
10 years ago
Tanguy Pruvot
cbd7865a79
nvml: check supported graphics clocks...
...
and use reset application clocks api
10 years ago
Tanguy Pruvot
a08056ed2a
linux: reset modified application clocks
10 years ago
Tanguy Pruvot
c9d110e543
linux: allow to set application clocks
...
Since linux driver 346.72, nvidia-smi allow to query gpu/mem clocks
Tested ok on the Asus Strix 970, but fails on the Gigabyte 750 Ti
system could require first persistence mode and app clock unlock :
nvidia-smi -pm 1
nvidia-smi -acp 0
supported values are displayed by
nvidia-smi -q -d SUPPORTED_CLOCKS
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
10 years ago
Tanguy Pruvot
09c3ac6b4b
linux: fix missing dirname include
10 years ago
Tanguy Pruvot
cafd4477d7
Handle a maximum of 16 gpus (vs 8 before)
...
Some cards have 2 gpus on board...
10 years ago
Tanguy Pruvot
ec454dd78c
api: add fan rpm (windows nvapi only)
10 years ago
Tanguy Pruvot
56170bb32e
nvml: cleanup and check api restrictions
...
there was too much wrap_ prefixes, internal cleanup
SetAPIRestriction reports success but we can not query/set app clocks
10 years ago
Tanguy Pruvot
8ad180cc70
various small changes
...
heavy: reduce by 256 threads default intensity to all -i 20
cuda: put static thread init bools outside the code (made once)
api: fix nvml header to build without
10 years ago
Tanguy Pruvot
3e8457d76c
api: add device uuid (nvml), and OS in hwinfo
...
move nvdriver to sys infos (unique on system)
prepare pool query
10 years ago
Tanguy Pruvot
484bbc4b15
api: restore bios, can be useful to identify
...
We have no way yet to identify a MSI 750 from a Gigabyte one...
10 years ago
Tanguy Pruvot
aec310d4a7
nvml: grab nvidia driver version string too
10 years ago
Tanguy Pruvot
d0ad1017e9
nvapi: get vid/pid like nvml + driver version
...
remove vbios revision, goal was to find the vendor...
10 years ago
Tanguy Pruvot
f42bb85785
nvml: vid/pid was reversed
10 years ago
Tanguy Pruvot
e2ac7a2a75
api: add nvapi and nvml ids for C# tools
10 years ago
Tanguy Pruvot
84d7d926c9
nvml: fix hwinfo gpu vendor/product id
...
subsys ids are wrong... so use generic one
10 years ago
Tanguy Pruvot
6699b8a71f
nvml: fix windows build
10 years ago
Tanguy Pruvot
7bb86defcc
nvml: clean up and fix retorted bus id bug in api
10 years ago
Tanguy Pruvot
b824a63cde
affinity: do not mix cpu count with gpu one
...
and update the old var with active gpus if -d is set
10 years ago
Tanguy Pruvot
1bc4e7e942
api: add mem size and freq to hwinfo query
10 years ago
Tanguy Pruvot
3ad4be7de0
api: export gpu freq on linux too + hwinfo command
10 years ago