Flicker with multiple frame buffer devices( Fb0 and Fb1 simultaneously )

534 views
Skip to first unread message
Message has been deleted

Robin Gujjar

unread,
Oct 6, 2009, 11:03:23 PM10/6/09
to android-porting
Hi All,

I am facing flicker problem when i uses multiple frame buffer devices
simultaneously. we have modified the surfaceflinger and ui code for
supporting the multiple framebuffer devices. we have created a
different Graphics plane ( Second DisplayHardware instance based upon
dpy=0 and dpy =1 passed from the client ) for for second frame buffer
devices(fb1). We have Modified the EGLDisplaysurface.cpp code for
supporting multiple frame buffer devices. we have modified the
swapBuffer and mapFramebuffer function for multiple frame buffer
support other then surfaceflinger code .

In the EGLDisplaysurface.cpp swapBuffer function, we have not done
any modification for the Fb0 data path. But for the FB1 inside
swapBuffer function withoit checking any PAGE_FLIP flag , every time,
i copy the back buffer to the front buffer. other modification for
the Fb1 in swapBuffer is, uses of FBIO_PANDISPLAY and
FBIO_WAITFORVSYNC ioctl without disturbing the Fb0 data path.

Currently in the mapFramebuffer we have re sized the window 1 (fb1)
as per our requirement also and content of the Fb1 video is coming
on the display. But when we run two video for Fb0 and Fb1 together .
Fb1 content gives the flicker Fb0 content is correctly come on the
screen.

Can any one please give me some pointer regarding above flicker
problem ?

thanks and regards
Robin Singh

Robin Gujjar

unread,
Oct 10, 2009, 9:35:08 PM10/10/09
to android-porting
yep done, Successfully able two play two video on FB0 And FB1.

--Robin Gujjar

anil singh

unread,
Nov 14, 2013, 9:30:41 AM11/14/13
to android...@googlegroups.com
Hi Robin,

Can you tell us how to create multiple instance of /dev/fb0 ?

Regards,
Anil
Reply all
Reply to author
Forward
0 new messages