mirror of
https://github.com/aristocratos/btop.git
synced 2024-06-02 02:24:54 +12:00
Fix GPU monotoring for nvidia
This commit is contained in:
parent
e15e0b7188
commit
89846a28c9
|
@ -946,7 +946,7 @@ namespace Gpu {
|
|||
if (initialized) return false;
|
||||
|
||||
//? Dynamic loading & linking
|
||||
nvml_dl_handle = dlopen("libnvidia-ml.so", RTLD_LAZY);
|
||||
nvml_dl_handle = dlopen("libnvidia-ml.so.1", RTLD_LAZY);
|
||||
if (!nvml_dl_handle) {
|
||||
Logger::info(std::string("Failed to load libnvidia-ml.so, NVIDIA GPUs will not be detected: ") + dlerror());
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue