Hello,
I am trying to display X11 desktop over the fbdev driver on /dev/fb0 on solo4k and it seems to be more difficult that i thought.
It seems to have 3 buffers instead of only one, or I am missing something.
I have executed cat /dev/urandom > /dev/fb0 to fill entire buffer with random pixels, after that i used showiframe to display an image on tv, but the image appear under the random pixels, after that i started x11 desktop and an xterm window.
For my surprise the zone of the window cleared the random pixels from and reveal the image under displayed by showiframe, but not the actual window content, if i start x11vnc and connect with vnc client and move the mouse, the mouse trail clear the random pixels but not actually show any mouse, also if i move the xterm window, pixels are cleared, but not display the window content.
I decided to use grab to grab video buffer, osd buffer and both together and i had a surprise,
- the image from video buffer is completely black
- the image from osd buffer contain the xterm window on a black screen or random pixels with zones cleared by mouse trails or by moving xterm window.
- the image from both video and osd contain random pixels, all cleared pixels from mouse trails or moving window but no window content.
- in my tv screen i still have the initial image with random pixels over.
Please somebody guide me on how to properly display the x11 desktop over fb0 or other device.
Attached 4 pictures to let you see what i am actually facing.
Best regards,
Marc
Attached Files
Edited by serdeliuk, 6 April 2016 - 23:26.