#
#asahi-gpu · 2022-02-06 01:45
phirecpu sometimes sends 0x83 with a 8bit value on EP21
#asahi-gpu · 2022-02-06 01:45
phiregpu sometimes sends 0x43 on EP20
#asahi-gpu · 2022-02-06 01:45
alyssawhat is the ASC traffic, then?
#asahi-gpu · 2022-02-06 01:44
alyssaAlright
#asahi-gpu · 2022-02-06 01:43
phirebut I do think it's real memory
#asahi-gpu · 2022-02-06 01:43
phireIt's possible the firmware gets an interrupt every time there is a write to it
#asahi-gpu · 2022-02-06 01:42
alyssawe're certain gfx-handoff is ordinary shared memory and not somehow special / MMIO?
#asahi-gpu · 2022-02-06 01:41
alyssaright :|
#asahi-gpu · 2022-02-06 01:41
phireand it's only reads
#asahi-gpu · 2022-02-06 01:41
alyssaCurious
#asahi-gpu · 2022-02-06 01:41
phiresgx has even less register traffic than gfx-asc
#asahi-gpu · 2022-02-06 01:40
alyssato confirm you're looking both sgx and gfx-asc together?
#asahi-gpu · 2022-02-06 01:40
alyssaHmm
#asahi-gpu · 2022-02-06 01:39
phireit's bugging me
#asahi-gpu · 2022-02-06 01:39
phirethere is very little traffic going across the gpu firmware's ASC
#asahi-gpu · 2022-02-06 01:34
alyssa(Of course ASC fifo non-empty is an IRQ but Abstraction)
#asahi-gpu · 2022-02-06 01:33
alyssaphire: Naively, I would assume Apple uses ASC messages in place of direct interrupts
#asahi-gpu · 2022-02-06 01:25
phireI need to work out how to trace interrupts
#asahi-gpu · 2022-02-06 01:24
phirethen I think an interupt comes back and the cpu sets gfx-handoff+0x98 back to 0
#asahi-gpu · 2022-02-06 01:23
phirethen somehow the gpu firmware knows to read that shared memory
#asahi-gpu · 2022-02-06 01:23
phireit writes the VA to gfx-handoff+0xa0, the size to +0xa8 and then writes 2 to 0x98
#asahi-gpu · 2022-02-06 01:21
phirebut this communication protocol is a bit weird
#asahi-gpu · 2022-02-06 01:00
alyssa:'D
#asahi-gpu · 2022-02-06 00:15
phireprobally a cache flush or memory clear command
#asahi-gpu · 2022-02-06 00:13
phireoh this is cool, I can see it sending the gpu_va and size of my userspace allocations to the gpu firmware
#asahi-gpu · 2022-02-05 13:26
phireDon't rush, I need to sleep
#asahi-gpu · 2022-02-05 13:26
phireFair enough. The wrap output should help me fix it no-matter the cause
#asahi-gpu · 2022-02-05 13:23
alyssaand I don't have spoons to go iokit dumpsterdiving again
#asahi-gpu · 2022-02-05 13:23
alyssaPossible -- I've been too scared to update for fear of mesa breaking ..
#asahi-gpu · 2022-02-05 13:23
phireActually, I'm not 100% sure my issues are due to the AgxG13G vs AgxG13X mismatch. Is it possible they changed the IOKit interface in Mac OS 12?
#asahi-gpu · 2022-02-05 13:22
alyssain a bit.. not at my mac right now
#asahi-gpu · 2022-02-05 13:13
phireAlyssa could you send me a hello triangle binary and its wrap output on the M1. Then I can compare the result on my m1x.
#asahi-gpu · 2022-02-05 13:08
phireBut it didn't produce a triangle
#asahi-gpu · 2022-02-05 13:08
phireWell, I got it to the point where the demo would run without asserting
#asahi-gpu · 2022-02-05 13:07
phireHmm...
#asahi-gpu · 2022-02-05 13:03
alyssadon't have an m1x
#asahi-gpu · 2022-02-05 08:57
phirethe "ioctls" are very slightly diffrent
#asahi-gpu · 2022-02-05 07:44
phirealyssa: you done any work on getting the m1 driver to work on the m1x?
#asahi-gpu · 2022-02-04 15:37
DmitrySboychakov[m]s/aye/you/
#asahi-gpu · 2022-02-04 15:37
DmitrySboychakov[m]please share the link if aye are going to
#asahi-gpu · 2022-02-04 15:32
alyssatwitch
#asahi-gpu · 2022-02-04 15:29
jbowenSorry, which streaming platform :)
#asahi-gpu · 2022-02-04 15:29
alyssamacOS
#asahi-gpu · 2022-02-04 15:29
alyssaM1
#asahi-gpu · 2022-02-04 15:25
jbowenWhat platform?
#asahi-gpu · 2022-02-04 15:16
alyssaI think my internet connection should suffice, but will my brain? who knows
#asahi-gpu · 2022-02-04 15:16
alyssaShould I stream GPU stuff today hmmm
#asahi-gpu · 2022-01-28 00:12
alyssaNo, but nothing in there should be sensitive if you want to stick it on whatever web space / pastebin / etc you have
#asahi-gpu · 2022-01-27 23:54
NightsOnly[m]Now my question is, do y'all have a location where these dumps can be saved and shared?
#asahi-gpu · 2022-01-27 23:53
NightsOnly[m]I have the Apple M1 Max, anything i can do? i should be able to get dumps. I set up my xcode and tried it out and got a dump

plus ›