#
✕ nick:ella-0
#asahi-gpu · 2025-10-18 08:45
ella-0Found an issue with the kernel driver. use kernel::devcoredump; should be gate gated on CONFIG_DEV_COREDUMP. The devcoredump rust abstraction should also be gated on this.
#asahi-gpu · 2024-01-01 23:57
ella-0alyssa: as far as i could tell metal always just uses a compute pass for copies
#asahi-gpu · 2023-11-26 22:16
ella-0i509vcb: https://gitlab.freedesktop.org/Ella-0/mesa/-/blob/agxv/meta/randomcrapfori509vcbgoodluck/src/asahi/vulkan/agxv_format.c?ref_type=heads#L214
#asahi-gpu · 2023-11-26 22:14
ella-0my vk meta code should already deal with that
#asahi-gpu · 2023-10-20 19:59
ella-0the command stream should be able to have multiple VDM_STATE stuff I think though agxv_emit should only write at most one to the command buffer each time
#asahi-gpu · 2023-10-17 17:56
ella-0I have zram enabled but that is all
#asahi-gpu · 2023-10-17 13:19
ella-0also some cases end up with buffer range being out of bounds somehow? I have a slightly hacky patch for that using VK_WHOLE_SIZE https://gitlab.freedesktop.org/Ella-0/mesa/-/commit/9c466ac6032719c5bd245f43b173f74f94e70aaf
#asahi-gpu · 2023-10-17 13:16
ella-0anyway this is the layer assertion that lots of CTS hits https://gitlab.freedesktop.org/asahi/mesa/-/blob/agxv/main/src/vulkan/runtime/vk_meta_copy_image_to_buffer.c?ref_type=heads#L386 I have a hacky patch for it somewhere
#asahi-gpu · 2023-10-17 13:06
ella-0doing some CTS runs to work out what meta stuff to work on and uhh well ... VK_ERROR_OUT_OF_HOST_MEMORY yayyyy time to close my browser tabs
#asahi-gpu · 2023-10-13 13:59
ella-0yup that's correct
#asahi-gpu · 2023-10-06 19:32
ella-0yeah probably not but I still want to experiment
#asahi-gpu · 2023-10-06 19:11
ella-0:(( allocator_api isn't stablised yet in rust so I can not use it for representing allocation callbacks
#asahi-gpu · 2023-10-02 23:53
ella-0Ya know what I'm doing it. Gonna try rewriting that stubb agxv_event.c file in rust and seeing what happens.
#asahi-gpu · 2023-09-30 23:10
ella-0I didn't think you needed anything else really wo write proc macros
#asahi-gpu · 2023-09-30 22:29
ella-0Wouldn't have thought so; It's included in rust-src
#asahi-gpu · 2023-09-30 21:15
ella-0as for crates it might make sense to vendor ash (because it doesn't really have any other subdepednencies) but I personally wouldn't want to depend on much else; the dependency hell that crates can cause if one is not careful makes my other job (maintaing Iglunix) a bit of a pain.
#asahi-gpu · 2023-09-30 21:06
ella-0the other option is just a basic compute job that handles vkevent which I think v3dv does
#asahi-gpu · 2023-09-30 21:05
ella-0i509vcb: i think vkevent might need some uapi changes? at least what's currently used for implementing explicit synchronisation could be exposed more for implementing vkevent to some degree.
#asahi-gpu · 2023-09-29 20:44
ella-0I mean no one's touched vkevent yet afaik so maybe that could be done in rust?
#asahi-gpu · 2023-09-27 18:21
ella-0yeah that i'm not totally sure about
#asahi-gpu · 2023-09-27 18:15
ella-0I've been tempted for a while now just to add a bit of rust code to agxv to see how it goes
#asahi-gpu · 2023-09-27 14:34
ella-0cool
#asahi-gpu · 2023-09-19 18:40
ella-0Yeah it does
#asahi-gpu · 2023-09-19 16:38
ella-0Also anyone got some advice on how I should handle occlusion query availability? I'm assuming it'll be an extra compute pass that fills in an availability buffer but not sure.
#asahi-gpu · 2023-09-19 16:37
ella-0layered rendering!!! cool. Currently in the process of moving to uni so not gonna be able to do much for a couple weeks. If no ones got to that by the time I'm settled I'll look into agxv integration.
#asahi-gpu · 2023-09-04 15:41
ella-0eric_engestrom: VK_DRIVER_ID_MESA_AGXV is more inline with the other drivers so that I guess
#asahi-gpu · 2023-08-24 18:02
ella-0alyssa: will have a look
#asahi-gpu · 2023-08-24 17:08
ella-0i509vcb: pushed that meta stuff see https://gitlab.freedesktop.org/asahi/mesa/-/merge_requests/173
#asahi-gpu · 2023-08-23 22:05
ella-0i509vcb: yeah I have those save/restore stuff locally since it was causing some issues with occlusion query tests. will push tomorrow.
#asahi-gpu · 2023-08-16 22:07
ella-0alyssa: I'm running my own kernels but go ahead and rebase
#asahi-gpu · 2023-07-29 14:04
ella-0it was a mistake for me to start agxv in C
#asahi-gpu · 2023-07-23 17:07
ella-0alyssa: the agxv queue stuff uses multiple commands per ioctl
#asahi-gpu · 2023-07-21 07:35
ella-0alyssa: yeah I think that means I'm unblocked so throwing together a repo would be cool :3
#asahi-gpu · 2023-07-10 21:09
ella-0nice :3
#asahi-gpu · 2023-07-06 12:21
ella-0alyssa: yup you can. It's all MIT
#asahi-gpu · 2023-07-06 07:07
ella-0alyssa: whoops fixed that now I think
#asahi-gpu · 2023-07-05 18:36
ella-0alyssa: tests i'm using are VK.api.copy_and_blit.core.image_to_image.simple_tests.*, branch is https://gitlab.freedesktop.org/Ella-0/mesa/-/tree/wip/agxv/meta
#asahi-gpu · 2023-07-04 16:23
ella-0Some copies that aren't tile aligned are resulting in faults, and I've done nothing about properly converting values in shaders and am simply relying on images having mutable formats which isn't correct.
#asahi-gpu · 2023-07-04 15:54
ella-0You can fit in whereever you like but this copies stuff is what's really been whittling away at my motivation and I wanna be mean and pass it onto someone else
#asahi-gpu · 2023-07-04 15:52
ella-0alyssa: With agxv stuff I've been working on implementing copies in meta. I've not been making the best progress with it.
#asahi-gpu · 2023-06-09 14:58
ella-0I think there might be a performance issue somewhere in agx_transfer_map; google maps in ff seems to be spending a significant chunk of its time there doing a memcpy when panning or zooming
#asahi-gpu · 2023-01-28 20:57
ella-0alyssa: Fixed the cube :3, Still got to remove some hardcoded values but then that uniform stuff can be merged!
#asahi-gpu · 2023-01-15 17:21
ella-0okay :3
#asahi-gpu · 2023-01-15 17:16
ella-0interesting
#asahi-gpu · 2023-01-15 17:03
ella-0Yup it's pain :<
#asahi-gpu · 2023-01-15 16:58
ella-0That makes sense. I'm happy to work on compute stuff :3 currently the main thing holding agxv back is not having vkCmdCopy* and other transfer operations implemented. I tried and failed to implement them using the tilebuffer load/store shaders
#asahi-gpu · 2023-01-15 16:29
ella-0I was hoping to get some basic compute running on agxv before that I think
#asahi-gpu · 2023-01-15 16:28
ella-0uhh not sure
#asahi-gpu · 2023-01-15 16:14
ella-0It simplifies the command buffer code somewhat and makes it possible to allocate a chunk of the register file for push constants.
#asahi-gpu · 2023-01-15 16:12
ella-0yes

plus ›