Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message

IBM_ECW : Power management tool for T4x/R5x

Forum for scripts, utilities like TPFanControl, IBM-ECW, 2-finger scrolling, etc.
Message
Author
IbmPad
Freshman Member
Posts: 117
Joined: Tue Jun 05, 2012 4:30 pm
Location: France
Contact:

Re: IBM_ECW : Power management tool for T4x/R5x

#151 Post by IbmPad » Mon Feb 24, 2014 4:39 pm

Sorry if I was not clear enough in my previous posts. Let me recap and tell me whether the following is correct :
- If you put "2700i" (with a lowercase I) in the config dialog, the CPU will refuse to transition from 2500 to 2700 MHz if the CPU is working hard (this is obviously most noticeable in automatic control mode).
- If you put "2700I" (with an uppercase I) in the config dialog, the CPU should have no problem transitioning to 2700 MHz since the program suspends the active processes for 500 ms, but if I understand correctly, it is the source of the stutterings you experience on Youtube.
Is it possible to include in the "no control" setting, that it also goes back to Original Bios Voltages for Battery mode?
I am not sure I correctly understand what you ask for. When you tick "no control", the program does not set the frequency/voltage anymore and unpatch the IntelPPM.sys driver to let Windows set the frequency/voltage. The voltages are therefore those from the BIOS as soon as Windows decides to change the frequency (usually within one second). My program cannot restore the voltage itself since it doesn't know the stock voltages (I don't know how to read them from the ACPI tables).

Apart from that, there is a minor update (v. 1.0.5.6) which fixes a bug related to the config dialog reverting to "2700i" if you put "2700I" and should deal better with UAC.
Cur. : T61p (Win7 x64, C2D T9300 2.5GHz @ 950mV, 4GB RAM, QuadroFX 570m @ 900mV SXGA+ 15")
Prev. : T42p (Win 7 and XP, PM755 2.0GHz @ 700–1148mV, 1.5GB RAM, FireGL T2); T30 (Win 2000, P4M 1.8GHz, 256MB RAM, Radeon 7500); 390E (Win 3.11, Celeron 300MHz, 160MB RAM)
Please excuse my bad English.

Thrakath
Freshman Member
Posts: 90
Joined: Thu Dec 28, 2006 12:52 pm
Location: Germany

Re: IBM_ECW : Power management tool for T4x/R5x

#152 Post by Thrakath » Tue Feb 25, 2014 4:09 am

IbmPad wrote:Sorry if I was not clear enough in my previous posts. Let me recap and tell me whether the following is correct :
- If you put "2700i" (with a lowercase I) in the config dialog, the CPU will refuse to transition from 2500 to 2700 MHz if the CPU is working hard (this is obviously most noticeable in automatic control mode).

True! But noticeable not really...When i set to max, it´s stable at 2700!

- If you put "2700I" (with an uppercase I) in the config dialog, the CPU should have no problem transitioning to 2700 MHz since the program suspends the active processes for 500 ms, but if I understand correctly, it is the source of the stutterings you experience on Youtube.

True!
Is it possible to include in the "no control" setting, that it also goes back to Original Bios Voltages for Battery mode?
I am not sure I correctly understand what you ask for. When you tick "no control", the program does not set the frequency/voltage anymore and unpatch the IntelPPM.sys driver to let Windows set the frequency/voltage. The voltages are therefore those from the BIOS as soon as Windows decides to change the frequency (usually within one second). My program cannot restore the voltage itself since it doesn't know the stock voltages (I don't know how to read them from the ACPI tables).

Apart from that, there is a minor update (v. 1.0.5.6) which fixes a bug related to the config dialog reverting to "2700i" if you put "2700I" and should deal better with UAC.
Yes, but "unpatching" the driver does not seem to revert the chenged voltages according to CPU-Z. But really, don´t worry it´s already great and my workarounds are sufficient for my needs!

IbmPad
Freshman Member
Posts: 117
Joined: Tue Jun 05, 2012 4:30 pm
Location: France
Contact:

Re: IBM_ECW : Power management tool for T4x/R5x

#153 Post by IbmPad » Tue Apr 08, 2014 4:00 pm

Hello! New version (v. 1.0.5.7) :
- Fixed a few bugs
- Added experimental support for NVidia GPUs clock control (I hope it doesn't break compatibility with Intel GPUs; please tell me if it does), see below.

Regarding NVidia clocks :
- to be able to read some values "related" to clocks, set "Base I/O address" to your GPU memory address (mine is 0xD6000000, you can find it in the Device Manager) and "Base Clock Frequency" to 27000. Please note it has only been tested with a Quadro FX 570m (I don't know whether it can work with other models) and that the formulae are not correct so the values showed are related to clocks but are wrong.
- I could not find a way to modify the clocks, but the program is able to call the program "NVidiaInspector" to alter the clocks (this feature should therefore work for every NVidia GPU supported by NVidiaInspector). For this feature to work, put the file "nvidiaInspector.exe" in your System32 folder, set IBM_ECW's GPU control mode to manual and add the real clocks you want to the list. You also have to set the "Base I/O address" to the real address if you want the readings, or to 0x0 if you don't want the readings.

Note: the WinRing0 version has not been updated for now.

PS: Don't forget to unregister and register again the service to let the driver be properly updated.

Edit: Corrected the version number. :roll:
Last edited by IbmPad on Thu Apr 10, 2014 11:45 am, edited 1 time in total.
Cur. : T61p (Win7 x64, C2D T9300 2.5GHz @ 950mV, 4GB RAM, QuadroFX 570m @ 900mV SXGA+ 15")
Prev. : T42p (Win 7 and XP, PM755 2.0GHz @ 700–1148mV, 1.5GB RAM, FireGL T2); T30 (Win 2000, P4M 1.8GHz, 256MB RAM, Radeon 7500); 390E (Win 3.11, Celeron 300MHz, 160MB RAM)
Please excuse my bad English.

axur-delmeria
Senior ThinkPadder
Senior ThinkPadder
Posts: 3810
Joined: Mon May 28, 2012 5:49 am
Location: Metro Manila, Philippines

Re: IBM_ECW : Power management tool for T4x/R5x

#154 Post by axur-delmeria » Thu Apr 10, 2014 2:45 am

First off, thanks for developing this program!

It effectively replaced RMClock and TPFanControl in my X61 and two X61Ts (currently using 1.0.5.4 64-bit WinRing0).
RMClock was a pain to use when not in an Administrator account, and IBM_ECW is the only program I found that was a decent replacement for it. Since it had fan control as well, TPFC became redundant.

One part I'm not very confident in configuring though, would be the threshold percentages for the different clock speeds. On my X61T L7700, the frequencies and thresholds currently configured like this:

600MHz (SLFM, down from the original 800MHz) --> 50%
1200MHz --> 70%
1600MHz --> 85%
1800MHz --> 100%
(I don't use the IDA mode since it's jittery like in Thrakath's case)

Is this optimal? Or is the SLFM threshold way too high?

I'm trying to aim for longer battery life, but maybe responsiveness had suffered as a result.

Any advice?
Planned Purchase: T480s i5-8350 FHD Touch
Impulse Buy: Thinkpad not named for safety reasons :lol:
RIP: X220 4291-C91 X61 7676-A24 760XD-U9E :cry:

IbmPad
Freshman Member
Posts: 117
Joined: Tue Jun 05, 2012 4:30 pm
Location: France
Contact:

Re: IBM_ECW : Power management tool for T4x/R5x

#155 Post by IbmPad » Thu Apr 10, 2014 5:57 am

As you have a dual core CPU, when a thread uses 100% of one core, the global load is only 50%, so you might want to lower the thresholds. For instance the current config for my T9300 2.50 GHz is :
- 800 MHz, 950 mV, 40 % (SLFM)
- 1600 MHz, 950 mV, 45 %
- 2000 MHz, 950 mV, 48 %
- 2500 MHz, 950 mV, 95 %
- 2700 MHz, 1020 mV, 100 % (IDA)

Another thing: if you find the system is not reactive enough, you can adjust the "Update every" value. I set mine to 100 ms.

You might also want to underclock your X3100 GPU to achieve longer battery life.
Cur. : T61p (Win7 x64, C2D T9300 2.5GHz @ 950mV, 4GB RAM, QuadroFX 570m @ 900mV SXGA+ 15")
Prev. : T42p (Win 7 and XP, PM755 2.0GHz @ 700–1148mV, 1.5GB RAM, FireGL T2); T30 (Win 2000, P4M 1.8GHz, 256MB RAM, Radeon 7500); 390E (Win 3.11, Celeron 300MHz, 160MB RAM)
Please excuse my bad English.

Adda
Senior Member
Senior Member
Posts: 685
Joined: Fri Dec 04, 2009 1:49 pm
Location: Nørresundby, Denmark

Re: IBM_ECW : Power management tool for T4x/R5x

#156 Post by Adda » Thu Apr 10, 2014 9:35 am

Where do I get the new version?

Your website lists v1.0.5.7 as far as I can tell, there is a desperate need for a version number in the actual program and the name of the downloadable file.

If I have IBM_ECW.zip on my computer, I have no way of knowing which version it is.

Edit: it might be v1.0.5.8, you just forgot to update the version number as well as release date.

ThinkPad A30
Pentium III-M 933MHz
Crucial 2x256MB 133MHz CL2
Mobility Radeon 16MB
15" UXGA FlexView
Zheino Classic A 32GB
Samsung SpinPoint M5S 160GB
NEC DVD+-RW ND-6650A
Broadcom MiniPCI BCM43222 802.11n Dual Band
AKE BC168 USB 2.0
26P8287 203 "Malaysia"
46L4697
02K6898
02K6753

Adda
Senior Member
Senior Member
Posts: 685
Joined: Fri Dec 04, 2009 1:49 pm
Location: Nørresundby, Denmark

Re: IBM_ECW : Power management tool for T4x/R5x

#157 Post by Adda » Thu Apr 10, 2014 9:51 am

We also need a description of how to find the "base I/O address" and there is no such thing in the device manager.

There is something called I/O range, but the values showed there does not resemble the values used in IBM_ECW.

Edit: following the info I have so far about the base I/O address, it's supposed to be 0x2000 (the 0x I should add my self or?) but the program doesn't read anything, all references are to ATi, and what does the "FPS" thing do?

Edit: I tried different values as base I/O, and found one that gives me readings, it says all three clocks are of the same value, but which value is that...

Edit: I want to be able to disable "always on top".
Also it seems the base clock frequency of the FX880m is 1185000, assuming that the clock reading I get is the core clock (0xCCFFFFFF).

Edit: the clock reading I'm getting does not change if I change the actual GPU clocks.

Edit: right I went through all the addresses that seemed relevant, nothing produces results that change if I change the GPU clock.

Edit, last one I promise: I think the nVidia feature needs a lot more work, for it to make sense, it has to be able to control GPU voltages (Powermizer).
But I don't think that is even possible, I don't think nVIdia cards can change power state on user command.
PowerMizer can either, run at a fixed state, or automatic frequency scaling.
You can't make it switch different power states without restarting the driver, or running off battery or something.
You can't even disable specific power modes, examples:

What I CAN do:
I can have the GPU automatically switch between all three power modes, depending on load.
I can set the GPU to run a fixed power state, like 0.85v all the time.
I can have different settings for AC and DC.

What I CAN'T do:
I can't switch between power modes without restarting the driver, it's either fixed or automatic.
I can't disable power modes, like if I don't want to run the GPU at 0.93v, while having automatic GPU frequency scaling enabled.
I can't have custom clock settings for more then one power mode at any one time.

If there is no workaround for these shortcomings the don't go any further with implementing nVidia support, there would be no point.

What would make sense is if we could use nVIdia GPU's like ATi ones, set the voltage and clocks I want, and switch between them using hotkeys.

I think PowerMizer has the limitations I mentioned before, built in by design, following the trend that the IT industry want to decide what's best for you, by removing your options.

ThinkPad A30
Pentium III-M 933MHz
Crucial 2x256MB 133MHz CL2
Mobility Radeon 16MB
15" UXGA FlexView
Zheino Classic A 32GB
Samsung SpinPoint M5S 160GB
NEC DVD+-RW ND-6650A
Broadcom MiniPCI BCM43222 802.11n Dual Band
AKE BC168 USB 2.0
26P8287 203 "Malaysia"
46L4697
02K6898
02K6753

IbmPad
Freshman Member
Posts: 117
Joined: Tue Jun 05, 2012 4:30 pm
Location: France
Contact:

Re: IBM_ECW : Power management tool for T4x/R5x

#158 Post by IbmPad » Thu Apr 10, 2014 11:44 am

Where do I get the new version?
I'm sorry Adda, I made a mistake when I wrote the post. :oops: The actual latest version is 1.0.5.7. By the way you can see the version of the downloaded file by right clicking on IBM_ECW.exe, clicking on Properties and clicking on the "Details" or "Version" tab.
We also need a description of how to find the "base I/O address" and there is no such thing in the device manager.
I know I have been quite unclear... For ATI cards you have to enter the I/O address (something like 0x2000 or 0x3000), but for NVidia cards it is in fact the memory address (I think it is called "Memory range" in English versions of Windows) : something like 0xD6000000, and yes you have to write down the "0x".
what does the "FPS" thing do
Sorry, it is a field I should have removed before publishing the software. It was a test I made several months ago : I wanted to see what happened when I controlled automatically my ATI card clocks in order to get an approximately constant FPS in 3D apps (the program used Fraps to get the FPS value)...
it says all three clocks are of the same value
Currently the readings are pretty useless since they are definitely wrong (the formulae I found to derive the clock seem to be wrong)...
I want to be able to disable "always on top"
I will add this option to the next version if you want.
right I went through all the addresses that seemed relevant, nothing produces results that change if I change the GPU clock
The method for reading clocks came from the NVClock program ; perhaps it is not compatible with your GPU...
If there is no workaround for these shortcomings the don't go any further with implementing nVidia support, there would be no point.
I am sorry the program does not behave the way you want but I don't know how to control the voltages. :roll: I know it is very far from being perfect but for me it is still useful since I can underclock my GPU and easily switch between 80 MHz for normal use and 330 MHz for games (the stock frequency being 475 MHz) while running everytime at low voltage.
Cur. : T61p (Win7 x64, C2D T9300 2.5GHz @ 950mV, 4GB RAM, QuadroFX 570m @ 900mV SXGA+ 15")
Prev. : T42p (Win 7 and XP, PM755 2.0GHz @ 700–1148mV, 1.5GB RAM, FireGL T2); T30 (Win 2000, P4M 1.8GHz, 256MB RAM, Radeon 7500); 390E (Win 3.11, Celeron 300MHz, 160MB RAM)
Please excuse my bad English.

Adda
Senior Member
Senior Member
Posts: 685
Joined: Fri Dec 04, 2009 1:49 pm
Location: Nørresundby, Denmark

Re: IBM_ECW : Power management tool for T4x/R5x

#159 Post by Adda » Thu Apr 10, 2014 12:15 pm

IbmPad wrote: I'm sorry Adda, I made a mistake when I wrote the post. :oops: The actual latest version is 1.0.5.7. By the way you can see the version of the downloaded file by right clicking on IBM_ECW.exe, clicking on Properties and clicking on the "Details" or "Version" tab.
Ah ok, no problems then.
IbmPad wrote: I know I have been quite unclear... For ATI cards you have to enter the I/O address (something like 0x2000 or 0x3000), but for NVidia cards it is in fact the memory address (I think it is called "Memory range" in English versions of Windows) : something like 0xD6000000, and yes you have to write down the "0x".
The values in the memory range fields are completely different for my video card, I have tried them all, but the readings don't make sense.
I'll test more later.
IbmPad wrote: Currently the readings are pretty useless since they are definitely wrong (the formulae I found to derive the clock seem to be wrong)...
But they should change if GPU/MEM/Shader clocks change right?
IbmPad wrote: I will add this option to the next version if you want.
That would be great, I was struggling quite a bit on my rather low resolution Trinitron monitor.
Once the configuration menu is open, 1200x900 doesn't leave much room for much else.
IbmPad wrote: The method for reading clocks came from the NVClock program ; perhaps it is not compatible with your GPU...
As far as I can tell, NVClock was last updated back in 2009, and doesn't support anything beyond the Gefore 8000 series and derivatives.
IbmPad wrote: I am sorry the program does not behave the way you want but I don't know how to control the voltages. :roll: I know it is very far from being perfect but for me it is still useful since I can underclock my GPU and easily switch between 80 MHz for normal use and 330 MHz for games (the stock frequency being 475 MHz) while running everytime at low voltage.
This app can control GPU power states, but not on the fly:
http://nvidia-powermizer-manager.software.informer.com/

You already know nVidiaInspector.

The behavior I described is what I can do using nVidiaInspector and PowerMizerManager alone.

You could use PowerMizerManager to force your GPU to stay at it's minimum power state, and then underclock it using nVidiaInspector, and have your settings applied at each boot.

Edit: the only way I can get clock frequency switching without IBM_ECW would be by using the default nVidia frequency scaling, each voltage comes with a set of clocks.
But I can only change one of them, so I can't underclock it at minimum power (0.80v), and overclock it at max power (0.93v) fx.

ThinkPad A30
Pentium III-M 933MHz
Crucial 2x256MB 133MHz CL2
Mobility Radeon 16MB
15" UXGA FlexView
Zheino Classic A 32GB
Samsung SpinPoint M5S 160GB
NEC DVD+-RW ND-6650A
Broadcom MiniPCI BCM43222 802.11n Dual Band
AKE BC168 USB 2.0
26P8287 203 "Malaysia"
46L4697
02K6898
02K6753

axur-delmeria
Senior ThinkPadder
Senior ThinkPadder
Posts: 3810
Joined: Mon May 28, 2012 5:49 am
Location: Metro Manila, Philippines

Re: IBM_ECW : Power management tool for T4x/R5x

#160 Post by axur-delmeria » Thu Apr 10, 2014 10:18 pm

you can adjust the "Update every" value. I set mine to 100 ms.
I usually set mine between 100 and 150 ms.

Once I tried an update time of 20ms to see if it could overcome the jitter when decoding high-bitrate video, but playback still wasn't smooth enough compared to simply locking it at the highest speed.
You might also want to underclock your X3100 GPU to achieve longer battery life.
I was under the impression that IBM_ECW can't change the clock of the X3100 IGP.

Or are you using a different program?
Planned Purchase: T480s i5-8350 FHD Touch
Impulse Buy: Thinkpad not named for safety reasons :lol:
RIP: X220 4291-C91 X61 7676-A24 760XD-U9E :cry:

Adda
Senior Member
Senior Member
Posts: 685
Joined: Fri Dec 04, 2009 1:49 pm
Location: Nørresundby, Denmark

Re: IBM_ECW : Power management tool for T4x/R5x

#161 Post by Adda » Fri Apr 11, 2014 6:34 am

axur-delmeria wrote: Once I tried an update time of 20ms to see if it could overcome the jitter when decoding high-bitrate video, but playback still wasn't smooth enough compared to simply locking it at the highest speed.
If I set the update time any lower then 200ms, I get nothing but garble out of my speakers when playing realtime audio with FL Studio, it can even make the program hang.
The CPU hardware is designed to update every 200ms, a setting lower then that seems to cause trouble.

Edit: only applies to Pentium M.

ThinkPad A30
Pentium III-M 933MHz
Crucial 2x256MB 133MHz CL2
Mobility Radeon 16MB
15" UXGA FlexView
Zheino Classic A 32GB
Samsung SpinPoint M5S 160GB
NEC DVD+-RW ND-6650A
Broadcom MiniPCI BCM43222 802.11n Dual Band
AKE BC168 USB 2.0
26P8287 203 "Malaysia"
46L4697
02K6898
02K6753

IbmPad
Freshman Member
Posts: 117
Joined: Tue Jun 05, 2012 4:30 pm
Location: France
Contact:

Re: IBM_ECW : Power management tool for T4x/R5x

#162 Post by IbmPad » Fri Apr 11, 2014 7:57 am

I was under the impression that IBM_ECW can't change the clock of the X3100 IGP.
Since version 1.0.2.9 IBM_ECW should be able to change clocks for some Intel cards, including the X3100. I have never been able to test it since I don't have a Intel card, but a user reported that it worked with their X3100. I hope it is not broken since then (and I think it has never been tried with the WinRing0 version)...
If the program correctly detects the X3100, the field "I/O Base address" on the config window shoud be grayed and read "GMA X3100". The table below should also be automatically populated with the following frequencies : 250 MHz, 320 MHz, 400 MHz and 500 MHz. By setting Control mode to Manual you should be able to switch frequencies from the main window.

New version (1.0.5.8) : you can choose whether you want the window to always be on top or not (in the "Misc" dialog of the config window).
Cur. : T61p (Win7 x64, C2D T9300 2.5GHz @ 950mV, 4GB RAM, QuadroFX 570m @ 900mV SXGA+ 15")
Prev. : T42p (Win 7 and XP, PM755 2.0GHz @ 700–1148mV, 1.5GB RAM, FireGL T2); T30 (Win 2000, P4M 1.8GHz, 256MB RAM, Radeon 7500); 390E (Win 3.11, Celeron 300MHz, 160MB RAM)
Please excuse my bad English.

RealBlackStuff
Admin Emeritus
Admin Emeritus
Posts: 23812
Joined: Mon Sep 18, 2006 5:17 am
Location: Loch Garman, Éire

Re: IBM_ECW : Power management tool for T4x/R5x

#163 Post by RealBlackStuff » Fri Apr 11, 2014 8:22 am

Since all your downloads have the same name, may I suggest you add a small text-file in the ZIP, in which you mention the VERSION, or give the download the version-number?
Alternatively (or extra), show the version inside the program.
Thanks for all the good work.
Lovely day for a Guinness! (The Real Black Stuff)
Lenovo: X240, X250, T440p, T480, M900 Tiny.

PS: the old Boardroom website is still available on the Wayback Machine
.

Adda
Senior Member
Senior Member
Posts: 685
Joined: Fri Dec 04, 2009 1:49 pm
Location: Nørresundby, Denmark

Re: IBM_ECW : Power management tool for T4x/R5x

#164 Post by Adda » Fri Apr 11, 2014 10:51 am

IbmPad wrote: New version ( 1.0.5.8 ) : you can choose whether you want the window to always be on top or not (in the "Misc" dialog of the config window).
Thanks, this will be very handy for people with lower resolution displays.

ThinkPad A30
Pentium III-M 933MHz
Crucial 2x256MB 133MHz CL2
Mobility Radeon 16MB
15" UXGA FlexView
Zheino Classic A 32GB
Samsung SpinPoint M5S 160GB
NEC DVD+-RW ND-6650A
Broadcom MiniPCI BCM43222 802.11n Dual Band
AKE BC168 USB 2.0
26P8287 203 "Malaysia"
46L4697
02K6898
02K6753

axur-delmeria
Senior ThinkPadder
Senior ThinkPadder
Posts: 3810
Joined: Mon May 28, 2012 5:49 am
Location: Metro Manila, Philippines

Re: IBM_ECW : Power management tool for T4x/R5x

#165 Post by axur-delmeria » Sat Apr 12, 2014 5:59 am

I hope it is not broken since then (and I think it has never been tried with the WinRing0 version)...
Looks like it works on the X61T, but I have no way to test how the lower speed affects graphics performance. Then again, I probably won't feel it much since I'm not using an Aero theme.

My primary machine (the X61 T9300) though, runs Linux, and AFAIK there's no program that has IBM_ECW's manual reclocking functionality for Intel GMA. :(
Planned Purchase: T480s i5-8350 FHD Touch
Impulse Buy: Thinkpad not named for safety reasons :lol:
RIP: X220 4291-C91 X61 7676-A24 760XD-U9E :cry:

IbmPad
Freshman Member
Posts: 117
Joined: Tue Jun 05, 2012 4:30 pm
Location: France
Contact:

Re: IBM_ECW : Power management tool for T4x/R5x

#166 Post by IbmPad » Wed May 28, 2014 7:37 pm

New version (1.0.6.0) :
– A new option has been added to the 'misc' dialog of the config window to prevent limited users from controlling the program (an administrator running with UAC can still control the program without having to elevate). Useful for multi-user computers;
– Patching of the IntelPPM driver might now work on Windows 8.1 x86 and x64 (not tested at all);
– Added a caption with the version number on the main window and a changelog to the ZIP file.

EDIT: Updated the help file.
Cur. : T61p (Win7 x64, C2D T9300 2.5GHz @ 950mV, 4GB RAM, QuadroFX 570m @ 900mV SXGA+ 15")
Prev. : T42p (Win 7 and XP, PM755 2.0GHz @ 700–1148mV, 1.5GB RAM, FireGL T2); T30 (Win 2000, P4M 1.8GHz, 256MB RAM, Radeon 7500); 390E (Win 3.11, Celeron 300MHz, 160MB RAM)
Please excuse my bad English.

IbmPad
Freshman Member
Posts: 117
Joined: Tue Jun 05, 2012 4:30 pm
Location: France
Contact:

Re: IBM_ECW : Power management tool for T4x/R5x

#167 Post by IbmPad » Sun Jun 22, 2014 1:34 pm

For my end-year school project, I decided to build a Linux version of the tool. It will not have as many facilities as the Windows version, but should still be useful. It will be made of 4 components: a kernel module, a dæmon, a command line control tool and a GUI control panel much like its Windows counterpart. The .INI file will be fully compatible between the two versions but there will be no GUI configuration editor. I will probably release program when the school year is over (around September).
Cur. : T61p (Win7 x64, C2D T9300 2.5GHz @ 950mV, 4GB RAM, QuadroFX 570m @ 900mV SXGA+ 15")
Prev. : T42p (Win 7 and XP, PM755 2.0GHz @ 700–1148mV, 1.5GB RAM, FireGL T2); T30 (Win 2000, P4M 1.8GHz, 256MB RAM, Radeon 7500); 390E (Win 3.11, Celeron 300MHz, 160MB RAM)
Please excuse my bad English.

axur-delmeria
Senior ThinkPadder
Senior ThinkPadder
Posts: 3810
Joined: Mon May 28, 2012 5:49 am
Location: Metro Manila, Philippines

Re: IBM_ECW : Power management tool for T4x/R5x

#168 Post by axur-delmeria » Fri Jun 27, 2014 11:35 pm

For my end-year school project, I decided to build a Linux version of the tool.
Sounds good.
It will be made of 4 components: a kernel module, a dæmon, a command line control tool and a GUI control panel much like its Windows counterpart.
Kernel-based CPU voltage control functionality is already covered by the Linux-PHC project, though the version I'm using (0.32) is limited since not all the available multipliers are enabled. For my X61 T9300, the available clocks are 800MHz, 1200, 1600, 2000, 2500, and "2501MHz" which refers to the IDA multiplier.
There's a newer 0.40 driver, but it's still marked "beta". :(

A good GUI is hard to find though--> there's PHC Tool, but I'm not a fan of its layout.

Temp and RPM sensors are handled by the thinkpad-acpi kernel module, and allows them to be displayed in many programs.

Fan control is handled by thinkpad-acpi as well, but I don't know any GUIs that haven't been discontinued/deprecated. :(

GPU speed control is, AFAIK, nonexistent in Linux. :(

As you can see, most of the kernel-based work is already done. But a good GUI is sorely lacking.
Planned Purchase: T480s i5-8350 FHD Touch
Impulse Buy: Thinkpad not named for safety reasons :lol:
RIP: X220 4291-C91 X61 7676-A24 760XD-U9E :cry:

IbmPad
Freshman Member
Posts: 117
Joined: Tue Jun 05, 2012 4:30 pm
Location: France
Contact:

Re: IBM_ECW : Power management tool for T4x/R5x

#169 Post by IbmPad » Sat Jun 28, 2014 7:14 am

I personally don't use Linux, so I have absolutely no knowledge of the existing software. That's why my program uses its own kernel module and does not rely on any dependency.
The program will soon be ready; here is a screenshot of the current status.
Cur. : T61p (Win7 x64, C2D T9300 2.5GHz @ 950mV, 4GB RAM, QuadroFX 570m @ 900mV SXGA+ 15")
Prev. : T42p (Win 7 and XP, PM755 2.0GHz @ 700–1148mV, 1.5GB RAM, FireGL T2); T30 (Win 2000, P4M 1.8GHz, 256MB RAM, Radeon 7500); 390E (Win 3.11, Celeron 300MHz, 160MB RAM)
Please excuse my bad English.

IbmPad
Freshman Member
Posts: 117
Joined: Tue Jun 05, 2012 4:30 pm
Location: France
Contact:

Re: IBM_ECW : Power management tool for T4x/R5x

#170 Post by IbmPad » Tue Aug 05, 2014 2:52 pm

New version (v. 1.0.6.2) :
– Fixed some bugs (one related to UAC file virtualization on Windows 32-bits)
– New function improperly called “calibration” aimed at helping to find the best voltage for each CPU frequency. You set the voltage to begin with; the program stresses the CPU and waits for the predefined time then switch to a lower voltage and repeats the process until the computer hangs. If a bluescreen occurs, the programs shows the last correct voltage on the bluescreen (like in this screenshot). In the current state it is perhaps not very useful, and it is better to find the right voltage with a true testing software like Prime95 but anyway… This function only works when the program is not running as a service.
Cur. : T61p (Win7 x64, C2D T9300 2.5GHz @ 950mV, 4GB RAM, QuadroFX 570m @ 900mV SXGA+ 15")
Prev. : T42p (Win 7 and XP, PM755 2.0GHz @ 700–1148mV, 1.5GB RAM, FireGL T2); T30 (Win 2000, P4M 1.8GHz, 256MB RAM, Radeon 7500); 390E (Win 3.11, Celeron 300MHz, 160MB RAM)
Please excuse my bad English.

BachManiac
Freshman Member
Posts: 63
Joined: Thu Apr 14, 2005 6:42 am
Location: Austria

Re: IBM_ECW : Power management tool for T4x/R5x

#171 Post by BachManiac » Wed Sep 10, 2014 2:58 pm

hi!

where are the settings saved?

I've set the voltages to low and now the thinkpad freezes every time I start IBM-ECW. So I have to change the settings fom "outside the program"

please help!

thanks!
IBM T60p 14" C2D 2,33 GHZ / FireGL v5250

geka3250
Freshman Member
Posts: 105
Joined: Tue Mar 11, 2014 2:45 pm
Location: Ukraine
Contact:

Re: IBM_ECW : Power management tool for T4x/R5x

#172 Post by geka3250 » Wed Sep 10, 2014 4:28 pm

BachManiac,
C:\Windows\IBM_ECW.INI
340CSE | 380XD | 770 | 770X | 770Z | 390E | 600E | 600X | T23 | X30 | T30 | T41p | T43 | T60p | X200t

BachManiac
Freshman Member
Posts: 63
Joined: Thu Apr 14, 2005 6:42 am
Location: Austria

Re: IBM_ECW : Power management tool for T4x/R5x

#173 Post by BachManiac » Thu Sep 11, 2014 1:50 pm

thanks!! ;)
IBM T60p 14" C2D 2,33 GHZ / FireGL v5250

Thrakath
Freshman Member
Posts: 90
Joined: Thu Dec 28, 2006 12:52 pm
Location: Germany

Re: IBM_ECW : Power management tool for T4x/R5x

#174 Post by Thrakath » Tue Sep 16, 2014 3:18 am

I am still having this temperature beeps like 1-2 times per hour...even with the newest version. Would it be a big deal to make an option to disable the alarm entirely?

IbmPad
Freshman Member
Posts: 117
Joined: Tue Jun 05, 2012 4:30 pm
Location: France
Contact:

Re: IBM_ECW : Power management tool for T4x/R5x

#175 Post by IbmPad » Tue Sep 16, 2014 5:34 am

@Thrakath : I thought this issue was kind of resolved… :( You can disable the alarm by unticking the checkboxes in the “Safety” section of the “Configuration — Misc” window (unless there is once more a bug :roll:).

@BachManiac : My answer is probably late, but if the program is not being run as a service, you can also force it into a “failsafe” mode (the settings won't be applied) by holding Left Shift when the program starts, so that you can alter the settings.
Cur. : T61p (Win7 x64, C2D T9300 2.5GHz @ 950mV, 4GB RAM, QuadroFX 570m @ 900mV SXGA+ 15")
Prev. : T42p (Win 7 and XP, PM755 2.0GHz @ 700–1148mV, 1.5GB RAM, FireGL T2); T30 (Win 2000, P4M 1.8GHz, 256MB RAM, Radeon 7500); 390E (Win 3.11, Celeron 300MHz, 160MB RAM)
Please excuse my bad English.

Thrakath
Freshman Member
Posts: 90
Joined: Thu Dec 28, 2006 12:52 pm
Location: Germany

Re: IBM_ECW : Power management tool for T4x/R5x

#176 Post by Thrakath » Tue Sep 16, 2014 6:01 am

Oh culpa mea...never saw this misc dialogue before. Will test today ;-) Merci beaucoup!

tudoranadi
Freshman Member
Posts: 58
Joined: Sun Mar 29, 2009 5:57 am
Location: Iasi, Romania
Contact:

Re: IBM_ECW : Power management tool for T4x/R5x

#177 Post by tudoranadi » Fri Sep 26, 2014 12:16 pm

I want to use this tool on a Thinkpad W500, Windows 7 x64 but it says "Unable to start the driver".
Is there a fix?

Thanks!
ThinkPad T430, 14" HD+, i7-3610QM, 16GB DDR3-1600 HyperX Impact, 128GB SSD, 320GB Hitachi, Intel HD 4000 Graphics, Windows 10 (64-bit) with eGPU and Thinkpad Mini Dock Plus 3 with USB 3.0

IbmPad
Freshman Member
Posts: 117
Joined: Tue Jun 05, 2012 4:30 pm
Location: France
Contact:

Re: IBM_ECW : Power management tool for T4x/R5x

#178 Post by IbmPad » Fri Sep 26, 2014 6:58 pm

The problem is probably because Windows does not run in “Test mode”…

Windows x64 requires that drivers be digitally signed by an approved certification authority. Since I have not bought such an (expensive) certificate, I had to create a test certificate. If you want to force Windows to accept a driver without a valid certificate, you need to run it in so called “Test mode”. You can enable this mode by issuing “bcdedit /set testsigning on” in an elevated command prompt, then restart the computer.

When Windows is run in “Test mode” a watermark appears at the bottom right hand corner of the desktop area. If you want it removed, you can tick the corresponding checkbox in IBM_ECW's misc. config dialog (for this feature to work, you have to copy the file “SymSrv.dll” to your “System32” folder).

Hope this helps. Tell me if it still doesn't work.
Cur. : T61p (Win7 x64, C2D T9300 2.5GHz @ 950mV, 4GB RAM, QuadroFX 570m @ 900mV SXGA+ 15")
Prev. : T42p (Win 7 and XP, PM755 2.0GHz @ 700–1148mV, 1.5GB RAM, FireGL T2); T30 (Win 2000, P4M 1.8GHz, 256MB RAM, Radeon 7500); 390E (Win 3.11, Celeron 300MHz, 160MB RAM)
Please excuse my bad English.

tudoranadi
Freshman Member
Posts: 58
Joined: Sun Mar 29, 2009 5:57 am
Location: Iasi, Romania
Contact:

Re: IBM_ECW : Power management tool for T4x/R5x

#179 Post by tudoranadi » Sun Sep 28, 2014 8:02 am

I don't want to use it in "Test Mode".
I tried the "Winring0" version an it worked. Is there any downside vs the other version?

Many thanks!
ThinkPad T430, 14" HD+, i7-3610QM, 16GB DDR3-1600 HyperX Impact, 128GB SSD, 320GB Hitachi, Intel HD 4000 Graphics, Windows 10 (64-bit) with eGPU and Thinkpad Mini Dock Plus 3 with USB 3.0

IbmPad
Freshman Member
Posts: 117
Joined: Tue Jun 05, 2012 4:30 pm
Location: France
Contact:

Re: IBM_ECW : Power management tool for T4x/R5x

#180 Post by IbmPad » Sun Sep 28, 2014 9:18 am

The “WinRing0” version isn't up-to-date — though I don't remember why I decided not to update it anymore ; I may consider it again —, lacks the patching functions (“ACPI.sys” for the event log and “IntelPPM.sys” for the CPU voltage) since I can do it only with my own driver, and adds a little overhead (which should not be noticeable anyway)…

I don't recommend using WinRing0, because — if I recall correctly — this driver allows non-privileged users to access to its interfaces, thus enabling every program (even potentially untrusted ones) to access freely to the computer's I/O ports and memory, making Windows not more secure than MS-DOS !
Cur. : T61p (Win7 x64, C2D T9300 2.5GHz @ 950mV, 4GB RAM, QuadroFX 570m @ 900mV SXGA+ 15")
Prev. : T42p (Win 7 and XP, PM755 2.0GHz @ 700–1148mV, 1.5GB RAM, FireGL T2); T30 (Win 2000, P4M 1.8GHz, 256MB RAM, Radeon 7500); 390E (Win 3.11, Celeron 300MHz, 160MB RAM)
Please excuse my bad English.

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “ThinkPad Utility Work Area”

Who is online

Users browsing this forum: No registered users and 17 guests