:: Re: [DNG] [haines@histomat.net: Re:…
Inizio della pagina
Delete this message
Reply to this message
Autore: Michael Nelson
Data:  
To: dng
Oggetto: Re: [DNG] [haines@histomat.net: Re: ALSA: Host is down]
On Thu, Feb 15, 2024 at 11:56:56AM -0500, Haines Brown via Dng wrote:
> ----- Forwarded message from Haines Brown <haines@???> -----
>
> After restarting X server on Daedalus I lost audio. I posed a
> question but the thread got hung up on PulseAudio. I have pipewire
> instaled but not PulaeAudio. I havve no desktop.


>     pcm.!default {
>         type plug
>         slave.pcm "dmixer"
>     }


Haines,

1) If you want to use PipeWire, the correct default PCM 'type' should be
"pipewire". Installing pipewire-audio will configure this correctly
without any need for local .asoundrc settings through the .conf files in
/usr/share/alsa/. So move your ~/.asoundrc out of the way.

2) When you say you have "no desktop", do you mean you are not logged
into an X Windows session, or that you have no desktop SOUND? Using the
configuration changes I detailed earlier in the thread, you *must* log
into X Windows so that XDG can properly start the pipewire daemons. If
you plan to use PipeWire in a console session (with no X11 login), I
imagine you'd have to create some script in your shell's ~/.profile file to
automagically check if the daemon is already running, then start it if
it's not on a per-login basis.

3) I believe the proper program to play an audio file when using PipeWire is
/usr/bin/pw-play, not 'aplay'. (pw-play would have been installed when you
installed pipewire-audio.) Using any of the 'a*' utilities with PipeWire
may not give you the results you're looking for, but I am unsure.

$ dpkg -L pipewire-bin

for a list of the pw-* utilities.

HTH,