Skip to content

Commit

Permalink
NVIDIA: info if nvml and nvctrl fails
Browse files Browse the repository at this point in the history
  • Loading branch information
flightlessmango committed Dec 16, 2024
1 parent 81a2ad8 commit 7a88186
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/nvidia.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ NVIDIA::NVIDIA(const char* pciBusId) {
throttling = std::make_shared<Throttling>(0x10de);
std::thread thread(&NVIDIA::get_samples_and_copy, this);
thread.detach();
} else {
SPDLOG_INFO("NVML and NVCTRL are unavailable. Unable to get NVIDIA info. User is on DFSG version of mangohud?");
}
#endif
}
Expand Down

0 comments on commit 7a88186

Please sign in to comment.