This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Unable to run the gtk-demo application

Hi All,

  I am working on the TI's DM6467 target board. I have recently updated the kernel with linux-2.6.18_pro500 and using NFS rootfs. When I run the "gtk-demo" application on target board I am getting  message as "Cannot open Disaplay" and aborting without showing any UI. I have tried to run the startx ( used runlevel 5 ) then I got  below error messages as below

(EE) open /dev/fb/0: No such file or directory
(EE) No devices detected.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
         at http://wiki.X.Org

 

I have compiled the kernel with the default davinci_dm6467_defconfig  and i set boot args as

bootargs=mem=120M console=ttyS0,115200n8 noinitrd rw root=/dev/nfs ip=dhcp nfsroot=192.168.0.111:/home/work/workdir/filesys,nolock video=davincifb:vid0=0,2025K:vid1=0,1350K:osd0=720x576x16,2025K davinci_enc_mgr.ch0_output=COMPOSITE davinci_enc_mgr.ch0_mode=pal

Still  I didn't get any framebuffer device in the /dev/ directory. I have also verfied /proc/fb file but i didn't get any fb device for osd .

Could you please suggest me how to run gtk-demo application ( X11 backend ) and how to enable frame buffer for TI DM6467.

 

Thanks in Advance.

 

Best Regards,

Vemulapally.

  • The DM6467 does not have a FBDev frame buffer driver, so applications like GTK or X will not run properly on the DM6467. This is primarily because the display hardware on the DM6467 is limited, at least when compared to most of the other Davinci/OMAP/AM solutions. In particular it lacks the OSD hardware to manage varying color spaces, like the RGB color space that FBDev expecting, it can only handle the color space it actually displays in, which is generally YCbCr. Because of this DM6467 is not well suited to GUI graphics applications, it is primarily focused on video only acceleration with minimal GUI.

  • Hi Bernie,

        Thanks for your reply. I have run the TI's sample application for OSD i.e interface application which is working fine and showing the UI properly. We have ported browser on to DM6467 with X11 backend. When we are launching browser we are unable to open the browser window ( getting Cannot open Disaply message ). Could you please tell me is there any way to make it working any gtk/x11 application ?

     

     

    Thanks