How to get access to the FB in headless mode

Singh, Satyeshwar satyeshwar.singh at
Thu Jul 9 23:52:15 UTC 2020

I am working on a project that requires Weston to be used in headless backend mode. I need to stream the FB contents over to another system. I noticed that the virtual output concept is only present for the drm backend and it basically gets the FB that it needs to remote from drm (drmPrimeHandleToFD). However, in my case, there is no interaction with the drm.
I was earlier thinking of using a screenshooter type method but noticed that it does glReadPixels which is quite slow. Is there a way to mmap the pbuffer that is created in headless mode?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the wayland-devel mailing list