Closed LethalManBoob closed 1 year ago
Prerequisites to successfully register are that no previous idle driver is loaded. Thus you have to boot with the mainstream driver blacklisted as mentioned in Wiki
This will be confirmed into the UI "Kernel" window with the word "Missing" facing "CPU-Idle driver". You can therefore register CoreFreq as the the Governor and Idle handlers from the "Settings" window
Did as you asked. Only difference is idle is set to mwait, not idle. Same error.
Did as you asked. Only difference is idle is set to mwait, not idle. Same error.
Can you post the output using these options:
corefreq-cli -s -n -m -n -B -n -k
I also want to see:
/proc/cmdline
uname -a
cat /etc/release*
Processor [AMD Ryzen 7 5800X 8-Core Processor]
|- Architecture [Zen3/Vermeer]
|- Vendor ID [AuthenticAMD]
|- Firmware [ 56.70.0-2]
|- Microcode [0x0a201016]
|- Signature [ AF_21]
|- Stepping [ 0]
|- Online CPU [ 16/ 16]
|- Base Clock [100.000]
|- Frequency (MHz) Ratio
Min 2200.00 < 22 >
Max 3799.99 < 38 >
|- Factory [100.000]
3800 [ 38 ]
|- Performance
|- P-State
TGT 3799.99 < 38 >
|- CPPC
Min 500.00 < 5 >
Max 4799.99 < 48 >
TGT 4799.99 < 48 >
|- Turbo Boost [ UNLOCK]
XFR 4899.99 [ 49 ]
CPB 4799.99 [ 48 ]
1C 2799.99 < 28 >
2C 2200.00 < 22 >
|- Uncore [ LOCK]
CLK 1800.00 [ 18 ]
MEM 5399.99 [ 54 ]
Instruction Set Extensions
|- 3DNow!/Ext [N/N] ADX [Y] AES [Y] AVX/AVX2 [Y/Y]
|- AVX512-F [N] AVX512-DQ [N] AVX512-IFMA [N] AVX512-PF [N]
|- AVX512-ER [N] AVX512-CD [N] AVX512-BW [N] AVX512-VL [N]
|- AVX512-VBMI [N] AVX512-VBMI2 [N] AVX512-VNNI [N] AVX512-ALG [N]
|- AVX512-VPOP [N] AVX512-VNNIW [N] AVX512-FMAPS [N] AVX512-VP2I [N]
|- AVX512-BF16 [N] AVX-VNNI-VEX [N] AVX-FP128 [N] AVX-FP256 [Y]
|- BMI1/BMI2 [Y/Y] CLWB [Y] CLFLUSH [Y] CLFLUSH-OPT [Y]
|- CLAC-STAC [Y] CMOV [Y] CMPXCHG8B [Y] CMPXCHG16B [Y]
|- F16C [Y] FPU [Y] FXSR [Y] LAHF-SAHF [Y]
|- MMX/Ext [Y/Y] MON/MWAITX [Y/Y] MOVBE [Y] PCLMULQDQ [Y]
|- POPCNT [Y] RDRAND [Y] RDSEED [Y] RDTSCP [Y]
|- SEP [Y] SHA [Y] SSE [Y] SSE2 [Y]
|- SSE3 [Y] SSSE3 [Y] SSE4.1/4A [Y/Y] SSE4.2 [Y]
|- SERIALIZE [N] SYSCALL [Y] RDPID [Y] UMIP [Y]
|- VAES [Y] VPCLMULQDQ [Y] PREFETCH/W [Y] LZCNT [Y]
Features
|- 1 GB Pages Support 1GB-PAGES [Capable]
|- 100 MHz multiplier Control 100MHzSteps [Missing]
|- Advanced Configuration & Power Interface ACPI [Capable]
|- Advanced Programmable Interrupt Controller APIC [Capable]
|- Advanced Virtual Interrupt Controller AVIC [Capable]
|- APIC Timer Invariance ARAT [Capable]
|- LOCK prefix to read CR8 AltMov [Capable]
|- Clear Zero Instruction CLZERO [Capable]
|- Core Multi-Processing CMP Legacy [Capable]
|- L1 Data Cache Context ID CNXT-ID [Missing]
|- Collaborative Processor Performance Control CPPC [Capable]
|- Direct Cache Access DCA [Missing]
|- Debugging Extension DE [Capable]
|- Debug Store & Precise Event Based Sampling DS, PEBS [Missing]
|- CPL Qualified Debug Store DS-CPL [Missing]
|- 64-Bit Debug Store DTES64 [Missing]
|- Fast Short REP MOVSB FSRM [Capable]
|- Fast-String Operation ERMS [Capable]
|- Fused Multiply Add FMA4 [Missing]
|- Fused Multiply Add FMA [Capable]
|- Hardware Lock Elision HLE [Missing]
|- Hardware P-state control HwP [Capable]
|- Instruction Based Sampling IBS [Capable]
|- Instruction INVLPGB INVLPGB [Missing]
|- Instruction INVPCID INVPCID [Capable]
|- Long Mode 64 bits IA64 | LM [Capable]
|- LightWeight Profiling LWP [Missing]
|- Memory Bandwidth Enforcement MBE [Capable]
|- Machine-Check Architecture MCA [Capable]
|- Instruction MCOMMIT MCOMMIT [Missing]
|- Memory Protection Extensions MPX [Missing]
|- Model Specific Registers MSR [Capable]
|- Memory Type Range Registers MTRR [Capable]
|- No-Execute Page Protection NX [Capable]
|- OS-Enabled Ext. State Management OSXSAVE [Capable]
|- OS Visible Work-around OSVW [Capable]
|- Physical Address Extension PAE [Capable]
|- Page Attribute Table PAT [Capable]
|- Pending Break Enable PBE [Missing]
|- Process Context Identifiers PCID [Missing]
|- Perfmon and Debug Capability PDCM [Missing]
|- Page Global Enable PGE [Capable]
|- Page Size Extension PSE [Capable]
|- 36-bit Page Size Extension PSE36 [Capable]
|- Processor Serial Number PSN [Missing]
|- Resource Director Technology/PQE RDT-A [Capable]
|- Resource Director Technology/PQM RDT-M [Capable]
|- Read Processor Register at User level RDPRU [Capable]
|- Restricted Transactional Memory RTM [Missing]
|- Safer Mode Extensions SMX [Missing]
|- Self-Snoop SS [Missing]
|- Supervisor-Mode Access Prevention SMAP [Capable]
|- Supervisor-Mode Execution Prevention SMEP [Capable]
|- Trailing Bit Manipulation TBM [Missing]
|- Translation Cache Extension TCE [Capable]
|- Time Stamp Counter TSC [Invariant]
|- Time Stamp Counter Deadline TSC-DEADLINE [Missing]
|- TSX Force Abort MSR Register TSX-ABORT [Missing]
|- TSX Suspend Load Address Tracking TSX-LDTRK [Missing]
|- User-Mode Instruction Prevention UMIP [Capable]
|- Virtual Mode Extension VME [Capable]
|- Virtual Machine Extensions VMX [Missing]
|- Write Back & Do Not Invalidate Cache WBNOINVD [Capable]
|- Extended xAPIC Support x2APIC [ xAPIC]
|- AVIC controller for x2APIC x2AVIC [Missing]
|- XSAVE/XSTOR States XSAVE [Capable]
|- xTPR Update Control xTPR [Missing]
|- Extended Operation Support XOP [Missing]
Mitigation mechanisms
|- Indirect Branch Restricted Speculation IBRS [Capable]
|- IBRS Always-On preferred by processor [ Unable]
|- IBRS preferred over software solution [Capable]
|- IBRS provides same speculation limits [Capable]
|- Indirect Branch Prediction Barrier IBPB [Capable]
|- Single Thread Indirect Branch Predictor STIBP [Capable]
|- Speculative Store Bypass Disable SSBD [Capable]
|- SSBD use VIRT_SPEC_CTRL register [ Unable]
|- SSBD not needed on this processor [ Unable]
|- No Branch Type Confusion BTC_NO [ Unable]
|- BTC on Non-Branch instruction BTC-NOBR [Capable]
|- Arch - No Fast Predictive Store Forwarding PSFD [Capable]
Security Features
|- Secure Init and Jump with Attestation SKINIT [Capable]
|- Secure Encrypted Virtualization SEV [Capable]
|- SEV - Encrypted State SEV-ES [Capable]
|- SEV - Secure Nested Paging SEV-SNP [Missing]
|- Guest Mode Execute Trap GMET [Capable]
|- Supervisor Shadow Stack SSS [Capable]
|- VM Permission Levels VMPL [Missing]
|- VMPL Supervisor Shadow Stack VMPL-SSS [Missing]
|- Secure Memory Encryption SME [Capable]
|- Transparent SME TSME [Disable]
|- Secure Multi-Key Memory Encryption SME-MK [Missing]
|- DRAM Data Scrambling Scrambler [ Enable]
Technologies
|- Instruction Cache Unit
|- L1 IP Prefetcher L1 HW IP < ON>
|- Data Cache Unit
|- L1 Prefetcher L1 HW < ON>
|- L2 Prefetcher L2 HW < ON>
|- System Management Mode SMM-Lock [ ON]
|- Simultaneous Multithreading SMT [ ON]
|- PowerNow! CnQ [ ON]
|- Core C-States CCx [ ON]
|- Core Performance Boost CPB < ON>
|- Watchdog Timer WDT < ON>
|- Virtualization SVM [ ON]
|- I/O MMU AMD-V [ ON]
|- Version [ 0.1]
|- Hypervisor [OFF]
|- Vendor ID [ N/A]
Performance Monitoring
|- Version PM [ 1]
|- Counters: General Fixed
| { 6, 6, 4 } x 48 bits 3 x 64 bits
|- Enhanced Halt State C1E <OFF>
|- C2 UnDemotion C2U <OFF>
|- C3 UnDemotion C3U < ON>
|- Core C6 State CC6 <OFF>
|- Package C6 State PC6 <OFF>
|- Legacy Frequency ID control FID [OFF]
|- Legacy Voltage ID control VID [OFF]
|- P-State Hardware Coordination Feedback MPERF/APERF [ ON]
|- Core C-States
|- C-States Base Address BAR [ 0x413 ]
|- ACPI Processor C-States _CST [ 2]
|- MONITOR/MWAIT
|- State index: #0 #1 #2 #3 #4 #5 #6 #7
|- Sub C-State: 1 1 0 0 0 0 0 0
|- Core Cycles [Capable]
|- Instructions Retired [Capable]
|- Reference Cycles [Capable]
|- Last Level Cache References [Capable]
|- Global Time Stamp Counter [Missing]
|- Data Fabric Performance Counter [Capable]
|- Core Performance Counter [Capable]
|- Processor Performance Control _PCT [ Enable]
|- Performance Supported States _PSS [ 3]
|- Performance Present Capabilities _PPC [ 0]
|- Continuous Performance Control _CPC [ Enable]
Power, Current & Thermal
|- Temperature Offset:Junction TjMax [ 49: 90 C]
|- CPPC Energy Preference EPP < 0>
|- Digital Thermal Sensor DTS [Capable]
|- Power Limit Notification PLN [Missing]
|- Package Thermal Management PTM [Missing]
|- Thermal Monitor 1 TTP [ Enable]
|- Thermal Monitor 2 HTC [ Enable]
|- Thermal Design Power TDP [ 105 W]
|- Minimum Power Min [ 105 W]
|- Maximum Power Max [ 105 W]
|- Thermal Design Power Package < Enable>
|- Power Limit PL1 < 1000 W>
|- Time Window TW1 < 0 ns>
|- Power Limit PL2 < 1000 W>
|- Time Window TW2 < 0 ns>
|- Thermal Design Power Core [Disable]
|- Power Limit PL1 [ 0 W]
|- Time Window TW1 [ 0 ns]
|- Thermal Design Power Uncore [Disable]
|- Power Limit PL1 [ 0 W]
|- Time Window TW1 [ 0 ns]
|- Thermal Design Power DRAM [Disable]
|- Power Limit PL1 [ 0 W]
|- Time Window TW1 [ 0 ns]
|- Thermal Design Power Platform [Disable]
|- Power Limit PL1 [ 0 W]
|- Time Window TW1 [ 0 ns]
|- Power Limit PL2 [ 0 W]
|- Time Window TW2 [ 0 ns]
|- Package Power Tracking PPT [ 142 W]
|- Electrical Design Current EDC [ 140 A]
|- Thermal Design Current TDC [ 95 A]
|- Core Thermal Point
|- Package Thermal Point
|- Thermal Monitor Trip Limit [ 115 C]
|- HTC Temperature Limit Limit [ 127 C]
|- HTC Temperature Hysteresis Threshold [ 2 C]
|- Units
|- Power watt [ 0.125000000]
|- Energy joule [ 0.000015259]
|- Window second [ 0.000976562]
CPU Pkg Apic Core/Thread Caches (w)rite-Back (i)nclusive
# ID ID CCD CCX ID/ID L1-Inst Way L1-Data Way L2 Way L3 Way
000:BSP 0 0 0 0 0 32 8 32 8 512 8 i 32768 16w
001: 0 2 0 0 1 0 32 8 32 8 512 8 i 32768 16w
002: 0 4 0 0 2 0 32 8 32 8 512 8 i 32768 16w
003: 0 6 0 0 3 0 32 8 32 8 512 8 i 32768 16w
004: 0 8 0 1 4 0 32 8 32 8 512 8 i 32768 16w
005: 0 10 0 1 5 0 32 8 32 8 512 8 i 32768 16w
006: 0 12 0 1 6 0 32 8 32 8 512 8 i 32768 16w
007: 0 14 0 1 7 0 32 8 32 8 512 8 i 32768 16w
008: 0 1 0 0 0 1 32 8 32 8 512 8 i 32768 16w
009: 0 3 0 0 1 1 32 8 32 8 512 8 i 32768 16w
010: 0 5 0 0 2 1 32 8 32 8 512 8 i 32768 16w
011: 0 7 0 0 3 1 32 8 32 8 512 8 i 32768 16w
012: 0 9 0 1 4 1 32 8 32 8 512 8 i 32768 16w
013: 0 11 0 1 5 1 32 8 32 8 512 8 i 32768 16w
014: 0 13 0 1 6 1 32 8 32 8 512 8 i 32768 16w
015: 0 15 0 1 7 1 32 8 32 8 512 8 i 32768 16w
[ 0] American Megatrends Inc.
[ 1] 2803
[ 2] 04/27/2022
[ 3] ASUS
[ 4] System Product Name
[ 5] System Version
[ 6] S---e---e---l---m---
[ 7] SKU
[ 8] To be filled by O.E.M.
[ 9] ASUSTeK COMPUTER INC.
[10] ROG STRIX B550-F GAMING
[11] Rev X.0x
[12] 2---8---5---9--
[13] Number Of Devices:4\Maximum Capacity:134217728 kilobytes
[14] DIMM_A1\BANK 0
[15] DIMM_A2\BANK 1
[16]
[17]
[18] Corsair
[19] Corsair
[20]
[21]
[22] CMK32GX4M2D3600C18
[23] CMK32GX4M2D3600C18
[24]
[25]
Linux:
|- Release [6.5.0-1-cachyos]
|- Version [#1 SMP PREEMPT_DYNAMIC Mon, 28 Aug 2023 13:51:41 +0000]
|- Machine [x86_64]
Memory:
|- Total RAM 32769632 KB
|- Shared RAM 1473016 KB
|- Free RAM 3435984 KB
|- Buffer RAM 24 KB
|- Total High 0 KB
|- Free High 0 KB
Clock Source < corefreq_tsc>
CPU-Freq driver [ corefreqk-perf]
Governor [ corefreq-policy]
CPU-Idle driver [ acpi_idle]
|- Idle Limit [ C2]
|- State POLL C1 C2
|- CPUIDLE ACPI FF ACPI IO
|- Power -1 0 0
|- Latency 0 1 18
|- Residency 0 2 36
fish: Unknown command. '/proc/cmdline' exists but is not an executable file.
Linux archlinux 6.5.0-1-cachyos #1 SMP PREEMPT_DYNAMIC Mon, 28 Aug 2023 13:51:41 +0000 x86_64 GNU/Linux
fish: No matches for wildcard '/etc/release*'. See `help wildcards-globbing`.
cat /etc/release*
fish: Unknown command. '/proc/cmdline' exists but is not an executable file.
Sorry I meant:
cat /proc/cmdline
Are you able to unload acpi_idle ?
modprobe -r acpi_idle
Or
rmmod -f acpi_idle
You can also try to blacklist acpi_idle
and acpi-idle
modprobe: FATAL: Module acpi_idle not found.
rmmod: ERROR: could not remove 'acpi_idle': No such file or directory
rmmod: ERROR: could not remove module acpi_idle: No such file or directory
initrd=\amd-ucode.img initrd=\initramfs-linux-cachyos.img root=PARTUUID=00524484-3ab2-4f82-b5e2-703e1d474459 rw rootflags=subvol=/@ transparent_hugepage=madvice mitigations=off zswap.enabled=0 iommu=pt amd_iommu=pgtbl_v2 kvm-amd.avic=1 amd_iommu_intr=vapic nowatchdog preempt=full threadirqs nohz=off cpufreq=off idle=mwait modprobe.blacklist=acpi_cpufreq tsc=unstable nmi_watchdog=0 clearcpuid=514 amd_prefcore=enable modprobe.blacklist=k10temp,acpi_cpufreq,rapl,intel_rapl_msr,intel_rapl_common,sp5100_tco,wmi,eeepc_wmi,asus_wmi
Does it prevent from loading if adding acpi_idle
to the modprobe.blacklist
?
Can you also list the current drivers using lsmod
command ?
Module Size Used by
uinput 24576 0
xpad 45056 0
ff_memless 20480 1 xpad
bnep 32768 2
bluetooth 1150976 7 bnep
ecdh_generic 16384 1 bluetooth
crc16 12288 1 bluetooth
snd_seq_dummy 12288 0
snd_hrtimer 12288 1
snd_seq 135168 7 snd_seq_dummy
xt_CHECKSUM 12288 0
xt_MASQUERADE 16384 0
xt_conntrack 12288 0
ipt_REJECT 12288 0
nf_reject_ipv4 16384 1 ipt_REJECT
xt_tcpudp 16384 0
nft_compat 24576 0
nft_chain_nat 12288 2
nf_nat 69632 2 nft_chain_nat,xt_MASQUERADE
nf_conntrack 221184 3 xt_conntrack,nf_nat,xt_MASQUERADE
nf_defrag_ipv6 24576 1 nf_conntrack
nf_defrag_ipv4 12288 1 nf_conntrack
nf_tables 393216 30 nft_compat,nft_chain_nat
nfnetlink 20480 2 nft_compat,nf_tables
bridge 466944 0
stp 12288 1 bridge
llc 16384 2 bridge,stp
cfg80211 1376256 0
rfkill 40960 7 bluetooth,cfg80211
ccm 20480 0
algif_aead 12288 0
crypto_null 16384 1 algif_aead
cbc 12288 0
des_generic 12288 0
libdes 24576 1 des_generic
ecb 12288 0
algif_skcipher 12288 0
cmac 12288 0
md4 12288 0
algif_hash 12288 0
af_alg 36864 3 algif_hash,algif_skcipher,algif_aead
vmnet 81920 13
edac_mce_amd 53248 0
snd_hda_codec_hdmi 102400 1
kvm_amd 204800 0
snd_hda_intel 61440 1
vmmon 167936 0
snd_usb_audio 454656 3
kvm 1445888 1 kvm_amd
vmw_vmci 139264 0
snd_intel_dspcfg 32768 1 snd_hda_intel
nvidia_drm 94208 9
snd_intel_sdw_acpi 16384 1 snd_intel_dspcfg
pkcs8_key_parser 12288 0
nvidia_modeset 1556480 13 nvidia_drm
irqbypass 12288 1 kvm
snd_hda_codec 237568 2 snd_hda_codec_hdmi,snd_hda_intel
snd_usbmidi_lib 53248 1 snd_usb_audio
crct10dif_pclmul 12288 1
crc32_pclmul 12288 0
nvidia_uvm 3457024 0
snd_rawmidi 53248 1 snd_usbmidi_lib
polyval_clmulni 12288 0
snd_seq_device 16384 2 snd_seq,snd_rawmidi
polyval_generic 12288 1 polyval_clmulni
snd_hda_core 151552 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
mc 94208 1 snd_usb_audio
gf128mul 20480 1 polyval_generic
vfat 20480 1
snd_hwdep 20480 2 snd_usb_audio,snd_hda_codec
ghash_clmulni_intel 16384 0
r8169 135168 0
fat 106496 1 vfat
snd_pcm 221184 6 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
hid_apple 24576 0
sha512_ssse3 53248 0
realtek 40960 1
snd_timer 57344 3 snd_seq,snd_hrtimer,snd_pcm
mdio_devres 12288 1 r8169
aesni_intel 360448 0
snd 159744 20 snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_timer,snd_pcm,snd_rawmidi
video 73728 1 nvidia_modeset
crypto_simd 16384 1 aesni_intel
wmi_bmof 12288 0
apple_mfi_fastcharge 16384 0
libphy 237568 3 r8169,mdio_devres,realtek
igc 221184 0
mousedev 24576 0
ccp 167936 1 kvm_amd
i2c_piix4 36864 0
pcspkr 12288 0
wmi 45056 2 video,wmi_bmof
joydev 24576 0
cryptd 32768 2 crypto_simd,ghash_clmulni_intel
soundcore 16384 1 snd
gpio_amdpt 16384 0
gpio_generic 20480 1 gpio_amdpt
mac_hid 12288 0
nvidia 62726144 770 nvidia_uvm,nvidia_modeset
dm_multipath 53248 0
corefreqk 638976 2
sg 49152 0
crypto_user 16384 0
fuse 217088 5
dm_mod 229376 1 dm_multipath
loop 36864 0
zram 45056 2
ip_tables 36864 0
x_tables 69632 7 xt_conntrack,nft_compat,xt_tcpudp,xt_CHECKSUM,ipt_REJECT,ip_tables,xt_MASQUERADE
xhci_pci 28672 0
usbhid 90112 0
xhci_pci_renesas 24576 1 xhci_pci
btrfs 2166784 1
blake2b_generic 24576 0
libcrc32c 12288 4 nf_conntrack,nf_nat,btrfs,nf_tables
crc32c_generic 12288 0
crc32c_intel 16384 2
xor 20480 1 btrfs
raid6_pq 122880 1 btrfs
Remembering this CachyOS old thread, add the following to your kernel boot command line
initcall_blacklist=acpi_cpufreq_init
@LethalManBoob
You can try adding to the boot kernel command line this instruction:
initcall_blacklist=acpi_cpufreq_init
Then you can register CoreFreq as CPU-Idle driver.
Alright turns out it was due to me setting the idle to mwait instead of halt. I asked if that was an issue but it wasnt? Well it seems it is the issue. xD
OK, enjoy CoreFreq
I followed the instructions exactly and double checked but nothing.