dri and screen casting.

Andy Ng andreas2025 at gmail.com
Sun Dec 15 15:14:34 UTC 2019


Hello List,

I am using 4.9 kernel on an embedded system with an imx6 processor.
For GPU driver I am using etnaviv and fb emulation. The application I
am using is based on Qt 5.6.

Two cards are created card0 and card1 where card0 is the VGA and card1
the GPU. A /dev/fb0 is created to emulate the fbdev.

I would like to use VNC server library and get the QT UI over the
network. The fb0 device is not updated by the Qt as needed. I think
newer versions have plunging to work with kms and fb0.

If I use x11vnc it does not have any support for dir and kms. but it
may be able to read from memory areas.

I have tried evdi.ko libevdi but it is not working - very poor implementation.

Is there any idea how to do a basic vnc using dri - I don't have any
x11 or wayland on the target. the application is quite minimal, full
root access.

I was thinking to dump the fb from the dri to fb0 manually every
20msec. But I am not sure about efficiency. My  screen size is 800x480
8bbp.


Any advice would be appreciated,
Kind regards
Andreas


More information about the dri-devel mailing list