Frame Buffer Issue

202 views
Skip to first unread message

Pawan

unread,
Jan 17, 2012, 8:11:53 AM1/17/12
to android...@googlegroups.com
Hi,
 
I am working on Mistral DM3730 board, and have already ported Android 2.3.4 on it.
I am trying to run Android VNC server(fbvnc) on it and VNC client on x86 Linux Machine.
But facing some issue, I am getting Android Boot Screen only at VNC client side eventhough android homescreen is displaying on LCD screen.
Following is the snap shot.
 
 

 
 
 
 
 
 
 
 
 
 
 
 
 
Android VNC Server tries to access /dev/graphics/fb0.
But for Android Froyo version, It is working perfectly.
Can somebody please suggest some idea to resolve this issue.
 
 
Thanks,
 
Pawan

Sam Berro

unread,
Jan 17, 2012, 4:44:07 PM1/17/12
to pawan.s...@gmail.com, android...@googlegroups.com
This is because you are using the hardware composer driver to draw images directly to the lcd not the framebuffer device. The frame buffer is used until the hwc is initialized through SurfaceFlinger.

-- Sam Berro




--
 -- Sam Berro

Pawan

unread,
Jan 18, 2012, 1:05:11 AM1/18/12
to android...@googlegroups.com, pawan.s...@gmail.com
Hi Sam,
 
Thanks for reponse.
Can you please explain me tad more that what shall I do, so that I can see what ever is running on LCD at the VNC client side.
Or in other means what changes are made in Android 2.3.3 kernel that results this scenerio.
 

Arun Joseph

unread,
Jan 18, 2012, 11:20:26 AM1/18/12
to android-porting
Hi Pawan,

Can you try the below sources for vnc server. It works for beagleboard
and beaglebone. So It should work for DM3730 as well.

git clone -b rowboat-gingerbread git://gitorious.org/rowboat/droid-vnc-server.git

Regards,
Arun

On Jan 18, 2:44 am, Sam Berro <sambe...@gmail.com> wrote:
> This is because you are using the hardware composer driver to draw images
> directly to the lcd not the framebuffer device. The frame buffer is used
> until the hwc is initialized through SurfaceFlinger.
>
> -- Sam Berro
>
>
>
>
>
>
>
>
>
> On Tue, Jan 17, 2012 at 7:11 AM, Pawan <pawan.s.rath...@gmail.com> wrote:
> > Hi,
>
> > I am working on Mistral DM3730 board, and have already ported Android
> > 2.3.4 on it.
> > I am trying to run Android VNC server(fbvnc) on it and VNC client on x86
> > Linux Machine.
> > But facing some issue, I am getting Android Boot Screen only at VNC client
> > side eventhough android homescreen is displaying on LCD screen.
> > Following is the snap shot.
>
> > <https://lh4.googleusercontent.com/-VKPGVIwl3pA/TxVcJeKRr3I/AAAAAAAAAD...>

Sam Berro

unread,
Jan 18, 2012, 1:28:00 PM1/18/12
to pawan.s...@gmail.com, android...@googlegroups.com
Try Arun's suggestion and report back to us. I am interested in this as well.

 

--



--
 -- Sam Berro

preetam m.n

unread,
Jan 20, 2012, 3:44:59 AM1/20/12
to samb...@gmail.com, pawan.s...@gmail.com, android...@googlegroups.com
what does you screen cast or ddms show ?

As usually /dev/graphics/fb0 is what is used in screen cast.

- Preetam
"The great pleasure in life is doing what people say you cannot do"

Pawan

unread,
Jan 20, 2012, 4:38:09 AM1/20/12
to android...@googlegroups.com, samb...@gmail.com, pawan.s...@gmail.com
Hi Peter,

when I capture screen using ddms, its gets correct image  of whatever going on the screen.
I think ddms uses dalvik-cache.

Sam Berro

unread,
Jan 20, 2012, 5:34:56 AM1/20/12
to android...@googlegroups.com
No, it uses the Screenshot class in SurfaceFlinger, indirectly by creating a pipe and executing screencap to get the pixels.
--
 -- Sam Berro
Reply all
Reply to author
Forward
0 new messages