#
#asahi-dev · 2023-10-05 23:41
marcankettenis: arch images need rebuilding
#asahi-dev · 2023-10-05 23:41
marcanI'll check
#asahi-dev · 2023-10-05 23:32
eilncalib file id is in big endian btw
#asahi-dev · 2023-10-05 23:06
eilnSET_FILE_LOAD works even when I send garbage, looks like the struct issue
#asahi-dev · 2023-10-05 23:05
eilnif that's not the issue we can add a hook in the tracer to fetch the first 4 bytes of SET_FILE_LOAD iova to get the calib file id
#asahi-dev · 2023-10-05 23:04
eilnmarcan: can you check if m2 calib file send struct is right?
#asahi-dev · 2023-10-05 23:04
eilnjanneg: just in case, can you editing the sensor switch case id to "ISP_IMX248_1822_02" / "apple/isp_1822_02XX.dat"? I doubt this is the issue but just in case
#asahi-dev · 2023-10-05 22:25
jannegdoes that mean we got the wrong one? can we verify that with the tracer?
#asahi-dev · 2023-10-05 22:24
jannegeiln: isp breaks on j493 (m2 macbook pro 13-inch) with calibration data: https://gist.github.com/jannau/9f87fd51f892106316c9e32340c27cae
#asahi-dev · 2023-10-05 21:49
leiothat reminds me that my monitors might just be acting up weird in the first place; like something needed an extra delay in kernel for things to work again after a DPMS off, though I think it was displayport
#asahi-dev · 2023-10-05 21:47
janneg'mdelay(100);' after pmgr_adt_power_enable(cfg->dptx_phy) in src/dcp.c fixes it for me
#asahi-dev · 2023-10-05 21:36
leioabout missing framebuffer base setup* which is why I needed to chainload twice
#asahi-dev · 2023-10-05 21:35
leiothough I recall something about to framebuffer base setup, thus maybe what I'm saying is really earlier or later stage2 picture?
#asahi-dev · 2023-10-05 21:30
leio(sometimes 1080p before 4K via stage1, sometimes not, just straight 4K)
#asahi-dev · 2023-10-05 21:29
leioI think I've seen sometimes earlier and sometimes later display on j475 too
#asahi-dev · 2023-10-05 21:26
janneglooks like there's somewhere a delay missing during the dptx setup. on j473 1st stage m1n1 fails to bring the display up
#asahi-dev · 2023-10-05 20:31
jannegI think initially yes due to the mtp isses with 13.5. I think since then neither the alarm images nor the boot.bin bundle where refreshed
#asahi-dev · 2023-10-05 20:27
kettenismarcan: was installer_data.json deliberately not updated to include 13.5 as a supported firmware?
#asahi-dev · 2023-10-05 19:33
cy8aerThanks
#asahi-dev · 2023-10-05 19:33
mpscy8aer: in my case works
#asahi-dev · 2023-10-05 19:32
cy8aerSo does it work as a module?
#asahi-dev · 2023-10-05 19:31
cy8aerJust a question for CONFIG_VIDEO_APPLE_ISP: y or m?
#asahi-dev · 2023-10-05 18:14
jannegyes, needs 13.5. 13.3 will not work since Apple changed the dptx interface in 13.4 or 13.5
#asahi-dev · 2023-10-05 17:52
kettenisah, but I need newer OS firmware for this to actually work on my M2 Pro mini
#asahi-dev · 2023-10-05 15:57
kettenisnot powering off any unknown power domains yet on OpenBSD, so that should be fine
#asahi-dev · 2023-10-05 15:55
jannegyes, but might need os support since it now depends on 2 power-domains
#asahi-dev · 2023-10-05 15:55
marcanyes
#asahi-dev · 2023-10-05 15:54
kettenisthat's in m1n1 though I suppose?
#asahi-dev · 2023-10-05 15:54
jannegkettenis: boot framebuffer support on m2* desktop systems as well
#asahi-dev · 2023-10-05 15:48
kettenisoh, cool, 4388 support; let's see if I can port that to our bwfm(4) driver...
#asahi-dev · 2023-10-05 15:47
iaguisthis is on j413 btw
#asahi-dev · 2023-10-05 15:41
iaguisfwiw I tested isp/t602x-v2 earlier today and webcam worked :) had an old install and got the isp firmware files from the macos install but they crashed the camera, I guess because I have 12.4
#asahi-dev · 2023-10-05 15:28
mpsit works on j316s
#asahi-dev · 2023-10-05 15:06
mpsthanks, will build soon and test
#asahi-dev · 2023-10-05 15:05
marcanyes
#asahi-dev · 2023-10-05 14:54
mpsVIDEO_APPLE_ISP?
#asahi-dev · 2023-10-05 14:51
mpswebcam? what must be enabled in kernel config for it?
#asahi-dev · 2023-10-05 14:46
marcanshould have wifi/bt on 4388 platforms and webcam everywhere (poor video calibration for older installs unless you manually upgrade all_firmware.tar.gz && asahi-fwupdate, but it should work)
#asahi-dev · 2023-10-05 14:45
marcanpushed new kernel/etc to asahi-dev, please test
#asahi-dev · 2023-10-05 14:06
marcaneiln: drop the v2s from the extractor then?
#asahi-dev · 2023-10-05 13:41
jannegmarcan: the dapf parsing? that was on v1.4.0, probably fixed now. at least caused no problems with the m1 ultra
#asahi-dev · 2023-10-05 13:35
marcanjanneg: I thought I fixed that, is this on latest main?
#asahi-dev · 2023-10-05 09:05
eiln248v2 might be M2 but I doubt it. also I tested it on mine and v1 vs v2 looks the same
#asahi-dev · 2023-10-05 08:59
eilnmarcan: 12.4 doesn't even have the IMX248/558 V2 setfiles, so no way they're the correct ones for us. it looks like an iPad thing. sorry I meant to PR with that.
#asahi-dev · 2023-10-05 07:32
jannegdisplay init works with chainloading
#asahi-dev · 2023-10-05 07:28
jannegthe adt dapf parsing is broken on m2 pro mini: https://gist.github.com/jannau/0bbe64c43dd3f4cd51d4fbeed314c3b8
#asahi-dev · 2023-10-05 05:10
marcanwill push if it looks good
#asahi-dev · 2023-10-05 05:10
marcandoing a test build now
#asahi-dev · 2023-10-05 05:10
marcaneiln: squashed all the DT stuff since it was kind of a mess, also I removed the PD dependencies since the driver does its own sequencing anyway (I think this will work around some badness for devices without a camera and fused off PDs)
#asahi-dev · 2023-10-05 02:44
marcanbut all that isn't a blocker for including it downstream, it works as it is right now :)

plus ›