Commit Graph

19 Commits (2f807a4c0da400606008195d15c6d7d9d733e3d2)

Author SHA1 Message Date
jackun 2f807a4c0d
Add `spdlog` wrap and logging 3 years ago
FlightlessMango a8b874cd2d [NVML] Only get pci info once 4 years ago
jackun fcefc07966
Load libnvidia-ml and libXNVCtrl on demand 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 a2cc14f738 Get deviceID 4 years ago
jackun ad0f010951
Don't print that nvmlDeviceGetHandleByPciBusId failed if it wasn't even called 4 years ago
jackun 6576a0a09c
Print NVML return code as string 4 years ago
jackun a9311bb578
Allow to specify gpu with pci bus id by setting env var `MANGOHUD_PCI_DEV=xxxx:xx:xx:x` where x's are "domain🚌slot.function" 4 years ago
jackun 049e960589
Add 'use_xnvctrl' feature to allow building without libXNVCtrl support 4 years ago
jackun fbae1dfcc0
More checks for XNVCtrl support. Favor NVML but fallback to XNVCtrl if supported. 4 years ago
FlightlessMango 2c979e52e6 Set nvmlSuccess to false if NVML gpu load is unsupported 4 years ago
FlightlessMango 4d5f62386b added gpu mem and core clocks to hud 4 years ago
FlightlessMango 36eba167d8
use nvml for nvidia gpu memory instead of nvctrl 4 years ago
FlightlessMango 6affdb8c51
fetch nvidia vram used from nvctrl 4 years ago
FlightlessMango d97719e3d6
get nvidia vram from nvml 4 years ago
jackun f559730d2f
Return bool from checkNvidia() 4 years ago
FlightlessMango 3e2f33ba1d nvmlSuccess default false 4 years ago
FlightlessMango 8cdd9f19cf Dynamically load nvml library 4 years ago