00:11fdobridge: <jekstrand> The caselist sync thing is because of the `VK_ERROR_INITIALIZATION_FAILED`, I'm pretty sure. And that's likely because the kernel has just stopped accepting new connections or something like that. Better than the whole machine keeling over but still probably requires a rebot.
00:26fdobridge: <jekstrand> rmckeever ^^
00:41rmckeever: Okay, that makes sense.
12:50fdobridge: <phomes> I do not see the rebase of nvk/main in the nouveau/mesa repo. Did you forget to push it there?
13:48fdobridge: <gouz> I am trying to support resuming with counter buffers for transform feedback.
13:48fdobridge: <gouz> I followed something like this but i cannot yet make it work:
13:48fdobridge: <gouz> - begin transform feedback without a counter buffer i set "SET_STREAM_OUT_BUFFER_LOAD_WRITE_POINTER" to zero
13:48fdobridge: <gouz> - at begin transform feedback with a counter buffer i run an mme that loads from the buffer to the SET_STREAM_OUT_BUFFER_LOAD_WRITE_POINTER
13:50fdobridge: <gouz> - at end transform feedback with a counter buffer i suspect we need to somehow store "SET_REPORT_SEMAPHORE_D_REPORT_STREAMING_BYTE_COUNT" to the counter buffer
13:52fdobridge: <gouz> Can i store this value directly to the counter buffer? or should i do this indirectly (e.g. a query / temp cmd buffer memory)
13:52fdobridge: <gouz> I am trying to support resuming with counter buffers for transform feedback.
13:52fdobridge: <gouz> I followed something like this but i cannot yet make it work:
13:52fdobridge: <gouz> - at begin transform feedback without a counter buffer i set "SET_STREAM_OUT_BUFFER_LOAD_WRITE_POINTER" to zero (edited)
16:25fdobridge: <jekstrand> Drp. Pushed to the wrong remote. Fixed now.
16:27fdobridge: <jekstrand> If you need a temporary, use a scratch state, not memory. Take a look at nvk_mme.h and specifically nvk_mme_scratch and look at what we do for CS invocations.
16:27fdobridge: <jekstrand> But I don't remember if you need actual scratch or can write straight to memory. It's been a while since I looked at the XFB API.
16:29fdobridge: <gouz> I tried to write streaming byte count directly to the buffer but without correct results,
16:29fdobridge: <gouz> thanks for the feedback, will search a bit more
18:45fdobridge: <phomes> thanks. I will rebase my MR's. Btw the old nvk/main had 2fbad0728203011023fc750fb4c8879595adf62e and the new one does not. Not sure if that was intentional
20:25fdobridge: <gouz> I've done it! The only thing missing was a INVALIDATE_SHADER_CACHES_NO_WFI after the write to the counter buffer.
20:25fdobridge: <gouz> We do not need temporary storage at all.
21:43fdobridge: <gouz> At last all transform feedback tests now pass
21:44fdobridge: <gouz> (excluding the not supported ones😅)