ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
tenkuu_ has quit [Ping timeout: 480 seconds]
dcow has quit [Ping timeout: 480 seconds]
bgb has joined #asahi-dev
hightower3 has joined #asahi-dev
bgb has quit [Ping timeout: 480 seconds]
hightower2 has quit [Ping timeout: 480 seconds]
slp_ has joined #asahi-dev
slp has quit [Ping timeout: 480 seconds]
CoolStar has quit [Quit: Leaving]
tenkuu has joined #asahi-dev
cylm has joined #asahi-dev
minecrell has quit [Quit: Ping timeout (120 seconds)]
minecrell has joined #asahi-dev
lewurm has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
lewurm has joined #asahi-dev
bgb has joined #asahi-dev
givtrah has quit [Remote host closed the connection]
givtrah has joined #asahi-dev
And1 has quit [Remote host closed the connection]
And1 has joined #asahi-dev
dylanchapell has quit [Read error: Connection reset by peer]
dylanchapell has joined #asahi-dev
bgb has quit [Quit: WeeChat 4.0.5]
gabuscus has quit []
DarkShadow4444 has joined #asahi-dev
minecrell has quit [Quit: Ping timeout (120 seconds)]
minecrell has joined #asahi-dev
PaulFertser has quit [Read error: Connection reset by peer]
PaulFertser_ has joined #asahi-dev
DarkShadow44 has quit [Ping timeout: 480 seconds]
bgb has joined #asahi-dev
CoolStar has joined #asahi-dev
tenkuu has quit [Ping timeout: 480 seconds]
dcow has joined #asahi-dev
crabbedhaloablut has joined #asahi-dev
dcow has quit [Ping timeout: 480 seconds]
gabuscus has joined #asahi-dev
<marcan> eiln: oh sure, I assume you want to get rid of the manual iova management and all that
<marcan> one thing I noticed is v4l2 does its own mappings so you don't even need to do that yourself at all for user surfaces (right now they're all getting redundantly mapped twice, once in high VAs by the subsystem, once in low VAs by the driver)
<marcan> but all that isn't a blocker for including it downstream, it works as it is right now :)
cuiltb^ has joined #asahi-dev
bgb has quit [Ping timeout: 480 seconds]
jeisom has quit [Ping timeout: 480 seconds]
tristan2_ has joined #asahi-dev
tristan2 has quit [Ping timeout: 480 seconds]
dcow has joined #asahi-dev
dcow has quit [Ping timeout: 480 seconds]
kaazoo has quit [Quit: Leaving.]
bgb has joined #asahi-dev
dcow has joined #asahi-dev
dcow has quit [Ping timeout: 480 seconds]
<marcan> eiln: 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)
<marcan> doing a test build now
<marcan> will push if it looks good
espo has joined #asahi-dev
bgb has quit [Ping timeout: 480 seconds]
dcow has joined #asahi-dev
dcow has quit [Remote host closed the connection]
dcow has joined #asahi-dev
lewurm has quit [Ping timeout: 480 seconds]
lewurm has joined #asahi-dev
bgb has joined #asahi-dev
espo has quit [Ping timeout: 480 seconds]
bgb has quit [Ping timeout: 480 seconds]
AnuthaDev has joined #asahi-dev
<janneg> the adt dapf parsing is broken on m2 pro mini: https://gist.github.com/jannau/0bbe64c43dd3f4cd51d4fbeed314c3b8
<janneg> display init works with chainloading
leitao has joined #asahi-dev
dcow has quit [Remote host closed the connection]
kujeger has quit [Remote host closed the connection]
kujeger has joined #asahi-dev
espo has joined #asahi-dev
dcow has joined #asahi-dev
dcow has quit [Ping timeout: 480 seconds]
<eiln> marcan: 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.
<eiln> 248v2 might be M2 but I doubt it. also I tested it on mine and v1 vs v2 looks the same
dcow has joined #asahi-dev
roxfan has joined #asahi-dev
dcow has quit [Ping timeout: 480 seconds]
roxfan has quit [Read error: Connection reset by peer]
roxfan has joined #asahi-dev
roxfan has quit [Read error: Connection reset by peer]
roxfan2 has joined #asahi-dev
AnuthaDev has quit []
roxfan2 has quit [Read error: Connection reset by peer]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roxfan has joined #asahi-dev
roxfan has quit [Read error: Connection reset by peer]
roxfan has joined #asahi-dev
roxfan has quit [Read error: Connection reset by peer]
roxfan has joined #asahi-dev
cyrozap has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
roxfan has quit [Read error: Connection reset by peer]
cyrozap has joined #asahi-dev
cylm has quit [Ping timeout: 480 seconds]
roxfan has joined #asahi-dev
roxfan has quit [Read error: Connection reset by peer]
roxfan has joined #asahi-dev
roxfan has quit [Remote host closed the connection]
roxfan has joined #asahi-dev
Cyrinux9474 has quit []
dcow has joined #asahi-dev
roxfan has quit [Read error: Connection reset by peer]
roxfan has joined #asahi-dev
roxfan2 has joined #asahi-dev
roxfan has quit [Read error: Connection reset by peer]
AnuthaDev has joined #asahi-dev
roxfan2 has quit [Read error: Connection reset by peer]
dcow has quit [Ping timeout: 480 seconds]
roxfan has joined #asahi-dev
leitao has joined #asahi-dev
roxfan has quit [Read error: Connection reset by peer]
Cyrinux9474 has joined #asahi-dev
r0ni has joined #asahi-dev
lewurm has quit [Ping timeout: 480 seconds]
dcow has joined #asahi-dev
dcow has quit [Ping timeout: 480 seconds]
lewurm has joined #asahi-dev
dcow has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dcow has quit [Ping timeout: 480 seconds]
chadmed has quit [Remote host closed the connection]
Cyrinux94743 has joined #asahi-dev
AnuthaDev has quit [Ping timeout: 480 seconds]
jeisom has joined #asahi-dev
Cyrinux9474 has quit [Ping timeout: 480 seconds]
Cyrinux94743 has quit []
bgb has joined #asahi-dev
dcow has joined #asahi-dev
leitao has joined #asahi-dev
dcow has quit [Ping timeout: 480 seconds]
AnuthaDev has joined #asahi-dev
dcow has joined #asahi-dev
dcow has quit [Ping timeout: 480 seconds]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dcow has joined #asahi-dev
chadmed has joined #asahi-dev
dcow has quit [Ping timeout: 480 seconds]
eiln has quit [Ping timeout: 480 seconds]
leitao has joined #asahi-dev
<marcan> janneg: I thought I fixed that, is this on latest main?
as400 has quit [Remote host closed the connection]
<janneg> marcan: the dapf parsing? that was on v1.4.0, probably fixed now. at least caused no problems with the m1 ultra
as400 has joined #asahi-dev
tenkuu has joined #asahi-dev
dcow has joined #asahi-dev
tenkuu has quit [Ping timeout: 480 seconds]
dcow has quit [Ping timeout: 480 seconds]
<marcan> eiln: drop the v2s from the extractor then?
dcow has joined #asahi-dev
dcow has quit [Ping timeout: 480 seconds]
dcow has joined #asahi-dev
espo has quit [Ping timeout: 480 seconds]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dcow has quit [Ping timeout: 480 seconds]
leitao has joined #asahi-dev
AnuthaDev has quit [Read error: Connection reset by peer]
AnuthaDev_ has joined #asahi-dev
<marcan> pushed new kernel/etc to asahi-dev, please test
<marcan> should 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)
<mps> webcam? what must be enabled in kernel config for it?
AnuthaDev_ has quit [Read error: Connection reset by peer]
<mps> VIDEO_APPLE_ISP?
arekmx has quit []
arekm has joined #asahi-dev
dcow has joined #asahi-dev
<marcan> yes
tenkuu has joined #asahi-dev
<mps> thanks, will build soon and test
i509vcb has quit [Quit: Connection closed for inactivity]
espo has joined #asahi-dev
dcow has quit [Ping timeout: 480 seconds]
jacksonchen666 has joined #asahi-dev
<mps> it works on j316s
dcow has joined #asahi-dev
<iaguis> fwiw 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
<iaguis> this is on j413 btw
<kettenis> oh, cool, 4388 support; let's see if I can port that to our bwfm(4) driver...
<janneg> kettenis: boot framebuffer support on m2* desktop systems as well
dcow has quit [Ping timeout: 480 seconds]
<kettenis> that's in m1n1 though I suppose?
<marcan> yes
<janneg> yes, but might need os support since it now depends on 2 power-domains
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kettenis> not powering off any unknown power domains yet on OpenBSD, so that should be fine
leitao has joined #asahi-dev
jacksonchen666 has quit [Ping timeout: 480 seconds]
crabbedhaloablut has quit []
crabbedhaloablut has joined #asahi-dev
dabaum|2er0 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
leitao has quit [Ping timeout: 480 seconds]
AnuthaDev has joined #asahi-dev
dcow has joined #asahi-dev
dcow has quit [Ping timeout: 480 seconds]
AnuthaDev has quit []
dcow has joined #asahi-dev
dcow has quit [Ping timeout: 480 seconds]
jacksonchen666 has joined #asahi-dev
jacksonchen666 has quit []
dcow has joined #asahi-dev
franciscomartins has joined #asahi-dev
franciscomartins is now known as kidplayer
kidplayer has quit [Remote host closed the connection]
dcow has quit [Ping timeout: 480 seconds]
dcow has joined #asahi-dev
dcow has quit [Ping timeout: 480 seconds]
dcow has joined #asahi-dev
dcow has quit [Ping timeout: 480 seconds]
<kettenis> ah, but I need newer OS firmware for this to actually work on my M2 Pro mini
dcow has joined #asahi-dev
<janneg> yes, needs 13.5. 13.3 will not work since Apple changed the dptx interface in 13.4 or 13.5
dcow has quit [Ping timeout: 480 seconds]
i509vcb has joined #asahi-dev
dcow has joined #asahi-dev
AnuthaDev has joined #asahi-dev
Cyrinux94743 has joined #asahi-dev
dcow has quit [Ping timeout: 480 seconds]
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi-dev
dcow has joined #asahi-dev
Cyrinux94743 has quit []
Cyrinux94743 has joined #asahi-dev
chadmed has quit [Read error: Connection reset by peer]
chadmed has joined #asahi-dev
dcow has quit [Ping timeout: 480 seconds]
roxfan has joined #asahi-dev
kaazoo has joined #asahi-dev
<cy8aer> Just a question for CONFIG_VIDEO_APPLE_ISP: y or m?
<cy8aer> So does it work as a module?
<mps> cy8aer: in my case works
<cy8aer> Thanks
AnuthaDev has quit []
dcow has joined #asahi-dev
AnuthaDev has joined #asahi-dev
dcow has quit [Ping timeout: 480 seconds]
pounce has quit [Remote host closed the connection]
pounce has joined #asahi-dev
crabbedhaloablut has quit []
dcow has joined #asahi-dev
kaazoo has quit [Quit: Leaving.]
dcow has quit [Ping timeout: 480 seconds]
<kettenis> marcan: was installer_data.json deliberately not updated to include 13.5 as a supported firmware?
pounce has quit [Remote host closed the connection]
Cyrinux94743 is now known as cyrinux
<janneg> I 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
pounce has joined #asahi-dev
pounce has quit [Remote host closed the connection]
pounce has joined #asahi-dev
pounce has quit [Remote host closed the connection]
pounce has joined #asahi-dev
crabbedhaloablut has joined #asahi-dev
dcow has joined #asahi-dev
crabbedhaloablut has quit []
dcow has quit [Ping timeout: 480 seconds]
slp_ has quit [Ping timeout: 480 seconds]
<janneg> looks like there's somewhere a delay missing during the dptx setup. on j473 1st stage m1n1 fails to bring the display up
<leio> I think I've seen sometimes earlier and sometimes later display on j475 too
<leio> (sometimes 1080p before 4K via stage1, sometimes not, just straight 4K)
<leio> though I recall something about to framebuffer base setup, thus maybe what I'm saying is really earlier or later stage2 picture?
<leio> about missing framebuffer base setup* which is why I needed to chainload twice
AnuthaDev has quit []
<janneg> 'mdelay(100);' after pmgr_adt_power_enable(cfg->dptx_phy) in src/dcp.c fixes it for me
<leio> that 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
dcow has joined #asahi-dev
dcow has quit [Ping timeout: 480 seconds]
<janneg> eiln: isp breaks on j493 (m2 macbook pro 13-inch) with calibration data: https://gist.github.com/jannau/9f87fd51f892106316c9e32340c27cae
DarkShadow4444 has quit [Quit: ZNC - https://znc.in]
DarkShadow44 has joined #asahi-dev
<janneg> does that mean we got the wrong one? can we verify that with the tracer?
minecrell has quit [Quit: Ping timeout (120 seconds)]
minecrell has joined #asahi-dev
dcow has joined #asahi-dev
dcow has quit [Ping timeout: 480 seconds]
eiln has joined #asahi-dev
roxfan2 has joined #asahi-dev
<eiln> janneg: 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
<eiln> marcan: can you check if m2 calib file send struct is right?
<eiln> if 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
midou has quit [Ping timeout: 480 seconds]
dcow has joined #asahi-dev
roxfan has quit [Ping timeout: 480 seconds]
<eiln> SET_FILE_LOAD works even when I send garbage, looks like the struct issue
dcow has quit [Ping timeout: 480 seconds]
lena6 has quit [Ping timeout: 480 seconds]
midou has joined #asahi-dev
<eiln> calib file id is in big endian btw
dextaa6 has quit [Ping timeout: 480 seconds]
midou has quit [Ping timeout: 480 seconds]
dcow has joined #asahi-dev
<marcan> I'll check
<marcan> kettenis: arch images need rebuilding
<marcan> Fedora does have 13.5
<marcan> I'll update it soonish once we iron out a couple kernel issues and push it
dcow has quit [Ping timeout: 480 seconds]