Emil Velikov
17bfd6ed08
Skip the standalone nodes, when gpu_metrics is present
...
Currently we open the standalone busy, temp, gpu/memory clock and
power_usage nodes, even if gpu_metrics is present.
At the same time, we correctly ignore them when doing the read-only.
So just avoid opening them all together.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2022-03-12 18:10:31 +00:00
Emil Velikov
68ce8f81cc
Remove libdrm_amdgpu metrics
...
There are two alternatives - hwmon entries and gpu_metrics sysfs file.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2022-03-12 10:28:18 +00:00
FlightlessMango
d71dd74685
Fix amdgpu watt and make it more granular
2022-02-07 04:34:17 +01:00
FlightlessMango
986f3cc1b3
gpu_metrics: apu: set cpu temp as highest core temp
2022-02-04 21:01:44 +01:00
FlightlessMango
6983c2ec39
Use gpu_metrics instead of libdrm when available
2022-02-04 19:55:00 +01:00
jackun
c093f9823e
Use libdrm_amdgpu for amdgpu sensor info, if available
...
Using plain `open` as `drmOpen` needs bus id check which needs interface 1.4 ioctl which gives EPERM cause only DRM_MASTER can call it :(
https://github.com/clbr/radeontop/issues/48#issuecomment-493792404
2021-07-13 19:54:24 +03:00
jackun
c15133b82f
Add checkNvidia
for nvml/xnvctrl/nvapi checks, for header cleanup
2020-09-09 11:24:24 +03:00
FlightlessMango
ab90abe4d4
De-linuxify vulkan
2020-09-07 06:36:35 +02:00
FlightlessMango
bf9132bba1
Win32 nvapi gpu usage
2020-09-07 04:38:55 +02:00
larskraemer
a28931ef6b
General cleanup ( #272 )
...
* Cleanup unused struct fields, use uniform include guards
2020-07-06 20:31:40 +03:00
jackun
1495b1e88f
ifdef guard nvml header
2020-06-09 14:16:02 +03:00
jackun
ff48525313
Consolidated amdgpu file handles to a struct and add gpu_power
param to show power usage for amdgpu/nvml
2020-05-22 15:44:34 +03:00
jackun
768297b430
[editorconfig] Apply whitespace rules
2020-05-10 15:18:59 +03:00
FlightlessMango
bff9958284
Changed pthreads to std::thread
2020-05-01 23:55:21 +02:00
FlightlessMango
e7b5a18d87
If NVML fails fallback to NVctrl
2020-03-20 12:54:54 +01:00
FlightlessMango
a2735693ba
Merge opengl into develop
2020-03-10 06:19:18 +01:00