!XrtRvzcHOrHtSKARne:nixos.org

NixOS Audio

110 Members
24 Servers

You have reached the beginning of time (for this room).


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

Show newer messages


Back to Room ListRoom Version: 9