!XrtRvzcHOrHtSKARne:nixos.org

NixOS Audio

139 Members
37 Servers

Load older messages


SenderMessageTime
12 Mar 2023
@rampoina:matrix.orgRampoina
[rampoina@nixos:~]$ cpupower frequency-info
analyzing CPU 0:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency:  Cannot determine or is not supported.
  hardware limits: 800 MHz - 3.90 GHz
  available cpufreq governors: performance powersave
  current policy: frequency should be within 800 MHz and 3.90 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 800 MHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes

[rampoina@nixos:~]$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
powersave
powersave
powersave
powersave
16:50:11
@rampoina:matrix.orgRampoinathat doesn't seem right16:50:16
@rampoina:matrix.orgRampoina800Mhz ?16:50:19
@rampoina:matrix.orgRampoinalol16:50:20
@rampoina:matrix.orgRampoina I did sudo cpupower frequency-set -d 3.9GHz 16:59:25
@rampoina:matrix.orgRampoinato set the minimum CPU frequency and now the xruns are gone16:59:38
@rampoina:matrix.orgRampoinafor some reason it wasn't letting me set the frequency directly16:59:54
@rampoina:matrix.orgRampoinanow the question is how do I configure that17:00:04
@Minijackson:matrix.orgMinijacksonthat's really weird17:00:19
@rampoina:matrix.orgRampoinagetting xruns at 800Mhz? :P17:01:08
@Minijackson:matrix.orgMinijacksonthat I can understand xD17:01:29
@rampoina:matrix.orgRampoina

it's like it has some problem with the CPU

[rampoina@nixos:~]$ sudo cpupower frequency-set -f 3.9GHz
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?

17:03:16
@Minijackson:matrix.orgMinijacksonsetting the performance governor doesn't change the frequency?17:03:58
@rampoina:matrix.orgRampoinawell, now it's changed because I set the minimum one but no17:07:39
@rampoina:matrix.orgRampoina
In reply to @rampoina:matrix.org
[rampoina@nixos:~]$ cpupower frequency-info
analyzing CPU 0:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency:  Cannot determine or is not supported.
  hardware limits: 800 MHz - 3.90 GHz
  available cpufreq governors: performance powersave
  current policy: frequency should be within 800 MHz and 3.90 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 800 MHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes

[rampoina@nixos:~]$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
powersave
powersave
powersave
powersave
you can see here it was set to performance
17:07:50
@rampoina:matrix.orgRampoinabut the freq was 80017:08:01
@rampoina:matrix.orgRampoinaoh no nvm17:08:08
@rampoina:matrix.orgRampoinait wasn't performance17:08:11
@rampoina:matrix.orgRampoinaduh17:08:12
@rampoina:matrix.orgRampoinashouldn't musnix activate that?17:08:22
@rampoina:matrix.orgRampoina

I have

 musnix.enable = true;
  musnix.kernel.realtime = true;

so why wasn't it set to performance :|

17:09:52
@rampoina:matrix.orgRampoinayeah I just rebooted, it's set to powersave17:19:36
@rampoina:matrix.orgRampoina sudo cpupower frequency-set -g performance works 17:19:43
@rampoina:matrix.orgRampoinaand it changes the frequency17:19:48
@Minijackson:matrix.orgMinijacksonIt might be set in your hardware-configuration.nix17:20:20
* @rampoina:matrix.orgRampoina checks17:21:18
@Minijackson:matrix.orgMinijacksonbut it's still weird, the powersave governor shouldn't just set the frequency to the minimum 😕17:21:52
@rampoina:matrix.orgRampoinait definitely is set there17:22:05
@Minijackson:matrix.orgMinijacksonhttps://github.com/musnix/musnix/blob/0bac3f9b14ac767d81c8b19134fb23e3959b8cef/modules/base.nix#L85 huh17:22:58
@rampoina:matrix.orgRampoinaremoving the line from hardware-configuration.nix didn't fix it17:45:26

Show newer messages


Back to Room ListRoom Version: 9