With linux kernel 5.19.0-31 amd_pstate is not used, while with 5.19.0-29 and lower does
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
linux-signed (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
After upgrading to 5.19.0-31 (two of my systems) CPU driver changes to acpi-cpufreq. instead of amd_pstate.
This causes cpu to keep higher frequency and increased consumption.
```
root@zeus:
total 0
-r--r--r-- 1 root root 4096 Feb 10 13:27 affected_cpus
-r--r--r-- 1 root root 4096 Feb 10 13:28 amd_pstate_
-r--r--r-- 1 root root 4096 Feb 10 13:28 amd_pstate_
-r--r--r-- 1 root root 4096 Feb 10 13:28 amd_pstate_max_freq
-r--r--r-- 1 root root 4096 Feb 10 12:54 cpuinfo_max_freq
-r--r--r-- 1 root root 4096 Feb 10 13:27 cpuinfo_min_freq
-r--r--r-- 1 root root 4096 Feb 10 13:27 cpuinfo_
-r--r--r-- 1 root root 4096 Feb 10 13:27 related_cpus
-r--r--r-- 1 root root 4096 Feb 10 12:54 scaling_
-r--r--r-- 1 root root 4096 Feb 10 13:27 scaling_cur_freq
-r--r--r-- 1 root root 4096 Feb 10 13:27 scaling_driver
-rw-r--r-- 1 root root 4096 Feb 10 12:54 scaling_governor
-rw-r--r-- 1 root root 4096 Feb 10 12:54 scaling_max_freq
-rw-r--r-- 1 root root 4096 Feb 10 12:54 scaling_min_freq
-rw-r--r-- 1 root root 4096 Feb 10 13:28 scaling_setspeed
root@zeus:
```
with newer kernel also policy files for amd_pstate
Tried it on 2 Asus PN51-S1 systems with AMD Ryzen 7 5700U
I am currently staying at 5.19.0-29 as it is working better.
---
ProblemType: Bug
AlsaVersion: Advanced Linux Sound Architecture Driver Version k5.19.0-31-generic.
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/
CRDA: N/A
Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
Card0.Amixer.
Card1.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
Card1.Amixer.
CasperMD5CheckR
DistroRelease: Ubuntu 22.10
InstallationDate: Installed on 2022-11-18 (85 days ago)
InstallationMedia: Ubuntu-Server 22.10 "Kinetic Kudu" - Release amd64 (20221019)
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
MachineType: ASUSTeK COMPUTER INC. MINIPC PN51-S1
Package: linux-signed (not installed)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB:
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 20220923.
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
Tags: kinetic uec-images
Uname: Linux 5.19.0-31-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
dmi.bios.date: 08/10/2022
dmi.bios.release: 1.12
dmi.bios.vendor: ASUSTeK COMPUTER INC.
dmi.bios.version: 0112
dmi.board.
dmi.board.name: PN51-S1
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: To be filled by O.E.M.
dmi.chassis.
dmi.chassis.type: 35
dmi.chassis.vendor: Default string
dmi.chassis.
dmi.modalias: dmi:bvnASUSTeKC
dmi.product.family: Vivo PC
dmi.product.name: MINIPC PN51-S1
dmi.product.
dmi.sys.vendor: ASUSTeK COMPUTER INC.
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
On 5.19.0-29 kernel all is different. Pretty serious issue!
More details of the cpu:
processor : 14
vendor_id : AuthenticAMD
cpu family : 23
model : 104
model name : AMD Ryzen 7 5700U with Radeon Graphics
stepping : 1
microcode : 0x8608102
cpu MHz : 1913.462
cache size : 512 KB
physical id : 0
siblings : 16
core id : 7
cpu cores : 8
apicid : 14
initial apicid : 14
fpu : yes
fpu_exception : yes
cpuid level : 16
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip rdpid overflow_recov succor smca
bugs : sysret_ss_attrs spectre_v1 spectre_v2 spec_store_bypass retbleed
bogomips : 3593.37
TLB size : 3072 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate cpb eff_freq_ro [13] [14]
processor : 15
vendor_id : AuthenticAMD
cpu family : 23
model : 104
model name : AMD Ryzen 7 5700U with Radeon Graphics
stepping : 1
microcode : 0x8608102
cpu MHz : 2717.814
cache size : 512 KB
physical id : 0
siblings : 16
core id : 7
cpu cores : 8
apicid : 15
initial apicid : 15
fpu : yes
fpu_exception : yes
cpuid level : 16
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip rdpid overflow_recov succor smca
bugs : sysret_ss...