https://labs.parabola.nu/https://labs.parabola.nu/favicon.ico?15367742552023-01-02T23:51:22ZParabola Issue TrackerPackages - Bug #3416: [pipewire][mpv][ffmpeg]: No sound with ALSA, PipeWire and OpenRChttps://labs.parabola.nu/issues/3416?journal_id=184952023-01-02T23:51:22Zbill-auger
<ul></ul><p>it may be important to narrow-down which arches and init-systems exhibits this problem - i suspect this only affects nonsystem users</p>
<blockquote>
<p>┌────<br />LANG=en aplay /usr/share/sounds/alsa/Front_Center.wav<br />└────</p>
</blockquote>
<p>however, aplay, iceweasel, vlc, and others, work as expected for me (x86_64/nonsystemd)</p> Packages - Bug #3416: [pipewire][mpv][ffmpeg]: No sound with ALSA, PipeWire and OpenRChttps://labs.parabola.nu/issues/3416?journal_id=184962023-01-02T23:53:32Zbill-auger
<ul><li><strong>Assignee</strong> set to <i>Megver83</i></li></ul> Packages - Bug #3416: [pipewire][mpv][ffmpeg]: No sound with ALSA, PipeWire and OpenRChttps://labs.parabola.nu/issues/3416?journal_id=184972023-01-03T00:02:31Zbill-auger
<ul></ul><p>the problem seems to be that those program expect a pipewire server to be running (or socket activated?) - for now, you could start the pipewire server from ~/.bashrc like:<br /><pre>
echo pipewire >> ~/.bashrc
</pre></p>
<p>o/c that does not satisfy the OP - a sound server should not be required to play sound in any program - linux can do that - it is another gift from the folks who brought us systemd and pulseaudio; so it will perhaps achieve the same level of frivolous adoption as pulseaudio and webengine, while likewise dropping support for any alternatives (even if the "alternative" is "nothing but the standard kernel")</p>
<p>FWIW, if "program expects a pipewire server" is true, then in other words: "does not support ALSA" - personally, in that case, i would forget it and prefer a less opinionated equivalent - it is a bug nonetheless, which should be addressed somehow</p>
<p>do ppl want this?<br />maybe the nonsystemd builds are just broken?<br />or maybe these programs can be re-compiled to support ALSA natively?<br />does anyone know if these worked with nonsystemd in the past?</p> Packages - Bug #3416: [pipewire][mpv][ffmpeg]: No sound with ALSA, PipeWire and OpenRChttps://labs.parabola.nu/issues/3416?journal_id=184982023-01-03T00:23:57Zbill-auger
<ul></ul><p>mpv works as expected with parabola systemd - pipewire is socket activated</p>
<a name="systemd"></a>
<h3 >systemd:<a href="#systemd" class="wiki-anchor">¶</a></h3>
<pre>
$ systemctl --user status pipewire
○ pipewire.service - PipeWire Multimedia Service
Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
Active: inactive (dead)
TriggeredBy: ● pipewire.socket
$ systemctl --user list-units | grep pipewire
pipewire.socket loaded active listening PipeWire Multimedia System Socket
$ mpv /usr/share/sounds/alsa/Noise.wav
(+) Audio --aid=1 (pcm_s16le 1ch 48000Hz)
AO: [alsa] 48000Hz mono 1ch s16
A: 00:00:01 / 00:00:01 (81%)
Exiting... (End of file)
$ systemctl --user list-units | grep pipewire
pipewire-media-session.service loaded active running PipeWire Media Session Manager
pipewire.service loaded active running PipeWire Multimedia Service
pipewire.socket loaded active running PipeWire Multimedia System Socket
</pre>
<a name="nonsystemd"></a>
<h3 >nonsystemd:<a href="#nonsystemd" class="wiki-anchor">¶</a></h3>
<pre>
$ mpv /usr/share/sounds/alsa/Noise.wav
(+) Audio --aid=1 (pcm_s16le 1ch 48000Hz)
[ao/pipewire] Could not connect to context '(null)': Gastiganto ne funkcias
'!impl->polling' failed at ../pipewire/spa/plugins/support/loop.c:856 impl_clear()
Abortita
$ pipewire &
[1] 6456
$ mpv /usr/share/sounds/alsa/Noise.wav
(+) Audio --aid=1 (pcm_s16le 1ch 48000Hz)
AO: [alsa] 48000Hz mono 1ch s16
A: 00:00:01 / 00:00:01 (81%)
Exiting... (End of file)
</pre> Packages - Bug #3416: [pipewire][mpv][ffmpeg]: No sound with ALSA, PipeWire and OpenRChttps://labs.parabola.nu/issues/3416?journal_id=185022023-01-03T17:57:22Znona
<ul></ul><p>My system seems to be broken:</p>
<p>with <code>pipewire</code> I get the error below, but <code>mpv "$file".wav</code> stays at 00:00:00</p>
<pre>
LANG=en pipewire
[W][03297.210291] mod.rt | [ module-rt.c: 259 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][03297.210321] mod.rt | [ module-rt.c: 578 set_nice()] could not set nice-level to -11: No such file or directory
[W][03297.210681] mod.rt | [ module-rt.c: 259 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][03297.213775] mod.rt | [ module-rt.c: 259 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][03297.214035] mod.rt | [ module-rt.c: 259 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][03297.214044] mod.rt | [ module-rt.c: 800 impl_acquire_rt()] could not make thread 6278 realtime using RTKit: No such file or directory
</pre>
<p>On the Alpine Linux wiki (Alpinelinux.org/wiki/PipeWire#Disable_D-Bus_support), there is a set of instructions to disable D-Bus<br /><pre>
/etc/pipewire/pipewire.conf
context.properties = {
support.dbus = false
}
/etc/pipewire/wirepumbler.conf
context.properties = {
support.dbus = false
}
/etc/wirepumbler/bluetooth.lua.d/50-bluez-config.lua
context.properties = {
["with-logind"] = false,
}
/etc/wirepumbler/main.lua.d/50-alsa-config.lua
context.properties = {
["alsa.reserve"] = false,
}
/etc/wirepumbler/main.lua.d/50-default-access-config.lua
context.properties = {
["enable-flatpack-portal"] = false,
}
</pre></p>
<p>Then, this results in<br /><pre>
LANG=en pipewire
[W][03548.551500] pw.context | [ context.c: 402 pw_context_new()] 0xa24ab58b820: no modules loaded from context.modules
</pre><br /><pre>
LANG=en aplay /usr/share/sounds/alsa/Front_Center.wav
aplay: main:831: audio open error: Host is down
</pre></p>
<p>which makes me think about the rationale behind HyperbolaBSD. Oh! by the way, I was helping someone with his Ubuntu today... what a piece of... sorry, digression averted ;) .</p> Packages - Bug #3416: [pipewire][mpv][ffmpeg]: No sound with ALSA, PipeWire and OpenRChttps://labs.parabola.nu/issues/3416?journal_id=185032023-01-03T20:02:18Zbill-auger
<ul></ul><p>when i run pipewire from the command line, it prints nothing - those errors are complaining about "realtime" support - maybe try installing the 'realtime-privileges' package and adding your user to the 'realtime' group (then reboot)</p>
<p>the aplay may be a completely different issue - aplay works as expected for me, with or without pipewire running</p> Packages - Bug #3416: [pipewire][mpv][ffmpeg]: No sound with ALSA, PipeWire and OpenRChttps://labs.parabola.nu/issues/3416?journal_id=185042023-01-03T21:33:38Znona
<ul></ul><p>Is another bug report needed? go back to the original forum discussion? stay here? As I said before</p>
<p>┌────<br /> aplay -D plughw:1,0 /usr/share/sounds/alsa/Front_Center.wav<br />└────<br />Listing 1: plays “…enter” (the initial “C” is inaudible)</p>
<p>┌────<br /> LANG=en aplay /usr/share/sounds/alsa/Front_Center.wav<br />└────</p>
<p>┌────<br /> aplay: main:831: audio open error: Host is down<br />└────</p> Packages - Bug #3416: [pipewire][mpv][ffmpeg]: No sound with ALSA, PipeWire and OpenRChttps://labs.parabola.nu/issues/3416?journal_id=185082023-01-04T23:02:35Znona
<ul></ul><p>bill-auger wrote:</p>
<blockquote>
<p>when i run pipewire from the command line, it prints nothing - those errors are complaining about "realtime" support - maybe try installing the 'realtime-privileges' package and adding your user to the 'realtime' group (then reboot)</p>
</blockquote>
<p>Same outcome</p>
<blockquote>
<p>the aplay may be a completely different issue - aplay works as expected for me, with or without pipewire running</p>
</blockquote>
<p>sudo pacman -Rnucs pipewire<br /> sudo rc-service alsasound restart<br /> LANG=en aplay /usr/share/sounds/alsa/Front_Center.wav</p>
<p>that works. Is pipewire really needed for mpv? However,</p>
<pre><code>LANG=en ffmpeg /usr/share/sounds/alsa/Front_Center.wav<br /> Output #0, wav, to '/usr/share/sounds/alsa/Front_Center.wav':<br /> Output file #0 does not contain any stream</code></pre> Packages - Bug #3416: [pipewire][mpv][ffmpeg]: No sound with ALSA, PipeWire and OpenRChttps://labs.parabola.nu/issues/3416?journal_id=185092023-01-05T23:08:19Zbill-auger
<ul></ul><blockquote>
<p>Is pipewire really needed for mpv?</p>
</blockquote>
<p>yes, it is needed, in the sense that the 'mpv' package depends<br />on the 'pipewire' package<br /><pre>
$ LANG=C pacman -Si mpv | grep Depends | grep --only-matching pipewire
pipewire
</pre></p>
<p>is it "really needed" probably "no" - all audio applications<br />should be ready to fall-back on the baseline ALSA - any which is not,<br />i consider to be broken or incomplete - either it is a bug, or it's<br />developers are suffering from technical miopia</p> Packages - Bug #3416: [pipewire][mpv][ffmpeg]: No sound with ALSA, PipeWire and OpenRChttps://labs.parabola.nu/issues/3416?journal_id=185102023-01-05T23:15:10Zbill-auger
<ul></ul><blockquote>
<p>ffmpeg /usr/share/sounds/alsa/Front_Center.wav</p>
</blockquote>
<p>ffmpeg is not used in that way - not is not a media player - you<br />would use the ffplay to play the media - for some reason, that<br />also does not work; but we can ignore ffmpeg until this ticket<br />is fixed - it may or may not be the same problem</p> Packages - Bug #3416: [pipewire][mpv][ffmpeg]: No sound with ALSA, PipeWire and OpenRChttps://labs.parabola.nu/issues/3416?journal_id=185152023-01-08T16:09:57Znona
<ul></ul><p><code>>.<</code> sorry!</p>
<p>after uninstalling pipewire, <strong><code>ffplay</code> does work</strong></p>
<pre>
ffplay /usr/share/sounds/alsa/Front_Center.wav
</pre>
<p>However, the <code>mpv</code> does depend on <code>pipewire</code>:</p>
<pre>
sudo torsocks pacman -Sy --assume-installed pipewire mpv
LANG=en mpv /usr/share/sounds/alsa/Front_Center.wav
</pre>
<pre>
mpv: error while loading shared libraries: libpipewire-0.3.so.0: cannot open shared object file: No such file or directory
</pre>
<p>The good news is that it does work if you delete <code>pipewire</code> from here <a class="external" href="https://github.com/archlinux/svntogit-community/blob/packages/mpv/trunk/PKGBUILD">https://github.com/archlinux/svntogit-community/blob/packages/mpv/trunk/PKGBUILD</a> , do your <code>torsocks makepkg -oC</code>, <code>makepkg -ef</code> and <code>pacman -U *.pkg.zst</code>:</p>
<pre>
LANG=en mpv /usr/share/sounds/alsa/Front_Center.wav
(+) Audio --aid=1 (pcm_s16le 1ch 48000Hz)
AO: [alsa] 48000Hz mono 1ch s16
A: 00:00:01 / 00:00:01 (79%)
Exiting... (End of file)
</pre>
<p>hail freedom! (may be an <code>mpv-openrc</code> is needed?). Should we rename or split this bug report?</p> Packages - Bug #3416: [pipewire][mpv][ffmpeg]: No sound with ALSA, PipeWire and OpenRChttps://labs.parabola.nu/issues/3416?journal_id=185182023-01-09T02:07:05Zbill-auger
<ul></ul><p>ok lets get this straight</p>
<ul>
<li>mpv works only if pipewire <em>is</em> installed?</li>
<li>ffplay works only if pipewire is <em>not</em> installed?</li>
</ul> Packages - Bug #3416: [pipewire][mpv][ffmpeg]: No sound with ALSA, PipeWire and OpenRChttps://labs.parabola.nu/issues/3416?journal_id=185192023-01-09T02:07:15Zbill-auger
<ul></ul><p>On Sun, 08 Jan 2023 16:10:22 +0000 <a class="email" href="mailto:labs@parabola.nu">labs@parabola.nu</a> wrote:</p>
<blockquote>
<p>(may be an <code>mpv-openrc</code> is needed?).</p>
</blockquote>
<p>so far, this suggest that the needed addition is<br />'pipewire-openrc', to add the openrc service files,<br />so that socket activation works</p> Packages - Bug #3416: [pipewire][mpv][ffmpeg]: No sound with ALSA, PipeWire and OpenRChttps://labs.parabola.nu/issues/3416?journal_id=185202023-01-09T02:07:47Zbill-auger
<ul></ul><p>ok lets get this straight</p>
<ul>
<li>mpv works only if pipewire <em>is</em> installed?</li>
<li>ffplay works only if pipewire is <em>not</em> installed?</li>
</ul> Packages - Bug #3416: [pipewire][mpv][ffmpeg]: No sound with ALSA, PipeWire and OpenRChttps://labs.parabola.nu/issues/3416?journal_id=185212023-01-09T02:07:47Zbill-auger
<ul></ul><p>On Sun, 08 Jan 2023 16:10:22 +0000 <a class="email" href="mailto:labs@parabola.nu">labs@parabola.nu</a> wrote:</p>
<blockquote>
<p>(may be an <code>mpv-openrc</code> is needed?).</p>
</blockquote>
<p>so far, this suggest that the needed addition is<br />'pipewire-openrc', to add the openrc service files,<br />so that socket activation works</p> Packages - Bug #3416: [pipewire][mpv][ffmpeg]: No sound with ALSA, PipeWire and OpenRChttps://labs.parabola.nu/issues/3416?journal_id=185222023-01-09T02:08:16Zbill-auger
<ul></ul><p>On Sun, 08 Jan 2023 16:10:22 +0000 <a class="email" href="mailto:labs@parabola.nu">labs@parabola.nu</a> wrote:</p>
<blockquote>
<p>(may be an <code>mpv-openrc</code> is needed?).</p>
</blockquote>
<p>so far, this suggest that the needed addition is<br />'pipewire-openrc', to add the openrc service files,<br />so that socket activation works</p> Packages - Bug #3416: [pipewire][mpv][ffmpeg]: No sound with ALSA, PipeWire and OpenRChttps://labs.parabola.nu/issues/3416?journal_id=185232023-01-09T02:08:16Zbill-auger
<ul></ul><p>ok lets get this straight</p>
<ul>
<li>mpv works only if pipewire <em>is</em> installed?</li>
<li>ffplay works only if pipewire is <em>not</em> installed?</li>
</ul> Packages - Bug #3416: [pipewire][mpv][ffmpeg]: No sound with ALSA, PipeWire and OpenRChttps://labs.parabola.nu/issues/3416?journal_id=185242023-01-09T02:09:04Zbill-auger
<ul></ul><p>On Sun, 08 Jan 2023 16:10:22 +0000 <a class="email" href="mailto:labs@parabola.nu">labs@parabola.nu</a> wrote:</p>
<blockquote>
<p>(may be an <code>mpv-openrc</code> is needed?).</p>
</blockquote>
<p>so far, this suggest that the needed addition is<br />'pipewire-openrc', to add the openrc service files,<br />so that socket activation works</p> Packages - Bug #3416: [pipewire][mpv][ffmpeg]: No sound with ALSA, PipeWire and OpenRChttps://labs.parabola.nu/issues/3416?journal_id=185252023-01-09T02:09:05Zbill-auger
<ul></ul><p>ok lets get this straight</p>
<ul>
<li>mpv works only if pipewire <em>is</em> installed?</li>
<li>ffplay works only if pipewire is <em>not</em> installed?</li>
</ul> Packages - Bug #3416: [pipewire][mpv][ffmpeg]: No sound with ALSA, PipeWire and OpenRChttps://labs.parabola.nu/issues/3416?journal_id=185262023-01-09T02:29:46Zbill-auger
<ul></ul><p>On Sun, 08 Jan 2023 16:10:22 +0000 <a class="email" href="mailto:labs@parabola.nu">labs@parabola.nu</a> wrote:</p>
<blockquote>
<p>(may be an <code>mpv-openrc</code> is needed?).</p>
</blockquote>
<p>so far, this suggest that the needed addition is<br />'pipewire-openrc', to add the openrc service files,<br />so that socket activation works</p> Packages - Bug #3416: [pipewire][mpv][ffmpeg]: No sound with ALSA, PipeWire and OpenRChttps://labs.parabola.nu/issues/3416?journal_id=185322023-01-09T09:49:37Znona
<ul></ul><p>Hi, bill. (The posts are being repeated again.) I have to check if <code>ffplay</code> works with <code>pipewire</code>. I had initially used <code>ffmpeg</code> to try to play the file. As you pointed out, that would obviously not work. The intention was to remark that I had now used <code>ffplay</code>, and it did work.</p>
<p>With regards to <code>mpv</code>: The one coming from Arch does not work if <code>pipewire</code> is installed. If <code>mpv</code> is rebuilt by first uninstalling <code>pipewire</code> (and modifying the <code>PKGBUILD</code> a bit to remove its dependency), it works. I imagine that it would run even if <code>pipewire</code> is reinstalled.</p>
<p>I will get back to you to test <code>ffplay</code> with <code>pipewire</code>.</p> Packages - Bug #3416: [pipewire][mpv][ffmpeg]: No sound with ALSA, PipeWire and OpenRChttps://labs.parabola.nu/issues/3416?journal_id=185592023-01-15T00:32:10Znona
<ul><li><strong>Subject</strong> changed from <i>[mpv][ffmpeg]: No sound with ALSA</i> to <i>[pipewire][mpv][ffmpeg]: No sound with ALSA, PipeWire and OpenRC</i></li></ul><p>Summary: <code>ffplay</code> does not work if <code>pipewire</code> is installed.</p>
<p>So, when installing <code>pipewire</code> again (<code>pacman -Sy pipewire</code>), these are installed too:<br /> alsa-card-profiles-1:0.3.51-1.nonsystemd1 bluez-libs-5.66-1 libfdk-aac-2.0.2-1 libfreeaptx-0.1.1-1 libldac-2.0.2.3-1 lilv-0.24.20-1 lv2-1.18.10-1 sbc-2.0-1 serd-0.30.16-1 sord-0.16.14-1 sratom-0.6.14-1 webrtc-audio-processing-0.3.1-3 pipewire-1:0.3.51-1.nonsystemd1</p>
<p>Then, after installing <code>pipewire-alsa</code></p>
<pre><code>pipewire-media-session-1:0.4.1-2.nonsystemd1 pipewire-alsa-1:0.3.51-1.nonsystemd1</code></pre>
<p>With </p>
<pre><code>LANG=en ffplay /usr/share/sounds/alsa/Front_Center.wav</code></pre>
<p>I got</p>
<pre>
ffplay version n5.1.2 Copyright (c) 2003-2022 the FFmpeg developers
built with gcc 12.2.0 (GCC)
configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-version3 --enable-vulkan
libavutil 57. 28.100 / 57. 28.100
libavcodec 59. 37.100 / 59. 37.100
libavformat 59. 27.100 / 59. 27.100
libavdevice 59. 7.100 / 59. 7.100
libavfilter 8. 44.100 / 8. 44.100
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
libpostproc 56. 6.100 / 56. 6.100
nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
Input #0, wav, from '/usr/share/sounds/alsa/Front_Center.wav':
Duration: 00:00:01.43, bitrate: 768 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 1 channels, s16, 768 kb/s
SDL_OpenAudio (1 channels, 48000 Hz): ALSA: Couldn't open audio device: Host is down
SDL_OpenAudio (1 channels, 44100 Hz): ALSA: Couldn't open audio device: Host is down
No more combinations to try, audio open failed
Failed to open file '/usr/share/sounds/alsa/Front_Center.wav' or configure filtergraph
nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
</pre>
<p>Then, with pipewire running</p>
<pre><code>pipewire</code></pre>
<p>(Same error as before)<br /><pre>
[W][02993.401378] pw.context | [ context.c: 402 pw_context_new()] 0xbd195b21a0: no modules loaded from context.modules
</pre></p>
<p>I get the same (with the same <code>ffplay</code> command)</p>
<pre>
ffplay version n5.1.2 Copyright (c) 2003-2022 the FFmpeg developers
built with gcc 12.2.0 (GCC)
configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-version3 --enable-vulkan
libavutil 57. 28.100 / 57. 28.100
libavcodec 59. 37.100 / 59. 37.100
libavformat 59. 27.100 / 59. 27.100
libavdevice 59. 7.100 / 59. 7.100
libavfilter 8. 44.100 / 8. 44.100
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
libpostproc 56. 6.100 / 56. 6.100
nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
Input #0, wav, from '/usr/share/sounds/alsa/Front_Center.wav':
Duration: 00:00:01.43, bitrate: 768 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 1 channels, s16, 768 kb/s
SDL_OpenAudio (1 channels, 48000 Hz): ALSA: Couldn't open audio device: Host is down
SDL_OpenAudio (1 channels, 44100 Hz): ALSA: Couldn't open audio device: Host is down
No more combinations to try, audio open failed
Failed to open file '/usr/share/sounds/alsa/Front_Center.wav' or configure filtergraph
nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
</pre>
<p>Same story after <code>rc-service alsasound restart</code>. Finally, <code>mpv</code> is also blocked:</p>
<pre>
(+) Audio --aid=1 (pcm_s16le 1ch 48000Hz)
[ao/alsa] Playback open error: Host is down
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
[ao/jack] cannot open server
[ao] Failed to initialize audio driver 'jack'
Could not open/initialize audio device -> no sound.
Audio: no audio
Exiting... (Errors when loading file)
</pre>
<p>Something else that I found is that there is a group called <code>alsa</code> with only one member: <code>python-pyalsa</code></p> Packages - Bug #3416: [pipewire][mpv][ffmpeg]: No sound with ALSA, PipeWire and OpenRChttps://labs.parabola.nu/issues/3416?journal_id=189612023-08-18T02:10:15Zbill-auger
<ul><li><strong>Status</strong> changed from <i>confirmed</i> to <i>in progress</i></li></ul><p>there is a new pipewire in nonsystemd - maybe it fixes some of these problems?</p> Packages - Bug #3416: [pipewire][mpv][ffmpeg]: No sound with ALSA, PipeWire and OpenRChttps://labs.parabola.nu/issues/3416?journal_id=189622023-08-18T13:26:36Znona
<ul></ul><p>My system has been dead for a while. Having a computer which is not really compatible with Parabola is a terrible nuisance (no proper video, no sound, no wifi), and I am currently using a computer from work. When I get back the system from the grave, the situation might be fixed.</p>