2023-08-12
00:02hightower3 has joined #asahi-dev
00:06nepeat has quit [Ping timeout: 480 seconds]
00:09hightower2 has quit [Ping timeout: 480 seconds]
00:17nepeat has joined #asahi-dev
00:22chadmed has quit [Ping timeout: 480 seconds]
00:37chadmed has joined #asahi-dev
00:47crabbedhaloablut has quit []
00:52Z750 has quit [Quit: Ping timeout (120 seconds)]
00:53Z750 has joined #asahi-dev
01:20Emantor has quit [Quit: ZNC - http://znc.in]
01:20Emantor has joined #asahi-dev
02:00gabuscus has quit []
02:03i509vcb has joined #asahi-dev
02:30gabuscus has joined #asahi-dev
02:52jluthra has quit []
02:53jluthra has joined #asahi-dev
02:53pbsds has quit [Quit: The Lounge - https://thelounge.chat]
02:54pbsds has joined #asahi-dev
03:19dylanchapell has quit [Read error: Connection reset by peer]
03:43dylanchapell has joined #asahi-dev
03:44gabuscus_ has joined #asahi-dev
03:45gabuscus has quit [Read error: Connection reset by peer]
04:02chadmed has quit [Remote host closed the connection]
04:11chadmed has joined #asahi-dev
04:34ciara has quit [Read error: Connection reset by peer]
04:35ciara has joined #asahi-dev
05:26ciara has quit [Read error: No route to host]
05:27ciara has joined #asahi-dev
05:32bisko has joined #asahi-dev
05:48bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
05:51bisko has joined #asahi-dev
05:52bisko has quit []
05:59bisko has joined #asahi-dev
06:00chadmed has quit [Ping timeout: 480 seconds]
06:01chadmed has joined #asahi-dev
06:07bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
06:09bisko has joined #asahi-dev
06:11chadmed has quit [Ping timeout: 480 seconds]
06:20mkurz has joined #asahi-dev
06:23bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
06:34bisko has joined #asahi-dev
06:35bisko has quit []
06:39bisko has joined #asahi-dev
06:45bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
06:45bisko has joined #asahi-dev
06:50bisko has quit []
06:56cylm_ has joined #asahi-dev
07:04cy8aer has quit [Remote host closed the connection]
07:09ciara has quit [Ping timeout: 480 seconds]
07:22ciara has joined #asahi-dev
08:38bisko has joined #asahi-dev
08:50gabuscus_ has quit []
08:56gabuscus has joined #asahi-dev
08:58gabuscus has quit []
08:58gabuscus has joined #asahi-dev
09:11eiln has joined #asahi-dev
09:18crabbedhaloablut has joined #asahi-dev
09:24ChaosPrincess has quit [Quit: ChaosPrincess]
09:24zane has joined #asahi-dev
09:25ChaosPrincess has joined #asahi-dev
09:31zane has quit [Quit: WeeChat 4.0.2]
09:31jjanzic has quit [Ping timeout: 480 seconds]
09:32zane has joined #asahi-dev
09:58eilnChaosPrincess: what firmware version are you on? I'm looking at an old copy of 12.3 dt (ipsw currently downloading) and the segment-ranges property in the isp node seem to be missing
09:59bcrumb has joined #asahi-dev
10:00bcrumb has quit []
10:03ChaosPrincessare you looking at template adt or live?
10:03ChaosPrincessit is missing in template, its filled by iboot
10:06jjanzic has joined #asahi-dev
10:11eilnThe firmware & pagetable mapping (they call it ctrr/ctrr locked region) persists as long as ISP_SYS is kept on
10:31jacksonchen666 has joined #asahi-dev
10:45ciara has quit [Read error: Connection reset by peer]
10:46ciara has joined #asahi-dev
11:09jannauextracting just the firmware needed for the install device is a little inconvenient for my dev workflow
11:10chadmed has joined #asahi-dev
11:11jannaumy dev workfow boots the kernel via run_guest_kernel with initrd + firmware.cpio + cpio of the matching kernel modules
11:15chadmed has quit [Remote host closed the connection]
11:17chadmed has joined #asahi-dev
11:42jannauChaosPrincess: have you already tested the touchbar on top of 6.4? apple_z2 misses linux/of.h after the rebase (might be my tree)
11:44jannauthe idle timeout is broken with fedora's tiny-dfr-0.1.1 on my j493 with 6.4. did you test recently?
11:50ChaosPrincessjannau: 6.4 - not yet
11:50ChaosPrincessidle timeout - are you on m2?
11:51jannau/sys/class/backlight/228200000.display-pipe.0/brightness stays at 12 but I think it changed from bright to dimmed in the beginning
11:51ChaosPrincessalso it seems like whatever is currently in asahi-wip has broken dcp on j314
11:52ChaosPrincessjannau: do you have a systemd backlight service thing managing brightness
11:52jannauyes, m2 / j493. using the same tree (but rebased) I tested previously on the same machine
11:54jannauwhich dcp firmware? broken how? can you make sure you're using the matching dtb. there was an change in asahi-6.4-2 which is not backwards compatible
11:55ChaosPrincessw.r.t backlight - try doing whatever is the fedora equivalent of this string https://github.com/chadmed/asahi-overlay/blob/main/app-laptop/tiny-dfr/tiny-dfr-0.1.1.ebuild#L283
11:55ChaosPrincessdcp - sec, will grab logs
12:04jannauChaosPrincess: works for me on j314c (m1 max) with asahi-6.4-6 (asahi-wip has only dts change which shouldn't matter). using m1n1-1.3.2
12:06jannaucan you check the live devicetree if there's anything fishy with reserved-memory or linking of reserved memory in dcp
12:06ChaosPrincessthe fact that i cant even boot complicates that slightly :P
12:08jannauadd nomodeset to the kernel command line. that will skip dcp and hopefully avoids the NULL pointer deref
12:13jjanzic has quit [Ping timeout: 480 seconds]
12:16sefidel has quit [Remote host closed the connection]
12:16sefidel has joined #asahi-dev
12:21ChaosPrincessjust to check, what system fw version are you using
12:25ChaosPrincessshould be 12.3 dcp here
12:32jeisom has joined #asahi-dev
12:32mkurz has quit [Read error: Connection reset by peer]
12:40ChaosPrincessreverted went back to just regular asahi instead of wip, it works again
12:40ChaosPrincessweird
12:47jannauhave you seen https://github.com/AsahiLinux/linux/issues/169 ? pwm 0 is apparently not off
13:21ChaosPrincessjannau: not my bug, when i set brightness to lowest in kde, the driver is still requested to set duty cycle 313, period 40000
13:24ChaosPrincessyep, kde bug, i can turn the brightness off completely by writing 0 to the file in sysfs
13:28ChaosPrincessyea, thats what im checking it on
13:34zane has quit [Quit: WeeChat 4.0.2]
13:42i509vcb has quit [Quit: Connection closed for inactivity]
13:45CoolStar has quit [Read error: Connection reset by peer]
14:27ChaosPrincessjannau: so, https://github.com/AsahiLinux/linux/commit/17292e0c9d75e2adeb5a1b67901bd09ccb2ff9e7 seems to be the offending commit
14:33elvishjerricco has quit [Ping timeout: 480 seconds]
14:41jannauChaosPrincess: solved the systemd/udev backlight issue differently after marcan complained that we install a service unit with a hardware address in its name: https://github.com/WhatAmISupposedToPutHere/tiny-dfr/pull/6
14:46ChaosPrincessyea, thats probably a better idea
14:57marcaneiln: FWIW we should check on 13.5 firmware, which is what Fedora will ship with. supporting that is higher prio than 12.3/4 (though ideally we support both).
14:57ChaosPrincessi dont think it changed much from 12.3 to 13.2, so probably not much on 13.5
15:01bgb has joined #asahi-dev
15:05eilnthe issue is the initial firmware pte & locked region setup, which I thought was constant so I hardcoded
15:08ATiltedTree_ has joined #asahi-dev
15:09jannaueiln: you mean the coprocessor's segments? we need to handle that in m1n1 via reserved-memory as currently done for dcp
15:10jannauin https://github.com/AsahiLinux/m1n1/pull/286 the dcp support is refactored to be used by sio
15:11ATiltedTree has quit [Ping timeout: 480 seconds]
15:12jannauI think other coprocessors should be able to use that PR other coprocessors with little code changes in m1n1
15:13ATiltedTree_ is now known as ATiltedTree
15:44elvishjerricco has joined #asahi-dev
15:58bgb has quit [Quit: WeeChat 4.0.2]
16:04spuos has joined #asahi-dev
16:05i509vcb has joined #asahi-dev
16:12spuosSo what's the state of the speaker stuff? I'm tired of waiting and I would like to know if I could try my hand at porting the J313 myself. Worst case scenario I blow my speakers, I can live with that.
16:35eilnstage 2 fails after a pink screen, getting "The version of macOS on the selected disk needs to be reinstalled"
16:39ourdumbfuture has quit [Quit: Textual IRC Client: www.textualapp.com]
16:47ourdumbfuture has joined #asahi-dev
16:51ciara has quit [Read error: No route to host]
16:52ciara has joined #asahi-dev
17:00spuos has quit [Ping timeout: 480 seconds]
17:05ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
17:06ourdumbfuture has joined #asahi-dev
17:24lawq has joined #asahi-dev
17:32lawq has quit [Ping timeout: 480 seconds]
18:09CoolStar has joined #asahi-dev
18:29amarioguy has quit [Remote host closed the connection]
18:34ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
18:44amarioguy has joined #asahi-dev
18:52roxfan has joined #asahi-dev
18:58ciara has quit [Read error: No route to host]
18:59ciara has joined #asahi-dev
19:09eiln has quit [Quit: WeeChat 4.0.2]
19:52novafacing992 has joined #asahi-dev
19:55ourdumbfuture has joined #asahi-dev
19:59novafacing99 has quit [Ping timeout: 480 seconds]
19:59novafacing992 is now known as novafacing99
20:31jeisom has quit [Ping timeout: 480 seconds]
20:35roxfan has quit [Read error: Connection reset by peer]
20:41spuos has joined #asahi-dev
20:46eiln has joined #asahi-dev
20:49eilnmarcan: both 12.3 & 13.5 work. locked heap size changes between versions though (not in dt). 13.5 gets some new filters & sensor configs, that's about it
20:52eiln has quit [Quit: WeeChat 4.0.2]
20:58bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
20:58ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
21:04ciara has quit [Read error: No route to host]
21:05ciara has joined #asahi-dev
21:12ourdumbfuture has joined #asahi-dev
21:18crabbedhaloablut has quit []
21:29jtolio has quit [Quit: Connection closed for inactivity]
21:41ChaosPrincessis j313 even a thing that exists? they probably meant the 314
21:42ChaosPrincessoh, right, i see it
21:50chadmedspuos: just a forewarning, you cant just copy the IRs from j314 and call them j313 and call it a day
21:54chadmedi wouldnt be surprised if apple use the same parts in the machines but the airs arent dual-opposed afaik so will require at the very minimum customisation to the existing ones
21:58skipwich has quit [Read error: Connection reset by peer]
22:02spuosI suppose that makes things a lot easier to work with, I was kind of excited for a bit of a project. I could definitely work on tuning it, though.
22:03skipwich has joined #asahi-dev
22:37mini0n has joined #asahi-dev
22:37chadmedhave a look at https://github.com/chadmed/asahi-audio/blob/main/test_notes/j31x.md for some ideas
22:37ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:38chadmedyoud then need a piece of software capable of taking in filter data and spit out an IR. ive been using REW
22:41chadmedthen apply whatever compression/bass enhancement you feel necessary to complete the picture
22:42chadmedand im not sure if the air has tweeters to counteract that, ik the 13" pros just have two sets of woofers
22:46ourdumbfuture has joined #asahi-dev
22:59zalyx06 has joined #asahi-dev
23:00zalyx0 has quit [Read error: Connection reset by peer]
23:00zalyx06 is now known as zalyx0
23:11ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:13ourdumbfuture has joined #asahi-dev
23:35jeisom has joined #asahi-dev
23:38ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:39jeisom has quit []
23:42jeisom has joined #asahi-dev
23:43spuoschadmed, I'd be lying if I said I know much about wireplumber configuration, but I can figure it out. I have all the necessary tools, and can get started with testing tomorrow :)
23:43chadmedhave a look at the asahi-audio repo, its got basically everything you need under j314 :)
23:44chadmedwe've put a lot of effort into getting the plumbing right over the last.. holy shit two years?
23:48cylm_ has quit [Ping timeout: 480 seconds]
23:52spuosjust one question, how do I actually enable the speakers? I've never messed with a devicetree in my life.
23:54chadmedi dont want to be too specific, but in the device tree source file for your model one of the device statuses will be set to disabled. you need to set it to okay
23:58ellyq has joined #asahi-dev