BOINC / boinc

Open-source software for volunteer computing and grid computing.
https://boinc.berkeley.edu
GNU Lesser General Public License v3.0
2.02k stars 446 forks source link

GPU Temperature Monitoring #1379

Open SETIguy opened 9 years ago

SETIguy commented 9 years ago

I'd like to see GPU temperature monitoring and temperature limits in the desktop client similar to the battery temperature limits seen in the Android client. This may require an additional package or library to be installed. Response to overtemp could be a pause in processing, or underclocking the GPU.

CoachRun commented 7 years ago

Maybe Windows can use this https://github.com/openhardwaremonitor/openhardwaremonitor

cminnoy commented 3 years ago

NVIDIA Linux: const nvmlTemperatureSensors_t sensorType = NVML_TEMPERATURE_GPU; unsigned int temperature; nvmlDeviceGetTemperature(m_handle, sensorType, &temperature);

AenBleidd commented 3 years ago

@cminnoy, but it's only for nvidia and linux. But BOINC also could run on Windows, OSX, and run tasks on AMD and Intel GPUs. So we should have here a solution for all (or almost all) configurations that user can have

cminnoy commented 3 years ago

plug-ins...life is all about plug-ins

AenBleidd commented 3 years ago

I don't know. Plugins were popular 20 years ago. Nowadays plugins are used in software that should be customized (e.g. Wordpress) or when you need to enable what you need only and disable everything else.

cminnoy commented 3 years ago

No, plug-ins allow your software to evolve more quickly. It is a form of separation of concern.

https://en.wikipedia.org/wiki/Plug-in_(computing) https://en.wikipedia.org/wiki/Separation_of_concerns

CharlieFenton commented 3 years ago

Years ago, I added code in _client/hostinfounix.cpp int get_max_cpu_temperature()to get CPU temperature on PowerPC and Intel Macs. It was never called because no one ever added the corresponding code to get the temperature on other platforms, so no use of temperature information was ever incorporated in BOINC. Apparently, someone removed it at some point because it was not being used.

I have no idea whether that code still works on modern Macs.

yuleeque commented 3 years ago

Years ago, I added code in client/hostinfo_unix.cpp int get_max_cpu_temperature() ...

Once Ernest Hemingway bet that he would write the shortest story that could touch anyone.