Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Latest version seem to suppress displaying "lap detected" degradation, but CPU goes down to 400Mhz anyway #13

Open
alex-kowalczyk opened this issue Nov 6, 2023 · 2 comments

Comments

@alex-kowalczyk
Copy link

Ubuntu 23.04, Lenovo ThinkPad P14s Gen 1, Intel® Core™ i7-10610U × 8, up-to-date BIOS.
Kernel: 6.2.0-35-generic #35-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 3 13:14:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux.

After applying your latest code, when running on A/C (performance mode) on laps, CPU goes down to 400MHz for some time after shaking.
The s-tui tool indicates thermal did not exceed 55-60C, so does not seem to be a thermal-caused throttle.
Both /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor and powerprofilesctl show "performance" profile (powerprofilesctl states "Degraded: no")
Tried to force higher CPU frequency when observing 400MHz, but no tool succeeds.
To restore higher CPU frequency, I either just need to wait steady a minute or so or to unplug A/C adapter.
I tried to use and also tried to remove all the other CPU/thermal related tools I knew I have (cpufreq-auto, thermald). Also disabled intel_pstate driver, but the bad behavior persists on ACPI too.

I'd appreciate suggestions what logs, diagnostics, outputs can be useful for diagnosing the issue.

@nozwock
Copy link

nozwock commented Jan 17, 2024

I did not experience this issue. Are you sure this kernel module is causing it, like it only happens after installing it?

Btw, I've had a few instances where even though powerprofilesctl doesn't report lap-detected anymore, power profile still switches to power saver after a while.

@JosiahBull
Copy link
Owner

Sorry to hear you've having this issue! I apologize but I no longer have a laptop with this acceleration sensor so can't reasonably maintain this repository.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants