framebuffer-vncserver icon indicating copy to clipboard operation
framebuffer-vncserver copied to clipboard

Is it possible to use it with DRM backend in weston?

Open ssdasilva opened this issue 1 year ago • 4 comments

I am using the framebuffer-vncserver application with weston compositor using the DRM backend. This application needs to access the framebuffer being used, but when I check the device /dev/fb0 I see that nothing is being written there (which indicates that the /dev/fb0 device is not being used). I have searched for ways of accessing the framebuffer used in the DRI, but I had no success. Thus, is it possible to directly access the framebuffer in the Weston DRM backend? I know there is the fbdev-backend in weston. However, I have trouble using it with openGL. Furthermore the fbdev-backend will be deprecated in newer versions of weston (Thus, using the DRM backend is the preferred way). Could anyone help me? Is it possible to add instructions to do it in the README, or add some documentation for the DRM backend?

ssdasilva avatar Jun 19 '23 14:06 ssdasilva

+1 !

dedounet avatar Sep 22 '23 07:09 dedounet

If you have no working /dev/fb0 then you can't use this program.

ponty avatar Sep 24 '23 16:09 ponty

And what about abinding to /dev/dri/card0 ?

dedounet avatar Oct 02 '23 14:10 dedounet

You can use any file if it is a Linux framebuffer, but I don't think that /dev/dri/card0 is a Linux framebuffer.

Check the command-line help

ponty avatar Oct 02 '23 19:10 ponty