AsahiLinux / asahi-audio

Userspace audio for Asahi Linux
MIT License
130 stars 12 forks source link

Ardour DAW out of the box NUKES the nice Asahi sound stack on 2023 M2Pro mbp14 #30

Closed zenerve closed 6 months ago

zenerve commented 8 months ago

Sorry for the clickbaity-style title, it is intended as humour, and thanks for the fantastic work.

Step to reproduce: on clean, fresh, updated asahi-fedora-gnome installed through alx.sh:

--> Boom ; On Ardour Splash Screen, before anything really happens, the sound will go to 100% and you can't lower it by the keyboard ; in your patch application you'll notice the loudspeakers "middleman" with the stereo input has disappeared, and everything seems to have six outputs and inputs. It is half-possible to make ardour work in alsa or pulse, but not nicely with other apps ; jack seems to crash and be impossible to use. Manually killing speakersafetyd cuts sound, but restarting it doesn't give us back control. If you keep on fiddling you'll end up with only "dummy output", and no sound, until you reboot.

--> My poorman's fix: install pipewire-jack-audio-connection-kit instead of jack-audio-connection-kit ; use ardour8 from Fedora and not Ardour from flatpak (both from Fedora and Flathub)

Should pipewire/jack be default, maybe? Am I the only crazie to do real soundtracks on Asahi?

My install was fresh from this afternoon, because I noticed, but didn't document, some misbehaviour after an unrelated reinstall of the fedora gnome remix ; thanks again for the hard work.

chadmed commented 8 months ago

Of course JACK DESTROYS Asahi audio with facts and logic. Only one can have the audio device open and JACK taking it will fold Pipewire/Wireplumber.

Your "poorman" fix is the fix. You have to use Pipewire's JACK implementation.

zenerve commented 8 months ago

Thanks. Modern Ardour uses Alsa by default tho, still knocks everything flat out.

Should I report this elsewhere? Why is "Standard" Jack installed by default here? Why not Pipe-Jack?

chadmed commented 8 months ago

That would cause the same symptoms - only one application can actually have an ALSA device open at any given time. It's a major reason for the existence of sound servers in the first place.

In terms of Ardour relying on JACK instead of Pipewire's JACK implementation, that's probably a question for someone involved in packaging it for Fedora.

chadmed commented 8 months ago

Raised bug on RH Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2262466

chadmed commented 6 months ago

Closing this as it seems like this is the expected behaviour upstream. Pipewire JACK will just have to be installed by Ardour users.