LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 02-25-2023, 05:34 AM   #1
ZapAnarchy
LQ Newbie
 
Registered: Feb 2023
Posts: 16

Rep: Reputation: 0
Unhappy intel_pstate (turbo boost) disables itself after waking from sleep


i don't know what is problem anymore.
i own acer aspire es1-533

latest manjaro, updated system (via sudo pacman -Sy)

but, cpu is not using turbo boost frequencies.
it's staying in 1.10 Ghz.

when i reboot, it goes up to 2.40 GHz, but when it goes to sleep and back awake, it's max is 1.10 GHz and feels very slow because of it.

I also had problem, before this, (i just somehow managed to make it use max 2.40 GHz freq), that it used lowest possible cpu freq which was 780 MHz, and stayed there, even if i used
```sudo cpupower frequency-set -g performance```

it stayed same.
so what i did, is disabled intel_pstate driver (in grub config), and it came to 2.40 GHz (so now it used acpi_driver), but, again, after one reboot, now acpi_driver didn't detected turboboost at all (even if it is enabled in file in /sys ), cpupower said 1.10 GHz is limit, and at least, it stayed at that freq (it wasnt like before, to drop to 780 MHz).
I used perfomance, conversative, switching governors, don't change nothing.

and then, i enabled intel_pstate driver via grub file again, and it worked again, to 2.40 GHz.(it detects turboboost as hardware limit, 2.40 GHz instead of base freq 1.10 GHz). but when in sleep and back from it, it drops to 1.10 GHz

what i should do now ?
drivers shouldn't act like this.


here is dmesg, when i rebooted, and put system to sleep and back again:


It is using some: intel_cpufreq
And lsmod | grep intel_pstate, gives me no output

I enabled intel_pstate to Active, and it works somehow, but doesn't stay after reboots?
```sudo echo active | sudo tee /sys/devices/system/cpu/intel_pstate/status```

Last edited by ZapAnarchy; 02-25-2023 at 06:14 AM.
 
Old 02-25-2023, 06:30 AM   #2
ZapAnarchy
LQ Newbie
 
Registered: Feb 2023
Posts: 16

Original Poster
Rep: Reputation: 0
So i managed to fix this, by setting intel_pstate to active mode, instead of passive

```sudo nano /etc/systemd/system/intel_pstate.service```

In the file, add the following lines:

```
[Unit]
Description=Set Intel P-state driver to active mode

[Service]
ExecStart=/bin/bash -c 'echo active | sudo tee /sys/devices/system/cpu/intel_pstate/status'
Type=oneshot
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target
```




```sudo systemctl enable intel_pstate.service```

Reboot
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is hwp_mode_bdw in intel_pstate.c Ansen Linux - Kernel 0 11-26-2022 09:50 AM
[SOLVED] Disable login screen (auto login) after waking from sleep (KDE/KDM) damgar Slackware 2 08-18-2018 10:29 PM
Waking up from sleeping mode randomly disables network amogmartins Ubuntu 1 05-13-2016 08:34 AM
WPA authentication fails after waking from sleep vs. dLink (Ubuntu 10.04) dewdrop_world Linux - Wireless Networking 3 05-12-2011 04:54 PM
Waking my computer up after it goes to sleep Fosforo Ubuntu 4 01-20-2007 02:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 11:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration