#
…

2023-12-30

00:04zumi_ has joined #asahi-alt
00:04zumi has quit [Remote host closed the connection]
00:09zumi_ is now known as zumi
00:14pthariensflame has joined #asahi-alt
00:14pthariensflame has quit []
00:15ryec has joined #asahi-alt
00:18DannyB has quit [Read error: No route to host]
00:20possiblemeatball has quit [Quit: Quit]
00:32jeisom has quit [Ping timeout: 480 seconds]
00:33ryec has quit [Ping timeout: 480 seconds]
00:51DannyB has joined #asahi-alt
01:17possiblemeatball has joined #asahi-alt
01:22ryec has joined #asahi-alt
01:30kidplayer666 has quit [Quit: Connection closed for inactivity]
01:36ryec has quit [Ping timeout: 480 seconds]
01:43ryec has joined #asahi-alt
01:59ryec has quit [Remote host closed the connection]
02:04ryec has joined #asahi-alt
02:23jeisom has joined #asahi-alt
02:28ryec has quit [Ping timeout: 480 seconds]
03:37ryec has joined #asahi-alt
03:45jeisom has quit [Ping timeout: 480 seconds]
03:47ryec has quit [Ping timeout: 480 seconds]
03:48ryec has joined #asahi-alt
04:04ryec has quit [Remote host closed the connection]
04:16JayBeeFOSS has quit [Remote host closed the connection]
04:17JayBeeFOSS has joined #asahi-alt
04:50possiblemeatball has quit [Quit: Quit]
06:00ryec has joined #asahi-alt
06:04zumi_ has joined #asahi-alt
06:04zumi has quit [Remote host closed the connection]
06:08ryec has quit [Ping timeout: 480 seconds]
06:08zumi_ is now known as zumi
08:21kidplayer666 has joined #asahi-alt
08:55billak has joined #asahi-alt
09:06dylanchapell has quit [Read error: Connection reset by peer]
09:11dylanchapell has joined #asahi-alt
09:56billak has quit [Quit: Konversation terminated!]
12:05zumi_ has joined #asahi-alt
12:05zumi has quit [Remote host closed the connection]
12:10zumi_ is now known as zumi
12:23dererk has joined #asahi-alt
12:25dererkHi there! Do you know about any guides or script or something to make speakers work with Debian systems? I'm running m1 pro and I have the system perfectly running (except speakers of course :P) following this guide https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian
12:31tobhe has joined #asahi-alt
12:33jeisom has joined #asahi-alt
12:34dererk has quit [Remote host closed the connection]
12:34dererk has joined #asahi-alt
12:35dererkI'm getting this error when attempting to start speaker: Dec 30 09:33:39 asahi speakersafetyd[9395]: INFO [speakersafetyd] Found 6 speakers
12:35dererkDec 30 09:33:39 asahi speakersafetyd[9395]: INFO [speakersafetyd] Opening control device
12:35dererkDec 30 09:33:39 asahi speakersafetyd[9395]: ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for AppleJ316
12:35dererkDec 30 09:33:39 asahi speakersafetyd[9395]: thread 'main' panicked at 'hw:AppleJ316: Could not open sound card! Error: ALSA function 'snd_ctl_open' failed with error 'ENODEV: No such device'', src/helpers.rs:12:13
12:35dererkDec 30 09:33:39 asahi speakersafetyd[9395]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
12:36tobhe_ has quit [Ping timeout: 480 seconds]
12:38cy8aerThe speaker support is not patched into the kernel. In addition: Do you run Debian/testing? If not (stable) you do not want to patch the kernel because lsp-plugins-lv2 has a bug which may destroy your speakers.
12:39dererkI'm running unstable/testing, yes "Linux asahi 6.4.0-asahi-00571-gda70cd78bc50 #2 SMP Wed Aug 30 07:22:14 CEST 2023 aarch64 GNU/Linux"
12:40chadmed that kernel is REALLY old
12:40chadmedwhoever's maintaining that needs to update it
12:40dererkI see a linux-image-6.5.0-asahi-00780-g62806c2c6f29 pending, let's give it a try
12:41j`eythats also old by now
12:41j`eyshould be 6.6
12:41j`eythe page you linked is 6.6
12:42cy8aerI'm really in two minds about this. I have the solution, but not the capacity to take responsibility for it. Without any warranty and any help: v
12:42dererk has quit [Read error: No route to host]
12:42j`eycy8aer: are you thomas?
12:42j`eythomas r that is
12:45dererk has joined #asahi-alt
12:46dererkso just to see If I'm missing something *else*, I'm not at 6.5.0-asahi-00780-g62806c2c6f29, this kernel would still need extra stuff to get speakersafetyd to work properly, is that correct?
12:46chadmedspeakers are only supported with kernel tag asahi-6.6-12 or above with the linked enablement patches on top
12:47dererkoookey... now we are getting somewhere :D
12:47cy8aer... and my solution hast a 6.6-14 with the patches
12:48cy8aerBut with the kernel you need my m1n1 package (for the dp-trees!), and then you will have all other dependencies (like mesa) from my repo if you use my repo. And: no support.
12:49dererkjust by chance, is anyone aware of a debian/debian-compatible kernel built for that version? It seems the kind person that is taking care of the Debian ones is lagging behind a bit understandably
12:49dererkcy8aer, what's your repo?
12:50* dererkapologizes since was under a rock for too much time apparently and missed all this stuff
12:50dererkThanks!
12:51cy8aerAnd it uses the Glanzmann mimikry with additional patches. The principle is that it uses the in kernel bindeb-pkg make.
12:51j`eymimikry?
12:52cy8aerprobably crazy translated: the principle how it works
12:52cy8aerhttps://git.g3la.de/repos/-/packages/debian/linux-image-asahi is the meta package of the repo with all dependencies...
12:52cy8aerThat is the stuff on my j314.
12:54cy8aerhm, I think I will build "testing" packages as well...
12:55* dererkis using unstable anyway lol
12:55j`eyohh it's a german word (mimicry in english)
12:55dererkokey, time to give it a try
12:55cy8aerk-c sorry
12:55dererkthanks in advance, if I don't come back pray for me [!?]
12:56* dererkrebooting into 6.6 kernel, cy8aer powered
12:57cy8aerdererk: If you are on firmware 13.5 (for hdmi): please add apple_dcp and mux_apple_display_crossbar added to /etc/initramfs-tools/modules. Otherwise you may get problems with dp-ext
12:57cy8aer(oups - hopefully he is on 12.3 and still read it)
13:03* cy8aerbegins to pray
13:04dererk has quit [Ping timeout: 480 seconds]
13:10cy8aerThat is why I don't want to really maintain it...
13:11dererk has joined #asahi-alt
13:11dererkOH BOY OH BOY! ohhh lorrrdy looordddyyy lord of the bits... I believe nowwwwww \o/
13:11cy8aerthat were horribe 10 minutes.
13:11dererkI got the speakers working, I'm about to start crying :')
13:11cy8aerhorrlible
13:12cy8aerOk. I will create a testing tree now...
13:12dererk@cy8aer, it was my fault, I didn't realize I had set the m1n1 and several gl packages on hold
13:12dererkcy8aer, thank you so much! j`ey \o/
13:12j`eyawesome
13:12dererkI'm literarly into tears now :')
13:13dererkits beautifullll mannnn it's soooo beautiful! <3
13:13dererkThanks a lot!
13:13cy8aeryou should be on the state of fedora now
13:13chadmedj316 might be a bit boomy sounding... we're working on it :p
13:14cy8aerchadmed: and j314 is great
13:14dererkchadmed, you joking... this is crazy good in comparison to having to use an external bluetooth speaker
13:15cy8aerYes but it is measured for j314, it may be really better if there are special eqs for j316...
13:15dererkgreat to know, I'll be right there for testing <3
13:17chadmedm arc an did j316 but i think he mightve overdid it a bit on the bass because we've had some reports that the convolver becomes saturated at high volume
13:17cy8aerI have a testing branch now too, it would be save to switch to testing because my unstable will be really unstable sometime. (just change from unstable to testing in /etc/apt/sources.list.d/gitea.list
13:17cy8aerThere are the same packages in it...
13:17dererkgot it!
13:18cy8aeran apt upgrade should not install new packages, please check this up!
13:19cy8aer(just to be on the safe side)
13:22dererk@cy8aer, it's attempting to install stuff from today it seems, all mesa related, candidating to 24.0.0-202312301403
13:22dererkshould I ?
13:23cy8aerYes that works. The packaging mechanism uses the actual build date. Please install these - no harm
13:23cy8aerI just see it here too.
13:23cy8aerI rebuild all packages except the kernel. So I need a mechanism on my side to manage the packages for both trees.
13:28cy8aers/rebuild/rebuilt/g
13:30mpschadmed: > 13:47 ......... chadmed| speakers are only supported with kernel tag asahi-6.6-12 or above with the linked enablement patches on top -- where is link, I'm blind maybe
13:32mpsthanks both
14:09dererk has quit [Ping timeout: 480 seconds]
15:28possiblemeatball has joined #asahi-alt
16:58ryec has joined #asahi-alt
17:16possiblemeatball has quit [Quit: Quit]
17:44ryec has quit [Ping timeout: 480 seconds]
18:00ryec has joined #asahi-alt
18:06zumi_ has joined #asahi-alt
18:06zumi has quit [Remote host closed the connection]
18:11zumi_ is now known as zumi
18:23possiblemeatball has joined #asahi-alt
18:31jacksonchen666 has joined #asahi-alt
18:50kidplayer666 has quit [Quit: Connection closed for inactivity]
20:26kidplayer666 has joined #asahi-alt
20:29ashi has joined #asahi-alt
20:33ashicy8aer: your packages also work with bookworm(stable), however wireplumber needs to be installed from bookworm-backports (0.4.17) else it wort understand the lua policy file. Maybe you could update the deb dependency to require >=0.4.17 for people who try that on bookworm
21:18ryec has quit [Ping timeout: 480 seconds]
21:23ryec has joined #asahi-alt
21:32ryec has quit [Ping timeout: 480 seconds]
21:40ryec has joined #asahi-alt
21:45cy8aerashi: be aware: you are not safe with lsp-plugins-lv2 < 1.2.14-1 (https://github.com/lsp-plugins/lsp-dsp-lib/pull/20#issuecomment-1855303375). 1.2.14 is testing/unstable. That is why I say: use testing.
21:53ryec has quit [Ping timeout: 480 seconds]
21:55cy8aerAnd (sorry) new version of asahi-audio which now needs lsp-plugins-lv2 >= 1.2.14-1. That is why I said "no warranty".
21:55ryec has joined #asahi-alt
21:59cy8aerJust to understand why I do this: As marcan told sometime it would not be good if speakers are damaged because of the usage of (asahi) linux: if a significant number of people burn their speakers with Linux and then show up to Apple (care) service with them, it can get pretty messy.
22:00ashi has quit [Remote host closed the connection]
22:00ashi has joined #asahi-alt
22:01cy8aerBookworm version of lsp-plugins-lv2 is 1.2.5-1 and there is no backports version!
22:04ryec has quit [Ping timeout: 480 seconds]
22:14ashi has quit [Ping timeout: 480 seconds]
22:14ryec has joined #asahi-alt
22:29ryec has quit [Ping timeout: 480 seconds]
22:37ryec has joined #asahi-alt
22:42mpswith plain alsa, no pipewire and other layers
22:43j`eywhat about speakersafetyd?
22:43mpsyes, with latest speakersafetyd, forgot to mention
22:44mpsand latest alsa-ucm-conf-asahi
22:45mpscy8aer: are you sure it is needed for alsa
22:46cy8aerthat is the way it works for me - complete with bass enhancing and eq. As I understand it is designed for the whole pipeline
22:46kidplayer666 has quit [Quit: Connection closed for inactivity]
22:46mpsIIUC asahi-audio is for better sound quality but not essential
22:46tpw_rulesthe non-good sound quality is pretty bad
22:46tpw_ruleson j316 it sort of hurt my head
22:47mpstpw_rules: acceptable for my use case
22:47leioworse than any non-apple laptop? :D
22:47tpw_rulesthey just sound lame rather than possibly physically painful
22:48mpsI mostly use headphones
22:49mpsmaybe I will add asahi-audio to alpine linux in next few days just to check it
22:52ryec has quit [Ping timeout: 480 seconds]
22:53cy8aermps: when I look at a pipewire routing tool (here qjack-ctl) I can see that alsa has 6 sinks (it is devided to the chassis). And then there is a module before this which does the audio stuff (eq and bass) stereo to the 6 ports. So there may not be one stereo sink on the alsa side.
22:54mpscy8aer: thanks for explanation but I'm not 'music man' and don't have experience with such things
22:55cy8aermps: it is rudimentary at this point for me too.
22:55zzywysm_ has joined #asahi-alt
22:55mpsone of the reasons for switch from debian to alpine was pulseadio
22:56ryec has joined #asahi-alt
22:56mpsI don't like these (useless IMO) layers
22:57cy8aerpulseaudio is completely implemented with pipewire. That is transparent if you just use pipewire. Just ignore the layers
22:58mpsinstalled and tried pipewire but couldn't get it working
22:58mpssimply I don't understand these things
22:59svenmaybe don’t call thing you don’t understand useless then
22:59sven*things
22:59mpsyesterday installed kde plasma on one of my chromebooks but after few hours removed it, I'm not satisfied with it
23:00mpssven: I wrote 'IMO'
23:00svendoesn’t change my point
23:00zzywysm has quit [Ping timeout: 480 seconds]
23:00mpsok, maybe then 'useless for me'
23:00cy8aerOk, for only output to speakers or phones it looks useless, but with ardour, and more than one audio interface connected...
23:02mpsbut I wrote all this is not important for me, I mostly use headphones which works quite fine
23:08mpsj`ey: thanks, opened it in browser and will read tomorrow, maybe it could help me to understand it
23:10j`eyit seems quite 'dense' not really a guide as such..
23:11mpsthinking to install plasma desktop on external disk to test all these things
23:12svenone reason you need something that does dsp-like stuff is that you have six separate speakers where some are woofers (to play lower frequencies) and others are tweezers (for higher frequencies). On a normal stereo setup you just have two lines and if the speakers are also split into woofer/tweeter they will have a hardware crossover
23:12mpsit should work out-of-the-box I think
23:12svenApple hardware doesn’t have that hardware crossover but does that in software instead
23:12sven*tweeters not tweezers ofx
23:13mpssven: understand, but feel it as complicated to me
23:13j`eyhehe tweezers
23:14j`eyit *is* complicated, these are complex machines!
23:14svennormal speakers just have a crossover in hardware that’s hidden from you. that thing splits low vs. high frequencies
23:15svenadditionally these speakers probably aren’t tuned to have a linear (or otherwise enjoyable) frequency response. that also has to be fixed in software
23:15chadmedthey sound like total ass but youre talking to a brick wall
23:15svenand then they are also too small to properly create bass so which can be fixed with some dsp to trick our brains
23:16mpsI see, but I expected apple did all these things in separate CPUs for speakears/audio. Obviusly I'm wrong
23:16kidplayer666 has joined #asahi-alt
23:16chadmedi even already said you can install an asound.conf that will expose pipewire as the default sink to the alsa api
23:17chadmedlike your workflow does not need to change at all
23:17svennope, it’s all done in software on the main CPU (quite unlike all the other things they do in firmware)
23:18mpssven: now I see
23:18mpsthank you all for explanation
23:18svensure :)
23:19mpslooks like tomorrow will be interesting New Year Eve for me :)
…