07:38 linkmauve: Hi, is jay in a state where you’d like some testing with real-world applications? I’m always on mesa main so I was thinking I could try switching to it, but there seems to be no easy toggle yet in meson.
08:52 jani: airlied: thanks!
16:19 jenatali: zmike: Care to take a quick look at https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/43372 ?
17:41 Company: I have a question: How does Mesa's GL wsi avoid using fds when opening Wayland popups?
17:42 Company: because it turns out Wayland swapchains open lots of fds (12 with my configuration) for every swapchain
17:44 Company: and, well, some apps allow people to create 10s or 100s of popups, so GL happily runs along but Vulkan (or some other subsystem) runs into EMFILE errors when the popups have gobbled up all the fds
18:15 zamundaaa[m]: Company: in principle, you don't need to keep any fds open for Wayland
18:16 zamundaaa[m]: The GL side also doesn't implement explicit sync, which probably makes up most of the fds in the swapchain
18:17 Company: I was thinking that probably my own syncs/fences make up (part of) the fds
18:18 zamundaaa[m]: Unless you export them, it's likely implemented with handles rather than fds
18:19 zamundaaa[m]: Otherwise many Vulkan apps would hit the default fd limits
19:14 Company: hrm, that's something to think about
19:15 Company: because currently I do want to export them so that I can poll() them
19:15 Company: so I can track render times
19:15 Company: but I might want to make sure to only export the last one
19:49 karolherbst: Somebody want to review some of the nir patches in https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42186?