2022-03-07
00:44chadmed has quit [Quit: Konversation terminated!]
00:54amarioguy has quit [Remote host closed the connection]
00:55chengsun has quit [Quit: Quit]
00:55chengsun has joined #asahi-dev
00:58TheLink has quit [Quit: ZNC 1.8.2 - https://znc.in]
00:58TheLink has joined #asahi-dev
01:10dlssscr^ has joined #asahi-dev
02:11vbob[m] has joined #asahi-dev
02:52chadmed has joined #asahi-dev
03:10user982492 has joined #asahi-dev
03:29phiologe has joined #asahi-dev
03:31PhilippvK has quit [Ping timeout: 480 seconds]
03:33kov has quit [Quit: Coyote finally caught me]
03:33kov has joined #asahi-dev
05:44gladiac has joined #asahi-dev
05:51gladiac is now known as Guest1510
05:51gladiac has joined #asahi-dev
05:57Guest1510 has quit [Ping timeout: 480 seconds]
06:11bpye has quit [Ping timeout: 480 seconds]
06:30bpye has joined #asahi-dev
06:40nfranco[m] has joined #asahi-dev
07:34the_lanetly_052 has joined #asahi-dev
07:36joske has joined #asahi-dev
08:07user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:23mazj`ey: there is something in the spec for link-up, but this is not necessarily the right value for the HW at hand. once we have the SMC driver up and running independently of the rest of the stack, I'll have a look at just handling hotplug events without ever waiting for anything.
08:24j`eycool. also someone ran into a case where the link came up.. but didnt do much else https://github.com/AsahiLinux/linux/issues/18
08:29MajorBiscuit has joined #asahi-dev
08:32mazthey could try and make the timeout longer, but thatt's just papering over the core problem.
08:35mazalso, there is zero indication of how this kernel was build the first place, with what configuration and what source code...
08:51kamila has joined #asahi-dev
09:22the_lanetly_052 has quit [Ping timeout: 480 seconds]
09:48svendoes anyone have a t8103 and a dumb displayport cable? my dp->hdmi adapter apparently also shows up as a usb device but i'd like to see XNU's serial output when just a display port connection is established and these bootargs are present: https://f.svpe.de/877e608ff9591ec7cd32455634816d18b927189f8bf8571230295e2b6a16e4fd_usb-debugargs.txt
09:59joske has quit [Quit: Leaving]
10:07tanty has quit [Remote host closed the connection]
10:09tanty has joined #asahi-dev
10:14kamila has quit [Ping timeout: 480 seconds]
10:26chengsun_ has joined #asahi-dev
10:31akemin_dayo has joined #asahi-dev
10:32chengsun has quit [Ping timeout: 480 seconds]
10:34svenhrm, maybe they just don't exist and for some reason need a usb interface? i wonder why though
11:03_jannau_sven: I have one which which doesn't show up as usb device but iirc it was the one which does not work with m1/macos. I'll check tonight
11:27tanty has quit []
11:28MajorBiscuit has quit [Ping timeout: 480 seconds]
11:28tanty has joined #asahi-dev
11:32tanty has quit []
11:34tanty has joined #asahi-dev
11:39the_lanetly_052 has joined #asahi-dev
11:57akemin_dayo has quit [Ping timeout: 480 seconds]
12:13alyssa has quit [Quit: leaving]
13:30j`eybillboard device is what I got in macOS when I plugged in my USB C monitor directly to my mac
13:41poviki hacked together a trivial driver: https://github.com/povik/linux/commit/6e36354e8aaf00be1e03e2c27e19c0aed90478b5
14:09Shiz has quit [Ping timeout: 480 seconds]
14:09svenalso lol, i just realized why apple split their tunables into so many properties: they are all based on a different entry in the regs array
14:11povik has quit [Remote host closed the connection]
14:13sveni'll only get to try again this evening. that idea just came to my mind and i quickly confirmed it by looking at a stored XNU log I had around :D
14:13povik has joined #asahi-dev
14:16the_lanetly_052__ has joined #asahi-dev
14:20Shiz has joined #asahi-dev
14:22the_lanetly_052 has quit [Ping timeout: 480 seconds]
14:24Dcow[m]1povik: great news! what do you mean by "baseline variant of left/right only" ? only two speakers of array are working or what?
14:32akemin_dayo has joined #asahi-dev
14:32marcanpovik: if you think it's good enough I could sneak it into the first release, plus the m1n1 change
14:33marcanalso, even if the kernel part isn't ready, if the DT bits are and I add the m1n1 thing we can ship that and then people just have to upgrade their kernel package to get it later
14:44povikweird thing is on t6000 the reg[2] has 6 clusters worth of clocks, but it only has 4 clusters
14:48marcandoes it make sense to have all the settings for t8103 too? and I guess the 6th doesn't make sense since we don't have a dedicated NCO for it?
15:04kettenisnote that adding clocks further up the hierarchy is hard/impossible to do without breaking backward compatibility in the DT
15:04marcanthe problem is we don't really know anything about the clock tree until apple uses it anyway
15:05marcanbut I'd say if we end up needing to do this "properly", it'll be in a new machine anyway, at which point we just need a minimum kernel for that one to get audio (which, shrug)
15:11ketteniswe may need to restore these when resuming, but I guess we already anticipate m1n1 being in the loop there
15:12povikmarcan: i had to set the NCO's input clock (in DT) to be half of what's in clock_frequencies in ADT
15:18svenhttps://f.svpe.de/78654b5e27f615929065f192a8f7938679a6e716d174f11ec34e588bd2078c21_atcphy-regs.txt atcphy regs + the names i know. note how most of these entries are just 0x4000 apart *sigh*
15:32amw has quit [Ping timeout: 480 seconds]
15:33marcanthere's one way of figuring out if the divider is before or after the NCO; deliberately making the fractional counter take a while to converge and measuring how long it takes
15:39marcanif it's the same clock then it's possible somewhere higher up in the clock tree there's just an inaccurately specified clock
15:40dlssscr^ has quit [Remote host closed the connection]
15:43poviki would bet my money on inaccurately specified clock then, as the error was similar for both of us
16:41MajorBiscuit has joined #asahi-dev
17:43eragon has quit [Quit: WeeChat 3.4]
17:48eragon has joined #asahi-dev
17:49MajorBiscuit has quit [Ping timeout: 480 seconds]
18:48joske has joined #asahi-dev
18:49joskepovik: I just built your branch and with the DT and m1n1 changes, I now have working speakers on MBA!!
19:07Glanzmann has quit [Quit: leaving]
19:07yuyichao has quit [Ping timeout: 480 seconds]
19:09the_lanetly_052__ has quit [Ping timeout: 480 seconds]
19:16yuyichao has joined #asahi-dev
19:17povikjoske: no, but it is best to make sure first that the code is even worth letting people test
19:17joskedon't worry, I won't complain if it doesn't work/breaks/whatever, but I will cheer if it does :-)
19:19povikhttps://github.com/povik/linux/blob/5203a40345b726e97e2e8d53fa2654c0e8dd512a/arch/arm64/boot/dts/apple/t8103-j293.dts#L77
19:20joske has quit [Quit: Leaving]
19:22joske has joined #asahi-dev
19:31the_lanetly_052__ has joined #asahi-dev
19:33povikkettenis: maybe we should have a textual descriptions for speaker position, and let sound-name-prefix fallback to that?
19:34joske has quit [Ping timeout: 480 seconds]
19:43the_lanetly_052__ has quit [Ping timeout: 480 seconds]
19:56joske has joined #asahi-dev
20:09gladiac has quit [Quit: k thx bye]
20:10Glanzmann has joined #asahi-dev
20:34user982492 has joined #asahi-dev
20:50kettenisit seems that sound-name-prefix is only used to provide names for userland, but doesn't actually encode the topology
20:55ketteniswhat I would like to do in OpenBSD is have a single stereo sample stream and be able for the amplifier codecs to pick the right channel out of that stream
21:01roxfan has quit [Remote host closed the connection]
21:03roxfan has joined #asahi-dev
21:11roxfan has quit [Remote host closed the connection]
21:13roxfan has joined #asahi-dev
21:30kettenis"label" is a generic device tree property to label a device and is often used to express the function of that device
21:31kettenisbut I guess this all highly depends on the views/preferences of the linux sound system maintainers
21:45joske has quit [Read error: Connection reset by peer]
22:26user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:09user982492 has joined #asahi-dev
23:15yuyichao has quit [Ping timeout: 480 seconds]
23:15boardwalk has quit [Quit: Ping timeout (120 seconds)]
23:16boardwalk has joined #asahi-dev
23:26pFalken has quit [Quit: WeeChat 3.0]
23:31yuyichao has joined #asahi-dev
23:48user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:57King_InuYasha has quit [Read error: Connection reset by peer]