<fdobridge>
<gfxstrand> Okay, I've confirmed that Zink isn't barriering images properly. Now the question is why
<fdobridge>
<gfxstrand> @zmike. I'm pretty sure the problem with X11 sync is that we're not doing QUEUE_FAMILY_FOREIGN transfers on the BOs that get imported via `glXBindTexImageEXT()`
<fdobridge>
<gfxstrand> I see the code that should be triggering but I'm having trouble tracking down why it isn't
<fdobridge>
<fooishbar> you can't really do QFOT and handoff
<fdobridge>
<gfxstrand> You can. You have to do it every submit
<fdobridge>
<fooishbar> yep on the compositor, which is easy enough since it came from BindTexImage, but harder from the xserver since it's just an arbitrary GBM BO
<fdobridge>
<gfxstrand> The sync issue I'm seeing is in the compositor, I think.
<fdobridge>
<gfxstrand> But it's the same story for both. QFOT both ways on every `vkQueueSubmit()`.
<fdobridge>
<gfxstrand> As long as we only submit in `glFlush()`, that's fine
<fdobridge>
<gfxstrand> For actual winsys things, we have more information
<fdobridge>
<gfxstrand> And we have code which looks like it does this... except it doesn't.
<fdobridge>
<fooishbar> I think you'd want something like a new gbm_bo_create flag in glamor_make_pixmap_exportable to indicate that it's ... well it's basically the shared_present layout tbh
<fdobridge>
<gfxstrand> I *think* Zink is already trying to do that with anything that's a dmabuf
<fdobridge>
<gfxstrand> We're adding things to a hash set while iterating it...
<fdobridge>
<gfxstrand> I need to look at a dma-buf piglit test, I think.
<fdobridge>
<gfxstrand> I'm very sure Zink's `dmabuf_exports` thing is broken. I just don't know why
f_ is now known as funderscore
funderscore is now known as f_
f_ is now known as funderscore
<fdobridge>
<gfxstrand> Found it!
<fdobridge>
<gfxstrand> Well, found one of the bugs anyway. :frog_upside_down:
<fdobridge>
<zmike.> then I'll know how much pushconst space I have left for doing the intel ubo->pc optimization, though I think it'll need all of the spec min
<fdobridge>
<zmike.> then again who knows if anyone would even care?
xroumegue has joined #zink
<fdobridge>
<gfxstrand> The next question is: Do I care enough to block `NOUVEAU_USE_ZINK` on fixing the crazy Flatpak corner case?
<fdobridge>
<gfxstrand> Or do Flatpak users get the issues they've been asking for?
<fdobridge>
<zmike.> which corner case was that again