#
✕ nick:alyssa
#asahi-gpu · 2023-07-23 15:37
alyssaI've got a use case :>
#asahi-gpu · 2023-07-23 15:37
alyssa"Right now, the Gallium driver only issues single-command submissions and always uses [C0, R0] barriers to fully serialize everything. This might be improved in the future, but the main use case for all this is Vulkan queues."
#asahi-gpu · 2023-07-23 15:37
alyssawhistles
#asahi-gpu · 2023-07-23 15:37
alyssaclipboard fail
#asahi-gpu · 2023-07-23 15:37
alyssaerm
#asahi-gpu · 2023-07-23 15:37
alyssa> https://ok.reddit.com/r/egg_irl/comments/157bmhk/egg_irl/
#asahi-gpu · 2023-07-23 15:36
alyssagot it got it
#asahi-gpu · 2023-07-23 15:36
alyssathey're relative to the ioctl ooookay
#asahi-gpu · 2023-07-23 15:36
alyssaOhh
#asahi-gpu · 2023-07-23 15:35
alyssareads
#asahi-gpu · 2023-07-23 15:35
alyssaI don't quite understand what {NONE, 1} does
#asahi-gpu · 2023-07-23 15:35
alyssaright, ok
#asahi-gpu · 2023-07-23 14:56
alyssaif this is a kernel bug (rather than something that's just not supported yet) I can push a mesa branch to test against
#asahi-gpu · 2023-07-23 14:50
alyssaI've hacked around it in Mesa for now (submitting two ioctls back to back, putting the in syncs on the first and the out syncs on the second) but I shouldn't have to, I don't think
#asahi-gpu · 2023-07-23 14:47
alyssaIf not under the current uapi, can that be added? Working around this in Mesa would be annoying because it splits up the syncobjs and such across multiple ioctls when ideally it would be just one
#asahi-gpu · 2023-07-23 14:47
alyssaI want a barrier between my second command and my first. Can I express that?
#asahi-gpu · 2023-07-23 14:46
alyssaspecifically, I don't understnad the drm_asahi_cmd barriers
#asahi-gpu · 2023-07-23 14:45
alyssaIs this.. supposed to work though?
#asahi-gpu · 2023-07-23 14:45
alyssa(this requires a big refactor of how we submit batches in Mesa, but it seems far less ugly than the alternatives since it avoids messing with delicate batch tracking logic. and its probably faster.)
#asahi-gpu · 2023-07-23 14:44
alyssaspecifically, I want to submit both a compute job and a render job in the same ioctl, where the render job depends on the compute
#asahi-gpu · 2023-07-23 14:43
alyssa(When the two commands are in separate ioctls with syncing it works)
#asahi-gpu · 2023-07-23 14:43
alyssaunsure if this is my bug or yours
#asahi-gpu · 2023-07-23 14:43
alyssaI have a branch using it but am getting a race condition, second command isn't waiting for the first one to complete
#asahi-gpu · 2023-07-23 14:43
alyssaMesa doesn't currently use it so IDK if that kernel path was ever exercised
#asahi-gpu · 2023-07-23 14:42
alyssalina: I see the uapi lets you submit multiple commands in one ioctl .. is this tested?
#asahi-gpu · 2023-07-22 20:54
alyssa\shrug/
#asahi-gpu · 2023-07-22 20:53
alyssarosefromthedead: the important thing is that it works on !ARM64 for FEX reasons
#asahi-gpu · 2023-07-21 13:26
alyssashould get back to her day job
#asahi-gpu · 2023-07-21 13:11
alyssarosefromthedead: i gotchu
#asahi-gpu · 2023-07-21 13:07
alyssaand where the whole thing is inside a meson devenv
#asahi-gpu · 2023-07-21 13:07
alyssaexec $*
#asahi-gpu · 2023-07-21 13:07
alyssaexport MESA_VK_IGNORE_CONFORMANCE_WARNING=true
#asahi-gpu · 2023-07-21 13:07
alyssaexport VK_ICD_FILENAMES=~/mesa/build/src/asahi/vulkan/asahi_devenv_icd.aarch64.json
#asahi-gpu · 2023-07-21 13:07
alyssaand where agxv is
#asahi-gpu · 2023-07-21 13:07
alyssaEGL_PLATFORM=surfaceless agxv deqp-runner run --caselist $CASELIST --deqp $DEQP_BIN --fraction $FRACTION --output output/ -- --deqp-surface-type=pbuffer --deqp-visibility=hidden --deqp-gl-config-name=rgba8888d24s8ms0 --deqp-surface-width=256 --deqp-surface-height=256 --deqp-log-images=disable
#asahi-gpu · 2023-07-21 13:07
alyssaDEQP_BIN=~/VKCTS/deqp-vk
#asahi-gpu · 2023-07-21 13:07
alyssaCASELIST=$1
#asahi-gpu · 2023-07-21 13:07
alyssaFRACTION=1
#asahi-gpu · 2023-07-21 13:06
alyssawhere run-vk is
#asahi-gpu · 2023-07-21 13:06
alyssa[mesa] alyssa@applejack:~/VKCTS$ run-vk.sh ~/VK-GL-CTS/android/cts/main/vk-master.txt
#asahi-gpu · 2023-07-21 13:06
alyssayeah.. we've got work ahead :}
#asahi-gpu · 2023-07-21 13:06
alyssaPass: 226, Fail: 92, Crash: 400, Skip: 7282, Duration: 3:51, Remaining: 15:17:33
#asahi-gpu · 2023-07-21 13:04
alyssagesundheit
#asahi-gpu · 2023-07-21 13:04
alyssaPass: 92, Fail: 39, Crash: 141, Skip: 2728, Duration: 1:58, Remaining: 20:55:57
#asahi-gpu · 2023-07-21 12:25
alyssano sense in you repeating my mistakes
#asahi-gpu · 2023-07-21 12:24
alyssabut debugging CTS cases is straightforward. and then "miraculously" when I got the CTS cases working, the apps worked too.
#asahi-gpu · 2023-07-21 12:24
alyssaand that was a bad idea because it meant everything in the driver was broken and debugging apps was ridiculously hard because where to look? everywhere!
#asahi-gpu · 2023-07-21 12:23
alyssaI'm speaking from experience. early panfrost I was more interested in getting apps working than the "boring" CTS work
#asahi-gpu · 2023-07-21 12:23
alyssare the above though -- I'm not trying to be a downer
#asahi-gpu · 2023-07-21 12:22
alyssa(flat shading of matrices was botched)

plus ›