Search found 470 matches: cur_freq
Searched query: cur_freq
- Tue May 10, 2022 3:07 am
- Forum: Troubleshooting
- Topic: Raspi 4 ignores config.txt?
- Replies: 16
- Views: 687
Re: Raspi 4 ignores config.txt?
is there a way i can prove overclocking works? im just skeptical is all haha. I'd assume stress-ng may prove some things but wasn't sure if there was a simpler way to know if im overclocking or not cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq I get 600000 when i run this. I assume that...
- Tue May 10, 2022 1:32 am
- Forum: Troubleshooting
- Topic: Raspi 4 ignores config.txt?
- Replies: 16
- Views: 687
Re: Raspi 4 ignores config.txt?
is there a way i can prove overclocking works? im just skeptical is all haha. I'd assume stress-ng may prove some things but wasn't sure if there was a simpler way to know if im overclocking or not cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq I get 600000 when i run this. I assume that...
- Sun May 08, 2022 7:26 pm
- Forum: Troubleshooting
- Topic: Raspi 4 ignores config.txt?
- Replies: 16
- Views: 687
Re: Raspi 4 ignores config.txt?
is there a way i can prove overclocking works? im just skeptical is all haha. I'd assume stress-ng may prove some things but wasn't sure if there was a simpler way to know if im overclocking or not
Code: Select all
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
- Tue Apr 12, 2022 11:29 am
- Forum: Camera board
- Topic: [Solved] Adding the new camera to libcamera - imx258
- Replies: 59
- Views: 3473
Re: [Solved] Adding the new camera to libcamera - imx258
Dear 6by9-san I saw the mis-compensation of PDAF pixels. I update the register table and verified the PDAF pixel treatment become correct. IMX258 patches merged into the 5.15 tree, so they should be in the next rpi-update release. Just some register values are modified as below. Please try it befor...
- Tue Apr 12, 2022 9:01 am
- Forum: Camera board
- Topic: [Solved] Adding the new camera to libcamera - imx258
- Replies: 59
- Views: 3473
Re: [Solved] Adding the new camera to libcamera - imx258
Dear 6by9-san I saw the mis-compensation of PDAF pixels. I update the register table and verified the PDAF pixel treatment become correct. IMX258 patches merged into the 5.15 tree, so they should be in the next rpi-update release. Just some register values are modified as below. Please try it before...
- Sat Mar 19, 2022 11:45 am
- Forum: Beginners
- Topic: Overclocking my Pi 4
- Replies: 2
- Views: 178
Overclocking my Pi 4
I have worked with computers all my life, so I am fairly computer savvy. However I am new to all things Linux. It is fitted in to a DeskPi Pro 4 V2 case and I have installed 1TB M.2 Sata memory inside the case and a 2TB SSD externally. The Pi is running the official Raspberry Pi 32 bit OS Lite, inst...
- Tue Mar 01, 2022 8:21 am
- Forum: Deutsch
- Topic: Ständig "carrier lost" bei neu installiertem Buster auf 3B+
- Replies: 11
- Views: 581
Re: Ständig "carrier lost" bei neu installiertem Buster auf 3B+
... auf einen festen Kanal festlegen. Versuch mal auch mit folgenden zusätzlichen Optionen (für den Kanal 13) in der wpa_supplicant.conf: zusätzl. globale Optionen: eapol_version=2 filter_ssids=1 ap_scan=1 bss_max_count=10 bss_expiration_age=45 ignore_old_scan_res=1 freq_list=2472 scan_cur_freq=1 b...
- Sat Dec 11, 2021 1:14 am
- Forum: General programming discussion
- Topic: Advent of Code 2021 - the main bit!
- Replies: 329
- Views: 42207
Re: Advent of Code 2021 - the main bit!
How reliable are hyperfine results? Ah yes, it seems, or at least my guess is, that it's thrown off by varying CPU-speeds. So when the scaling_governor is "ondemand", the Pi 4 starts at 600 MHz but scales up to its maximum: either 1.5 GHz by default or 1.8 GHz for newer versions and for t...
- Thu Dec 02, 2021 1:02 am
- Forum: General discussion
- Topic: Constant CPU speed?
- Replies: 6
- Views: 638
Re: Constant CPU speed?
root@pi400:~# cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_governors conservative ondemand userspace powersave performance schedutil root@pi400:~# echo userspace > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor root@pi400:~# cat /sys/devices/system/cpu/cpufreq/policy0/sca...
- Mon Nov 22, 2021 10:01 pm
- Forum: Troubleshooting
- Topic: Can't change cpu governor on RP1 B+
- Replies: 0
- Views: 80
Can't change cpu governor on RP1 B+
Hi, it seems impossible to change the cpu governor on my raspberry echo powersave | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor I can confirm by cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor powersave it did change , but has no effect both watch -n 1 sudo cat /sys/devi...
- Fri Nov 12, 2021 11:22 am
- Forum: Troubleshooting
- Topic: Pi Zero won't show CPU frequency on top bar
- Replies: 3
- Views: 168
Re: Pi Zero won't show CPU frequency on top bar
lxterminal --geometry=60x1+666+0 -e watch -t sysmon.sh #!/bin/sh CPU=$(top -bn1 | grep "%Cpu" | cut -c 9-11) CLOCK=$(echo $(($(sudo cat /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq)/1000))) MEM=$(free -m | grep "Mem" | cut -c 28-32) TEMP=$(echo $(($(sudo cat /sys/cla...
- Sat Nov 06, 2021 5:15 pm
- Forum: General discussion
- Topic: The Raspberry Pi Zero 2 W Thread
- Replies: 390
- Views: 44275
Re: The Raspberry Pi Zero 2 W Thread
I chose the easy way to get CPU on max CPU frequency today. ... Pi02W best is 19us(!): pi@raspberrypi02W:~ $ for((i=0; i<100; ++i)); do ./q32; done | grep us | sort -n | uniq -c 10 19us 65 20us 8 21us 4 22us 5 33us 6 34us 1 35us 1 47us pi@raspberrypi02W:~ $ Just did forcing CPU frequency to 1GHz th...
- Tue Oct 12, 2021 11:05 am
- Forum: Beginners
- Topic: CPU Frequency Inconsistencies
- Replies: 11
- Views: 390
Re: CPU Frequency Inconsistencies
inxi does a quick sleep before reading the file, thereby letting the CPU "recover" from opening the file. So the only activity should be "normal" CPU activity at the time and not as the result of monitoring. Here's a little Perl script which provides expected results: #!/usr/bin/...
- Tue Oct 12, 2021 9:02 am
- Forum: Beginners
- Topic: CPU Frequency Inconsistencies
- Replies: 11
- Views: 390
CPU Frequency Inconsistencies
Hi, I'm trying to monitor CPU frequency of my Raspberry Pi 4 Model B Rev 1.2. Using both conky and the Xfce CPU Frequency Monitor I can see it sitting mostly at 600MHz. But when reading scaling_cur_freq or using vcgencmd measure_clock arm I tend to see around 1000MHz. This happens when all monitors ...
- Mon Sep 06, 2021 3:41 pm
- Forum: General discussion
- Topic: CPU frequency
- Replies: 33
- Views: 2575
Re: CPU frequency
[root@nixos:/sys/devices/system/cpu/cpufreq/policy0]# cat stats/time_in_state 600000 1872 700000 18298728 800000 0 900000 0 1000000 0 1100000 0 1200000 0 1300000 0 1400000 0 1500000 25248804 this command, tells you how many seconds the cpu has spent at each clock speed, so you can see if its actual...
- Sun Sep 05, 2021 11:08 pm
- Forum: General discussion
- Topic: CPU frequency
- Replies: 33
- Views: 2575
Re: CPU frequency
[root@nixos:/sys/devices/system/cpu/cpufreq/policy0]# cat stats/time_in_state 600000 1872 700000 18298728 800000 0 900000 0 1000000 0 1100000 0 1200000 0 1300000 0 1400000 0 1500000 25248804 this command, tells you how many seconds the cpu has spent at each clock speed, so you can see if its actual...
- Thu Aug 19, 2021 5:55 pm
- Forum: General discussion
- Topic: How to measure the current clock speed of the cpu
- Replies: 2
- Views: 454
Re: How to measure the current clock speed of the cpu
scaling_cur_freq can also be "wrong" when thermal throttling occurs the firmware will just refuse to use the freq linux requests, and run at a lower freq to protect the hardware The value returned by measure_clock is the truth (it just connects the arm clock to a counter for a fixed durati...
- Thu Aug 19, 2021 3:13 pm
- Forum: General discussion
- Topic: How to measure the current clock speed of the cpu
- Replies: 2
- Views: 454
How to measure the current clock speed of the cpu
I overclocked my pi with the following settings: arm_freq=2250 gpu_freq=700 over_voltage=8 When measuring the frequency: $ vcgencmd measure_clock arm frequency(48)=2250544896 $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq 2300000 $ sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_c...
- Sun Jul 25, 2021 9:23 am
- Forum: Debian
- Topic: Guide: Installation of *VANILLA* Debian 11 (or later) on a Raspberry Pi 4
- Replies: 146
- Views: 80858
Re: Guide: Installation of *VANILLA* Debian 11 (or later) on a Raspberry Pi 4
Is cpu frequency scaling working for somebody? I loaded the raspberrypi_cpufreq & cpufreq_dt kernel modules. root@debpi001:~# lsmod | grep -i cpu raspberrypi_cpufreq 16384 0 cpufreq_dt 20480 0 root@debpi001:~# But cpupower frequency-info, lscpu, /proc don't report the cpu frequency root@debpi001...
- Tue Jul 06, 2021 11:40 pm
- Forum: Raspberry Pi OS
- Topic: vcgencmd bash completion
- Replies: 4
- Views: 572
vcgencmd bash completion
Many users find themselves running vcgencmd measure_temp often when evaluating cooling solutions, so having TAB-complete for that and other vcgencmd commands included in the default install of the Raspberry Pi OS, perhaps as part of the libraspberrypi-bin package, saves typing and improves usability...
- Sun May 16, 2021 10:26 pm
- Forum: Other programming languages
- Topic: How Slow is Go?
- Replies: 30
- Views: 4838
Re: How Slow is Go?
just to see how the cross-compiler in nix compares to things... [clever@amd-nixos:~/apps/rpi/realfft]$ nix build .#realfft -o x86-64 [clever@amd-nixos:~/apps/rpi/realfft]$ nix build .#packages.aarch64-linux.realfft -o arm64 --option repeat 0 [clever@amd-nixos:~/apps/rpi/realfft]$ nix build .#package...
- Sat Apr 10, 2021 3:09 am
- Forum: Troubleshooting
- Topic: More on wifi scanning
- Replies: 5
- Views: 2736
Re: More on wifi scanning
I had similar problems, and eventually tracked down three independent sources for the WiFi scans: lxpanels dhcpcd-ui (app level), wpa-supplicant (mid-level), and the Broadcom driver (low level). lxpanels dhcpcd-ui applet: lxpanels dhcpcd-ui, when WiFi is associated, by default automatically perform...
- Wed Apr 07, 2021 3:21 pm
- Forum: Advanced users
- Topic: DVFS Firmware
- Replies: 98
- Views: 26727
Re: DVFS Firmware
I have the latest firmware on my Raspberry Pi 4 Model B Given below is the output from vcgencmd. pi@raspberrypi:~ $ vcgencmd version Mar 26 2021 16:34:17 Copyright (c) 2012 Broadcom version edf2e9c318863999c97c50cdb74eee235ede3af5 (clean) (release) (start_x) I ran a test with the following python co...
- Sat Apr 03, 2021 3:33 am
- Forum: Troubleshooting
- Topic: More on wifi scanning
- Replies: 5
- Views: 2736
Re: More on wifi scanning
I had similar problems, and eventually tracked down three independent sources for the WiFi scans: lxpanels dhcpcd-ui (app level), wpa-supplicant (mid-level), and the Broadcom driver (low level). lxpanels dhcpcd-ui applet: lxpanels dhcpcd-ui, when WiFi is associated, by default automatically performs...
- Sat Mar 13, 2021 11:53 am
- Forum: Troubleshooting
- Topic: Not able to overclock properly
- Replies: 2
- Views: 321
Re: Not able to overclock properly
Seems like you're right . Running measure_clock arm does give the right results . But it's confusing . ~ $ vcgencmd measure_clock arm frequency(48)=2100515584 Running scaling_cur_freq does give the "wrong" clock speed . ~ $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq 2200000 ...