!XrtRvzcHOrHtSKARne:nixos.org

NixOS Audio

125 Members
30 Servers

Load older messages


SenderMessageTime
12 Mar 2023
@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
@rampoina:matrix.orgRampoinathis is getting really annoying18:14:41
@rampoina:matrix.orgRampoinasetting it on configuration.nix doesn't do anything either18:14:53
@rampoina:matrix.orgRampoinabut18:14:57
@rampoina:matrix.orgRampoinarestarting the service applies the performance governor :|18:15:09
@rampoina:matrix.orgRampoina systemctl restart cpufreq.service 18:15:21
@Minijackson:matrix.orgMinijackson what happens if you reboot, and run journalctl -xeu cpufreq ? 18:16:27
@rampoina:matrix.orgRampoinalet's see18:18:05
@rampoina:matrix.orgRampoina
[rampoina@nixos:~]$ LANG=EN_US journalctl -xeu cpufreq
~
~
~
~
~
~
~
~
~
~
Mar 12 19:19:27 nixos systemd[1]: Starting CPU Frequency Setup...
â–‘â–‘ Subject: A start job for unit cpufreq.service has begun execution
â–‘â–‘ Defined-By: systemd
â–‘â–‘ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
â–‘â–‘
â–‘â–‘ A start job for unit cpufreq.service has begun execution.
â–‘â–‘
â–‘â–‘ The job identifier is 98.
Mar 12 19:19:29 nixos cpupower[814]: Setting cpu: 0
Mar 12 19:19:29 nixos cpupower[814]: Setting cpu: 1
Mar 12 19:19:29 nixos cpupower[814]: Setting cpu: 2
Mar 12 19:19:29 nixos cpupower[814]: Setting cpu: 3
Mar 12 19:19:29 nixos systemd[1]: Finished CPU Frequency Setup.
â–‘â–‘ Subject: A start job for unit cpufreq.service has finished successfully
â–‘â–‘ Defined-By: systemd
â–‘â–‘ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
â–‘â–‘
â–‘â–‘ A start job for unit cpufreq.service has finished successfully.
â–‘â–‘
â–‘â–‘ The job identifier is 98
18:22:04
@rampoina:matrix.orgRampoina
[rampoina@nixos:~]$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
powersave
powersave
powersave
powersave
18:22:17
@Minijackson:matrix.orgMinijacksonhuh, it seems something or other overrides the governor in the boot process?18:22:49

Show newer messages


Back to Room ListRoom Version: 9