!XrtRvzcHOrHtSKARne:nixos.org

NixOS Audio

119 Members
25 Servers

Load older messages


SenderMessageTime
14 Jun 2023
@gdesforges:matrix.orgGuillaume Desforgespipewire with jack enabled08:58:35
@gdesforges:matrix.orgGuillaume Desforges * pipewire with jack enabled on NixOS08:58:48
@tamtaram:chat.heizhaus.org@tamtaram:chat.heizhaus.orgI'd recommend you give a go at a pipewire native GUI tool and not qjack since that's not interacting with pipewire's native Api afaik09:00:28
@tamtaram:chat.heizhaus.org@tamtaram:chat.heizhaus.orgCheck out this ;) https://github.com/mikeroyal/PipeWire-Guide#audio-tools--libraries-to-use-with-pipewire09:00:32
@tamtaram:chat.heizhaus.org@tamtaram:chat.heizhaus.orgqpwgraph is basically qjackctl for pipewire09:01:06
@tamtaram:chat.heizhaus.org@tamtaram:chat.heizhaus.orgHope u get it to worj09:03:24
@tamtaram:chat.heizhaus.org@tamtaram:chat.heizhaus.org* Hope u get it to work09:03:29
@Minijackson:matrix.orgMinijacksonI personally use pw-viz, which is already packaged in nixpkgs09:03:59
@evils:nixos.devevils
In reply to @evils:nixos.dev
slightly unrelated
i've added an effect in easyeffects, it crashed, and now no longer starts
(killed, returns 137)
i've not found the local config for that, so it seems like i can't undo adding the effect
and maybe related, audacity takes forever to start, but starts in a pure nix-shell
FYI: easyeffects -r resets it (still crashes on that invocation), that fixed it
12:41:59
@evils:nixos.devevils
In reply to @evils:nixos.dev
slightly unrelated
i've added an effect in easyeffects, it crashed, and now no longer starts
(killed, returns 137)
i've not found the local config for that, so it seems like i can't undo adding the effect
and maybe related, audacity takes forever to start, but starts in a pure nix-shell
* FYI: easyeffects -r resets it (still crashes on that invocation), that fixed it
still waiting for audacity to launch though xD
12:43:06
@evils:nixos.devevilsanyone know how to set the sample rate in pipewire?13:47:28
@Minijackson:matrix.orgMinijackson
In reply to @evils:nixos.dev
anyone know how to set the sample rate in pipewire?
maybe you can using the PIPEWIRE_LATENCY env variable, but it's per-client
17:59:30
@Minijackson:matrix.orgMinijackson for example PIPEWIRE_LATENCY=256/48000 carla 17:59:36
@evils:nixos.devevilsyea, i found that, it does nothing18:00:01
@evils:nixos.devevilsi did set a /etc config file that may take effect the next time i reboot, but i'm hoping not to reboot for a while18:00:39
@Minijackson:matrix.orgMinijackson
In reply to @evils:nixos.dev
yea, i found that, it does nothing
it did help me for the "latency" part
18:01:02
@Minijackson:matrix.orgMinijackson
In reply to @evils:nixos.dev
i did set a /etc config file that may take effect the next time i reboot, but i'm hoping not to reboot for a while
a pipewire config file? What did you put, if I may ask?
18:01:37
@evils:nixos.devevils
  environment.etc = let
    json = pkgs.formats.json {};
  in {
    "pipewire/pipewire.d/92-low-latency.conf".source = json.generate "92-low-latency.conf" {
      context.properties = {
        default.clock.rate = 192000;
        default.clock.quantum = 32;
        default.clock.min-quantum = 32;
        default.clock.max-quantum = 1024;
      };
    };
  };
18:02:00
@evils:nixos.devevilsbasically directly from the NixOS wiki but with my interface's max sample rate18:02:29
@Minijackson:matrix.orgMinijacksonthanks18:02:37
@Minijackson:matrix.orgMinijacksonif you don't want to reboot, you could just restart pipewire18:03:19
@evils:nixos.devevilsi somewhat suspect it's up to users of a sink to request a sample rate as the inverse is the case (if i play a high sample rate file, pw-top shows it as high sample rate)18:03:39
@evils:nixos.devevils
In reply to @Minijackson:matrix.org
if you don't want to reboot, you could just restart pipewire
how?
18:03:46
@evils:nixos.devevils Failed to restart pipewire.service: Unit pipewire.service is masked. 18:04:03
@Minijackson:matrix.orgMinijackson systemctl --user restart 'pipewire*' should do the trick 18:04:08
@Minijackson:matrix.orgMinijackson
In reply to @evils:nixos.dev
Failed to restart pipewire.service: Unit pipewire.service is masked.
yeah, it's a user service, not a system service
18:04:37
@evils:nixos.devevilseasyeffects still reports 48kHz sample rate18:05:34
@Minijackson:matrix.orgMinijackson
In reply to @evils:nixos.dev
i somewhat suspect it's up to users of a sink to request a sample rate

as the inverse is the case (if i play a high sample rate file, pw-top shows it as high sample rate)
I think it's like gstreamer, where the sample rate may be negotiated between clients
18:05:57
@evils:nixos.devevilsardour also gets 48kHz, and i can't configure the sample rate in that, it's up to jack, and qjackctl is already set to 192kHz it does jack shit (pardon the pun)18:06:59
@Minijackson:matrix.orgMinijackson I started carla with PIPEWIRE_LATENCY=256/192000 18:09:05

Show newer messages


Back to Room ListRoom Version: 9