all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gabriel Wicki <gabriel@erlikon.ch>
To: help-guix@gnu.org
Subject: Professional audio setup (JACK, PipeWire)
Date: Tue, 22 Mar 2022 22:56:14 +0100	[thread overview]
Message-ID: <20220322215614.enmr2dmq767lyzfa@silvi> (raw)

Hello dear fellow Guix


My wish is simple: i'd love to get back at live-coding audio using
SuperCollider.  Thankfully all the necessities for that intent are
readily available in GNU Guix.  Unfortunately i'm unable to get it to
sound...

SuperCollider needs some layer in between itself and ALSA and it refuses
to work with PulseAudio.  Traditionally that'd been JACK, but as of
recently there have been reports of it working perfectly with PipeWire.
I would love to give that a try, but would also not mind the JACK route.
The problem is none of my attempts have worked so far.

What works: ALSA works fine (i can hear files playing with `aplay -D
mysetup test.wav`), as does PulseAudio.  When i start pipewire i get the
following output:


[W][86737.352484] mod.rtkit    | [  module-rtkit.c:  205 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][86737.352557] mod.rtkit    | [  module-rtkit.c:  465 set_nice()] could not set nice-level to -11: No such file or directory
[W][86737.352950] mod.rtkit    | [  module-rtkit.c:  205 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][86737.355742] mod.rtkit    | [  module-rtkit.c:  205 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][86737.356146] mod.rtkit    | [  module-rtkit.c:  205 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][86737.356162] mod.rtkit    | [  module-rtkit.c:  625 impl_acquire_rt()] could not make thread realtime: No such file or directory

These are "just" warnings; attempting to play audio results in this
peculiar error message:
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such
file or directory)


My internet searches left me clueless; thus my first question: is anyone
using PipeWire successfully?  I've found a home-service[1] which apparently
makes use of it but i wasn't successful to use it, yet


I am able to run JACK (by invoking `jackd -dalsa -dhw:1,0 -r44100`, the
same output settings that work for the aplay test directly on ALSA), i'm
even able to start the SuperCollider server, play some audio (everything
seems perfect: it connects itself to inputs as well as outputs), but
there's no sound.  Does anybody have a working JACK setup and would mind
giving me pointers on what i'm missing, or maybe share their
configuration?


I really don't mind which route to take, i only want to mess with some
sound on my favorite OS.


I have installed every- and anything i thought could maybe remotely help
to improve my situation (which it of course didn't): alsa-lib,
alsa-plugins, alsa-utils, jack, jack2, pamixer, patchage, pipewire,
pulseaudio, qjackctl, pavucontrol, wireplumber.


My user account is part of the "audio" group which comes with the
following entries in my pam-limits-service:

(pam-limits-entry "@audio" 'both 'rtprio 99)
(pam-limits-entry "@audio" 'both 'memlock 'unlimited)
(pam-limits-entry "@audio" 'hard 'nice -12)



I hope you and your setups are doing finer that me and mine :)

gabriel



[1] https://git.sr.ht/~krevedkokun/dotfiles/home/services/pipewire.scm


             reply	other threads:[~2022-03-22 21:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-22 21:56 Gabriel Wicki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-23 17:37 Professional audio setup (JACK, PipeWire) Nathan Dehnel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220322215614.enmr2dmq767lyzfa@silvi \
    --to=gabriel@erlikon.ch \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.