intel / intel-lpmd

GNU General Public License v2.0
79 stars 10 forks source link

Unsupported CPU type (i7-12700K) #44

Closed lenis0012 closed 1 week ago

lenis0012 commented 1 month ago

Hi,

When I try to start the processI am greeted with an error telling me my CPU is unsupported:

$ sudo intel_lpmd --loglevel=debug --no-daemon
[1720281527][DEBUG]lpmd_main begin
[1720281527][DEBUG]CPUID 0x00000000: eax = 0x00000020 ebx = 0x756e6547 ecx = 0x6c65746e edx = 0x49656e69
[1720281527][DEBUG]CPUID 0x00000001: eax = 0x00090672 ebx = 0x30800800 ecx = 0x7ffafbff edx = 0xbfebfbff
[1720281527][INFO]32 CPUID levels; family:model:stepping 0x6:97:2 (6:151:2)
[1720281527][DEBUG]CPUID 0x00000007 subleaf 0x00000000: eax = 0x00000002 ebx = 0x239c27eb ecx = 0x98c027bcedx = 0xfc1cc410
[1720281527][DEBUG]Non Mobile platform detected
[1720281527][INFO]Unsupported CPU type

But I find this message somewhat confusing, and also cannot find information about supported CPUs in the README.

Are non mobile platform not supported? Is 12th gen not supported or is my specific CPU not supported?

I would appreciate it if more information was included in the log message and/or the README about which CPUs are (un)supported

zhang-rui commented 1 month ago

as the first step, I just improve the log message. can you please check the latest main branch and see if that is better?

lenis0012 commented 1 month ago
[1721822398][DEBUG]lpmd_main begin
[1721822398][DEBUG]CPUID 0x00000000: eax = 0x00000020 ebx = 0x756e6547 ecx = 0x6c65746e edx = 0x49656e69
[1721822398][DEBUG]CPUID 0x00000001: eax = 0x00090672 ebx = 0x4a800800 ecx = 0x7ffafbff edx = 0xbfebfbff
[1721822398][INFO]32 CPUID levels; family:model:stepping 0x6:97:2 (6:151:2)
[1721822398][DEBUG]CPUID 0x00000007 subleaf 0x00000000: eax = 0x00000002 ebx = 0x239c27eb ecx = 0x98c027bcedx = 0xfc1cc410
[1721822398][INFO]Non-Mobile PM profile detected. /sys/firmware/acpi/pm_profile returns 1
[1721822398][INFO]Unsupported CPU type

Yeah it's better thank you. But, I'm still confused because nowhere in the README or articles I read does it mention that you need to have a mobile platform and why. Do desktops not benefit from lower power consumption while idle? If that is the case, why do we have a hybrid architecture on desktop in the first place? But maybe that is besides the point...

Thanks either way :)

zhang-rui commented 1 week ago

The problem has been addressed by https://github.com/intel/intel-lpmd/pull/56