You are not logged in.
Hi all.
I need to bring up lightweight XFree86 server with DirectFB as video backend on CE Linux (Intel Set Top Box). For now I've done following:
1. Compiled and tested DirectFB with multi application support (fusion library).
2. Compiled XFree86 with DirectFB as backend.
3. X based applications (xclock, for example) can be drawn from device on remote display after exporting DISPLAY variable.
4. XDirectFB server can be started successfully without errors.
I faced with following X server problems:
1. I can see only black display with active graphic mouse cursor once I started X server and any X application (xclock, for example). Its looks like application windows are drawn but invisible on a screen. When I moving mouse, cursor changes from arrow to resize or others icons.
2. When I try to use XFree86 as remote X server for drawing, client program issue XRandr command is not supported. Again I can see blank black screen and valid mouse cursor, which seems manage invisible windows.
3. XFree86 manuals points that X server uses configuration files /etc/X11/xorg.conf or /etc/X11/XF86Config for video/input devices settings. Does XFree86 with DirectFB video backend use such configuration files? Which one? What video driver should I define there? I have tried both of configuration files without success. It seems X server ingoring them.
Appreciate advices, suggestions and visions.
Please note me if additional information requires.
Medvic.
Offline
I have discovered solutions for my problems (unfortunaly not causes). Hope this helps someone.
1. I can see only black display with active graphic mouse cursor once I started X server
I have found that XDirectFB binary accepts 'defaultOpacity' (default opacity for created top level windows)argument which can vary in <1-255> range. Value 1 corresponds to full invisibility windows state and 255 to zero opacity. It seems 255 is default value for opacity, but in my case screen still black/blank. I set 254 opacity and wow! Its a miracle - I can see windows!!!
2. When I try to use XFree86 as remote X server for drawing ... I can see blank black screen and valid mouse cursor
Now I can use my X server for rendering remote client's graphic applications.
3. ... Does XFree86 with DirectFB video backend use such configuration files? Which one? What video driver should I define there?
It seems indeed XDirectFB server doesn't use any configuration files. For my case X server normally starts without configuration files.
If you have any questions or need some clarifications, please contact me.
Regards, Medvic.
Last edited by medvic (2009-12-30 22:24:32)
Offline
To moderators:
Please mark this thread as SOLVED.
Regards.
Offline