Commit Graph

25 Commits (ae39f680bd6c9829f152a7b37807e9122f0496ab)

Author SHA1 Message Date
FlightlessMango ae39f680bd WIP: gpu ms and cpu ms
This commit checks the cpu time and gpu time spent in the process to determine
how much cpu and gpu time is spent per frame
10 months ago
andrefsagh@gmail.com 5054f6ceff Show amdgpu voltage from hwmon
Added config parameter 'gpu_voltage'
10 months ago
Arvind Doobary d41a74ca1a
Show amdgpu junction and memory temp, if available
Added config parameter `gpu_junction_temp` and `gpu_mem_temp`

Closes #841
1 year ago
FlightlessMango 4b69f23fb5 Add gpu_fan param and hwmon fan reading
Co-authored-by: Andreas Rachev <andreasratchev@gmail.com>
1 year ago
FlightlessMango e38413b2d8 use intel_gpu_top for gpu stats 2 years ago
jackun d73932ad17
Clean up getAmdGpuInfo_actual 2 years ago
FlightlessMango 17d4c1dd4a amdgpu: use gtt_used for APUs 2 years ago
FlightlessMango 19fbd9bf9b Nvidia: only do throttling checks if enabled 2 years ago
FlightlessMango f9cfdeb080 Add gpu throttling status
Co-authored-by: Martin Roukala <martin.roukala@mupuf.org>
2 years ago
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>
2 years ago
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