Tanguy Pruvot
f262850270
nanashi r10 with proper utf8
8 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
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
Tanguy Pruvot
b24b65a9c9
api: add gpu pci bus id, unified id + bloc height
10 years ago
Tanguy Pruvot
17cf3767e9
api: also fix nvapi mapping and double swap on histo
10 years ago
Tanguy Pruvot
2aea2c3ccc
nvml: attempt to use another clock function
...
But no way, even recent 346 driver series or 343. Seems limited to
Tesla products...
10 years ago
Tanguy Pruvot
7a2fe83aaa
nvapi: match gpu index with pci/x bus id
...
mapping by Name was a quick test...
10 years ago
Tanguy Pruvot
124dc6ea57
nvapi: fix mapping of devices
10 years ago
Tanguy Pruvot
3652c708b9
api: add histo command and difficulty
...
enhance multi-gpu stats and fix nvapi indexes
change syslog prefix to ccminer (cpuminer remains)
api 1.1 modified - not officially released yet
10 years ago
Tanguy Pruvot
3d2260acc4
stats: add support for current freq and pstate
...
windows only via nvapi, if nvml function is not supported
10 years ago
Tanguy Pruvot
15eea1bc81
api: add nvapi for windows binaries
...
nvml.dll doesnt exists for 32bit binaries! use nvapi to get infos
seems to have more/different features than NVML... like pstate etc..
This is nvapi r343 : https://developer.nvidia.com/nvapi
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
10 years ago