!XrtRvzcHOrHtSKARne:nixos.org

NixOS Audio

133 Members
33 Servers

Load older messages


SenderMessageTime
15 Jan 2024
@wonko:4amlunch.netBrian Hechinger

So I used musnix to set everything up:

  sound.enable = false;
  hardware.pulseaudio.enable = false;
  security.rtkit.enable = true;

17:00:19
@wonko:4amlunch.netBrian Hechinger *

So I used musnix to set everything up:

  sound.enable = false;
  hardware.pulseaudio.enable = false;
  security.rtkit.enable = true;

  services = {
    pipewire = {
      enable = true;
      audio.enable = true;
      alsa.enable = true;
      alsa.support32Bit = true;
      pulse.enable = true;
      jack.enable = true;
      socketActivation = true;
    };

  musnix = {
    enable = true;
    ffado.enable = true;
    soundcardPciId = "08:00.0";
    kernel.realtime = true;
    rtirq = {
      resetAll = 1;
      prioLow = 0;
      enable = true;
      nameList = "rtc0 firewire_ohci";
    };
  };

  users.users.wonko = {
    isNormalUser = true;
    description = "Brian Hechinger";
    shell = pkgs.zsh;
    extraGroups = [
      "wheel"
      "audio"
      "libvirtd"
      "users"
      "docker"
      "kvm"
      "wireshark"
      "onepassword"
      "onepassword-cli"
      "qemu-libvirtd"
    ];
  };

17:01:26
@wonko:4amlunch.netBrian Hechinger *

So I used musnix to set everything up:

  sound.enable = false;
  hardware.pulseaudio.enable = false;
  security.rtkit.enable = true;

  services = {
    pipewire = {
      enable = true;
      audio.enable = true;
      alsa.enable = true;
      alsa.support32Bit = true;
      pulse.enable = true;
      jack.enable = true;
      socketActivation = true;
    };

  musnix = {
    enable = true;
    ffado.enable = true;
    soundcardPciId = "08:00.0";
    kernel.realtime = true;
    rtirq = {
      resetAll = 1;
      prioLow = 0;
      enable = true;
      nameList = "rtc0 firewire_ohci";
    };
  };

  users.users.wonko = {
    isNormalUser = true;
    description = "Brian Hechinger";
    shell = pkgs.zsh;
    extraGroups = [
      "wheel"
      "audio"
      "libvirtd"
      "users"
      "docker"
      "kvm"
      "wireshark"
      "onepassword"
      "onepassword-cli"
      "qemu-libvirtd"
    ];
  };
17:01:31
@wonko:4amlunch.netBrian HechingerRaySession (which I'd really like to use) claims that JACK isn't running.17:01:52
@wonko:4amlunch.netBrian HechingerIf I use qjackctl that sees jack as running and reports back all the info.17:02:48
@wonko:4amlunch.netBrian HechingerIf I use qjackctl or qpwgraph to do routing (attempting to route through ardour, for example) no audio ever gets anywhere even though the graph shows that it should.17:03:34
@wonko:4amlunch.netBrian HechingerPulseaudio works... ok-ish. Firefox plays audio through it but it's crackly (and qjackctl reports no xruns)17:04:29
@wonko:4amlunch.netBrian HechingerSpotify is crackly and the audio slowly gets faster and faster.17:04:42
@wonko:4amlunch.netBrian HechingerI fired up Wobbly Life and audio from that was perfectly fine. (until I quit the game then audio freaked out for a few seconds)17:05:06
@wonko:4amlunch.netBrian HechingerI have a firewire audio device (Focusrite Saffire Pro 24) if that makes any difference (I'm assuming it really shouldn't for the issues I'm seeing)17:06:11
@wonko:4amlunch.netBrian HechingerHuh, finally rebooted after setting sound.enable = false and my choppy audio is gone from firefox.17:45:28
@wonko:4amlunch.netBrian HechingerSpotify is also better!17:47:33
@wonko:4amlunch.netBrian HechingerSo that's at least working reasonably.17:47:45
@wonko:4amlunch.netBrian HechingerRaySession still isn't happy though17:48:01
@wonko:4amlunch.netBrian HechingerAnd I spoke too soon. Audio just got choppy in firefox. :(17:49:26
@wonko:4amlunch.netBrian HechingerAnd Spotify is back to its tricks too.17:58:04
@wonko:4amlunch.netBrian HechingerDammit, I got too excited there.17:58:08
@wonko:4amlunch.netBrian HechingerSo, got audacious, which supports pipewire directly. Still same crackling. So it's not any of the compatibility stuff.18:14:49
@wonko:4amlunch.netBrian HechingerOk, big updates on the ardour not routing sound thing. It's been a while since I set it up and totally forgot about the In button needing to be pressed. 🤦‍♂️18:55:46
@wonko:4amlunch.netBrian Hechingerso that's a mystery solved.18:55:53
@wonko:4amlunch.netBrian Hechingerbut RaySession still refuses to see JACK as running18:56:16
@wonko:4amlunch.netBrian Hechingerwhich is a bummer.18:56:19
@wonko:4amlunch.netBrian HechingerAnd now I'm not entirely sure what to do with mic output that on my old setup went to a jack-pulse bridge for apps to use the mic. Can you make pulse bridges in pipewire?18:57:05
@wonko:4amlunch.netBrian HechingerAnother interesting thing is the crackle is gone again. No idea why. :-D19:04:23
@wonko:4amlunch.netBrian HechingerHa, started google meets and it's all gone a bit mad19:22:00
@wonko:4amlunch.netBrian Hechingerimage.png
Download image.png
19:22:04
@wonko:4amlunch.netBrian HechingerWell, made some good progress today.22:36:40
@wonko:4amlunch.netBrian HechingerAlthough this wireplumber stuff is a bit dodgy. :(22:36:52
17 Jan 2024
@magbeat:matrix.orgmagbeat joined the room.17:57:43
19 Jan 2024
@ThorHop:matrix.orghopland (flaky frank) changed their display name from hopland (meticulous montesquieu) to hopland (manners or stfu).05:11:52

Show newer messages


Back to Room ListRoom Version: 9