CachyOS / CachyOS/linux-cachyos

[BUG] energy management profiles doesn't works with kernel linux cachyos 7.2.0-1 [acer aspire A314-23p]

Open
#1,001 3 comments 0 reactions 2 assignees Claimed by @ptr1337 View on GitHub
bug
Dominant language
Shell
Stars
4.5k
Forks
160
Avg merge
2d 12h
Merged PRs (30d)
1

Description

### Pre-flight checklist

- [x] I have searched existing issues and this is not a duplicate.
- [x] I have read the [Contributing Guidelines](https://github.com/CachyOS/linux-cachyos/blob/master/CONTRIBUTING.md).
- [x] I have verified the issue is reproducible with the latest available CachyOS kernel.
- [x] I have tried to reproduce the issue on Arch Linux's `linux` kernel.

### Upstream / vanilla kernel check

I have not tested with a vanilla/upstream kernel

### Kernel variant

linux-cachyos (EEVDF, Clang)

### System information (cachyos-bugreport.sh)

```text
https://paste.cachyos.org/p/825397b.log
```

### Manual system information (if cachyos-bugreport.sh is unavailable)

```text

```

### Bug description

Since Linux kernel 7.2.0-1, the energy management profile no longer works on my Acer Aspire A314-23P laptop. It seems that `amd_pstate` is not working, so the system falls back to `acpi-cpufreq`.

`amd_pstate` does not work because CPPC is not enabled in the BIOS. However, my BIOS does not provide an option to enable it, as it is a locked Acer BIOS.

I have tried changing the `amd_pstate` mode to passive, but it still does not work.

If I go back to the CachyOS Linux kernel 7.1.8-1, the energy management profile becomes available again.

### Steps to reproduce

Use the kernel linux cachyos 7.2.0-1

### Expected behavior

Three energy management profiles should be available : energy saving, balance, and performance.

### Actual behavior

Energy management profile is shown as unavailable on my device.

### Logs / stack traces

```text
❯ journalctl -k -b | grep 'pstate'
août 25 00:40:50 cachyos kernel: Command line: quiet nowatchdog splash rw rootflags=subvol=/@ root=UUID=6a3719b8-2833-40b8-b2e0-930c8e1aff06 amd_pstate=passive
août 25 00:40:50 cachyos kernel: Kernel command line: quiet nowatchdog splash rw rootflags=subvol=/@ root=UUID=6a3719b8-2833-40b8-b2e0-930c8e1aff06 amd_pstate=passive
août 25 00:40:50 cachyos kernel: amd_pstate: The CPPC feature is supported but currently disabled by the BIOS.
août 25 00:40:50 cachyos kernel: amd_pstate: failed to set auto_sel, ret: -95
août 25 00:40:50 cachyos kernel: amd_pstate: Failed to initialize CPU 0: -95
août 25 00:40:50 cachyos kernel: amd_pstate: failed to set auto_sel, ret: -95
août 25 00:40:50 cachyos kernel: amd_pstate: Failed to initialize CPU 1: -95
août 25 00:40:50 cachyos kernel: amd_pstate: failed to set auto_sel, ret: -95
août 25 00:40:50 cachyos kernel: amd_pstate: Failed to initialize CPU 2: -95
août 25 00:40:50 cachyos kernel: amd_pstate: failed to set auto_sel, ret: -95
août 25 00:40:50 cachyos kernel: amd_pstate: Failed to initialize CPU 3: -95
août 25 00:40:50 cachyos kernel: amd_pstate: failed to set auto_sel, ret: -95
août 25 00:40:50 cachyos kernel: amd_pstate: Failed to initialize CPU 4: -95
août 25 00:40:50 cachyos kernel: amd_pstate: failed to set auto_sel, ret: -95
août 25 00:40:50 cachyos kernel: amd_pstate: Failed to initialize CPU 5: -95
août 25 00:40:50 cachyos kernel: amd_pstate: failed to set auto_sel, ret: -95
août 25 00:40:50 cachyos kernel: amd_pstate: Failed to initialize CPU 6: -95
août 25 00:40:50 cachyos kernel: amd_pstate: failed to set auto_sel, ret: -95
août 25 00:40:50 cachyos kernel: amd_pstate: Failed to initialize CPU 7: -95
août 25 00:40:50 cachyos kernel: amd_pstate: failed to register with return -19
```

### Additional system information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.