Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
nvidia GPU temp PLUG IN
Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo
-
- Posts: 24
- Joined: March 19th, 2005, 10:57 pm
nvidia GPU temp PLUG IN
I don't know if this can be done with any of the plugins available - atleast I couldn't see how.
I'd really like to pull this one off myself, but I have a s*htload of exams and such coming up, wich leaves no time atm to learn programming. So I'm asking you coders out there if you can help.
I need a plugin to read characters number 26 and 27 on the 2. last (2. from the bottom) line of a file.
This file is rivatuner's GPU temp log (gpu.hml), and the format is like this:
80, 31-03-2005 04:18:18, 45.000
The "45" there is what I need to fetch, wich is the gpu temp.
Now, it (RivaTuner1) always add a "line shift" to the bottom, so if reading from the very last line in the file, the output would be blank.
It also adds a lot of blank spaces at the end of every line(same number on every line), so reading charcter 20 and 21 from the end of the file would probably do the same, although the output would in that case have to be reversed (as if value was 45 it would read 54(?))
I don't know if this would be an enormous hassle, or an quick'n easy task, but if anyone of you could take a look at it - It'd be great.
As I haven't figured any other way out yet, I guess there are quite alot of other people interested in getting nvidia GPU temps up on that LCD.
I'd really like to pull this one off myself, but I have a s*htload of exams and such coming up, wich leaves no time atm to learn programming. So I'm asking you coders out there if you can help.
I need a plugin to read characters number 26 and 27 on the 2. last (2. from the bottom) line of a file.
This file is rivatuner's GPU temp log (gpu.hml), and the format is like this:
80, 31-03-2005 04:18:18, 45.000
The "45" there is what I need to fetch, wich is the gpu temp.
Now, it (RivaTuner1) always add a "line shift" to the bottom, so if reading from the very last line in the file, the output would be blank.
It also adds a lot of blank spaces at the end of every line(same number on every line), so reading charcter 20 and 21 from the end of the file would probably do the same, although the output would in that case have to be reversed (as if value was 45 it would read 54(?))
I don't know if this would be an enormous hassle, or an quick'n easy task, but if anyone of you could take a look at it - It'd be great.
As I haven't figured any other way out yet, I guess there are quite alot of other people interested in getting nvidia GPU temps up on that LCD.
-
- Plugin Author
- Posts: 1604
- Joined: February 13th, 2005, 7:38 pm
- Location: Athens - Greece
- Contact:
-
- Posts: 24
- Joined: March 19th, 2005, 10:57 pm
http://www.freewebtown.com/pr0xzen/gpu.zip
RivaTuner appends a line per "XXXX" millisecons (set interval). Important to note, is that there's a line shift at the bottom - so the very last line is always empty.
RivaTuner appends a line per "XXXX" millisecons (set interval). Important to note, is that there's a line shift at the bottom - so the very last line is always empty.
Last edited by pr0xZen on March 31st, 2005, 3:18 pm, edited 1 time in total.
-
- Plugin Author
- Posts: 1604
- Joined: February 13th, 2005, 7:38 pm
- Location: Athens - Greece
- Contact:
-
- Posts: 24
- Joined: March 19th, 2005, 10:57 pm
I sure will
You the man 
I see that MBM 5.3 supports shared memory (http://mbm.livewiredev.com/mbmcode5.html) - and RivaTuner is supposed to also do so, exactly forthis kind of purpose. Alas, I have not been able to locate any of the SDK examples, no code, manual, guide. nada. But they swear it's there.


I see that MBM 5.3 supports shared memory (http://mbm.livewiredev.com/mbmcode5.html) - and RivaTuner is supposed to also do so, exactly forthis kind of purpose. Alas, I have not been able to locate any of the SDK examples, no code, manual, guide. nada. But they swear it's there.
-
- Plugin Author
- Posts: 1604
- Joined: February 13th, 2005, 7:38 pm
- Location: Athens - Greece
- Contact:
-
- Posts: 24
- Joined: March 19th, 2005, 10:57 pm
Great news indeed
D'oh
It outputs correct indeed. But - there's a problem. I set RivaTuner to poll values every 5 seconds. Now, when the plugin is applied, within 0-5 seconds rivatuner stop logging with an error message stating something like "failed to open file for write". Does the plugin "hug the file" continously while running? I figured, opening the file and reading shouldn't neccesarily take 5 seconds...? Hope you can enlighten / suggest a remedy.
Edit: I tried to "edit" and delete the gpu.hml file, but I was unable to write to/delete the file until I killed Smartie. Before doing this i tried removing the lines containing plugin "execution", and disabling the screen wich was used. Seems somehow, once executed, the plugin permanetly opens and hug the file, until Smarite is shut down.


Edit: I tried to "edit" and delete the gpu.hml file, but I was unable to write to/delete the file until I killed Smartie. Before doing this i tried removing the lines containing plugin "execution", and disabling the screen wich was used. Seems somehow, once executed, the plugin permanetly opens and hug the file, until Smarite is shut down.
-
- Plugin Author
- Posts: 1604
- Joined: February 13th, 2005, 7:38 pm
- Location: Athens - Greece
- Contact:
-
- Posts: 24
- Joined: March 19th, 2005, 10:57 pm
It works. It works god damn well Limbo, excellent work 
If anyone else is interested in running this, to set up RivaTuner for this do the following:
1. Open RivaTuner (obviously install first:)
2. Under "Main" tab, select "Customize" in "Target Adapter" section, and then "Hardware monitoring".
3. You get a bunch of graphs. close all EXCEPT "Core temperature".
4. Press "Setup" button.
5. Set "Data polling interval" to 5000 ms. Select a destination and file name for the log file (f.x. gpu.hml). Uncheck "Stop logging..." and check "Recreate exsisting log files".
5. Apply and "OK".
6. Now, activate "the red button" (Enable background monitoring) and "the floppy" (Log to file).
7. You're good to go. The readme.txt following the plugin, explains plugin usage.

If anyone else is interested in running this, to set up RivaTuner for this do the following:
1. Open RivaTuner (obviously install first:)
2. Under "Main" tab, select "Customize" in "Target Adapter" section, and then "Hardware monitoring".
3. You get a bunch of graphs. close all EXCEPT "Core temperature".
4. Press "Setup" button.
5. Set "Data polling interval" to 5000 ms. Select a destination and file name for the log file (f.x. gpu.hml). Uncheck "Stop logging..." and check "Recreate exsisting log files".
5. Apply and "OK".
6. Now, activate "the red button" (Enable background monitoring) and "the floppy" (Log to file).
7. You're good to go. The readme.txt following the plugin, explains plugin usage.
-
- Posts: 4
- Joined: March 24th, 2005, 6:07 am
Limbo you do some great work for everyone! Thanks again.
I can see many uses for this plugin, but is it possible that there could be a manual character number in there for the start position?
e.g.
$dll(riva,1,number of characters to return,character number to start read,path of file)
So for this FRAPS output:
2005-03-25 16:53:33 - RichardBurnsRally_SSE
Frames: 1410 - Time: 20000ms - Avg: 70.500 - Min: 57 - Max: 76
I could read, say the 23rd character for however many characters (in this case 21).. etc. etc. so that the display could be:
RichardBurnsRally_SSE
Avg: 70.500
Min: 57
Max: 76
Time: 16:53:33
Rather than the one big scrolling line i have at the moment..
Thanks
Glen
I can see many uses for this plugin, but is it possible that there could be a manual character number in there for the start position?
e.g.
$dll(riva,1,number of characters to return,character number to start read,path of file)
So for this FRAPS output:
2005-03-25 16:53:33 - RichardBurnsRally_SSE
Frames: 1410 - Time: 20000ms - Avg: 70.500 - Min: 57 - Max: 76
I could read, say the 23rd character for however many characters (in this case 21).. etc. etc. so that the display could be:
RichardBurnsRally_SSE
Avg: 70.500
Min: 57
Max: 76
Time: 16:53:33
Rather than the one big scrolling line i have at the moment..
Thanks
Glen
-
- Posts: 24
- Joined: March 19th, 2005, 10:57 pm

Anyway, fixed it up in 2 secs and back on track. for now. great wirk

-
- Plugin Author
- Posts: 1604
- Joined: February 13th, 2005, 7:38 pm
- Location: Athens - Greece
- Contact:
I' ll try to release a final version (ver 0.1) and fix this bug
It's hard to work without the specific program installed to the machine
I'll post a message to inform you when the final version is ready
But for now you have to live with thisit did it again... wel, it didn't lock the file, it just obviously was reading at the same time rivatuner was writing. guess that's an issue when rivatuner either just tops logging when file gets XX mb, or just continoues forever - the file gets big an opening takes time. more time for conflicts.
Anyway, fixed it up in 2 secs and back on track. for now. great wirk

It's hard to work without the specific program installed to the machine
I'll post a message to inform you when the final version is ready
-
- Posts: 24
- Joined: March 19th, 2005, 10:57 pm
I tried to indicate that it wasn't a major problem, only happens every 2 hours
But if you were to find a way to work around it, that would ofcourse be great.
Anyway, if you're interested in taking a further look into this, or the shared memory option, (they said it was taken onboard for just his type of thing. Actually CrystalControl2 does this, but who wants to use stinkin' CC when you've got Smartie, eh?) you'll find RivaTuner at http://download.guru3d.com/rivatuner/
Again, thanks alot, and great work

Anyway, if you're interested in taking a further look into this, or the shared memory option, (they said it was taken onboard for just his type of thing. Actually CrystalControl2 does this, but who wants to use stinkin' CC when you've got Smartie, eh?) you'll find RivaTuner at http://download.guru3d.com/rivatuner/
Again, thanks alot, and great work

-
- Plugin Author
- Posts: 1604
- Joined: February 13th, 2005, 7:38 pm
- Location: Athens - Greece
- Contact:
-
- Posts: 4
- Joined: May 4th, 2005, 8:08 pm
- Location: Knoxville, TN
- Contact:
-
- Posts: 24
- Joined: March 19th, 2005, 10:57 pm
I don't know for sure... I've got it working, but You'll have to reinitiate the "log-to-file" setting in RivaTuner, every 2 hours or so. Limbo said he'd take a look at it when he had a bit more time on his hands. But trust me, it works. Although, poll interval can't be set higher than 5000ms, any lower seems only to shorten the time between "re-initiations".
Hopefully, Limbo will figure something out when he finds time.
Hopefully, Limbo will figure something out when he finds time.
-
- Posts: 7
- Joined: June 8th, 2005, 1:16 pm
-
- Plugin Author
- Posts: 1604
- Joined: February 13th, 2005, 7:38 pm
- Location: Athens - Greece
- Contact:
-
- Plugin Author
- Posts: 1604
- Joined: February 13th, 2005, 7:38 pm
- Location: Athens - Greece
- Contact:
Good News!
NEW BETA 3 IS HERE
Please download it & test it.
Waiting for news about the god damn bug!

NEW BETA 3 IS HERE
Please download it & test it.
Waiting for news about the god damn bug!

Last edited by limbo on June 11th, 2005, 8:09 am, edited 1 time in total.