TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Speaker Support in Asahi Linux

275 pointsby pantalaimonover 1 year ago

20 comments

jasoneckertover 1 year ago
A better title for this would be &quot;Asahi introduces advanced speaker DSP to Linux&quot; as that is the real significance of this new development.<p>I imagine it will be incorporated into other distros soon as a result.
评论 #38239821 未加载
评论 #38239747 未加载
评论 #38240875 未加载
esjeonover 1 year ago
For DSP, we already can do that using something like Easy Effects[1][2].<p>Unfortunately, this isn&#x27;t <i>shippable</i> for distros. The biggest issue is acquiring proper impulse-response data. In theory, it has to be tuned per-model, and turning basically requires pro-grade equipment and a recording studio. However, apparently many people assume Dolby is using the same profile for all laptops, so just copy-paste the same file here and there. Not really sure which is the real case.<p>Anyways, Asahi can ship DSP turned on by default because the distro is specific to Apple. That&#x27;s how Apple boosts the quality of its hardware, and the same applies to a distro dedicated to it.<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;wwmm&#x2F;easyeffects">https:&#x2F;&#x2F;github.com&#x2F;wwmm&#x2F;easyeffects</a><p>[2]: <a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;27122564&#x2F;which-version-of-linux-has-support-for-dolby-advanced-audio-v2" rel="nofollow noreferrer">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;27122564&#x2F;which-version-o...</a>
评论 #38241370 未加载
评论 #38241004 未加载
评论 #38240758 未加载
评论 #38244923 未加载
评论 #38240958 未加载
评论 #38242340 未加载
Wowfunhappyover 1 year ago
A demonstration of how important the speaker DSP is:<p><a href="https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111230163766956867" rel="nofollow noreferrer">https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111230163766956867</a>
评论 #38240537 未加载
评论 #38243749 未加载
评论 #38241242 未加载
评论 #38241445 未加载
评论 #38241498 未加载
dfcover 1 year ago
Sound on Linux is the one thing that seems to be more confusing 25 years later. I can remember scouring Usenet&#x2F;mailing lists trying to research which soundblaster card to get for the best experience. When I compare that to wrapping my head around Pipewire+Pulseaudio+Jackd+*effects I feel like I know way less about sound on Linux now. I don&#x27;t do any professional audio stuff I just want to listen to music on my Linux computers and occasionally play the sound throughout the house. Whenever I start to look into doing it &quot;the right way&quot; it is always overwhelming.
评论 #38241541 未加载
评论 #38242752 未加载
hedoraover 1 year ago
They also added webcam support and an installer for the M2!<p>If the status page is to be believed, it’s getting extremely close to daily driver status for me.
rzzztover 1 year ago
&gt; These are all techniques that are in wide use in consumer microspeaker systems in tablets and phones, though sadly not common on laptops from most non-Apple brands.<p>Dell &#x2F; Realtek &#x2F; MaxxAudio (not sure who to attribute it to) offers such an implementation with mixed results. Some people go to great lengths to remove it and replace with something that offers a flat response -- personally, I didn&#x27;t mind the alterations it introduced and the speakers &quot;feel&quot; quieter without it installed.
评论 #38240853 未加载
rowanG077over 1 year ago
They really go the extra mile, and then another mile on top of it. I guess the only &quot;main&quot; feature remaining essentially all other laptops have is external screen support.
评论 #38241127 未加载
agentbellnormover 1 year ago
The Asahi devs are doing the lords work. Looking forward to using it in the future.
2Gkashmiriover 1 year ago
i want to buy a used apple m1 machine just to use asahi. (coming from a linux guy who has never owned an apple mac machine)<p>i have seen all the &quot;tables showing compatibility&quot; but how is it in real life? i should i buy a machine solely to daily drive asahi?
评论 #38240969 未加载
评论 #38240907 未加载
devitover 1 year ago
Seems really terrible engineering to design a laptop where malware can destroy the speakers.<p>I guess there&#x27;s reason to wonder whether malware might also be able to set the whole machine on fire.
评论 #38244683 未加载
评论 #38247884 未加载
评论 #38246014 未加载
评论 #38244503 未加载
wolf550eover 1 year ago
@marcan wrote a lot about the DSP work and why it&#x27;s important &#x2F; what it does. He also wrote about bugs across the linux audio stack.<p><a href="https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111379933565349212" rel="nofollow noreferrer">https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111379933565349212</a><p><a href="https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111369113203280839" rel="nofollow noreferrer">https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111369113203280839</a><p><a href="https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111368139961624028" rel="nofollow noreferrer">https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111368139961624028</a><p><a href="https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111363323102625920" rel="nofollow noreferrer">https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111363323102625920</a><p><a href="https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111356347520217702" rel="nofollow noreferrer">https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111356347520217702</a><p><a href="https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111351807108120657" rel="nofollow noreferrer">https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111351807108120657</a><p><a href="https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111322854564301468" rel="nofollow noreferrer">https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111322854564301468</a><p><a href="https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111312763506327704" rel="nofollow noreferrer">https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111312763506327704</a><p><a href="https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111305404286878529" rel="nofollow noreferrer">https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111305404286878529</a><p><a href="https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111275789631652315" rel="nofollow noreferrer">https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111275789631652315</a><p><a href="https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111274712520670628" rel="nofollow noreferrer">https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111274712520670628</a><p><a href="https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111274302586522319" rel="nofollow noreferrer">https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111274302586522319</a><p><a href="https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111230163766956867" rel="nofollow noreferrer">https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111230163766956867</a><p><a href="https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111230007884019185" rel="nofollow noreferrer">https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111230007884019185</a>
评论 #38242034 未加载
jauntywundrkindover 1 year ago
I hadn&#x27;t heard of uclamp before, mentioned as a way to save power on the compute intensive DSP work. Found this tweet by Marcan that seems to indicate it&#x27;s a way to pin the process to e-cores. <a href="https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111363323102625920" rel="nofollow noreferrer">https:&#x2F;&#x2F;social.treehouse.systems&#x2F;@marcan&#x2F;111363323102625920</a>
jchwover 1 year ago
Huh, is it really true this is the first? I figured this was just being done in hardware in some modern laptops instead of software. At least for basic stuff like EQ, if not compressor&#x2F;etc. Otherwise, what&#x27;s with all of the DSP stuff modern Intel laptops need on Linux, what with Sound Open Firmware and whatnot?<p>(And if not that, I am mildly surprised ChromeOS&#x2F;Chromebooks don&#x27;t do much of this either.)
评论 #38240611 未加载
WesolyKubeczekover 1 year ago
For the sake of completeness, this problem is not at all endemic to Apple’s M hardware.<p>Some of the older Thinkpads — W510, T400, and T410, so beloved and praised by Linux enthusiasts, used to suffer from the same problem — their speakers could get destroyed after a few minutes of playing audio. Just wondering if Lenovo’s drivers for Windows 7 included similar safeguards.
Topgamer7over 1 year ago
My Asus g14 sounds awful on speakers. Hopefully this can fix that :)
almostnormalover 1 year ago
Linux had speaker [0] support since longer than I can remember. Reading the headline I was expecting something about software using it to create less low quality output. But it seems it is about modifying the &quot;modern&quot; audio output to work around limitations of laptop speakers.<p>[0] <a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;PC_speaker" rel="nofollow noreferrer">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;PC_speaker</a>
评论 #38246195 未加载
jancsikaover 1 year ago
&gt; This allows the speakers to be driven to much higher peak levels than the worst-case safe volume level, greatly extending their dynamic range.<p>So <i>software devs</i> are going to drive the speakers past the <i>worst-case</i> safe volume level that was presumably set by <i>hardware engineers</i>? And they are going to do it with software running in a OS that isn&#x27;t realtime safe?<p>Anyone else see a problem here?<p>Also-- does anyone know what Asahi is using to test the safety of what they&#x27;re doing?
评论 #38241721 未加载
评论 #38241556 未加载
评论 #38242695 未加载
评论 #38241386 未加载
评论 #38241341 未加载
评论 #38245238 未加载
sampaover 1 year ago
everything about asahi feels like it&#x27;s an apple&#x27;s product: everywhere you look - it is always &quot;amazing&quot;!<p>but so far no finally usable implementation exists even for m1 macbooks and they age quickly, and I doubt people will see anything usable in the end (yeah, you might get a fully working Linux on your old dusty m1 when you buy m7, happy?).<p>so far it is achievements for the sake of achievements
评论 #38240228 未加载
评论 #38240906 未加载
评论 #38243546 未加载
karmakazeover 1 year ago
This seems to be a problem being solved at too low a level of abstraction. It should be able to use the same architecture for performing say a 7.1 to binaural headphone 2-channel output, all by only routing and processing signals. Perhaps this is how it&#x27;s being solved, but having &quot;speaker&quot; so hardcoded in the project work may not be the case, or seemingly so.
评论 #38240574 未加载
评论 #38241416 未加载
AshamedCaptainover 1 year ago
This article is a bit bombastic and light on details: &quot;modern audio laptop subsystem&quot;, &quot;advanced DSP&quot;, &quot;the first desktop Linux platform with integrated advanced speaker DSP&quot;, &quot;driving Linux desktop audio forward a couple decades&quot;.... while as far as I can tell there are exactly 0 new things described.<p>&gt; These [DSP profiles] are all techniques that are in wide use in consumer microspeaker systems in tablets and phones, though sadly not common on laptops from most non-Apple brands.<p>As anyone who has bought a laptop less than 10 years old can attest, practically _all_ laptops ship with &quot;DSP effects for tiny speakers&quot;, to varying results. Microsoft has even standarized an API in Windows 10&#x2F;11 so that you literally can shop for different implementors in the Windows store (e.g. Sonic, B&amp;O, etc.).<p>&gt; EasyEffects<p>Article itself mentions previous work on DSP effects...<p>&gt; we also have the world&#x27;s first (as far as we know) open source &quot;smart amp&quot; implementation.<p>Old Nokia devices shipped with xprot which is about a decade old. Speaker protection, DSP, noise cancelling, etc. back when pulseaudio was just renamed from polypaudio. <a href="https:&#x2F;&#x2F;blog.linuxplumbersconf.org&#x2F;2009&#x2F;slides&#x2F;Jyri-Sarha-audio_miniconf_slides.pdf" rel="nofollow noreferrer">https:&#x2F;&#x2F;blog.linuxplumbersconf.org&#x2F;2009&#x2F;slides&#x2F;Jyri-Sarha-au...</a>
评论 #38240782 未加载
评论 #38240053 未加载