Delphi-PRAXiS
Seite 3 von 6     123 45     Letzte »    

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Software-Projekte der Mitglieder (https://www.delphipraxis.net/26-software-projekte-der-mitglieder/)
-   -   [Tool] GPU - Temperaturanzeige (für nVidia Grafikkarten.) (https://www.delphipraxis.net/96312-%5Btool%5D-gpu-temperaturanzeige-fuer-nvidia-grafikkarten.html)

Muetze1 9. Aug 2007 12:01

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Zitat:

Zitat von Razor
You wanted parameters here you have them

Nice, very good. What we have to pass to the three int-Parameter? And what we need to pass to the iDevNum? Is it zero based number of ATI cards in the system? Any ideas?

Razor 9. Aug 2007 12:19

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Liste der Anhänge anzeigen (Anzahl: 1)
Dev num is the device number say 0.About three ints i dunno experiment


ATIDL_SetFanSpeed(DWORD iDevNum,int,int,int)
ATIDL_SetFanSpeedToDefault(DWORD iDevNum,int,int)
ATIDL_GetFanSpeedInfo(DWORD iDevNum,int,int,int)
ATIDL_GetPowerState(DWORD iDevNum,int)

Muetze1 9. Aug 2007 12:36

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Liste der Anhänge anzeigen (Anzahl: 1)
The 2nd int seems to be a pointer. I have no ATI card (Matrox only), so try it:

Razor 9. Aug 2007 12:51

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Wont work soon as i turn int 2 higher than 0 it crashes

Muetze1 9. Aug 2007 13:05

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Zitat:

Zitat von Razor
Wont work soon as i turn int 2 higher than 0 it crashes

:wall: As I said: int 2 seems to be a pointer. So let it on zero and play with the other parameters while looking at the return value (the two numbers right to the function names).

It is badly to see, that you have no further knowledge but only copy & paste. You never try to understand the things you copy!? It is very frustrating...

Razor 9. Aug 2007 14:07

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Alright just know that this things arent easy you have to debug the driver to get some info.I got the info with ida pro disassembler.

Razor 10. Aug 2007 11:53

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
I also tried compiling the nvidia temperature source code,but it says GR32 is missing.. :?

DGL-luke 10. Aug 2007 11:58

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
http://graphics32.org ;-)

A very good bitmap manipulation library.

Razor 10. Aug 2007 12:49

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Thank you DGL-luke.

Is there a way to check if the card is ATI or NVIDIA? :)

Muetze1 10. Aug 2007 12:54

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Check the Vendor ID of the PCI device. The code to gather the PCI(AGP) device is already posted by you and I also linked to PCI32...

Razor 10. Aug 2007 13:07

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Thank you very much Muetze1,i looked at pci32's code and i took some features out of it,puted it in a gui(form) and hey it works!
Ill post results soon! :)

Razor 10. Aug 2007 13:57

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Liste der Anhänge anzeigen (Anzahl: 1)
Ok i did some testing but when i run pci 32 it shows completly other info what my gui project shows me,but its the same source? :(

Razor 10. Aug 2007 14:52

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
*push* nobody cant help? :(

Muetze1 10. Aug 2007 15:15

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Zitat:

Zitat von Razor
*push* nobody cant help? :(

Hey boy, as said before: no pushing in the space of one day. Here are not 20 people only watching if you have new posts to handle them or creating answers!

I am on work, I can not look at it, so take down and wait...

/EDIT: Ok, I looked at it. Dude, you can not programm or understand it. Do you think it is ok to declare some variables and then check their value? Who fills this variables?

infotbl[] is the PCI configuration space and is multi-used for each found device. You are not searching for devices, you are not calling any function just print out what the variables contains. It is like this:

Delphi-Quellcode:
program time;

{$APPTYPE CONSOLE}

var
  MyTime: TTime;

begin
  WriteLn(TimeToStr(MyTime));
end.
This program does not print the actual time. Why not?

You just needle/bug us with your questions, pushing it - only willing to get complete code. No knownledge, no will to learn, no will to get to know what you are doing here.

Razor 11. Aug 2007 11:07

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
But why doesnt it work on gui?

Muetze1 11. Aug 2007 13:37

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Zitat:

Zitat von Razor
But why doesnt it work on gui?

Why should it work? You never wrote any code line gathering the information you need, you just print it out.

As long as you not have a clue about programming (specially Delphi as you ask here), there is no need to post anything here. The basic problem is: you want us to write your application or parts of it that you only need to combine. I won't work for you, writing your application (or parts of it) as long as you won't pay me or other things. All the threads your are posting or you created are mostly questions, that need a little bit more than just some for-to-do's. You need knowledge and also the comprehension for the posted code - that you have not. Some things you solved by copy and paste or somebody else wrote the code for you. I am not willing to be one of them...

Razor 11. Aug 2007 13:42

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
This is going waaay oftopic with your talk,rather just keep it for yourself! :wink:


And rather tell can this help about dll function calling?



; int __cdecl ATIDL_GetFanSpeed(DWORD iDevNum,int,int,int)
public ATIDL_GetFanSpeed
ATIDL_GetFanSpeed proc near

var_70= byte ptr -70h
var_64= dword ptr -64h
var_60= dword ptr -60h
var_5C= dword ptr -5Ch
var_58= dword ptr -58h
var_54= byte ptr -54h
var_50= dword ptr -50h
var_4C= dword ptr -4Ch
var_48= byte ptr -48h
var_40= dword ptr -40h
iDevNum= dword ptr 4
arg_4= dword ptr 8
arg_8= dword ptr 0Ch
arg_C= dword ptr 10h

sub esp, 70h
push esi
mov esi, [esp+74h+arg_8]
test esi, esi
jz loc_100070B6

Muetze1 11. Aug 2007 13:45

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Zitat:

Zitat von Razor
This is going waaay oftopic with your talk,rather just keep it for yourself! :wink:

I just want to prevent other to work for free for your project, because this work will probably nether be honoured.

Razor 11. Aug 2007 13:47

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Look this is a forum help if you want otherwise just ignore it!I am 100% sure that if someone will want to help they will! :wink:

OlafSt 13. Aug 2007 08:50

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
@muetze1: Den Gedanken mit den gebratenen Tauben hatte ich schon, als ich meinen ersten Post in diesem Thread schrieb...

Razor,

this forum will only show you the door - opening and walking through this door IS YOUR JOB.
You are just barking "Hey, there is the flavour" and then you are waiting for the bread, ready to eat.
This will not work here.

Learn coding and learn how to understand foreign code. Get the knowledge to glue the pieces of code together by yourself. Learn how to bake the bread ! If you fail THERE, we are willing to help.

Razor 13. Aug 2007 09:36

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
All i am asking if someone knows how to do ATI API and maybe ati gpu temperature through dll now i am compared to a dog? :shock:

OlafSt 13. Aug 2007 10:00

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
No, you aren't.

Show us the code (WRITTEN BY YOURSELF), which doesn't work. Show us how YOU tried to figure out, how this DLL works.

By the way: You are doing things here which may end up in big trouble with attorneys. You upload some files from which nobody knows if it is allowed to upload them. And you are disassembling copyrighted code here - there is no country on this planet, where reverse engineering is not forbidden.

Razor 13. Aug 2007 10:02

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Look i saw a lot of posts about asus.dll functions of it,gigabyte dll,a lot of this stuff how can information be extracted without RE it cant now dont be suprised if i tell you that those guys didnt figured it out without some extra tool help like IDA pro or similar.

If mods think this is violating rules,then simply delete the posts i dont care. :)

turboPASCAL 15. Aug 2007 21:45

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Zurück zum Thema: :zwinker:


Update:
  • 15/08/2007 neue Version 1.0.8 Build 54 online:
    • kleinen Fehler behoben bzw. Umgangen( Die Funktion RenderText aus der GR32-Unit von www.graphics32.org erzeugt massenhaft Pagefoults und eignet sich nur begrenst zur Textdarstellung)
    • Einbau der Anzeige zur CPU-Auslastung
    • Alle Einstellungen werden nun gespeichert


PS.:
zB. schieb Ghostwalker mal:
...zeigt nix an. Everest dagegen sagt mir 43°C ...
irgend wer schrieb mal irgend wo:
...Everest kann das doch auch...

Tja, ja das Teil ist auch in Delphi geschrieben worden. Die Leute dort gingen aber auch einen etwas anderen komplexeren Weg irgendwie direkt über den Treiber (o. Ä.) um die Werte unter anderem der GPU verschiedener Hersteller auszulesen.*
Über die WMI klappt das jedenfalls nicht.


Gruss...

halinchen 16. Aug 2007 09:50

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Liste der Anhänge anzeigen (Anzahl: 1)
Zitat:

Zitat von turboPASCAL
Die Funktion RenderText aus der GR32-Unit von www.graphics32.org erzeugt massenhaft Pagefoults und eignet sich nur begrenst zur Textdarstellung

Was sind "Pagefoults"? Das da scheint es nicht zu sein.

edit: Prima gemacht! Der halbtransparente Cursor ist auch schick. Werd mir gleich mal den Sourcecode anschauen.

edit2: Bei mir war unten das Panel schwarz. Ich hab Delphi 2007 Pro. Nach dem Löschen von Zeile 279 und Zeile 281 ging es. (siehe Bild).

turboPASCAL 16. Aug 2007 12:17

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Zitat:

Bei mir war unten das Panel schwarz. Ich hab Delphi 2007 Pro. Nach dem Löschen von Zeile 279 und Zeile 281 ging es. (siehe Bild).
Ja, das kann gut sein. Diese Zeile musste ich einbauen damit das Panel beim BDS2005 sichtbar bleibt.
(...ich nutze von dem nur den Commandlinekompiler...)

xZise 17. Aug 2007 12:54

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Liste der Anhänge anzeigen (Anzahl: 1)
Was entspricht die CPU auslastung? 145 °C = 100%?

Und übrigens sind die Achsenpunkte der Temperatur (Y-Achse) etwas zu tief... Ich würde mal sagen 2 oder 3 Pixel ;)
irretiert etwas :)

Aber ansonsten ist das Tool richtig cool (im doppelten sinne ;))

Zacherl 17. Aug 2007 13:01

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Funktioniert wunderbar .. nur die Meldung am Anfang ist nicht so schön formatiert, aber das ist nur eine Design Sache :)

Razor 17. Aug 2007 13:47

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Can we get get card name?For example(Nvidia 7600 gt or 8800 GTX) via API?

turboPASCAL 17. Aug 2007 14:10

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Zitat:

Zitat von xZise
Was entspricht die CPU auslastung? 145 °C = 100%?

Ich denk mal 100 °C, ich überlege aber eine Zweite Scala zu basteln. Sieht aber ein Wenig Uberladen aus...

Zitat:

Und übrigens sind die Achsenpunkte der Temperatur (Y-Achse) etwas zu tief... Ich würde mal sagen 2 oder 3 Pixel ;)
irretiert etwas :)
um ca. 1,5 Pixel ;) leider nicht zu ändern.

Zitat:

Aber ansonsten ist das Tool richtig cool (im doppelten sinne ;))
:mrgreen:

Zitat:

Zitat von Zacherl
Funktioniert wunderbar .. nur die Meldung am Anfang ist nicht so schön formatiert, aber das ist nur eine Design Sache :)

Wälche ? :gruebel:


Zitat:

Zitat von Razor
Can we get get card name?For example(Nvidia 7600 gt or 8800 GTX) via API?

Show the Sourcecode and search NvGetDisplayInf & NvCplGetActiveDevicesString.

Razor 17. Aug 2007 15:05

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Vielen Dank! :)

Rakshasa 17. Aug 2007 16:04

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Bei mir funktioniert es nicht. Fehlermeldung:

Leider konnte das Programm die Library "nvcpl.dll" nicht finden.
Entweder besitzen Sie keine nVidia Grafikkarte oder keinen
bzw. zu alten NVIDIA-Grafiktreiber.


Meine Grafikkarte: NVIDIA GForce 7600 GT
BS: Windows VISTA Business, 64Bit

Razor 17. Aug 2007 16:06

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Yes you must get nvcpl.dll.Maybe you need 64 bit drivers for vista ;)

turboPASCAL 17. Aug 2007 16:09

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Zitat:

Zitat von Rakshasa
Bei mir funktioniert es nicht. Fehlermeldung: ...

Hallo Rakshasa, tja leider ist das bei Vista und den 64 Bit Windows Versionen noch ein Problem die
Temperaturen auszulesen.

Wenn Du zeit und Lust hast guck doch bitte mal in das nVidia Control Center ob dort etwas
über Temperaturen in Bezug auf die GPU zu finden ist.

Könnte mir bitte jmd mal ein Screenshot machen mit meinem Programm (wenn es geht auf weissem Hintergrund) Ich möchte in nächster Zeit einen Vista Skinn für das Tool bauen. ;)

Rakshasa 17. Aug 2007 19:08

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Liste der Anhänge anzeigen (Anzahl: 1)
Zitat:

Zitat von turboPASCAL
Wenn Du zeit und Lust hast guck doch bitte mal in das nVidia Control Center ob dort etwas
über Temperaturen in Bezug auf die GPU zu finden ist.

hi,

leider hat das NVidia-ControlPanel standardmäßig keine Anzeige über Temperatur o.ä., darum hatte ich mich ja so über das Prog gefreut ;)
Anbei ein Screenshot über alle Informationen, die das NCP bei 64-Bit-Versionen bereitstellt.

turboPASCAL 18. Aug 2007 20:06

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Liste der Anhänge anzeigen (Anzahl: 2)
Zitat:

Zitat von Rakshasa
leider hat das NVidia-ControlPanel standardmäßig keine Anzeige über Temperatur o.ä., darum hatte ich mich ja so über das Prog gefreut ;)
Anbei ein Screenshot über alle Informationen, die das NCP bei 64-Bit-Versionen bereitstellt.

Standardmäßig leider nein, dafür brauch man dieses nTune-Tool Packet. Leider klappt es nicht mit meinem Tool unter Vista 64Bit ( 64Bit - Systeme generel).



So, anbei ein Vor-Vorabversion meines Tools im Vista Glassy Luck. :mrgreen:

xZise 19. Aug 2007 09:21

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Der Look sieht fast Vistamäßig aus ;)
Ein paar sachen:
Der "Blur" vergrößert nur? Bei VIsta wird nichts vergrößerst nur geblurt.
Dann sollt der minimize Button ein MouseOver-Effekt bekommen.

turboPASCAL 19. Aug 2007 11:52

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Zitat:

Zitat von xZise
Der Look sieht fast Vistamäßig aus ;)

Aha...

Zitat:

Ein paar sachen:
Ja ?

Zitat:

Der "Blur" vergrößert nur? Bei VIsta wird nichts vergrößerst nur geblurt.
Tja, da ich kein Vista habe müsste mir das jmd Beschreiben und oder Bildchen machen.

Zitat:

Dann sollt der minimize Button ein MouseOver-Effekt bekommen.
Na, hat er doch ! (jetzt :zwinker: )

Razor 19. Aug 2007 12:27

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Everything functions perfect infact i wanted to ask you if you would include fan(RPM)reading.And maybe gpu processor clocks.

xZise 20. Aug 2007 10:07

Re: [Tool] GPU - Temperaturanzeige (fur nVidia Grafikkarten.
 
Liste der Anhänge anzeigen (Anzahl: 1)
Ich habe mal den Blureffekt fotographiert in Windows Vista.
Oben ist mit Blurrahmen und unten ist das "original" ... sozusagen ;)


Alle Zeitangaben in WEZ +1. Es ist jetzt 14:34 Uhr.
Seite 3 von 6     123 45     Letzte »    

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz