My graphic driver also is Intel GMA500.
I use ADBHOST to debug it.
I get log is below.
......
......
I/EGLDisplaySurface( 1695): using (fd=20)
I/EGLDisplaySurface( 1695): id = psbfb
I/EGLDisplaySurface( 1695): xres = 800 px
I/EGLDisplaySurface( 1695): yres = 480 px
I/EGLDisplaySurface( 1695): xres_virtual = 800 px
I/EGLDisplaySurface( 1695): yres_virtual = 480 px
I/EGLDisplaySurface( 1695): bpp = 16
I/EGLDisplaySurface( 1695): r = 11:5
I/EGLDisplaySurface( 1695): g = 5:6
I/EGLDisplaySurface( 1695): b = 0:5
I/EGLDisplaySurface( 1695): width = 127 mm (159.999998 dpi)
I/EGLDisplaySurface( 1695): height = 76 mm (160.421050 dpi)
I/EGLDisplaySurface( 1695): refresh rate = 63.06 Hz
It stops here, and I remove memset() function in
EGLDisplaySurface::mapFrameBuffer() of EGLDisplaySurface.cpp.
// at least for now, always clear the fb
memset(buffer, 0, finfo.smem_len); <---- remove it,
but why it stops without occur error.
Then it can continue running, but I found it stop eglCreateContext()
of egl.cpp.
It called by readyToRun() of BootAnimation.cpp.
So, I remove BootAnimation in SurfaceFlinger::readyToRun() of
SurfaceFlinger.cpp.
It still can not display any screen.
It stops
"I/ActivityManager( 1694): Start proc android.process.acore for
activity com.android.launcher/.Launcher: pid=1725 uid=10003 gids=
{3003}"
But using VESA VGA can display screen without boot animation.
How can I do it?
Thanks
On 5月11日, 下午10時36分, Sergej Pupykin <[email protected]> wrote:
> You can get 2D acceleration relatively easy with psb driver. It
> includes
> - fill rectangle
> - copy area
> operations.
>
> But it is not very helpfull for android...
>
> On May 11, 6:16 pm, fredchen <[email protected]> wrote:
>
>
>
> > Do you mean I cannot even get 2D hardware acceleration using psb
> > driver? I don't need 3D acceleration at this moment.
>
> > On 5月10日, 下午7時56分, Sergej Pupykin <[email protected]> wrote:
>
> > > fredchen wrote:
> > > > Hi,
>
> > > > Is there any one knows how to enable IntelGMA500graphic driver on
> > > > Menlow platfrom? I'm porting android to Menlow platform and would like
> > > > to enable the hardware acceleration. Any help is appreciated!!
>
> > > As I know, there is no hardware acceleration for framebuffer for
> > >GMA500, only for X Window.
>
> > > You may try psb driver to get native 800x480 resolution.
>
> > > If you want OpenGL, there are 3 ways I think:
> > > - reverse engineering and writing own driver
> > > - asking Intel
> > > - do some hacks to make proprietary X drivers work with android- 隱藏被引用文字 -
>
> - 顯示被引用文字 -
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---