tiziw / iuvolt

Script to undervolt Intel CPUs
143 stars 13 forks source link

i5-3320M Incompatible? #19

Open aerickt opened 5 years ago

aerickt commented 5 years ago

I've been getting the same errors as one of the other issues which it ended up being solved as too old a CPU. However, my ThinkPad X230t has a third generation Ivy Bridge processor, so it should be compatible, no?

$ sudo iuvolt -90 -80 -90

wrmsr: CPU 0 cannot set MSR 0x00000150 to 0x80000011f4800000
wrmsr: CPU 0 cannot set MSR 0x00000150 to 0x8000001000000000
rdmsr: CPU 0 cannot read MSR 0x00000150
/usr/bin/iuvolt: line 49: [: ==: unary operator expected
wrote failed, got: 
wrmsr: CPU 0 cannot set MSR 0x00000150 to 0x80000111f5c00000
wrmsr: CPU 0 cannot set MSR 0x00000150 to 0x8000011000000000
rdmsr: CPU 0 cannot read MSR 0x00000150
/usr/bin/iuvolt: line 49: [: ==: unary operator expected
wrote failed, got: 
wrmsr: CPU 0 cannot set MSR 0x00000150 to 0x80000211f4800000
wrmsr: CPU 0 cannot set MSR 0x00000150 to 0x8000021000000000
rdmsr: CPU 0 cannot read MSR 0x00000150
/usr/bin/iuvolt: line 49: [: ==: unary operator expected
wrote failed, got:

CPU: i5 3320M Modprobed msr.

tiziw commented 5 years ago

This undervolting method is only compatible with Intel i-core CPUs older than 2nd gen that use intel p-state governor as far as I know. To check which scheduler is used run cpupower frequency-info. If it uses the acpi-cpufreq governor, you'll have to use this method for undervolting. If you do use the pstate governor then I don't know what could be wrong, maybe look in this thread if someone reported a similiar problem?

riesinger commented 4 years ago

I have the same exact problem on the same chip and laptop.

The output from cpupower frequency-info is as follows:

analyzing CPU 0:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency:  Cannot determine or is not supported.
  hardware limits: 1.20 GHz - 3.30 GHz
  available cpufreq governors: performance powersave
  current policy: frequency should be within 1.20 GHz and 3.30 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 1.30 GHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes
    25500 MHz max turbo 4 active cores
    25500 MHz max turbo 3 active cores
    25500 MHz max turbo 2 active cores
    25500 MHz max turbo 1 active cores

It seems as if the pstate governor is in use.