Closed rayrapetyan closed 7 months ago
Made some progress after adding custom debugging messages. Seems my problem comes from wlroots: I see both managers (wlr_screencopy_manager_v1_create() and wlr_export_dmabuf_manager_v1_create()) are being created; screencopy calls manager_bind() through the wl_global_create(), but same doesn't happen for export_dmabuf... Investigating further.
Ok, so seems it's xdg-desktop-portal-wlr is responsible to call wl_registry_bind for all interfaces, and it does so only for wlr_screencopy_v1... Is xdg-desktop-portal-wlr going to support wlr_export_dmabuf? Or zwp_linux_dmabuf_v1_interface is enough? What's the difference?
Trying to run https://gitlab.gnome.org/-/snippets/39 with a slightly modified pipeline:
Logs look good, but nothing is written into file:
I think popped buffer (nil) is something unexpected. Could someone with a working pipewiresrc pipeline tell me what's there after "popped buffer" line in their logs?
debug-pipewire-screencast.sh output: