#
#asahi-gpu · 2022-02-10 15:48
phirewell, apple do 3D then TA
#asahi-gpu · 2022-02-10 15:47
danielsIIRC IMG is PR(imitive) -> TA -> 3D
#asahi-gpu · 2022-02-10 15:45
phirefrom memory, videocore 4 had a single command submittion that did both
#asahi-gpu · 2022-02-10 15:44
phirenow that I think about it, videocore 6 does the same thing
#asahi-gpu · 2022-02-10 15:44
alyssaone command to do vertex shaders + tiling (binning), and a separate commmand to do rasterization + fragment shaders + writeback
#asahi-gpu · 2022-02-10 15:44
alyssaphire: it's like that on Mali
#asahi-gpu · 2022-02-10 15:42
phireso would that be seperate work items for the binning and and tile resolve?
#asahi-gpu · 2022-02-10 15:39
danielsyeah, that sounds about right
#asahi-gpu · 2022-02-10 15:37
phirecould be. Each frame of the boot logo appears to get one Submit3D and one SubmitTA
#asahi-gpu · 2022-02-10 15:33
daniels(at least it was in IMG GPUs)
#asahi-gpu · 2022-02-10 15:33
danielsTA -> Tile Accelerator
#asahi-gpu · 2022-02-10 15:24
phire(I assume SubmitTAs are transfer work items, mapping to metal's BlitCommands
#asahi-gpu · 2022-02-10 15:21
phirechannel13 is some kind of return channel. It receives a message after each SubmitTA
#asahi-gpu · 2022-02-10 14:43
alyssaq
#asahi-gpu · 2022-02-10 14:41
alyssa:D
#asahi-gpu · 2022-02-10 14:40
phireif I follow pointers far enough, I eventually get to userspace gpu VA pointers
#asahi-gpu · 2022-02-10 14:31
alyssaHm
#asahi-gpu · 2022-02-10 14:27
phireand an offset into it that increases each Submit
#asahi-gpu · 2022-02-10 14:27
phireno, it's actually a list of pointers which grows by two each Submit3D
#asahi-gpu · 2022-02-10 14:21
alyssapromising!
#asahi-gpu · 2022-02-10 14:19
phireat the structure pointed to by Submit3D
#asahi-gpu · 2022-02-10 14:18
alyssadamn
#asahi-gpu · 2022-02-10 14:17
phireThis might be another set of ringbuffers
#asahi-gpu · 2022-02-09 15:11
alyssa:D
#asahi-gpu · 2022-02-09 15:11
phireAlright, I've found a set of circular buffers
#asahi-gpu · 2022-02-09 13:56
alyssafunny
#asahi-gpu · 2022-02-09 13:22
phires/lind/lid/
#asahi-gpu · 2022-02-09 13:22
phirethis apparently works: ssh in, then close the lind
#asahi-gpu · 2022-02-09 13:19
phireand setting zero brightness doesn't prevent rendering
#asahi-gpu · 2022-02-09 13:18
phiresetting the "prevent sleep when display off" option didn't stop it from sleeping
#asahi-gpu · 2022-02-09 13:08
marcanI think setting the brightness to 0 should stop display updates, but it shouldn't suspend
#asahi-gpu · 2022-02-09 13:08
marcanyou could also just turn off the screen
#asahi-gpu · 2022-02-09 13:08
marcanyes, I think that should work
#asahi-gpu · 2022-02-09 13:08
phirein macos settings?
#asahi-gpu · 2022-02-09 13:08
alyssasupposes this part would be easier on a mini
#asahi-gpu · 2022-02-09 13:08
marcanyou need to disable that
#asahi-gpu · 2022-02-09 13:08
marcanphire: that's because it goes into suspend
#asahi-gpu · 2022-02-09 13:03
phiredid stop most of the kicks. I think it still drew the white apple logo
#asahi-gpu · 2022-02-09 13:01
phirewell... m1n1 crashes if I boot when the lid closed
#asahi-gpu · 2022-02-09 12:55
phirehmm, lid closed might work
#asahi-gpu · 2022-02-09 12:54
alyssasignal:noise ratio might be better for finding the kick
#asahi-gpu · 2022-02-09 12:54
alyssaphire: It might be worth it to run a metal compute kernel test over SSH with no display connected (lid closed for the laptop, I guess)
#asahi-gpu · 2022-02-09 12:53
phireyes... I agree it is odd that only that example would cause them
#asahi-gpu · 2022-02-09 12:52
alyssa(and that there will be kicks and work submitted from those too)
#asahi-gpu · 2022-02-09 12:52
alyssaok.. my point is that login and the desktop are both using the GPU heavily
#asahi-gpu · 2022-02-09 12:51
phirewhat I mean is that I've only seen in while running the metal spinning cube example, not during login or on the desktop
#asahi-gpu · 2022-02-09 12:50
alyssa(Maybe you *are* doing it headless, though?)
#asahi-gpu · 2022-02-09 12:50
alyssaso unless you're doing all this headless, the "is Metal in use?" piece is questionable
#asahi-gpu · 2022-02-09 12:49
alyssaphire: Keep in mind that WindowServer renders everything via Metal internally
#asahi-gpu · 2022-02-09 11:46
phiremonitoring doesn't show any updates to this structure

plus ›