#
✕ nick:chadmed
#asahi-gpu · 2026-03-08 09:54
chadmedwhat issues did you see with surface 0? i havent noticed anything
#asahi-gpu · 2026-03-08 09:46
chadmedswaps with three surfaces in them also seem to work fine like this too
#asahi-gpu · 2026-03-08 09:44
chadmedthere must be rules for it or something
#asahi-gpu · 2026-03-08 09:44
chadmedso how does macos use surface 2
#asahi-gpu · 2026-03-08 09:44
chadmedthen just expose three planes
#asahi-gpu · 2026-03-08 09:44
chadmednormalized_zpos == 2 ? normalized_zpos + 1 : normalized_zpos
#asahi-gpu · 2026-03-08 09:44
chadmedsurface 2 is just... broken?
#asahi-gpu · 2026-03-08 09:44
chadmedhahahah oh my god i "fixed" it
#asahi-gpu · 2026-03-08 08:59
chadmedreproducing the behaviour in traces still doesnt work
#asahi-gpu · 2026-03-08 08:59
chadmedim giving up on >2 planes again for now. im not sure what it is we could possibly be doing so differently to macos that causes this to not work
#asahi-gpu · 2026-03-08 08:00
chadmedunless drm_info is lying
#asahi-gpu · 2026-03-08 08:00
chadmedit doesnt seem to care at all if theyre not multiples of 64 though. currently have a cursor displays just fine with stride = 132b
#asahi-gpu · 2026-03-08 07:58
chadmedlots of magenta and black
#asahi-gpu · 2026-03-08 07:58
chadmedi tried rounding them up just before and it exploded pretty badly
#asahi-gpu · 2026-03-08 07:38
chadmedwhy would swap_enabled ever be set to >0xf when there is a surface wtf
#asahi-gpu · 2026-03-08 07:29
chadmedwe cannot break userspace, the uapi has been upstreamed
#asahi-gpu · 2026-03-08 06:43
chadmedi commented out the check and cursors work again. if this is a limitation purely on the agx side then it should not spill into the dcp driver and mesa or the asahi driver needs to check for this
#asahi-gpu · 2026-03-08 06:40
chadmedi actually dont think dcp cares too much. the stride check in plane_atomic_check is relatively new, and linear worked fine before we added it
#asahi-gpu · 2026-02-22 00:48
chadmedif it's apple code, it belongs in -re
#asahi-gpu · 2026-02-18 09:40
chadmedProgress report for 6.19 is up: https://asahilinux.org/2026/02/progress-report-6-19/
#asahi-gpu · 2026-02-05 07:11
chadmedbut if theres not a lot of logic involved above and beyond determining the tile size for a given bit depth then its probably fine
#asahi-gpu · 2026-02-05 07:11
chadmedi am slightly concerned about the overhead of calculating the compression metadata offsets etc for every plane update since we already have effectively zero slack to play with in the commit pipeline given how long the flip complete event takes to fire
#asahi-gpu · 2026-02-05 07:09
chadmedokay maybe this can work then
#asahi-gpu · 2026-02-05 07:09
chadmedoh i was thinking of the verify_surfaces error for agx format anyway lol
#asahi-gpu · 2026-02-05 06:56
chadmedhuh interesting. is the address twiddling the same as agx format?
#asahi-gpu · 2026-01-29 06:43
chadmedthat was for compressed agx
#asahi-gpu · 2026-01-29 06:42
chadmedi got as far as verify_surfaces complaining that the surfaces havent been marked as having twiddled addresses
#asahi-gpu · 2026-01-29 06:39
chadmedmy ghidra project is probably less complete than yours, i spent maybe like 6 or so hours of actual work on it :P
#asahi-gpu · 2026-01-29 06:38
chadmedi can send you my ghidra project (#asahi-re if you wanna discuss this more) but in terms of making dcp show agx fbs i just added the format modifiers to the kernel driver and it showed them without crashing (with the above caveats that they looked wrong)
#asahi-gpu · 2025-12-17 11:56
chadmedhttps://asahilinux.org/2025/12/progress-report-6-18/
#asahi-gpu · 2025-10-24 08:18
chadmedhttps://asahilinux.org/2025/10/progress-report-6-17/
#asahi-gpu · 2025-07-11 07:33
chadmedoh and you know what, i have seen this MR before multiple times... still recovering from the flu sorry
#asahi-gpu · 2025-07-11 07:24
chadmedoh lmfao
#asahi-gpu · 2025-07-11 07:15
chadmedvulkaninfo claims otherwise hmm
#asahi-gpu · 2025-07-11 03:10
chadmedalyssa: do we need VK_EXT_map_memory_placed for wow64 vulkan?
#asahi-gpu · 2025-03-11 20:48
chadmedalyssa: wow that was fast! thanks! <3
#asahi-gpu · 2025-03-11 11:19
chadmeda lot of that is probably going to be the menus and an FMV
#asahi-gpu · 2025-03-11 11:19
chadmedalyssa: https://chadmed.au/res/ineveraskedforthis.trace.br
#asahi-gpu · 2025-03-10 08:55
chadmedalyssa: this aint working, ill bring my work laptop home tomorrow and capture a trace on that
#asahi-gpu · 2025-03-10 05:40
chadmedsmdh
#asahi-gpu · 2025-03-10 05:40
chadmed>dxhr.trace 8.2 KiB
#asahi-gpu · 2025-02-25 06:38
chadmedalyssa: is this the DCP fb format we will need for planar scanout?
#asahi-gpu · 2024-10-24 12:01
chadmeddavid: wrong channel go to #asahi or #asahi-dev. this channel is for gpu work.
#asahi-gpu · 2024-09-03 07:18
chadmedbut then again, tesselator.cl....
#asahi-gpu · 2024-09-03 07:18
chadmedcould just be less cpu overhead with hk? we know our gl driver is pretty cpu heavy
#asahi-gpu · 2024-08-23 12:57
chadmedhence why i asked if that is what apple does
#asahi-gpu · 2024-08-23 12:56
chadmedalyssa: dw this is in macos not your problem :)
#asahi-gpu · 2024-07-27 12:49
chadmediyes: if your dev environment with the old branch is still working then just go back to it, that simple
#asahi-gpu · 2024-04-02 12:05
chadmedgraphics witchcraft -> command buffer -> more witchcraft now with 100% less floating point there we go docs done gg ez
#asahi-gpu · 2024-03-09 02:13
chadmedi think it would be funny if we implemented the apple extensions

plus ›