ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
nesnas has joined #asahi-dev
nesnas has quit [Ping timeout: 480 seconds]
nesnas has joined #asahi-dev
nesnas has quit [Ping timeout: 480 seconds]
nesnas has joined #asahi-dev
druze has joined #asahi-dev
mischa85 has joined #asahi-dev
JayBeeFOSS has quit [Ping timeout: 480 seconds]
JayBeeFOSS has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
druze has quit [Ping timeout: 480 seconds]
druze has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
mischa85 has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
zeezie01 has quit [Quit: Leaving]
dylantaylor has joined #asahi-dev
dylantaylor has left #asahi-dev [Leaving]
pb17 has joined #asahi-dev
mischa85 has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
rrendec has quit [Ping timeout: 480 seconds]
<nickchan>
i already sent 130-cpufreq upstream
mischa85 has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
<nickchan>
there's one other patch about rtkit there i don't know how it has to do with cpufreq but that's upstream as well
mischa85 has quit [Ping timeout: 480 seconds]
nesnas has quit [Ping timeout: 480 seconds]
druze has quit [Quit: WeeChat 4.5.2]
chrisl has joined #asahi-dev
aminoa has quit [Ping timeout: 480 seconds]
nesnas has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
tobhe_ has joined #asahi-dev
nesnas has quit [Ping timeout: 480 seconds]
tobhe has quit [Ping timeout: 480 seconds]
monthebiff has joined #asahi-dev
nesnas has joined #asahi-dev
john-cabaj has joined #asahi-dev
nesnas has quit [Ping timeout: 480 seconds]
nora_ has joined #asahi-dev
nesnas has joined #asahi-dev
nora has quit [Ping timeout: 480 seconds]
mischa85 has joined #asahi-dev
nesnas has quit [Ping timeout: 480 seconds]
mischa85 has quit [Ping timeout: 480 seconds]
nesnas has joined #asahi-dev
chrisl has joined #asahi-dev
monthebiff has quit [Remote host closed the connection]
nesnas has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
nesnas has joined #asahi-dev
monthebiff has joined #asahi-dev
nesnas has quit [Ping timeout: 480 seconds]
nesnas has joined #asahi-dev
john-cabaj has quit [Ping timeout: 480 seconds]
gnuiyl has quit [Remote host closed the connection]
gnuiyl has joined #asahi-dev
yuyichao_ has quit [Ping timeout: 480 seconds]
nesnas has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
HitokiriKincho has joined #asahi-dev
chrisl has joined #asahi-dev
nesnas has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
mischa85 has joined #asahi-dev
pb17 has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
monthebiff has quit [Quit: leaving]
aditya has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
mischa85 has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
monthebiff has joined #asahi-dev
chrisl has joined #asahi-dev
HitokiriKincho has quit [Quit: Leaving...]
mischa85 has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
mischa85 has quit [Ping timeout: 480 seconds]
baozich has quit [Remote host closed the connection]
baozich has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
mischa85 has joined #asahi-dev
pb17 has joined #asahi-dev
greguu has quit [Quit: WeeChat 4.4.2]
greguu has joined #asahi-dev
greguu has quit [Quit: WeeChat 4.4.2]
greguu has joined #asahi-dev
greguu has quit []
greguu has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
aditya has quit [Quit: Connection closed for inactivity]
mischa85 has joined #asahi-dev
chrisl has joined #asahi-dev
opticron has quit [Read error: Connection reset by peer]
opticron has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
mischa85_ has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
chrisl has joined #asahi-dev
vup has quit [Quit: vup]
chrisl has quit [Ping timeout: 480 seconds]
heartburn has quit [Ping timeout: 480 seconds]
elvishjerricco has quit [Remote host closed the connection]
elvishjerricco has joined #asahi-dev
minecrell has quit [Quit: Ping timeout (120 seconds)]
minecrell has joined #asahi-dev
dcavalca85697 has quit [Ping timeout: 480 seconds]
heartburn has joined #asahi-dev
dcavalca85697 has joined #asahi-dev
monthebiff has quit [Remote host closed the connection]
dylantaylor has joined #asahi-dev
<dylantaylor>
I have a "j293" 13 inch M1 MacBook Pro (2020). I saw that the microphone support for this exact model is not ready but it is for every other model. I'm interested in helping with testing and troubleshooting this mice support. I did a sudo make install of the patch at https://github.com/AsahiLinux/asahi-audio/tree/mics but do not see the input device. I was wondering if I also need to apply a kernel patch so that the
<dylantaylor>
node is visible to wireplumber for it to work.
<dylantaylor>
My guess is that I need to build the asahi-wip branch of the kernel and install that in conjunction with the mics branch of asahi-audio, but wanted to see if my assumptions were correct here.
<dylantaylor>
This isn't a support request; I'd love to be able to assist with the development efforts here in order to have mics working on every Apple silicon device.
<fl0_id>
PaulFertser ok this is getting kinda OT, maybe weh shoudl move it
<chadmed>
dylantaylor: there is a kernel commit you need to revert which prevents aop's audio subdevice from probing. there's not really anything left to "develop" though, i just need to validate it on a j293
<dylantaylor>
Can you point me at the specific commit? I could try building and installing the kernel with a little bit of guidance and I can let you know if it works.
<jannau>
no need to revert anything. I added `snd_soc_aop.mic_check_123=1` especially to allow this
<jannau>
just add above parameter to the kernel command line
<jannau>
I doubt snd_soc_aop is reloadable
<dylantaylor>
Ah, would this work on the 6.13.7-401.asahi.fc42.aarch64+16k kernel I'm running in F42 beta, or should I try to build asahi-wip?
<chaos_princess>
if it failed that early, it might be
<jannau>
that's the same kernel as asahi-wip
<dylantaylor>
Okay, awesome. I'm just set GRUB_CMDLINE_LINUX_DEFAULT="rhgb quiet rootflags=subvol=root snd_soc_aop.mic_check_123=1" in /etc/default/grub and ran sudo grub2-mkconfig. I see the option in /boot/loader/entries so I'm going to reboot and give that a try.
dylantaylor has quit [Remote host closed the connection]
<chaos_princess>
was it not snd_soc_apple_aop?
<fl0_id>
guess we'll find out haha
dylantaylor has joined #asahi-dev
<dylantaylor>
Great news, that seems to have worked. :)
<dylantaylor>
I now see "Built-in Audio Multichannel" in the input devices list
<dylantaylor>
And, doing a quick sanity check using https://mictests.com/ I can see that input is working.
<chaos_princess>
test audacity
<dylantaylor>
Alright. Let me give it a shot
<chaos_princess>
test loudness level, then grab your phone, play something that contains speech, and start moving it around. it should pick up louder in the "standard sitting position", and suppress it when you move away from it
<dylantaylor>
It worked. I hit record, said something into the microphone, stopped it, hit playback and it sounded fine.
<chaos_princess>
what are the recording levels approx at?
pb17 has quit [Ping timeout: 480 seconds]
<dylantaylor>
What should I be looking at in audacity to determine that?
<chaos_princess>
there are loudness meters in top right corner
<chadmed>
oh lol you didnt install alsa-ucm-conf-asahi's mics branch
<chadmed>
install that and restart pipewire
<chadmed>
(and wireplumber)
<chaos_princess>
and probably nuke ~/.local/state/wireplumber/ for good measure
<dylantaylor>
Oh, I just saw asahi-audio's mics branch. Let me give that a go
<dylantaylor>
That repo doesn't contain a Makefile like the other one or instructions in the README. How do I install that?
<dylantaylor>
do I just copy the files into /usr/share/alsa?
<chadmed>
yea just cp -r ./ucm2 /usr/share/alsa/. or whatever
dylantaylor_ has joined #asahi-dev
dylantaylor has quit [Read error: Connection reset by peer]
<dylantaylor_>
I ran that cp -r command and did a reboot for good measure
dylantaylor_ is now known as dylantaylor
allmazz has joined #asahi-dev
<dylantaylor>
I can confirm that there is a 'MacBook Pro J293 High-Power Audio Interface.conf' file in that /usr path now. Should I expect noticeably different results?
<chadmed>
which alsa device is selected in audacity
<dylantaylor>
"default"
<allmazz>
hey guys! I just want to express my immense gratitude and admiration to all of you! your work is really matter. I always wanted to contribute and have fun with RE, but my free time is too limited. Anyway, someday I will join...
<chadmed>
dylantaylor: try setting it to "pipewire" explicitly
pb17 has joined #asahi-dev
<dylantaylor>
Ahhh okay I see a good amount of gain now
<chadmed>
(for context mics were done ~months ago but we had to keep delaying them due to repeated issues specifically with audacity and other ALSA specific clients)
<chaos_princess>
dylantaylor: thats more like it. check if it sounds "good", and if so, try testing the beamformer by moving around
<dylantaylor>
It sounds how I'd expect. I'll play around with beamforming. Is the expectation that noises not directly in front of the laptop are more muted?
<chaos_princess>
yes
allmazz has quit [Remote host closed the connection]
allmazz has joined #asahi-dev
<dylantaylor>
Doing some testing now by moving around the room
<dylantaylor>
After checking playback, speech is _noticeably_ louder and clearer directly in front of the laptop.
<chadmed>
lets go
<chadmed>
it's not going to magically cancel all noise (the mics themselves are extremely sensitive and omnidirectional) but getting a significant difference was the goal
<dylantaylor>
Full disclosure, I'm not an audio engineer or anything, but the result feels reasonable to my inexperienced ears.
<dylantaylor>
Would you like anything else tested while I'm on here, or is that sufficient to ship the mic support?
<chadmed>
dylantaylor: do you mind sending a recording? you can pm it to me if you want, i just want to make sure the gain and quality are sane
<dylantaylor>
A little embarrassing, I didn't know what to say exactly, but I tried to provide variance in distance from the computer at a reasonable input level while speaking. https://filebin.net/vj5olg5y27rhv75t
<dylantaylor>
Let me know if that's good
<chadmed>
perfect thanks :)
<dylantaylor>
Glad I could help :)
<dylantaylor>
I'm going to log off for now, if you need any more testing on this, you can reach me via my info on GitHub (see that PR). It's exciting to see this finally working though, and I hope that it can ship to users soon :)
dylantaylor has quit [Quit: Leaving]
allmazz has quit [Remote host closed the connection]
CME_ has joined #asahi-dev
john-cabaj has joined #asahi-dev
JayBeeFOSS has quit [Remote host closed the connection]
CME has quit [Ping timeout: 480 seconds]
JayBeeFOSS has joined #asahi-dev
john-cabaj has quit [Read error: Connection reset by peer]
john-cabaj has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
TheLink has quit [Quit: Bye!]
ipatch has quit [Quit: WeeChat 4.5.2]
ipatch has joined #asahi-dev
<nicolas17>
chadmed: where is the list of supported devices for mic?
<nicolas17>
ah it's based on the beamforming attribute?
TheLink has joined #asahi-dev
rrendec has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
mripard has quit [Quit: WeeChat 4.5.2]
chrisl has joined #asahi-dev
tbodt has quit []
tbodt has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
xdbob has joined #asahi-dev
pb17 has joined #asahi-dev
thunfisch is now known as Guest11890
thunfisch has joined #asahi-dev
Guest11890 has quit [Ping timeout: 480 seconds]
nela has quit [Quit: bye!]
nela has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
mischa85_ has quit [Quit: Lost terminal]
chrisl has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
zumi has joined #asahi-dev
linuxgemini has quit [Quit: Ping timeout (120 seconds)]
chrisl has joined #asahi-dev
linuxgemini has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
cyrinux9 has quit []
cyrinux9 has joined #asahi-dev
chrisl has joined #asahi-dev
nesnas has quit [Ping timeout: 480 seconds]
nesnas has joined #asahi-dev
nesnas has quit [Ping timeout: 480 seconds]
nesnas has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
tanty has quit [Quit: Ciao!]
ddp has joined #asahi-dev
pb17 has joined #asahi-dev
ddp has quit []
dcavalca85697 has quit []
yuyichao_ has joined #asahi-dev
dcavalca85697 has joined #asahi-dev
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-dev
chadmed has quit []
chadmed has joined #asahi-dev
halloy-user has joined #asahi-dev
halloy-user has quit []
Calandracas_ has quit [Remote host closed the connection]
Calandracas has joined #asahi-dev
Calandracas_ has joined #asahi-dev
Calandracas has quit [Remote host closed the connection]