<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=6985&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Problems with ALSA and audio output ?]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=6985</link>
		<description><![CDATA[The most recent posts in Problems with ALSA and audio output ?.]]></description>
		<lastBuildDate>Wed, 08 Jan 2025 21:03:29 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Problems with ALSA and audio output ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53984#p53984</link>
			<description><![CDATA[<p>Here is my config :</p><p>Audio:<br />&#160; Device-1: AMD Rembrandt Radeon High Definition Audio vendor: Lenovo<br />&#160; &#160; driver: snd_hda_intel v: kernel bus-ID: 04:00.1<br />&#160; Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo<br />&#160; &#160; driver: snd_pci_acp6x v: kernel bus-ID: 04:00.5<br />&#160; Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel<br />&#160; &#160; v: kernel bus-ID: 04:00.6<br />&#160; API: ALSA v: k6.1.0-28-amd64 status: kernel-api</p><p>@green,</p><p>no there is nothing zeroing, it&#039;s a stream error as ralph suggested</p><p>@ralph, </p><p>I do not understand everything, but it seems like this does not work unfortunately</p>]]></description>
			<author><![CDATA[dummy@example.com (unixuser)]]></author>
			<pubDate>Wed, 08 Jan 2025 21:03:29 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53984#p53984</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems with ALSA and audio output ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53970#p53970</link>
			<description><![CDATA[<p>@unixuser, from memory (since I don&#039;t use firefox anymore) I needed a <span class="bbc">dmix</span> pcm on the playback path for firefox; something with firefox spawning sub processes <span class="bbu">after</span> having opened its playback sink and then in effect accidentally lock up itself (since the normal playback is exclusive) even though firefox has a single playback process. And for that same reason, it needs the similar setup with a&#160; <span class="bbc">dsnoop</span> on the capture path, and therefore it needs the prior <span class="bbc">asym</span> pcm to split playback and capture.<br />Afair I had it working with that, something like:</p><div class="codebox"><pre><code>pcm.!default { type asym; playback.pcm multisink; capture.pcm multisource }
pcm.multisink { type dmix; ipc_key 29879; ipc_key_add_uid true; slave.pcm plughw }
pcm.multisource { type dsnoop; ipc_key 16234; ipc_key_add_uid false; slave.pcm hw } </code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Wed, 08 Jan 2025 03:36:25 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53970#p53970</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems with ALSA and audio output ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53967#p53967</link>
			<description><![CDATA[<p>So a couple simple questions here but this is perplexing:</p><p>Which version of Devuan? Desktop environment?</p><p>You mentioned a realtek chip, do you have the right firmware for it installed?</p><p>I have had a glitch before with sound, not having problems currently, but it was an intermittent issue with no sound in certain circumstances, mostly to do with sound in browsers. Even with the volume in the tray-icon all the way up, I would get no sound, until I activated the slider by clicking it and moving it up and down once, then sound would pop back on. Weird.</p><p>When you have a browser open running a video and it&#039;s not making sound, might just try fiddling with the volume control in the tray, and possibly in the alsa-mixer, something may be zeroing it out for some reason.</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Tue, 07 Jan 2025 22:54:24 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53967#p53967</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems with ALSA and audio output ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53965#p53965</link>
			<description><![CDATA[<p><strong>alsa-utils/stable,now 1.2.8-1 amd64 [installed]</strong></p><p><strong>Possibly related:</strong></p><p><strong>Starting with 1.2.5 alsactl tries to initialize UCM even if it is not supported #101<br /><a href="https://github.com/alsa-project/alsa-utils/issues/101" rel="nofollow">https://github.com/alsa-project/alsa-utils/issues/101</a></strong></p><p>Thanks, maybe I will recompile alsa-utils on older version to test if it resolves something.</p><p><strong>apulse doesn&#039;t seem to work anymore last time I tried in making sound work on firefox other firefox web ext fork</strong></p><p>apulse or not, it barely works atm.</p><p>I get back some sounds by specifying the card index with modprob, qutebrowser got sounds, by not firefox, so it is almost solved...</p>]]></description>
			<author><![CDATA[dummy@example.com (unixuser)]]></author>
			<pubDate>Tue, 07 Jan 2025 21:49:57 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53965#p53965</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems with ALSA and audio output ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53938#p53938</link>
			<description><![CDATA[<p>apulse doesn&#039;t seem to work anymore last time I tried in making sound work on firefox other firefox web ext fork</p>]]></description>
			<author><![CDATA[dummy@example.com (zapper)]]></author>
			<pubDate>Tue, 07 Jan 2025 02:49:48 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53938#p53938</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems with ALSA and audio output ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53932#p53932</link>
			<description><![CDATA[<p><span class="bbc">alsa-utils/stable,now 1.2.8-1 amd64 [installed]</span></p><p>Possibly related:</p><p>Starting with 1.2.5 alsactl tries to initialize UCM even if it is not supported #101 <br /><a href="https://github.com/alsa-project/alsa-utils/issues/101" rel="nofollow">https://github.com/alsa-project/alsa-utils/issues/101</a></p>]]></description>
			<author><![CDATA[dummy@example.com (fanderal)]]></author>
			<pubDate>Mon, 06 Jan 2025 23:32:38 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53932#p53932</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems with ALSA and audio output ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53852#p53852</link>
			<description><![CDATA[<p>I tryed with this asoundrc, but with no success. I think it is a deeper problem, if anyone knows, I used the debug script, but it is too huge for my understanding :</p><p><a href="https://github.com/444anothereality444/git_test/blob/main/alsa-info.txt.LeyHXgfTlc" rel="nofollow">https://github.com/444anothereality444/ … LeyHXgfTlc</a></p>]]></description>
			<author><![CDATA[dummy@example.com (unixuser)]]></author>
			<pubDate>Thu, 02 Jan 2025 23:38:47 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53852#p53852</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems with ALSA and audio output ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53756#p53756</link>
			<description><![CDATA[<p>Do you need the &quot;plughw&quot; in the first asoundrc you posted?</p><p>Maybe this instead, just hw on that first instruction:</p><div class="codebox"><pre><code>pcm.!default {
        type hw
        card 0
 }

ctl.!default {
        type hw
        card 0
 }</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Tue, 31 Dec 2024 01:16:33 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53756#p53756</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems with ALSA and audio output ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53753#p53753</link>
			<description><![CDATA[<p>Hi, thanks green and s1mple, </p><p>I do have HDMI output : </p><div class="codebox"><pre><code>&gt;&gt;&gt;&gt; aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic_1 [HD-Audio Generic], device 0: ALC257 Analog [ALC257 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0</code></pre></div><p>I did modified my .asoundrc as :</p><div class="codebox"><pre><code>pcm.!default {
	type plug
	slave.pcm &quot;dmix:CARD=Generic_1,DEV=0&quot;
}

ctl.!default {
	type hw           
	card Generic_1
}</code></pre></div><p>But somehow it does not set the card :</p><div class="codebox"><pre><code>&gt;&gt;&gt;&gt; aplay -L | grep dmix
dmix:CARD=Generic_1,DEV=0
dmix:CARD=Generic,DEV=3
dmix:CARD=Generic,DEV=7
dmix:CARD=Generic,DEV=8</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (unixuser)]]></author>
			<pubDate>Mon, 30 Dec 2024 21:27:20 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53753#p53753</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems with ALSA and audio output ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53723#p53723</link>
			<description><![CDATA[<p>You need <span class="bbc">dmix</span>¹ to mix streams from multiple programs. dmix is fixed to only one stream format once in use, so <span class="bbc">plug</span>² is needed for automatic conversion before the stream is sent to dmix.</p><p>The default ALSA setup usually have a dmix already for each card, so you can just use that as a slave unless you want a different configuration.</p><p>This is the list of default dmix PCMs on my system, where the device name for my speakers are <span class="bbc">Generic_1</span>.</p><div class="codebox"><pre><code>$ aplay -L | grep dmix
dmix:CARD=Generic,DEV=3
dmix:CARD=Generic,DEV=7
dmix:CARD=Generic,DEV=8
dmix:CARD=Generic,DEV=9
dmix:CARD=Generic_1,DEV=0
dmix:CARD=Set,DEV=0</code></pre></div><p>I have a custom setup for audio settings, where I have multiple asoundrc files for symlinking, but this is the <span class="bbc">.asoundrc</span> file for my speakers.</p><div class="codebox"><pre><code>pcm.!default {
        type plug
        slave.pcm &quot;dmix:CARD=Generic_1,DEV=0&quot;
}

ctl.!default {
        type hw
        card Generic_1
}</code></pre></div><p>1: <a href="https://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html#pcm_plugins_plug" rel="nofollow">https://www.alsa-project.org/alsa-doc/a … ugins_plug</a><br />2: <a href="https://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html#pcm_plugins_dmix" rel="nofollow">https://www.alsa-project.org/alsa-doc/a … ugins_dmix</a></p>]]></description>
			<author><![CDATA[dummy@example.com (s1mple)]]></author>
			<pubDate>Sat, 28 Dec 2024 22:50:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53723#p53723</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems with ALSA and audio output ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53713#p53713</link>
			<description><![CDATA[<p>So you just have one sound output? No HDMI too?</p><p>If not sure run <span class="bbc">aplay -l </span> in terminal.</p><div class="codebox"><pre><code>alsa-topology-conf
alsa-ucm-conf
alsa-utils
alsamixergui
bluez-alsa-utils
gstreamer1.0-alsa:amd64</code></pre></div><p>Is what I have that&#039;s working, note that all depend on <span class="bbc">libasound2</span> as well. And I also have <span class="bbc">libasound2-plugins:amd64</span></p><p>And <span class="bbc">libasound2-plugin-equal:amd64</span> gets you the alsa equalizer as well, which is really nice to have.</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Sat, 28 Dec 2024 16:41:46 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53713#p53713</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems with ALSA and audio output ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53705#p53705</link>
			<description><![CDATA[<p>Hi, thanks for the help, appreciated.<br /> There is my modified asoundrc :</p><div class="codebox"><pre><code>pcm.!default {
    type plughw
    card 0
 }
 
ctl.!default {
    type hw
    card 0
}</code></pre></div><p>EDIT : installed alsa-firemware-loaders... still didn&#039;t resolve it. Wanna cry <img src="https://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (unixuser)]]></author>
			<pubDate>Sat, 28 Dec 2024 10:28:12 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53705#p53705</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems with ALSA and audio output ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53695#p53695</link>
			<description><![CDATA[<p>I don&#039;t think alsa&#039;s use case modelling comes into play, but rather, possibly, there&#039;s some residue effects dealing with 48000 Hz v.s. 44100 HZ sampling rates differently in different programs. The &quot;modern&quot; default is 48000 Hz while the &quot;traditional&quot; default is 44100 Hz. It may be possible that your soundcard gets confused by that; if different applications compete about the soundcard configuration.</p><p>If that&#039;s the case, the remedy should be to ensure that the &quot;default&quot; PCM playback path (here &quot;default&quot; is the name of the targeted PCM, which is used by applications by default) to end in &quot;plughw&quot; rather than &quot;hw&quot; since that includes software to manage sampling rate translations.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Fri, 27 Dec 2024 23:55:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53695#p53695</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems with ALSA and audio output ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53693#p53693</link>
			<description><![CDATA[<p>Hi there, thx for help, there are alsa related packages I have on the system :</p><div class="codebox"><pre><code>root@tinpatrick:~# apt list --installed | grep alsa

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

alsa-topology-conf/stable,stable,now 1.2.5.1-2 all [installed,automatic]
alsa-ucm-conf/stable,stable,now 1.2.8-1 all [installed]
alsa-utils/stable,now 1.2.8-1 amd64 [installed]</code></pre></div><p>PS : I think this is failing from some dependencies. The problem went even harder after an update of lib*. The weird thing is that alsamixer prints normaly and says the sound is on.</p><p>The chip is realtek ALC257, if that precision is needed. I don&#039;t know.</p>]]></description>
			<author><![CDATA[dummy@example.com (unixuser)]]></author>
			<pubDate>Fri, 27 Dec 2024 23:33:58 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53693#p53693</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems with ALSA and audio output ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53639#p53639</link>
			<description><![CDATA[<p>Posting now from a liveCD of Vuu-do mate-mini, that I installed firefox on in the live session, checked youtube and sound and video are working perfectly with nothing but pure ALSA. Literally, no pulse, apulse, or pipewire and everything works.</p><p>Please check on the ALSA packages you have installed, and i&#039;ll compare them to mine, and perhaps we&#039;ll find what you&#039;re missing.</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Fri, 27 Dec 2024 01:44:09 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53639#p53639</guid>
		</item>
	</channel>
</rss>
