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
sawyer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sawyer has joined #asahi-dev
utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #asahi-dev
sawyer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sawyer has joined #asahi-dev
sawyer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ah->
hmm no luck. getting late so i'll try more tomorrow, but looks like in the adt it's isp0 not just isp
hightower4 has quit [Ping timeout: 480 seconds]
<eiln>
ah-: yeah, that makes sense. ill fix that.
jeisom has quit [Ping timeout: 480 seconds]
ourdumbfuture has joined #asahi-dev
eiln has quit [Quit: WeeChat 4.0.3]
eiln has joined #asahi-dev
<ah->
ok with all /arm-io/isp replaced by /arm-io/isp0 it boots, but still "[ 15.260651] platform 292280000.power-management:power-controller@4010: deferred probe pending" in dmesg
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #asahi-dev
c10l1 has joined #asahi-dev
c10l has quit [Read error: Connection reset by peer]
utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #asahi-dev
<chadmed>
hmm 15" air speaker routing is wrong
<chadmed>
all channels go to one of the left woofers
<chadmed>
none of the kcontrols are disabled either so i assume we're just not handling the device properly in macaudio
dimilar has joined #asahi-dev
<chadmed>
nvm it was just kde's volume knobs still being broken. we do need to do kcontrol fixup in macaudio though
sefidel has quit [Remote host closed the connection]
sefidel has joined #asahi-dev
dimilar has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.1.50)]
sternez has joined #asahi-dev
sternez has quit [Remote host closed the connection]
sternez has joined #asahi-dev
<sternez>
jannau: I woule like to make my m2 ultra's hdmi work. I noticed you've achieved big progress on m2 pro mini and studio. I can do some tests on my m2 ultra studio.
<sternez>
jannau: your pull request in AsahiLinux/m1n1 mentioned that: "M2 Ultra Mac Studio and Mac Pro hopefully work after replacing dcp0/disp0 with dcpext0/dispext0.". I found that is not enough, on M2 ultra, there are no '/arm-io/lpdptx-phy0' and '/arm-io/dp2hdmi-gpio0'. but I found they are '/arm-io/lpdptx-phy1' and '/arm-io/dp2hdmi-gpio1'. after the modification, I still can not make it work.
elvishjerricco has quit [Read error: Connection reset by peer]
elvishjerricco has joined #asahi-dev
utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #asahi-dev
sternez has quit [Remote host closed the connection]
sternez has joined #asahi-dev
<jannau>
sternez: indeed, they use die1 on the m2 ultra mac studio, sigh. you need to use dcpext4/dispext4
sternez has quit [Remote host closed the connection]
utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #asahi-dev
stipa has joined #asahi-dev
jacksonchen666 has joined #asahi-dev
utsweetyfish has quit [Remote host closed the connection]
yaboishady has quit [Read error: Connection reset by peer]
yaboishady8 is now known as yaboishady
yaboishady has quit []
utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #asahi-dev
loki_val has joined #asahi-dev
crabbedhaloablut has quit [Read error: Connection reset by peer]
jacksonchen666 has quit [Remote host closed the connection]
jacksonchen666 has joined #asahi-dev
jacksonchen666 has quit [Remote host closed the connection]
jacksonchen666 has joined #asahi-dev
tanty has quit [Quit: Ciao!]
midou has quit [Ping timeout: 480 seconds]
tanty has joined #asahi-dev
Luigi has joined #asahi-dev
midou has joined #asahi-dev
akemin_dayo has joined #asahi-dev
<knedlik>
So now that I have the development kernel, and everything seems working, are there any other things where I can help out (maybe with programming) other than the yaks?
<knedlik>
I'm generally interested in working towards the direction of helping with the GPU stuff
<ah->
and looks like the same "failed to map reserved region" with new m1n1. haven't managed to fully get the new kernel with extra logging on boot yet, i'll try that next
<eiln>
wait, can you add one more line to m1n1
<eiln>
pushd
<ah->
hmm, don't see any new m1n1 commits
<ah->
ah now
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<eiln>
is the m1 pro '/arm-io/node0' name an issue for any other hw? I'm thinkng of patching adt instead
<ah->
still looks the same, i'll run with the dbg print
<eiln>
ah-: can you attach another reg trace too?
ourdumbfuture has joined #asahi-dev
<jannau>
what do you mean by issue? yes, adt nodes have number suffixes on on t600x/t602x. yes, it is annoying but I don't think that patching the adt will be an improvement
<eiln>
e.g. dapf.c
<jannau>
a possible solution for nodes which exists only once could be an adt_path_offset that matches the prefix and returns the device if the match is unambigguous
cylm has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<marcan>
pushed kernel/mesa updates (to dev and prod, passed a basic smoke test)
ourdumbfuture has joined #asahi-dev
eiln has quit [Quit: WeeChat 4.0.4]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
chadmed has quit [Read error: Connection reset by peer]
chadmed has joined #asahi-dev
cylm_ has joined #asahi-dev
utsweetyfish has quit [Remote host closed the connection]
cylm_ has quit [Quit: WeeChat 4.0.0]
utsweetyfish has joined #asahi-dev
chadmed has quit [Read error: Connection reset by peer]
chadmed has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
roxfan has quit [Ping timeout: 480 seconds]
roxfan has joined #asahi-dev
nyx_o has quit [Ping timeout: 480 seconds]
nyx_o has joined #asahi-dev
jacksonchen666 has quit [Remote host closed the connection]
jeisom has quit [Ping timeout: 480 seconds]
nyx_o has quit [Ping timeout: 480 seconds]
utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #asahi-dev
leah2 has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chadmed has quit [Ping timeout: 480 seconds]
jacksonchen666 has joined #asahi-dev
sawyer has joined #asahi-dev
ourdumbfuture has joined #asahi-dev
leah2 has joined #asahi-dev
chadmed has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ChaosPrincess>
eiln: when macos initializes the camera, it does a series of writes that look somewhat like this: https://paste.bingner.com/paste/4tv55 (two similar sequences to pmgr range, and setting a bitmask for every sequence written.) i have noticed that your 1.5fps script does not do those writes. are they not required? or am i blind and those are actually there?
<ah->
also I got a bit further with debugging my iommu map crash. so it fails on the asc-firmware map: [ 5.329788] apple-isp 384000000.isp: [apple_isp_resv_region] reserving: 0: phys: 0x10000a58000 size: 0x980000 iova: 0x0
<ah->
this address comes from segment-ranges in the adt, and I double-checked that the adt hex string does decode to exactly that address
<ah->
the address seems low to me, do we maybe have to adjust it? similar to how we had to 2| the overall isp address in the dt?
jacksonchen666 has quit [Ping timeout: 480 seconds]
<jannau>
ah-: which address seems low to you? "iova: 0x0"?
<ah->
0x10000a58000
<ah->
everything i see in the trace starts with 2/3
<ah->
i was suspicious of the 0 too, but I think for the iommu it's ok?
<jannau>
yes, for the iommu/iop 0x0 is ok
<jannau>
0x10000a58000 is low considering that the memory is mapped to 0x100_0000_0000. I would expect that there's memory-region with the same address, size in the adt fetched from the device
<jannau>
do you see it in the output of `experiments/dart_dump.py dart-isp0`?
<ah->
when bootiing macos? I can try in a minute
<ah->
here's the adt: https://paste.centos.org/view/dd70d76e the addr comes from ^I^I(text_phys, text_iova, _, text_size, data_phys, data_iova, _, data_size) = struct.unpac ...: k('<QQQI4xQQQI4x', b[:64])
<ah->
there's read of a similar looking addr in the macos trace: [cpu0] [0xfffffe0013733aac] MMIO: R.8 0x385050000 (isp0[0], offset 0x1050000) = 0x102010000a58001
<jannau>
so the actual mapped memory in dart-isp is from the top of the memory
utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #asahi-dev
cylm_ has joined #asahi-dev
cylm has quit [Ping timeout: 480 seconds]
<ah->
hmm, maybe the dart_dump.py dart-isp0 error means that the issue is not the address but the dart it goes through not being setup right yet
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ah->
haha! dart_dump works if I first run p.pmgr_adt_clocks_enable(f'/arm-io/dart-isp0')