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.

Davinci platform OSD limit?

Hi, everyone:

           I'm trying to develop a DVR using DM365/368, but as I know this platform can't support OSD screen bigger than 720x576, I have try to change OSD screen to 1280x720, and just display fonts but got a lot of white line which should be words in 720x576, so I want know why OSD have this limit? what should I do can got a bigger OSD screen like 1280x720 or 1024x768? any suggest will be appreciate~!

  •   Can anyone give me some suggestion?  and I want to say, I have try to do a 1280x720 OSD using win-osd0 with osd1 be 0x0 and got an right font display, but can't display an PNG file, when I create button handle with PNG file it show an segment error

  • you might be able to display 1280x720 if your osd window is in bmp8 or bmp4.

  • Hi Eric,

    You can use OSD to display 1280x720. You might be seeing white lines due to DDR bandwidth. In 720P input to OSD, you are increasing the required bandwidth by almost 2.66 times.

    Can you tell me what all is running during this test? What is the DM365 clock setting for ARM and DDR?

    Regards,

    Anshuman

  • Hi, Anshuman

       I'm using 368 with 405M ARM and 340M DDR, I just test OSD nothing else, and I can display fonts on 1280x720, but when I try to show a PNG photo, it can display 720x576 very well, but when I create a  PNG bigger than 720x576 like 740x576 using Png-create, it appears 'segment error' , but I can display a 1280x120 png file, which confuse me, also, I want to know how could I change the font color, I want to show green fonts looks cool

  • Eric,

    Can you tell me your bootargs? I guess you might be setting bootargs for osd0 or osd1 to be 720x576, which can be a cause of segmentation fault as soon as you go to 740x576. This means you might be corrupting some memory area outside the boundary of the allocated buffers for osd.

     

    Regards,

    Anshuman

  • Hi, Anshuman

    setenv bootargs mem=80M console=ttyS1,115200n8 noinitrd ip=192.168.1.144  root=/dev/nfs rw nfsroot=192.168.1.237:/home/houshiqi/nfs_target/target,nolock video=davincifb:vid0=OFF:vid1=OFF:osd0=1280x720x16,5529K

    My bootargs, I haven't notice which OSD window it use, but I think is OSD0, so my bootargs set above,  by the way, how could I change the font color as I mentioned above