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]: 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:39cy8aerThis patch is missing: https://github.com/AsahiLinux/linux/tree/speakers/enablement-READ-COMMIT-MESSAGE
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: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: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: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:50* dererkapologizes since was under a rock for too much time apparently and missed all this stuff
12:51cy8aerAnd it uses the Glanzmann mimikry with additional patches. The principle is that it uses the in kernel bindeb-pkg make.
12:52cy8aerhttps://git.g3la.de/repos/-/packages/debian/linux-image-asahi is the meta package of the repo with all dependencies...
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
13:04dererk has quit [Ping timeout: 480 seconds]
13:11dererk has joined #asahi-alt
13:12dererk@cy8aer, it was my fault, I didn't realize I had set the m1n1 and several gl packages on hold
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: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:22dererk@cy8aer, it's attempting to install stuff from today it seems, all mesa related, candidating to 24.0.0-202312301403
13:23cy8aerYes that works. The packaging mechanism uses the actual build date. Please install these - no harm
13:23cy8aerI rebuild all packages except the kernel. So I need a mechanism on my side to manage the packages for both trees.
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
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: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:41mpseven with https://github.com/AsahiLinux/linux/tree/speakers/enablement-READ-COMMIT-MESSAGE patches I can't get speakers to work on j316
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: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:55zzywysm_ has joined #asahi-alt
22:56ryec has joined #asahi-alt
22:57cy8aerpulseaudio is completely implemented with pipewire. That is transparent if you just use pipewire. Just ignore the layers
22:59mpsyesterday installed kde plasma on one of my chromebooks but after few hours removed it, I'm not satisfied with it
23:00zzywysm has quit [Ping timeout: 480 seconds]
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: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: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: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