Thursday, September 10, 2009

NVIDIA GPU Temp - Sidebar Gadget


Recently, it was finally over. NVIDIA has made the documentation of their driver API accessible to all. That gave me the opportunity now anative gadget without detours via N-Tune to build.
nvidia1
Since 8 September it is now also possible for normal-mortal direct access to the NVAPI get. NVIDIA has the appropriatedocumentation, lib file and header finally released for everyone.Previously this was reserved for OEM customers, or NDA.
Unfortunately, it was for me, who handled mainly with C #, not easily possible to now access the NVAPI. Since NVIDIA just a lib file, plus C + + header makes available a direct access from C # via PInvoke is not possible. It was therefore necessary to create a wrapper library in Managed C + + as this, the lib file is statically linked. Presented to me as an absolute C + +, so even lay a real challenge, it was also necessary to include this then, suitable for each platform (x86 / x64) compile to.
Because in my C + + knowledge, as already mentioned, in fact do not exist, I was unfortunately not possible to prepare them directly for access by gadgets. I have therefore decided then to another wrapper library in C # to build.
Fact that I am now but for each platform in each case had to have a library of wrapper to load the appropriate file to match the platform. A direct reference assembly is not working at this point. . NET framework using reflection, but luckily offers the possibility of so-called "Late Binding". This made it possible for me to determine, first, the platform and then load the appropriate library and made available for the parent gadget.
The result from this gadget is now required, therefore no auxiliary tools, such as N-Tune, Speedfan, etc. more and reads the temperature directly from the NVIDIA driver.
The design this time, I have held up relatively simply and only the most essential, the temperature and the types of graphic type, accommodated. The temperature bar would still accommodate the gadget very cluttered look and can thus fell victim to the cutbacks.
Update 1.1 (26.09.2008)
  • For too long card names are truncated
  • Improved access driver
  • Multi-GPU (SLI) support
Update 1.2 (04.10.2008)
  • Minor changes on behalf of reduction
  • Improved detection sensor
  • PCB temperature is shown in single GPU layout if available from the driver
  • Name is now determined via WMI
  • DumpFile Button added in the preferences window (use of support inquiries please!)
Update 1.3 (11.10.2008)
  • Font size shrinks by Name
  • Names reduction is removed (now controlled by the DIV Overflow)
  • Modified during initialization error.
  • Error DumpFile preparation appears
Update 1.4 (25.10.2008)
  • Encoding problem fixed level indication
Update 1.5 (08.03.2009)

  • Option for temperature display in degrees Fahrenheit Added

  • Option to display the current speed PCIe link added
Update 2.0 (07.08.2009)

  • Direct access to NVAPI. NET (no detour via Managed C + + DLLs that are statically linked Libs more)
Migration Note

  • 1. Close gadget

  • 2. End Sidebar

  • 3. You might also delete folders

  • c: \ Users \ [username] \ AppData \ Local \ Microsoft \ Windows Sidebar \ Gadgets \ nvidiaXX.gadget \

  • 4. New gadget install version
Downloads:
NVIDIA GPU Temp - Version 2.0 : http://download.orbmu2k.de/download.php?id=38

LINK:

No comments:

Post a Comment