Check if nvml is avaible on intel vendorID
#include "cpu_gpu.h"
#include "logging.h"
#include "keybinds.h"
+#include "loaders/loader_nvml.h"
bool open = false, displayHud = true;
string gpuString;
@@ -887,6 +888,12 @@ static void snapshot_swapchain_frame(struct swapchain_data *data)
}
}
+ if (device_data->properties.vendorID == 0x8086){
+ libnvml_loader nvml("libnvidia-ml.so.1");
+ if (nvml.IsLoaded())
+ device_data->properties.vendorID = 0x10de;
+ }
+
sysInfoFetched = true;
}
