#asahi-gpu · 2022-08-31 06:17
svenI still enjoy how that off by one probably happened because the iPhone 4 had to contain the A4 :D#asahi-gpu · 2022-08-31 06:03
phirewill watch a stream of someone else doing gpu stuff instead#asahi-gpu · 2022-08-31 05:56
phiremaybe later, if someone doesn't beat me to getting the t6000 though initialization#asahi-gpu · 2022-08-31 05:55
phireturns out I might not have the spare brainpower, :(#asahi-gpu · 2022-08-31 05:48
marcan(which is always off by one from the marketing name)#asahi-gpu · 2022-08-31 05:47
marcansee https://github.com/AsahiLinux/docs/wiki/Codenames, the GPU names are just s/H/G/ on the internal soc name#asahi-gpu · 2022-08-31 05:47
marcanyuni: G13 is M1/A14/H13, G14 is M2/A15/H14#asahi-gpu · 2022-08-31 02:00
linaEither way, "mostly working but artifacts" is good enough to start with ^^#asahi-gpu · 2022-08-31 01:59
linaI think it will be immediately obvious what changed once we run a trace on t6000. It might even just be some of the constants that mesa passes to the kernel (which don't apply to my driver right now, those get set in there)#asahi-gpu · 2022-08-30 20:48
phireYeah, makes sense#asahi-gpu · 2022-08-30 20:43
yuniAll of this is to say -- porting Mesa to t6000 should be easy but won't come for free :)#asahi-gpu · 2022-08-30 20:43
yuni(and what Mesa currently supports)#asahi-gpu · 2022-08-30 20:43
yuniG13 is what's in A14 as well as t8103/t6000.#asahi-gpu · 2022-08-30 20:42
yuniSorry, typo'd pretty hard there: supporting G14 (the GPU in the M2 and the A15)#asahi-gpu · 2022-08-30 20:33
yuniWe'll find out in due time, won't we? :)#asahi-gpu · 2022-08-30 20:32
yuniAdmittedly those are guesses based on gut feelings, I could be wrong!#asahi-gpu · 2022-08-30 20:32
yunithough I would expect supporting g13 (the GPU in the M2 and the A14) will want recompiling#asahi-gpu · 2022-08-30 20:31
yuni(none of the "compile for every architecture" crap)#asahi-gpu · 2022-08-30 20:31
yuniI would expect t8103/t6000 in mesa can be supported with the same build of the same driver#asahi-gpu · 2022-08-30 20:30
yuni(Maybe the tiler needs to be configured slightly differently)#asahi-gpu · 2022-08-30 20:30
yuniThe working theory is that all the API facing stuff and the instruction set are the same, but there are some internal differences#asahi-gpu · 2022-08-30 20:29
yunidougall tested it a while back and found things 'mostly' worked but with visual artefacts#asahi-gpu · 2022-08-30 20:29
yuniphire: It's worth noting that Mesa isn't compatible with t6000 yet, either.#asahi-gpu · 2022-08-29 17:39
linaThe Rust side supports conditional fields based on GPU type, but the Python side does not, so if you end up needing that the Ver() thing will need that#asahi-gpu · 2022-08-29 17:38
linaphire: It's just t8103! t6000 definitely needs different initdata, but I *hope* the structures are otherwise the same. Feel free to give it a shot!#asahi-gpu · 2022-08-29 08:35
phiremy understanding is that all the data structures are pretty simular (if not identical) and it should mostly just be slightly diffrent initdata#asahi-gpu · 2022-08-29 08:30
phireI might do that, I need a side project to distract by brain from some other things (no promisies)#asahi-gpu · 2022-08-29 08:29
_jannau_phire: should be just t8103/mac mini. I would use the python code to test/support additional HW support so it would be useful#asahi-gpu · 2022-08-29 08:26
phireand if not, would it be useful for me to try and hack it in? Or should we just wait for the proper rust driver?#asahi-gpu · 2022-08-29 08:25
phirelina: I wasn't paying attention, does the current version of m1n1 support AGX on the t600x or just t8103?#asahi-gpu · 2022-08-23 16:31
phireI'm not sure which direction these bandwidth counters are? is DISP reading the new frame into itself, and then deciding nothing is changed? Or is the RD the scanout going to the display?#asahi-gpu · 2022-08-23 16:29
phirewith promotion off, the per-frame DISP RD stays about the same, but the per frame DISP WR drops to just a few hundred KB (for a roughly idle screen)#asahi-gpu · 2022-08-23 16:27
phirebut they are roughly equal#asahi-gpu · 2022-08-23 16:26
phireit's clearly compressed, the amount of data depends on whats on screen#asahi-gpu · 2022-08-23 16:26
phirethe weird thing is that I'm not even sure its sending unmodifed data to the screen. With promotion off, bandwidth metrics show ~9mb per frame of DISP RD and ~6mb per frame of DISP WR#asahi-gpu · 2022-08-23 16:20
phirewell, its adaptive. goes as low as 24fps#asahi-gpu · 2022-08-23 16:18
_jannau_I'm not yet sure how promotion works. How large is your promotion enabled window. They might use an overlay plane for that ad don't refresh the whole screen at 120 Hz#asahi-gpu · 2022-08-23 16:07
phireUm... Maybe it can store an entire frame, but only with promotion enabled. The bandwidth numbers are very different with promotion (and DRAM power consumption when nothing is changing on the screen is a lot lower) #asahi-gpu · 2022-08-23 15:58
phireThough, weird things happen with "promotion"#asahi-gpu · 2022-08-23 15:52
phireThere is definitely not enough ram in DISP for the internal display, you can see the bandwidth changing on an idle screen when you change the refresh rate #asahi-gpu · 2022-08-23 15:50
phirePlaying around with /usr/bin/powermetrics on my 14" m1 pro max#asahi-gpu · 2022-08-23 09:23
phireI wonder if there are preformance counters for the number of sdram wakeups#asahi-gpu · 2022-08-23 09:22
phireIt almost looks big enough to contain a complete frame. Assuming the ram type is optimised for fast-fill and slow scanout, and frame compression is involved#asahi-gpu · 2022-08-23 09:10
_jannau_more speculation around https://twitter.com/marcan42/status/1549672494210113536#asahi-gpu · 2022-08-23 08:44
phireWhich peeked my curiousity, have we learned anything more about it since then?#asahi-gpu · 2022-08-23 08:44
phirean old tweet of marcan's points out the likely candidate for DISP EXT is very large, with what seems to be a lot of RAM https://twitter.com/marcan42/status/1461390053389729794#asahi-gpu · 2022-08-22 00:14
alyssadraft is written, needs editing#asahi-gpu · 2022-08-21 23:51
alyssa(Probably tomorrow morning)#asahi-gpu · 2022-08-21 23:50
alyssateases#asahi-gpu · 2022-08-21 23:50
alyssaBlog coming soon C: