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.

display overlay in DM3730

Other Parts Discussed in Thread: DM3730

I am now using overlay control in DM3730 as the following configurations.

FB0 -> Overlay0

FB1-> Overlay1

FB0 is for GFX layer for display User interface use by Qt embedded.

I use FB1 for drawing mouse cursor image because of when running QWS application using PowerVR, no cursor image is shown.

finally I must swap FB0 to overlay1 and FB1 to overlay0 for enable mouse cursor over UI. (Note that I'm using alpha mode)

The error occur when I assign FB0 to overlay1

omapdss OVERLAY error: overlay doesn't support mode 2048

I investigate and found that because /etc/init.d/pvr-init run the following command

# Set RGBA ordering to something the drivers like
if [ "$BITSPERPIXEL" = "32" ] ; then
        fbset -rgba 8/16,8/8,8/0,8/24
fi

This setting can run QWS application using PowerVR correctly. but cannot assign FB0 to overlay1.

then I change the rgba setting back to before run up pvr-init.

fbset -rgba 8/16,8/8,8/0,0/0

And I cannot start QWS application using PowerVR display. but I can assign FB0 to overlay1. the following error is shown.

/dev/fb0: could not find a suitable PVR2D pixel format

The reason that I must draw cursor on FB1 because of the PowerVR and OpenGL is using /dev/fb0

If I enable cursor drawing of FB0, cursor image will blinking because of PowerVR will try to update the UI also.

I also have try this cursor hack patch for PowerVR display, I get the blinking cursor image result.

http://nesl.ee.ucla.edu/fw/torres/home/oe/openembedded/recipes/qt4/qt4-embedded-gles-4.6.2/cursor-hack.diff

Any way I can assign FB0 to use overlay1 in this condition? or any solution to display cursor on QWS application using PowerVR display?