#
#asahi-dev · 2023-08-12 16:12
spuosSo 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.
#asahi-dev · 2023-08-12 15:21
eilntwice
#asahi-dev · 2023-08-12 15:21
eilnfor ISP it's u64 phys, u64 iova, u64 unk, u32 size, u32 pad
#asahi-dev · 2023-08-12 15:21
jannausigh, why apple?
#asahi-dev · 2023-08-12 15:20
eilnjannau: the segment ranges struct is different
#asahi-dev · 2023-08-12 15:12
jannauI'll review the code and see if I can get it merged
#asahi-dev · 2023-08-12 15:12
jannauI think other coprocessors should be able to use that PR other coprocessors with little code changes in m1n1
#asahi-dev · 2023-08-12 15:10
eilnthank you
#asahi-dev · 2023-08-12 15:10
jannauin https://github.com/AsahiLinux/m1n1/pull/286 the dcp support is refactored to be used by sio
#asahi-dev · 2023-08-12 15:10
eilnjannau: that and a private heap. I'm referencing dcp.c rn
#asahi-dev · 2023-08-12 15:09
jannaueiln: you mean the coprocessor's segments? we need to handle that in m1n1 via reserved-memory as currently done for dcp
#asahi-dev · 2023-08-12 15:07
bgbmaz: I just assembled and tested your Central Scrutinizer, it works very well, thanks :-)
#asahi-dev · 2023-08-12 15:05
eilnthe issue is the initial firmware pte & locked region setup, which I thought was constant so I hardcoded
#asahi-dev · 2023-08-12 15:03
eilnfuck do I have to install ventura
#asahi-dev · 2023-08-12 14:59
marcananything in between we don't care about (except 12.4 on M2)
#asahi-dev · 2023-08-12 14:58
marcan(latest version right now)
#asahi-dev · 2023-08-12 14:58
marcan13.5 is the target
#asahi-dev · 2023-08-12 14:58
eiln13.2 I haven't looked at, should be fine
#asahi-dev · 2023-08-12 14:58
eilnmarcan: 12.3 runs, fixing mini to support ctrr region
#asahi-dev · 2023-08-12 14:58
marcanISP?
#asahi-dev · 2023-08-12 14:57
ChaosPrincessi dont think it changed much from 12.3 to 13.2, so probably not much on 13.5
#asahi-dev · 2023-08-12 14:57
marcaneiln: 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).
#asahi-dev · 2023-08-12 14:46
ChaosPrincessyea, thats probably a better idea
#asahi-dev · 2023-08-12 14:41
jannauChaosPrincess: 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
#asahi-dev · 2023-08-12 14:27
ChaosPrincessjannau: so, https://github.com/AsahiLinux/linux/commit/17292e0c9d75e2adeb5a1b67901bd09ccb2ff9e7 seems to be the offending commit
#asahi-dev · 2023-08-12 13:28
ChaosPrincessyea, thats what im checking it on
#asahi-dev · 2023-08-12 13:28
chadmedfwiw kde does the same thing with the keeb backlight on j314
#asahi-dev · 2023-08-12 13:24
ChaosPrincessyep, kde bug, i can turn the brightness off completely by writing 0 to the file in sysfs
#asahi-dev · 2023-08-12 13:21
ChaosPrincessjannau: not my bug, when i set brightness to lowest in kde, the driver is still requested to set duty cycle 313, period 40000
#asahi-dev · 2023-08-12 12:47
jannauhave you seen https://github.com/AsahiLinux/linux/issues/169 ? pwm 0 is apparently not off
#asahi-dev · 2023-08-12 12:46
jannauasahi is still 6.3-13? weird. I guess I'll have to look at the code
#asahi-dev · 2023-08-12 12:45
jannaubacklight shutoff is fixed, still need to fix the fedora package
#asahi-dev · 2023-08-12 12:40
ChaosPrincessweird
#asahi-dev · 2023-08-12 12:40
ChaosPrincessreverted went back to just regular asahi instead of wip, it works again
#asahi-dev · 2023-08-12 12:26
jannauyes, it is: apple,firmware-version = <0x0c 0x03 0x00>;
#asahi-dev · 2023-08-12 12:25
ChaosPrincessshould be 12.3 dcp here
#asahi-dev · 2023-08-12 12:25
jannau13.4 probably not at all
#asahi-dev · 2023-08-12 12:24
jannau12.3. 13.3-13.5 only lightly tested through HV on this system
#asahi-dev · 2023-08-12 12:21
ChaosPrincessjust to check, what system fw version are you using
#asahi-dev · 2023-08-12 12:20
jannauthat looks sane
#asahi-dev · 2023-08-12 12:17
ChaosPrincesshttps://paste.bingner.com/paste/5k55v - and the dcp node
#asahi-dev · 2023-08-12 12:15
ChaosPrincesshttps://paste.bingner.com/paste/m8o3p - thats the reserved memory
#asahi-dev · 2023-08-12 12:08
jannauadd nomodeset to the kernel command line. that will skip dcp and hopefully avoids the NULL pointer deref
#asahi-dev · 2023-08-12 12:06
ChaosPrincessthe fact that i cant even boot complicates that slightly :P
#asahi-dev · 2023-08-12 12:06
jannaudtc -I fs -O dts -o - /proc/device-tree | less
#asahi-dev · 2023-08-12 12:06
jannaucan you check the live devicetree if there's anything fishy with reserved-memory or linking of reserved memory in dcp
#asahi-dev · 2023-08-12 12:04
jannauChaosPrincess: 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
#asahi-dev · 2023-08-12 11:58
ChaosPrincesshttps://paste.bingner.com/paste/8omxm - dcp trace
#asahi-dev · 2023-08-12 11:56
jannauoh, I can increase the brightness but I can't decrease it below 12
#asahi-dev · 2023-08-12 11:55
ChaosPrincessdcp - sec, will grab logs

plus ›