Open rayrapetyan opened 1 year ago
Looks like it's a linux_dma issue. Seems screencast_version >= 3 work only with DMABUF and ignore WL_SHM, not sure if it's a bug or not. So the question is why
wlroots: linux_dmabuf event handler
is not being triggered in my env?
According to the source code, it appears that only the gles2 and vulkan renderers support DMA. I had been using pixman. The question arises: should this project include support for the pixman renderer? If it doesn't, then it might be advisable to eliminate it from the list of supported renderers since it serves no purpose in this context.
Ran into this as well while trying to run a device that doesn't have a DRM node - there doesn't seem to be a way to use the screen cast protocol without one as a result of this issue, and since we can't use the gles2
or vulkan
renderer with LLVMPIPE (see https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/2871). Is there a way to request the older screencast_version
explicitly to support that use case still?
Trying to run https://gitlab.gnome.org/-/snippets/39 inside a Docker container running on a headless host. I'm running these commands at the entrypoint:
Here is startup log:
Everything looks good. Now running https://gitlab.gnome.org/-/snippets/39:
Seems it was able to capture a frame, but the format is invalid. What could be wrong here?