`
dowhathowtodo
  • 浏览: 785937 次
文章分类
社区版块
存档分类
最新评论

怎么样得到显卡(GPU)的运行状态啦?

 
阅读更多

现在主流的显卡有两种,一类是Nvidia的GPU,一种是AMD的GPU。

很多人都在做GPU的时候,都想知道GPU的特性,想知道使用时候的状态,有问题,频率,内存使用情况,占有率,很多人问道了,是否可以使用系统底层的API得到?

其实系统给的API并不完善,经常得不到完全的信息。

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

对于NVidia的GPU,推荐使用NVAPI来得到这些参数:

http://developer.nvidia.com/nvapi

这个链接是NVAPI的具体的信息:

NVAPI

WHAT IS NVAPI, AND WHY DO YOU NEED IT?

NVAPI is NVIDIA's core software development kit that allows direct access to NVIDIA GPUs and drivers on all windows platforms. NVAPI provides support forcategories of operationsthat range beyond the scope of those found in familiar graphics APIs such as DirectX and OpenGL.

Initially exposed only to OEMs and game developer tools, NVAPI is now available for download to all developers interested in building Windows applications on NVIDIA GPUs.

DOWNLOADS

APPLICATION TYPES

NVAPI allows full access to NVIDIA GPUs and drivers in any UI and non-UI application. Under Windows Vista, the application context using NVAPI must be launched in Session 1 or higher.

NVAPI FEATURE CATEGORIES

Driver Management
Initialization and driver version controls.
GPU Management
Enumeration of physical and logical GPUs. Thermal and Cooling controls.
Display Management
Enumeration of NVDIA displays, display postion and timings controls.
GPU Topology
Ability to enable SLI and Hybrid GPU topologies.*
Frame Rendering
Ability to control Video and DX rendering not available in DX runtime.*
System Management
Ability to query chipset and system specific information.
HDTV Controls
HDTV format and overscan controls.*
Video Controls
Extended video engine controls.*
Connecting and Configuring Monitors
Ability to set views on multiple target monitors.
GPU Overclocking
GPU overclocking APIs allows apps to run apps at maximum possible clocks.*

*Use NDA edition for full control of this feature.

NVAPI COMPONENTS & DOCUMENTATION

NVAPI components includes the header, lib files for each platform - x86 and x64 respectively.

Documentation is provided as a compiled HTML help (.chm) file in each download.

NVAPI SUPPORT

NVAPI is constantly and rigorously tested not only for end-users, but for internal use at NVIDIA and our closest partners. To discuss common issues regarding NVAPI with NVIDIA and other developers,click herefor a direct link to NVIDIA's developer forums.

NVAPI NDA CUSTOMERS

NVAPI comes in two "flavors": the public version, available below, and a more extensive version available to registered developers under NDA. Registered developers canlog in here,or contact your NVIDIA account manager to make sure you have the latest NDA edition of NVAPI.

Not a registered NVIDIA developer?Sign up here.

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

对于AMD的GPU:

可以使用 GPUPerfAPI:

http://developer.amd.com/tools/GPUPerfAPI/Pages/default.aspx

这个链接上可以找到信息:


GPUPerfAPI
Skip Navigation LinksHome>Tools>GPUPerfAPI
GpuPerAPI Banner

Overview

GPUPerfAPI is AMD's library for accessing GPU performance counters on ATI Radeon graphics cards. It is used by GPU PerfStudio 2 and the AMD APP Profiler and is now available to third party developers who wish to incorporate it within their own applications. GPUPerfAPI supports DirectX10, DirectX11, OpenGL, and OpenCL applications.

Release Notes

Version 2.9 (1/18/12)

  • Add support for AMD Radeon 7000 Series hardware.
  • Add support for more FirePro, Mobility, and APU devices.
  • Improved memory consumption and performance during profiling.
  • Reduce memory footprint of the GPUPerfAPI DLLs.
  • Correct counters are now exposed on systems with dual GPUs of different hardware generations.
  • DirectX 10:
    • Fixed shader related counters on AMD Radeon HD 2000-5000 Series hardware.
    • Fixed PrimitivesIn counter on AMD Radeon HD 2000 Series hardware.

Version 2.8 (4/22/11)

  • DirectX 10:
    • Fixed GPUTime support on AMD Radeon HD 2000 and 3000 Series hardware.
  • DirectX 11:
    • Fixed counter accessibility on AMD Radeon HD 2000 and 3000 Series hardware.

Version 2.7 (4/6/11)

  • New entrypoint for registering logging callback function for improved troubleshooting.
  • Adds support for AMD Radeon HD 6000 Series hardware.
  • New DepthAndStencil counters give more detailed understanding of HiZ behavior.
  • OpenGL:
    • Improved accuracy of depth, texture, busy, and stalled counters.
  • OpenCL:
    • FetchSize counter now reports the correct value.
  • DirectX 10/11:
    • Fixed support for AMD Radeon HD 4000 Series hardware.
    • Fixed support for Catalyst 11.2 drivers on AMD Radeon HD 5000 Series hardware.

Version 2.5 (11/17/10)

  • Adds Linux support for OpenGL and OpenCL.
  • More consistent naming between OpenCL and DX Compute Shader counters.
  • Improved methods for identifying existing hardware.
  • DirectX 10/11:
    • Improved accuracy of DepthAndStencil counters.
    • Improved accuracy of ColorBuffer counters.
  • OpenCL:
    • New counters: FetchSize, CacheHit, LDSFetchInsts, LDSWriteInsts, FastPath, CompletePath, PathUtilization.
  • OpenGL:
    • Fixed an issue that caused counters to not be available if the application is using queries.
    • Adds tessellation related counters.

Version 2.3 (6/4/10)

  • Supports DirectX10, DirectX11, OpenGL on ATI Radeon 2000, 3000, 4000, and 5000 series.
  • Supports OpenCL on ATI Radeon 4000 and 5000 series.
  • Provides derived counters based on raw HW performance counters.
  • Manages memory automatically - no allocations required.
  • Requires ATI Catalyst driver 10.1 or later.

Documentation

Support

Download

Reset My View

File NameLaunch DateOSBitnessDescription
GPUPerfAPI.2.9.314-lnx.gz 01/18/2012 Linux® 32-bit/64-bit Linux libraries for accessing OpenGL and OpenCL GPU performance counters.
GPUPerfAPI-2.9.325.0.zip(1.93 KB) 01/18/2011 Windows® 32-bit/64-bit AMD's library for accessing GPU performance counters.

========================================================================================================================================================================

GPU的参数特性,通过里面的sample是可以找到简单地例子,可以快速的入门的。

对于CPU的参数特性的拾取,下次再讲:)


分享到:
评论

相关推荐

    游戏内硬件信息实时检测工具显卡运行状态帧率.zip

    可以随时看清显卡运行状态,包括核心/显存频率、核心占用率、核心温度、风扇转速,以及游戏帧率等等。其功能最主要的还是能够及时地查清帧率骤降的原因,看看是哪个地方出现了问题。 从事12年的IT运维工程师,在...

    显卡识别工具 GPU-Z 0.5.5 绿色免费版 天涯浪子

    GPU-Z是硬件网站TechPowerUp.com提供给我们的一款GPU识别工具,绿色免安装,界面直观,运行后即可显示GPU核心,以及运行频率、带宽等,如同CPU-Z一样,这也是款必备工具。 更新日志: 1、增加启动画面 2、可自动...

    GPU服务器技术要求.docx

    1个,Mezzanine 接口 1个 机箱尺寸 180 x440 x740 (H x W x D,mm) GPU调度软件 ACM多GPU调度软件:用户作业分配到计算卡片上运行,将结果返给用户; 支持交互式作业与排队方式的批处理作业;支持串行与并行作业; ...

    GPU服务器技术要求.doc

    " 服务器内须安装8张显卡,技术要求如下: "项目 "内容 " "参数要"GPU "NVIDIA Tesla K80 GPU,GPU主频 0.82GHz, " "求 " "CUDA核心数 2496,显存 12G " " "其他 "(1)生产厂家具备 INVIDIA认可的Tesla GPU " " ...

    AMD-Linux-Power-Management:一些简单的脚本可在Linux下设置功率水平并监控GPU频率,并支持Radeon dpm

    AMD Radeon Linux电源管理脚本使用Sapphire Radeon R9 380X(AMDGPU),Sapphire Radeon R7 260X(radeon)在Linux Mint 18上进行了测试用例崩溃和冻结可能是由于某些工作负载下某些GPU状态不稳定。 当使用会为3D...

    AMDGPU.jl:Julia中的AMD GPU(ROCm)编程

    AMDGPU.jl Julia中的AMD GPU(ROCm)编程 文献资料 建置状态 快速开始 可以与Julia软件包管理器一起安装AMDGPU.jl。 在Julia REPL中,键入]进入Pkg REPL模式并运行: pkg> add AMDGPU 或者,等效地,通过Pkg API:...

    windows硬件检测软件合集

    windows硬件检测工具合集,内置有CPU、内存、硬盘、显卡(GPU)、BIOS等检测工具

    python的psutil、platform、GPUtil实现的系统和硬件信息检测工具源代码

    GPUtil支持多种GPU厂商的显卡,包括NVIDIA、AMD等,可以帮助用户监控GPU的状态并进行性能优化。通过GPUtil,用户可以实时监测GPU的运行情况,提高GPU计算的效率和稳定性。提供强大系统和硬件信息检测工具。

    Chris PC Game Booster 2.40注册版游戏优化器.rar

    能够调节你的CPU在最高效状态,提高你的显卡GPU频率,提高网络连接速度,减少电脑对磁盘驱动器的读取和写入访问。四个步骤完成游戏优化,选择你的操作系统,选择你的处理器类型,选择你的网络连接类型、设置优化加速...

    鲁大师,让自己电脑稳定工作在最佳状态

    硬件温度监测包含以下内容(视当前系统的传感器而定):CPU温度、显卡温度(GPU温度)、主硬盘温度、主板温度。 小提示:你可以在运行硬件温度监测时,最小化鲁大师,然后运行3D游戏,待游戏结束后,观察各硬件温度的...

    NVIDIA PhysX System Software 9.17.0524

    NVIDIA PhysX 显卡物理加速驱动官方版可在N卡上实现物理加速运算的效果,所有游戏人物的动作和渲染特效都将显现动感十足的特效。NVIDIA PhysX 显卡物理加速驱动官方版是目前官方最稳定的N卡物理加速引擎,很多游戏...

    鲁大师 垃圾清理专用

    硬件温度监测包含以下内容(视当前系统的传感器而定):CPU温度、显卡温度(GPU温度)、主硬盘温度、主板温度。  小提示:你可以在运行硬件温度监测时,最小化鲁大师(原:Z武器),然后运行3D游戏,待游戏结束后,观察各...

    CarND语义分割

    注意:如果在Jupyter Notebook系统中运行此消息,例如有关测试状态的消息,可能会出现在终端中而不是笔记本中。 输出示例 以下是受过训练的网络输出充分与不足的示例: 足够的结果 结果不足 提交 确保您已通过

    积分java源码-Holoren:学士论文-计算全息图光场的程序

    的显卡的计算机(基本上任何较新的显卡都可以)。 该程序只生成光场(复数矩阵,表示全息图板上每个点的光状态),但还需要进行后处理才能成为图像,然后可以打印和用激光重建。 此后处理通过 HoloToolkit 执行,可...

    GLOM:Geoffrey Hinton的论文“如何在神经网络中表示整体层次结构”的尝试实现

    在jupyter笔记本中打开以运行该程序,该程序期望Nvidia显卡可加速gpu。 实施细节 每向量个向量的三种类型的网络 自上而下的网络 自下而上的网络 注意同一层网络 每个网络将在当前层看到围绕当前网络输入向量的3x3...

    雨滴桌面Rainmeter 4.3 正式版

    这意味着可以将原本一直让 CPU 来处理绘制的图像和其使用的内存转移到 GPU 和显存上,可以更快更好地渲染及绘制。 硬件加速默认为“关闭”状态。这有助于开发者确定 Rainmeter 从 GDI+ 引擎替换到到 D2D 引擎可能...

    TPFanControl 0.63准绿色版+教程

    申明一下,TPFanControl是原大神写的....// (*我的T61有显卡门,所以只监控gpu的温度,除了gpu,其他所有的芯片都列上去了.大家可以把cpu从黑名单中删除*) // ---------------------------------------...

Global site tag (gtag.js) - Google Analytics