#
#asahi-gpu · 2023-07-08 17:42
alyssacan't dump mesh yet which was what I was actually interested in ..
#asahi-gpu · 2023-07-08 17:33
alyssabasic gfx dump also works. lot of UAPI stuff shuffled but meh
#asahi-gpu · 2023-07-08 17:28
alyssaok, have enough agxdecode ported to 13.0 to dump compute
#asahi-gpu · 2023-07-08 17:11
alyssaonly deps I needed to install were meson, ninja, and mako
#asahi-gpu · 2023-07-08 17:11
alyssathis is real handy for building wrap.dylib
#asahi-gpu · 2023-07-08 17:11
alyssa$ meson -Dgallium-drivers= -Dvulkan-drivers= -Dtools=asahi -Dllvm=disabled -Dgles2=disabled -Dgles1=disabled -Dglx=disabled
#asahi-gpu · 2023-07-08 07:01
chadmedor any other switching noise
#asahi-gpu · 2023-07-08 07:00
chadmeddoes anyone else notice any coil whine when running glmark (on j314 specifically)?
#asahi-gpu · 2023-07-07 22:49
alyssanext week I'll look at the image copies, now that I've built up a little bit of self-confidence with hacking on vk_meta
#asahi-gpu · 2023-07-07 22:48
alyssa--actually I don't care it's 7pm on a friday
#asahi-gpu · 2023-07-07 22:47
alyssa(actually let me go fix that, should be easy)
#asahi-gpu · 2023-07-07 22:47
alyssa(this still isn't fully optimal, since the thread dispatch overhead will dominate. but it's better than copying 1 byte at a time!)
#asahi-gpu · 2023-07-07 22:46
alyssain the happy path, it'll copy 16 bytes at a time
#asahi-gpu · 2023-07-07 22:46
alyssaIn addition to being totally generic (i.e. it'll Just Work for panvk2), I implemented one bit of cleverness that the AGX-specific one lacked -- dynamically choosing a block size based on the alignments
#asahi-gpu · 2023-07-07 22:45
alyssa(Lina just found out that G14X needs a tweaked CDM header. With the new approach, there's only one place to make that change in the VK driver instead of 3 or more.)
#asahi-gpu · 2023-07-07 22:44
alyssaand gets rid of all the internal hardcoded dispatches, which is a big deal for portability
#asahi-gpu · 2023-07-07 22:44
alyssathat's passing all the relevant deqp-vk tests
#asahi-gpu · 2023-07-07 22:44
alyssa- vk_meta implementations of vkCmdFillBuffer, vkCmdUpdateBuffer, and vkCmdCopyBuffer2.
#asahi-gpu · 2023-07-07 22:43
alyssa- more banging on descriptor sets. ended up ~~plagiarising~~ adapting NVK's implementation. hopefully that means we picked up a bunch of new features for free.
#asahi-gpu · 2023-07-07 22:42
alyssaToday's AGXV update:
#asahi-gpu · 2023-07-07 15:01
_jannau__sometimes it results in render timeouts here which might or might be a separate issue
#asahi-gpu · 2023-07-07 15:01
linaGuess it's just more heisen for me...
#asahi-gpu · 2023-07-07 15:00
lina;;
#asahi-gpu · 2023-07-07 15:00
lina204 repeat(s) until fail
#asahi-gpu · 2023-07-07 14:54
linaNow running 13.5 with the latest kernel, same mesa, no hypervisor
#asahi-gpu · 2023-07-07 14:51
lina250 repeat(s) until fail
#asahi-gpu · 2023-07-07 14:39
_jannau__running on the 10-Core GPU variant although I'd hope that that makes no difference
#asahi-gpu · 2023-07-07 14:38
_jannau__lina: no, it usually fails after 5 to 50 runs for me
#asahi-gpu · 2023-07-07 14:12
jannaubut I'm using x11_egl as target
#asahi-gpu · 2023-07-07 14:12
jannaulina: the pbuffer variant of that test fails as well
#asahi-gpu · 2023-07-07 14:10
jannaulina: for i in $(seq 1000); do if ./glcts -n dEQP-EGL.functional.render.multi_context.gles2.rgb888_window | grep -q 'Failed: *1/1'; then echo "$i repeat(s) until fail"; break; fi ; done
#asahi-gpu · 2023-07-07 12:19
_jannau__before you start the full cts run
#asahi-gpu · 2023-07-07 12:19
_jannau__lina: please test KHR-GLES31.core.draw_indirect.advanced-twoPass-transformFeedback-arrays and KHR-GLES31.core.draw_indirect.advanced-twoPass-transformFeedback-elements for the barrier bits
#asahi-gpu · 2023-07-07 04:58
r3muxdopencl in asahi isnt functional yet right? just making sure because the only thing that shows up for opencl asahi is your streams
#asahi-gpu · 2023-07-07 04:55
linar3muxd: It's a software thing, on Asahi you can use as much as you want until things start crashing
#asahi-gpu · 2023-07-07 04:48
r3muxddoes anyone know if the working set limitations on the GPU are implemented in hardware or software? on asahi it says i can use all 16gb of unified memory as vram, but macos only lets me use about 10gb
#asahi-gpu · 2023-07-06 21:35
alyssathat should be doable now that I have compute shaders to work with
#asahi-gpu · 2023-07-06 21:35
alyssaThe actual hot item is pushing vk_meta forward
#asahi-gpu · 2023-07-06 21:32
alyssaNot bad for a day's work
#asahi-gpu · 2023-07-06 21:32
alyssaSascha Willems gears is... slightly less broken. Still kinda broken. But hey progress.
#asahi-gpu · 2023-07-06 21:32
alyssa- 8-bit/16-bit SSBO support and scalarBlockLayout (for more testing)
#asahi-gpu · 2023-07-06 21:31
alyssa- EXT_index_type_uint8 support
#asahi-gpu · 2023-07-06 21:31
alyssa- reworked descriptor set code a bit to make SSBOs work, to exercise compute shaders. dEQP-VK.ssbo.* is mostly passing except for some RA fails (not AGXV's bug)
#asahi-gpu · 2023-07-06 21:31
alyssa- lit up compute shaders (direct dispatch)
#asahi-gpu · 2023-07-06 21:30
alyssa- fillbuffer/updatebuffer as above
#asahi-gpu · 2023-07-06 21:30
alyssaAGXV update for the day:
#asahi-gpu · 2023-07-06 17:38
eric_engestromlina: could you take a look at https://gitlab.freedesktop.org/mesa/kmscube/-/merge_requests/42 to see if it works for you (instead of your https://gitlab.freedesktop.org/mesa/kmscube/-/merge_requests/32)? If so, I'll merge it and close yours :)
#asahi-gpu · 2023-07-06 13:49
alyssawhich in turn requires wiring up compute shaders. should be fun.
#asahi-gpu · 2023-07-06 13:48
alyssanow to port this into vk_meta
#asahi-gpu · 2023-07-06 13:48
alyssapasses the tests~

plus ›