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.

How to change the OSD0/VID1 resolution?

Hi,

I am trying to display different resolution of images using OSD0 or VID1 window.  For this I am referring  the demo application present at                               dvsdk_2_10_01_18/PSP_02_10_00_14/examples/dm365/fbdev/fbdev_loopback_hd.c

I have set the bootargs as, video=davincifb:vid0=1280x720x16,5400K:vid1=1280x720x16,5400K:osd0=1280x720x16,5400K

I am able to display 720x480i images, through the default setting. But when I tried to change the resolution to 1280x720P (or any resolution higher than 720x480i), I am getting the following errors.

------------------------------------------------------------------------------------------------------------------------------

main : Enter
vpbe_UE_1 : Enter
/sys/class/davinci_display/ch0/output was opened successfully
Current output value is COMPOSITE

Changed output to COMPOSITE

/sys/class/davinci_display/ch0/mode was opened successfully
Current mode value is NTSC
Changed mode to NTSC

Failed FBIOPUT_VSCREENINFO
Failed to init vid1 window restore_config : Enter
restore_config : Leave
main : Leave

------------------------------------------------------------------------------------------------------------------------------

I am setting the display attributes through,

change_sysfs_attrib(ATTRIB_OUTPUT, DISPLAY_INTERFACE_COMPONENT) and change_sysfs_attrib(ATTRIB_MODE,  DISPLAY_MODE_720P_60)

 

Can any one tell how to configure the OSD0 or VID1 for 720 P?

 

Thanks

Jai

 

 

  • Hi,

    Actually I am using DM365 EVM and I want to support 720P and 1080P, 1080i resolution using OSD0.

    I have connected an RGB cable (YPbPr) from the EVM to the HD monitor.

    Thanks

    Jai

  • Hi,

    I am trying to display an image of 720x480 resolution (NTSC) on an anloag TV, using OSD0. I have set the bootargs as video=davincifb:vid0=1280x720x16,5400K:vid1=1280x720x16,5400K:osd0=1280x720x16,5400K

     

    But the displayed image has been cropped in all the four directions by around 30 pixels. I tried the same by using VID1, but there is no difference in the result.

    When I tried with different resolution (say 720x576) the amount of cropping is different in all four directions.

    I am not sure why this is happening? Can you please help me to resolve this issue.

    Whether I need to modify any timing parameters like V-Sync and H-Sync?

     

    Regards

    Jai

  • Hi Jai,

    I have tried the same thing s on DM365 and facing the similar problem .Its seems their is some problem with the sync info which is been used to display on the screen.

    Are you able to display image of 1080I ( 1920x1080 HD ) using any of the window OSD0 or Video window 0 ?If yes then what are the bootargs you have set?

    Are you using the same "dvsdk_2_10_01_18/PSP_02_10_00_14/examples/dm365/fbdev/fbdev_loopback_hd.c" example to display using these windows or using any other libraries ( like directfb )for that ?

    Thanks.

     

     

  • Did you manage to get the fbdev_loopback_hd demo's OSd working properly?

    I am using the fbdev_loopback demo (standard PAL) and can get the OSD on but the transparency / blending does not want to work for nothing, trying everything, even to understand the datasheets.  Can anybody give some help on what to do to get OSD transparency on the fbdev_loopback demo going on the dm365evm?

    Thanks, Jinh T.