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 make use of fbdev (/dev/fb0) for dvi for OMAP3EVM

Hi all,

 

I am new to linux device drivers and graphics stuff.

I am currently working with the following sdks in mistral OMAP3EVM kit.

- OMAP35x-PSP-SDK-02.01.03.11 PSP which has linux-02.01.03.11 linux kernel version 2.6.29-rc3-omap1

- dvsdk_3_00_02_44

I build ti gstreamer + dvsdk and was able to run video playbacks using gstreamer command line launches.

It was by default making use of  V4L2 linux drivers(/dev/video1) and I had no issues directing the video output to to dvi display at different resolutins (720P).

I used the following bootarguments to driive the DVI and perform video playback using gstreamer (V4l2 driver)

setenv video_arg      mpurate=600  omap_vout.vid1_static_vrfb_alloc=y omap-dss.def_disp="dvi" omapfb.video_mode=1280x720MR-24@60

I used the following video argument for peforming the above.

But when I force the video sink to make use of fbdev frame buffer driver it fails to perform the playback. The following errors are seens

<3>omapfb omapfb: failed to set manager
omapfb omapfb: failed to set manager

Before suspecting to be a issue with the usage of gstreamer command lines, I tried to run the image playback demo application which makes use of fbdev(/dev/fb0) by default to render bmp image file on the display. I could only see some distorted images when i direct it to dvi display. The TI's demo code can be found here http://pastebin.com/f103d0448.

But the same image viewer demo works fine when directed to LCD display(640x480) made available in the mistral board.

I used the following bootargument for playing it on LCD

setenv video_arg       psplash=false mpurate=600 omap-dss.def_disp="lcd" omapfb.rotate=1

Issueing fbset gives the following

mode "480x640-60"
        # D: 25.190 MHz, H: 38.874 kHz, V: 59.990 Hz
        geometry 480 640 480 640 16
        timings 39698 78 88 5 2 2 1
        accel false
        rgba 5/11,6/5,5/0,0/0

I tried different  omapfb.video_mode for dvi like omapfb.video_mode="640x480MR-16@60" and still was not successful in getting the image playback through fbdev (/dev/fb0) and also tried different combination with out understanding things properly.

Kindly help me to understand and resolve this issue.

Thanks and regards,

Hari

PS: Kindly help in resolving this issue ASAP as, i dont want to carry this issue to next year. :)