ChanServ changed the topic of #asahi-alt to: Asahi Linux: porting Linux to Apple Silicon macs | User-contributed/unofficial distribution ports | Logs: https://alx.sh/l/asahi-alt
tobhe_ has joined #asahi-alt
tobhe has quit [Ping timeout: 480 seconds]
JayBeeFOSS has quit [Ping timeout: 480 seconds]
JayBeeFOSS has joined #asahi-alt
john-cabaj has joined #asahi-alt
john-cabaj has quit [Ping timeout: 480 seconds]
mattia013 has quit [Remote host closed the connection]
mattia013 has joined #asahi-alt
mrvictorywin has joined #asahi-alt
<mrvictorywin>
How can I disable or modify the default DSP (digital sound processing) on macOS? The asahi-audio github page mentions macOS uses DSP to improve sound quality and Linux should also use DSP to match macOS. I have an Intel Mac (MB Air early 2015 running Arch) and audio quality on Linux is worse than macOS. I'm trying to find if the cause is lack of DSP or sth else ie. HDA commands.
mrvictorywin has quit [Quit: Konversation terminated!]
kraem has quit [Remote host closed the connection]
eric_engestrom has quit [Read error: Connection reset by peer]
eric_engestrom has joined #asahi-alt
Hartley25 has quit [Remote host closed the connection]
Hartley25 has joined #asahi-alt
n3ph has joined #asahi-alt
mrvictorywin has joined #asahi-alt
mrvictorywin has quit [Quit: Konversation terminated!]
<cy8aer>
mrvictorywin: Asahi linux uses a DSP like macOS not _the_ DSP of macOS. Apple laptops have 2 or more speakers which have their own digital analogue converters. The DSP provides the crossovers like in old HIFI speakers. They also adjust the frequency spectra of the loudspeakers (Asahi as straight a frequency response as possible, macOS with more boom). Asahi also uses psychoacoustic effects to boost the bass and there is a limiter to avoid speaker...
<cy8aer>
... damages. Sound on linux laptops is a general problem and may be adapted from the asahi solution for other laptops. Since the macOS DSP has nothing to do with the asahi DSP, there is unfortunately nothing you can do for the Linux sound on the macOS side. And the DSPs are software, no hardware!
mrvictorywin has joined #asahi-alt
<cy8aer>
Components involved implement the sound in asahi: asahi-scripts, alsa-ucm-conf-asahi, speakersafetyd, bankstown (lv2). For the speakers (we have three mics and beam forming is needed) there is another lv2 plugin triforce. These components are heavily using pipewire and wireplumber. More infos at https://github.com/AsahiLinux/asahi-audio
mrvictorywin has quit [Ping timeout: 480 seconds]
mrvictorywin has joined #asahi-alt
mrvictorywin has quit [Quit: Konversation terminated!]
kraem has joined #asahi-alt
mrvictorywin has joined #asahi-alt
kraem has quit [Ping timeout: 480 seconds]
akda5id3 has joined #asahi-alt
akda5id has quit [Read error: Connection reset by peer]
akda5id3 is now known as akda5id
mrvictorywin has quit [Quit: Konversation terminated!]
mrvictorywin has joined #asahi-alt
<mrvictorywin>
cy8aer: my goal by disabling DSP is to understand if it fixes the issues ie. buzzing I have on Linux. I basically want to see if I turn off DSP on macOS whether the audio output becomes similar to Linux. If it does then I can rule out driver problems.
mrvictorywin has quit [Quit: Konversation terminated!]
n3ph has quit [Ping timeout: 480 seconds]
<cy8aer>
mrvictorywin: ah I see.
<chadmed>
mrvictorywin: in case you read the logs, you cant turn off the dsp on macos'
kraem has joined #asahi-alt
tobhe_ is now known as tobhe
<chadmed>
sooooo sam_ and/or leio re getting asahi enabled upstream
<chadmed>
will i just make a PR against the live ebuild with what we're currently doing in the overlay?
<chadmed>
sorry that wasnt particularly clear, i mean mesa asahi (incl. honeykrisp)
kraem has quit [Ping timeout: 480 seconds]
Halian|Jardin has joined #asahi-alt
n3ph has joined #asahi-alt
Halian|Jardin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Halian|Jardin has joined #asahi-alt
Halian|Jardin has quit [Ping timeout: 480 seconds]
minecrell7 has joined #asahi-alt
nightbreak_ has joined #asahi-alt
quaff_ has joined #asahi-alt
asimpson_ has joined #asahi-alt
d4ve_ has joined #asahi-alt
waltmck has joined #asahi-alt
snuck has joined #asahi-alt
katia_ has joined #asahi-alt
ypwn_ has joined #asahi-alt
Retr0id9 has joined #asahi-alt
tobhe_ has joined #asahi-alt
tobhe has quit [reticulum.oftc.net helix.oftc.net]
ypwn__ has quit [reticulum.oftc.net helix.oftc.net]
nst has quit [reticulum.oftc.net helix.oftc.net]
jannau has quit [reticulum.oftc.net helix.oftc.net]
sneak has quit [reticulum.oftc.net helix.oftc.net]
nightbreak has quit [reticulum.oftc.net helix.oftc.net]
quaff has quit [reticulum.oftc.net helix.oftc.net]
asimpson has quit [reticulum.oftc.net helix.oftc.net]
d4ve has quit [reticulum.oftc.net helix.oftc.net]
minecrell has quit [reticulum.oftc.net helix.oftc.net]
mps has quit [reticulum.oftc.net helix.oftc.net]
waltmckel has quit [reticulum.oftc.net helix.oftc.net]
paddatrapper_ has quit [reticulum.oftc.net helix.oftc.net]
Retr0id9 is now known as Retr0id
quaff_ is now known as quaff
nightbreak_ is now known as nightbreak
d4ve_ is now known as d4ve
asimpson_ is now known as asimpson
jannau has joined #asahi-alt
Halian|Jardin has joined #asahi-alt
stintel has joined #asahi-alt
nst has joined #asahi-alt
<leio>
chadmed: probably, if you beat me to it ;) but I don't know what kernel bits I need to match uapi
<leio>
(to test)
<jannau>
leio: asahi-wip but not tags for a while
Halian|Jardin has quit [Ping timeout: 480 seconds]
mps has joined #asahi-alt
ahdeb[mds] has joined #asahi-alt
Halian|Jardin has joined #asahi-alt
paddatrapper_ has joined #asahi-alt
tumblingweed has joined #asahi-alt
Halian|Jardin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mrvictorywin has joined #asahi-alt
Halian|Jardin has joined #asahi-alt
mrvictorywin has quit []
mrvictorywin has joined #asahi-alt
mjolnir[mds] has joined #asahi-alt
highvoltage[mds] has joined #asahi-alt
mrvictorywin has quit [Read error: Connection reset by peer]
Halian|Jardin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Halian|Jardin has joined #asahi-alt
lynndotpy has quit [Quit: bye bye]
lynndotpy has joined #asahi-alt
n3ph has quit [Ping timeout: 480 seconds]
mrvictorywin has joined #asahi-alt
zerdox has quit [Remote host closed the connection]
<mrvictorywin>
Another question: how can I get the count of tweeters / woofers on either linux or macos? This repo: https://github.com/davidjo/snd_hda_macbookpro supports setting up 4 channels for 2 tweeters & 2 woofers but idk if I need a 4 channel setup as my mac has a different audio device (cs4208)
zerdox has joined #asahi-alt
mrvictorywin has quit [Quit: Konversation terminated!]
<sam_>
chadmed: sounds good
<flokli>
chadmed: hmmh, I'm trying to debug why asahi-audio doesn't seem to properly do the microphone thing on my NixOS machine (J413). I poked around at `wpctl status` and `wpctl inspect`, as well as running pipewire/wireplumber with more debug being enabled, and it looks like api.alsa.path is not hw:AppleJ314,1 or hw:AppleJ314HPAI,0 (or I'm looking in the wrong place).
<sam_>
chadmed: as long as it's upstream -- I wouldn't expect Matt to necessarily merge it if it's not yet
<sam_>
chadmed: he may be open to a draft PR to discuss stuff
<flokli>
wpctl inspect says alsa.card_name = "MacBook Air J413" and api.alsa.path = "hw:0"
n3ph has joined #asahi-alt
<flokli>
is there multiple api.alsa.path that can be matched on, and if so, how do I see which ones exist?
<n3ph>
I am currently compiling non-stop and have a look on `powertop` in parallel. Why do I see so much idle state, or might it be inaccurate? https://pastebin.com/rExjX6MY
<chadmed>
flokli: if the api alsa path is hw:0 and not J314HPAI then something is wrong
kraem has quit [Ping timeout: 480 seconds]
kraem has joined #asahi-alt
kraem has quit [Ping timeout: 480 seconds]
nst_ has joined #asahi-alt
nst has quit [Ping timeout: 480 seconds]
lynndotpy has quit [Quit: bye bye]
lynndotpy has joined #asahi-alt
n3ph has quit [Ping timeout: 480 seconds]
zerdox has quit [Ping timeout: 480 seconds]
akda5id has quit [Quit: Ping timeout (120 seconds)]