You are not logged in.
Hi,
cpupower frequency-info
returns
analyzing CPU 0:
no or unknown cpufreq driver is active on this CPU
CPUs which run at the same hardware frequency: Not Available
CPUs which need to have their frequency coordinated by software: Not Available
maximum transition latency: Cannot determine or is not supported.
Not Available
available cpufreq governors: Not Available
Unable to determine current policy
current CPU frequency: Unable to call hardware
current CPU frequency: Unable to call to kernel
boost state support:
Supported: no
Active: no
I am also not able to set a CPU governor is this normal? I am trying
sudo cpupower frequency-set -g performance
but all I get is
Setting cpu: 0
Error setting new values. Common errors:
- Do you have proper administration rights? (super-user?)
- Is the governor you requested available and modprobed?
- Trying to set an invalid policy?
- Trying to set a specific frequency, but userspace governor is not available,
for example because of hardware which cannot be set to a specific frequency
or because the userspace governor isn't loaded?
How can I fix this? I want to lock my CPU to a certain frequency on all cores.
Thanks!
Update: It was a BIOS issue, which got fixed after updating to the latest version.
Last edited by raxbg (2018-05-20 15:16:52)
Offline
What is the output of:
uname -r
and
lscpu
Last edited by graysky (2018-05-20 10:57:01)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
uname -r
4.16.5-1-ARCH
lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 16
On-line CPU(s) list: 0-15
Thread(s) per core: 2
Core(s) per socket: 8
Socket(s): 1
NUMA node(s): 1
Vendor ID: AuthenticAMD
CPU family: 23
Model: 1
Model name: AMD Ryzen 7 1700 Eight-Core Processor
Stepping: 1
CPU MHz: 3477.015
BogoMIPS: 5990.73
Virtualization: AMD-V
L1d cache: 32K
L1i cache: 64K
L2 cache: 512K
L3 cache: 8192K
NUMA node0 CPU(s): 0-15
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 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 skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb hw_pstate sme sev vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca
Offline
And the output of: cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
cat: /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors: No such file or directory
There is no cpufreq dir under /sys/devices/system/cpu/cpu0
ls -l /sys/devices/system/cpu/cpu0/
total 0
drwxr-xr-x 7 root 0 May 20 03:24 .
drwxr-xr-x 24 root 0 May 20 03:24 ..
drwxr-xr-x 7 root 0 May 20 03:38 cache
-r-------- 1 root 4.0K May 20 03:38 crash_notes
-r-------- 1 root 4.0K May 20 03:38 crash_notes_size
lrwxrwxrwx 1 root 0 May 20 03:38 driver -> ../../../../bus/cpu/drivers/processor
lrwxrwxrwx 1 root 0 May 20 03:38 firmware_node -> ../../../LNXSYSTM:00/LNXCPU:00
drwxr-xr-x 2 root 0 May 20 03:38 hotplug
drwxr-xr-x 2 root 0 May 20 03:38 microcode
lrwxrwxrwx 1 root 0 May 20 03:38 node0 -> ../../node/node0
drwxr-xr-x 2 root 0 May 20 03:38 power
lrwxrwxrwx 1 root 0 May 20 06:52 subsystem -> ../../../../bus/cpu
drwxr-xr-x 2 root 0 May 20 03:38 topology
-rw-r--r-- 1 root 4.0K May 20 03:38 uevent
Offline
What is the output of: ls /usr/lib/modules/$(uname -r)/kernel/drivers/cpufreq/
Do the modules exist? Modules loaded? Did you read the wiki (https://wiki.archlinux.org/index.php/CP … cy_scaling)?
Last edited by graysky (2018-05-20 14:05:13)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Hm, there was a new version of my BIOS and flashing it seems to have fixed the issue.
P.S: Yes, I had read the frequency scaling article (went through it numerous times ) The modules were present in /usr/lib/modules/$(uname -r)/kernel/drivers/cpufreq/ but I was not able to load neither of them.
I will mark this as resolved, thanks!
Offline