View previous topic :: View next topic |
Author |
Message |
flexibeast Guru
Joined: 04 Apr 2022 Posts: 473 Location: Naarm/Melbourne, Australia
|
Posted: Fri Nov 08, 2024 7:01 am Post subject: [SOLVED] No audio from Audacity on PipeWire-based system |
|
|
Hi all,
i'm having difficulties getting audio from Audacity on my PipeWire-based system.
Audio works fine in general, and in fact i recently got Rosegarden working without needing to futz around with JACK, and created the 'Rosegarden' wiki page to document what i learned.
However, in Audacity, a track will play - i.e. the level meters are moving appropriately - but there's no sound. i tried changing the Edit -> Preferences -> Audio Settings -> Playback setting to both 'pipewire' and my hardware device ("HDA Intel PCH: ALC 3246 Analog"), but this made no difference.
Also, Audacity takes an oddly long time to start up - around a minute or two - although it does eventually do so, unlike the experiences in this bug report. There's no output on the terminal during this time, although i noticed that Audacity flickers in and out of being listed in the 'Playback' tab of pavucontrol, several times.
It could be that the primary issue is that Audacity is built on PortAudio, which apparently doesn't yet support PipeWire.
i'm certainly willing to set up JACK with PipeWire to get Audacity working, but i've no experience with JACK - either as a standalone sound server, or as provided by PipeWire. For the latter, i've rebuilt PipeWire with the `jack-sdk` USE flag, portaudio with the `jack` flag (cf. the "JACK missing as a host" section of the Audacity page on the wiki), restarted my system to try to clean my slate, started Audacity, and changed the "Host" setting to "JACK Audio Connection Kit" - but still didn't get any sound, regardless of whether the "Playback" setting was "Easy Effects sink" or "Built-in Digital Audio Stereo (HDMI)", which are the two sinks i otherwise get audio from. This was also the case when i tried running Audacity via `pw-jack`, as described in the "Replacing JACK" section of the PipeWire page - is that still required, or is that information now out of date?
Basically, is anyone successfully running Audacity with PipeWire? _________________ https://wiki.gentoo.org/wiki/User:Flexibeast
Last edited by flexibeast on Fri Nov 08, 2024 10:47 am; edited 1 time in total |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3477
|
Posted: Fri Nov 08, 2024 10:11 am Post subject: |
|
|
Works for me in both ALSA and JACK mode, and it connects to the playback device directly as well as to easyeffects.
Code: | media-sound/audacity-3.7.0::gentoo was built with the following:
USE="alsa ffmpeg flac ladspa lv2 ogg opus portmixer vorbis -audiocom -id3tag -mpg123 -sbsms -test -twolame -vamp -wavpack"
media-video/pipewire-1.2.6::gentoo was built with the following:
USE="X bluetooth dbus elogind extra ffmpeg jack-sdk lv2 modemmanager readline sound-server ssl v4l zeroconf -doc -echo-cancel -flatpak -gsettings -gstreamer -ieee1394 -jack-client -liblc3 -man -pipewire-alsa -roc (-selinux) (-system-service) -systemd -test"
|
And yes, in JACK mode it displays as PortAudio on the canvas.
Without the application name. Not very covenient.
Quote: | This was also the case when i tried running Audacity via `pw-jack`, as described in the "Replacing JACK" section of the PipeWire page - is that still required, or is that information now out of date? | Nope. PW speaks ALSA protocol too, no hacks required. ALSA-only apps are simply unable to control where they get connected after opening the default audio device. _________________ Make Computing Fun Again |
|
Back to top |
|
|
flexibeast Guru
Joined: 04 Apr 2022 Posts: 473 Location: Naarm/Melbourne, Australia
|
Posted: Fri Nov 08, 2024 10:46 am Post subject: |
|
|
@szatox:
Thank you! That `emerge` output of yours helped solve the problem: it turned out the `elogind` USE flag wasn't set on media-video/pipewire for some reason (perhaps because i'd disabled it to check some stuff for documentation purposes). i'll mark this as solved. _________________ https://wiki.gentoo.org/wiki/User:Flexibeast |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|