X11 Desktop

serdeliuk

Senior Member
Messages
127
Hello,

Currently i am building a new image for Solo4K which will have X11 Desktop, however, i have some issues displaying windows on tv screen over /dev/fb0 with fbdev driver.

Does anyone have experience with this? It seems that the /dev/fb0 have few levels/planes at least two, video plane and osd plane, my x11 windows are placed on osd plane and does not show on the tv screen.

If i fill the fb0 buffer with random pixels with "cat /dev/urandom > /dev/fb0" when enigma2 is stopped and display an image with showiframe the image is displayed under the random pixels, i assume the that image is put into the video buffer and over it the random pixels from osd layer, however, if i use the grab tool to grab video and osd layers the image displayed with showiframe is not there, the video buffer is black and the osd buffer contain random pixels.

When i start the X server and a window with xterm, the new window is placed on the osd layer but the corresponding random pixels over the video buffer are cleared and the image displayed with showiframe is revealed, but again if i use the grab tool, the video buffer is black and the osd buffer contain the xterm window and random pixels.
If i start x11vnc and connect with a vnc client and move the window the random pixels are cleared from the ods as well as from tv screen, but the window itself does not show on the tv.

Below are some images to let you understand my issue,

Here is the screen as seen on the tv, the red clear zone is the xterm window from the osd layer.

Here is the OSD layer showing the xterm window over the random pixels.

Here is the video buffer, which is black.

And here is osd and video layers captured together by grab tool, as we can see there is no xterm window, no red image from tv screen, but the random pixels where the xterm window is located are cleared from the image.




Best regards,


Marc
 
Last edited:
Top