获取GPU温度

发布于 2024-11-05 01:39:04 字数 216 浏览 0 评论 0原文

我在这里真的很困惑。我想创建一个应用程序,在我的显卡(AMD 显卡)的不同温度下执行不同的事件。

我想做这样一个应用程序的原因是,对于 GPU,我还没有找到一个,第二个是为了确保我不会因为达到巨大的温度而烧坏我的卡。

但是我不知道人们(未连接到 amd/intel/nvidia)如何编写应用程序来监视任何类型的温度。

那么它是如何发生的呢?有些API我不知道还是什么?

I am really puzzled here. I want to create an application that does different events upon different temperatures of my graphics card which is an AMD one.

The reason i want to make such an applications is because, for a GPU i haven't found one, and the second is to ensure i never fry my card by reaching enormous temps.

However i have no idea how people(not connected to amd/intel/nvidia) write applications to monitor temperatures of any kind.

So how does it happen? Some APIs i don't know or something?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

暗藏城府 2024-11-12 01:39:04

经过一番谷歌搜索后,我发现了这个:

我认为这确实是特定于供应商的,它可能涉及直接与主板或视频驱动程序连接,并了解哪个 IOCTL 代表请求温度的代码。为此,我对主板驱动程序进行了一次逆向工程。这并不像听起来那么难,下载制造商主板/BIOS 实用程序并尝试挂钩当该应用程序需要向用户显示温度时调用的函数。然后观察对 Windows 中的 DeviceIoControl() 或 Linux 中的 ioctl() 的调用,并查看输入/输出是什么。

这可能是您最好的选择。我在这里找到了此信息:
http://www.gamedev.net/topic/557599-get-gpucpu-温度/<​​/a>

编辑:
还发现了这个:
http://msdn.microsoft.com/en -us/library/aa389762%28v=VS.85%29.aspx
http://msdn.microsoft.com/en-us /library/aa394493%28VS.85%29.aspx

希望有帮助。

After a little bit of googling, i found this:

I think this is really vendor specific, it will probably involve interfacing directly with the motherboard or video driver and knowing which IOCTL represents the code for requesting the temperature. I reverse engineered a motherboard driver once for this purpose. It's not as hard as it sounds, download a manufacturer motherboard/BIOS utility and try to hook the function that gets called when that app needs to display the temperature to the user. Then watch for a call to DeviceIoControl() in Windows, or ioctl() in linux and see what the inputs / outputs are.

This may be your best bet. I found this information here:
http://www.gamedev.net/topic/557599-get-gpucpu-temperature/

Edit:
Also found this:
http://msdn.microsoft.com/en-us/library/aa389762%28v=VS.85%29.aspx
http://msdn.microsoft.com/en-us/library/aa394493%28VS.85%29.aspx

Hope it helps.

梦回梦里 2024-11-12 01:39:04

您可以使用现有的 GPU 温度监控程序之一,例如 GPU-Z,将其配置为连续监控并读取日志条目。

RivaTuner 是另一个 GPU 监控程序,它具有共享内存接口,允许其他程序实时获取数据,但以 nVidia 为重点。只要您的操作不是“降低 GPU 时钟速度”,它就可能与 ATI 卡配合良好。

You could use one of the existing GPU temperature monitoring programs, such as GPU-Z, configure it for continuous monitoring, and read the log entries.

RivaTuner is another GPU monitoring program, which has a shared memory interface allowing other programs to get the data in real-time, but is nVidia focused. As long as your action isn't "reduce the GPU clock speed" it'll probably work well enough with ATI cards.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文