Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

audio PKGBUILDs #40

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open

audio PKGBUILDs #40

wants to merge 25 commits into from

Conversation

joske
Copy link

@joske joske commented Nov 22, 2023

Hi,

I've created PKGBUILDs for the audio stuff. Please advise if you want some things changed.

Would still need a more recent kernel (and m1n1) to use these though: #41

With both PRs, audio (and everything else I was able to test) is working fine on my j313.

Signed-off-by: Jos Dehaes <[email protected]>
Copy link
Member

@jannau jannau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In addition to a newer kernel it required a wireplumber release for hiding the speakers. Wireplumber 0.4.16 was released yesterday and is available so not a blocker anymore.

asahi-audio/PKGBUILD Outdated Show resolved Hide resolved
Signed-off-by: Jos Dehaes <[email protected]>
@joske
Copy link
Author

joske commented Nov 23, 2023

Thx, updated.

Signed-off-by: Jos Dehaes <[email protected]>
@liberodark
Copy link

Hi,

Can you accept this packages ? @marcan
If this work is ok.

Best Regards

Signed-off-by: Jos Dehaes <[email protected]>
Signed-off-by: Jos Dehaes <[email protected]>
Signed-off-by: Jos Dehaes <[email protected]>
Signed-off-by: Jos Dehaes <[email protected]>
@seeschloss
Copy link

I've been running this for about two weeks now, it seems to work fine for me at least.

@joske
Copy link
Author

joske commented Dec 18, 2023

@seeschloss What device are you running on? Are you using my kernel PKGBUILD too?

@seeschloss
Copy link

I'm running this on j314 with your kernel PKGBUILD as well. I was already using audio before (with patching of the device tree) so it's not night and day, I just wanted to comment that it works.

@joske
Copy link
Author

joske commented Dec 18, 2023

Thx, I just wanted to check which device, so it doesn't only work on my system 😁. I'd say the difference with DSP and without is quite huge 😄.

Signed-off-by: Jos Dehaes <[email protected]>
@liberodark
Copy link

@joske Sound is working on your side ?
Im on Macbook Air M2 all update have been made but have no sound but normally is compatible.

@joske
Copy link
Author

joske commented Jan 24, 2024

Yes sound is working. Try restarting pipewire etc: systemctl --user restart pipewire-pulse wireplumber pipewire

@liberodark
Copy link

liberodark commented Jan 24, 2024

Yes have reboot and check speakersafetyd.service is fail

Also have try to run manually this.
https://paste.yunohost.org/yazoqajebo.sql

Also have check status of services :
https://paste.yunohost.org/umateyohup.pas
https://paste.yunohost.org/oqalajevis.sql
https://paste.yunohost.org/upuzadiwat.go

@joske
Copy link
Author

joske commented Jan 24, 2024

m1n1 is up to date too? No idea directly, my friend has an M2 MBA, and for him it works (but he's on fedora asahi).

Signed-off-by: Jos Dehaes <[email protected]>
@mkurz
Copy link

mkurz commented Apr 30, 2024

joske added 2 commits May 13, 2024 13:17
Signed-off-by: Jos Dehaes <[email protected]>
Signed-off-by: Jos Dehaes <[email protected]>
@mkurz
Copy link

mkurz commented May 13, 2024

Signed-off-by: Jos Dehaes <[email protected]>
@mkurz
Copy link

mkurz commented May 14, 2024

@joske What to choose?

==> Installing missing dependencies...
resolving dependencies...
:: There are 10 providers available for lv2-host:
:: Repository extra
   1) ardour  2) audacity  3) carla  4) ecasound  5) element  6) guitarix  7) jalv  8) muse  9) qtractor  10) reaper

Enter a number (default=1): 

@mkurz
Copy link

mkurz commented May 14, 2024

@joske plz 😉 I don't want to make a mistake at this stage... kernel and mesa alreaddy work like a charm 🥳
Thanks!

@mkurz
Copy link

mkurz commented May 14, 2024

Asking in the #asahi channel:

[11:09] <mkurz> Hi, still using Asahi ALARM, using joske's PKGBUILD, trying to install asahi-audio, which `lv2-host` to  use?
[11:09] <mkurz>  1) ardour  2) audacity  3) carla  4) ecasound  5) element  6) guitarix  7) jalv  8) muse  9) qtractor  10) reaper
[11:09] <mkurz> Thanks!
[11:14] <chadmed> mkurz: it doesnt matter, you dont need any of them so pick whichever
[11:15] <chadmed> pipewire is the lv2 host for asahi-audio
[11:17] <mkurz> chadmed: Thanks, I will choose the default then (ardour)

@joske
Copy link
Author

joske commented May 14, 2024

sorry did not see this until now, but I wouldn't have known the answer anyway 😁

@mkurz
Copy link

mkurz commented May 14, 2024

@joske I opened two pull requests against your repo, please pull in my commits (can also be cherry-picked or whatever).

@joske
Copy link
Author

joske commented May 14, 2024

@mkurz Thx, but I just merged them without thinking, and now CI is mad as your commits don't have signed-off-by. I'll just revert, and apply these changes manually if that's ok for you.

@mkurz
Copy link

mkurz commented May 14, 2024

Yes sure

@mkurz
Copy link

mkurz commented May 15, 2024

The speakers do not work out of the box. (I am wondering @joske why speakers work for you...)
The kernel is missing two patches to enable speakers, the fedora asahi remix does apply these patches but we do not.
I provide a pull request with the patches here:

@liberodark With my pull request merged I am pretty sure your speakers should work after re-build the kernel then.

@mkurz mkurz mentioned this pull request May 15, 2024
@mkurz
Copy link

mkurz commented May 15, 2024

@liberodark If you rebuild the kernel from #41 speakers should work now.

@mkurz
Copy link

mkurz commented May 15, 2024

For the sake of completeness:
With the updated/freshly installed alsa-ucm-conf-asahi, asahi-audio, bankstown, speakersafetyd (and eventually asahi-desktop-meta) packages from this pull request, together with the updated kernel packages (uboot-asahi, m1n1, linux-asahi) from #41, the speakers on my MacBook Pro (14-inch, M1 Pro, 2021) (J314sAP) work like a charm.

Thank you so much @joske!

@mkurz
Copy link

mkurz commented May 17, 2024

Currently the audio stack is draining way too much battery because we do not have uclamp enabled in the kernel, see

@gierens
Copy link

gierens commented May 30, 2024

With the updated/freshly installed alsa-ucm-conf-asahi, asahi-audio, bankstown, speakersafetyd (and eventually asahi-desktop-meta) packages from this pull request, together with the updated kernel packages (uboot-asahi, m1n1, linux-asahi)

I think this list is missing mesa from @joske's mesa branch as the updated linux-asahi depends on that new version.

@gierens
Copy link

gierens commented May 30, 2024

Can confirm sound working on a MacBook M2 Pro (14-inch, 2023, J414) 🥳 ... Thanks @joske 🙏

@mkurz

This comment was marked as resolved.

joske and others added 4 commits August 1, 2024 16:08
Signed-off-by: Matthias Kurz <[email protected]>
Signed-off-by: Matthias Kurz <[email protected]>
Bump asahi-audio to v2.3 / speakersafetyd to 1.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants