Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

HfiLpmEnable set to 1 prevents from entering the low power mode on i7-1260P

Open
#40 18 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
c, fedora

Research direction

Start by reproducing the issue on the reported Framework 13 with the supplied XML configurations, comparing the logs after running sudo intel_lpmd_control AUTO with HfiLpmEnable set to 1 and 0. No source file or test is named; done means AUTO enters low power mode with HfiLpmEnable set to 1 without regressing the working setting.

Written by the indexing model from the issue text.

Description

I've migrated from intel_lpmd 0.0.3 to 0.0.4 and migrated most of my configuration. Unfortunately, intel_lpmd won't enter low power mode when HfiLpmEnable is set to 1. When set to 0, it intel_lpmd enters low power modes correctly.

Log for HfiLpmEnable 1 :

Jun 14 11:19:03 framework systemd[1]: Starting intel_lpmd.service - Intel Low Power Daemon Service...
Jun 14 11:19:03 framework intel_lpmd[30907]: Reading configuration file /etc/intel_lpmd/intel_lpmd_config.xml
Jun 14 11:19:03 framework systemd[1]: Started intel_lpmd.service - Intel Low Power Daemon Service.

-> after issuing sudo intel_lpmd_control AUTO, nothing happens in the logs.

Log for HfiLpmEnable 0 :

Jun 14 11:24:37 framework systemd[1]: Starting intel_lpmd.service - Intel Low Power Daemon Service...
Jun 14 11:24:37 framework intel_lpmd[32726]: Reading configuration file /etc/intel_lpmd/intel_lpmd_config.xml
Jun 14 11:24:37 framework systemd[1]: Started intel_lpmd.service - Intel Low Power Daemon Service.
Jun 14 11:24:57 framework intel_lpmd[32726]: ------ Enter Low Power Mode ( utl enter) --- Fri Jun 14 11:24:57 2024

-> after issuing sudo intel_lpmd_control AUTO, the 4th line is logged.

XML configuration (HfiLpmEnable 1):

<?xml version="1.0"?>
<Configuration>
	<lp_mode_cpus></lp_mode_cpus>
	<lp_mode_epp>-1</lp_mode_epp>
	<Mode>0</Mode>
	<PerformanceDef>0</PerformanceDef>
	<BalancedDef>0</BalancedDef>
	<PowersaverDef>0</PowersaverDef>
	<HfiLpmEnable>1</HfiLpmEnable>
	<WLTHintEnable>1</WLTHintEnable>
	<HfiSuvEnable>1</HfiSuvEnable>
	<util_entry_threshold>10</util_entry_threshold>
	<util_exit_threshold>95</util_exit_threshold>
	<EntryDelayMS>0</EntryDelayMS>
	<ExitDelayMS>0</ExitDelayMS>
	<EntryHystMS>2000</EntryHystMS>
	<ExitHystMS>3000</ExitHystMS>
	<IgnoreITMT>0</IgnoreITMT>
	<States>
		<CPUFamily> 6 </CPUFamily>
		<CPUModel> 154 </CPUModel>
		<CPUConfig> 8P8E0L-28W </CPUConfig>
		<State>
			<ID> 1 </ID>
			<Name> LPM_DEEP </Name>
			<EntrySystemLoadThres> 5 </EntrySystemLoadThres>
			<EnterCPULoadThres> 50 </EnterCPULoadThres>
			<EPP> -1 </EPP>
			<EPB> -1 </EPB>
			<ITMTState> -1 </ITMTState>
			<IRQMigrate> 1 </IRQMigrate>
			<ActiveCPUs>14,15</ActiveCPUs>
			<MinPollInterval> 500 </MinPollInterval>
			<PollIntervalIncrement> 500 </PollIntervalIncrement>
			<MaxPollInterval> 2000 </MaxPollInterval>
		</State>
		<State>
			<ID> 2 </ID>
			<Name> LPM_LOW </Name>
			<EntrySystemLoadThres> 10 </EntrySystemLoadThres>
			<ExitSystemLoadhysteresis> 3 </ExitSystemLoadhysteresis>
			<EPP> -1 </EPP>
			<EPB> -1 </EPB>
			<ITMTState> -1 </ITMTState>
			<IRQMigrate> 1 </IRQMigrate>
			<ActiveCPUs>12-15</ActiveCPUs>
			<MinPollInterval> 1000 </MinPollInterval>
			<PollIntervalIncrement> 1000 </PollIntervalIncrement>
			<MaxPollInterval> 3000 </MaxPollInterval>
		</State>
		<State>
			<ID> 3 </ID>
			<Name> FULL_POWER </Name>
			<EntrySystemLoadThres></EntrySystemLoadThres>
			<EnterCPULoadThres></EnterCPULoadThres>
			<EPP> -1 </EPP>
			<EPB> -1 </EPB>
			<ITMTState> -1 </ITMTState>
			<IRQMigrate> 1 </IRQMigrate>
			<ActiveCPUs>0-15</ActiveCPUs>
			<MinPollInterval> 500 </MinPollInterval>
			<PollIntervalIncrement> -1 </PollIntervalIncrement>
			<MaxPollInterval> 2000 </MaxPollInterval>
		</State>
	</States>
</Configuration>

System:
Framework 13, Intel i7-1260P, Fedora 40.

Dominant language
C
Stars
231
Forks
33
Avg merge
2m
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from intel/intel-lpmd

All issues in intel/intel-lpmd

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.