Commit Graph

15 Commits (68ce8f81cc767ee5e7adfb38a9fb2e3388e21633)

Author SHA1 Message Date
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>
2 years ago
FlightlessMango d71dd74685 Fix amdgpu watt and make it more granular 2 years ago
FlightlessMango 986f3cc1b3 gpu_metrics: apu: set cpu temp as highest core temp 2 years ago
FlightlessMango 6983c2ec39 Use gpu_metrics instead of libdrm when available 2 years ago
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
3 years ago
jackun c15133b82f
Add `checkNvidia` for nvml/xnvctrl/nvapi checks, for header cleanup 4 years ago
FlightlessMango ab90abe4d4 De-linuxify vulkan 4 years ago
FlightlessMango bf9132bba1 Win32 nvapi gpu usage 4 years ago
larskraemer a28931ef6b
General cleanup (#272)
* Cleanup unused struct fields, use uniform include guards
4 years ago
jackun 1495b1e88f
ifdef guard nvml header 4 years ago
jackun ff48525313
Consolidated amdgpu file handles to a struct and add `gpu_power` param to show power usage for amdgpu/nvml 4 years ago
jackun 768297b430
[editorconfig] Apply whitespace rules 4 years ago
FlightlessMango bff9958284 Changed pthreads to std::thread 4 years ago
FlightlessMango e7b5a18d87 If NVML fails fallback to NVctrl 4 years ago
FlightlessMango a2735693ba Merge opengl into develop 4 years ago