On Thu, Nov 19, 2009 at 1:24 AM, Robin Gujjar <robin.guj...@gmail.com>wrote:
> did you change any thing in > "clair/*hardware/libhardware/modules/gralloc/framebuffer.cpp" > ? . *check #define NUM_BUFFERS its value should be 2 .i got this issue one > time if u chnage this to "1" . Just check it > Thanks , but no of buffer is 2 in my case. I am just checking with print logs, dont have any code change here. Earlier I thought it was prb of page flipping (in same file ) but its not showing page flipping error ( not going to print that LOG from same file) so its not my fb driver issue. I am getting -ve value of xDpi and yDpi , I think there is something wrong here. I/gralloc ( 771): xres = 240 px I/gralloc ( 771): yres = 320 px I/gralloc ( 771): xres_virtual = 240 px I/gralloc ( 771): yres_virtual = 640 px I/gralloc ( 771): bpp = 16 I/gralloc ( 771): r = 11:5 I/gralloc ( 771): g = 5:6 I/gralloc ( 771): b = 0:5 I/gralloc ( 771): width = 240 mm (25.400000 dpi) I/gralloc ( 771): height = 320 mm (25.400000 dpi) I/gralloc ( 771): refresh rate = 60.00 Hz E/FramebufferNativeWindow( 771): *xDpi -2097152000 *E/FramebufferNativeWindow( 771): *yDpi -2097152000* > --Gujjar > > On Thu, Nov 19, 2009 at 12:47 AM, Porting beginner < > porting.begin...@gmail.com> wrote: > >> >> >> On Wed, Nov 18, 2009 at 7:05 AM, Alexey Roslyakov < >> alexey.roslya...@gmail.com> wrote: >> >>> Hello, >>> I managed to compile Eclair for mini2440 (ARMv4) platform and run it. >>> Unfortunately, it hangs after start >>> >>> 11-18 14:20:32.388 W/gralloc ( 708): page flipping not supported >>> (yres_virtual=480, requested=960) >>> 11-18 14:20:32.388 I/gralloc ( 708): using (fd=23) >>> 11-18 14:20:32.388 I/gralloc ( 708): id = s3c2410fb >>> 11-18 14:20:32.388 I/gralloc ( 708): xres = 800 px >>> 11-18 14:20:32.388 I/gralloc ( 708): yres = 480 px >>> 11-18 14:20:32.388 I/gralloc ( 708): xres_virtual = 800 px >>> 11-18 14:20:32.388 I/gralloc ( 708): yres_virtual = 480 px >>> 11-18 14:20:32.388 I/gralloc ( 708): bpp = 16 >>> 11-18 14:20:32.388 I/gralloc ( 708): r = 11:5 >>> 11-18 14:20:32.388 I/gralloc ( 708): g = 5:6 >>> 11-18 14:20:32.388 I/gralloc ( 708): b = 0:5 >>> 11-18 14:20:32.393 I/gralloc ( 708): width = 800 mm (25.400000 >>> dpi) >>> 11-18 14:20:32.393 I/gralloc ( 708): height = 480 mm (25.400000 >>> dpi) >>> 11-18 14:20:32.393 I/gralloc ( 708): refresh rate = 53.04 Hz >>> 11-18 17:01:36.398 I/dumpstate( 730): begin >>> >>> Full log: http://www.newsycat.com/android/eclair/tmp/dumpstate.txt >>> >>> Any idea? >>> There were no such problems in the past builds (cupcake, donut, 1.6- >>> rX). >>> >>> >> I am having exactly same problem with eclair on my target board. But I >> dont see page flipping error might because I started logcat late. >> Kernel 2.6.27+ donut is working fine on my target and now I tried to >> integrate eclair inpalce of DONUT. >> Got stuck after small ANDROID screen, blank script though entire boot >> sequence looks fine. >> >> As I have gone through eclair code with logcat help, framebuffer is @ >> eclair/*hardware/libhardware/modules/gralloc/framebuffer.cpp* in eclair, >> there are some changes as compare to donut which use EGL for screen >> initialization , *donut/framework/base/libs/ui/EGLSurface.cpp. >> * >> >> donut >> logcat... >> eclair logcat. >> >> >> I/SurfaceF linger( 7 55): EGL i nformation s: >> 462 I/SurfaceF >> linger( 7 71): Surfa ceFlinger is startin g >> 405 I/SurfaceF linger( 7 55): # of configs : 6 >> 463 I/SurfaceF >> linger( 7 71): Surfa ceFlinger' s main thr ead ready to run. In >> itializing graphics H/W... >> 406 I/SurfaceF linger( 7 55): vendo r : And roid >> 464 I/gralloc ( 771): u sing >> (fd=2 3) >> 407 I/SurfaceF linger( 7 55): versi on : 1.3 1 Android >> META-EGL 465 I/gralloc ( 771): i d = >> LCDfb >> 408 I/SurfaceF linger( 7 55): exten sions: >> 466 I/gralloc ( >> 771): x res = 240 px >> 409 I/SurfaceF linger( 7 55): Clien t API: Ope nGL ES >> 467 I/gralloc ( 771): y >> res = 320 px >> 410 I/EGLDispl aySurface( 755): us ing (fd=22 ) >> 468 I/gralloc ( 771): x >> res_virtua l = 240 px >> 411 I/EGLDispl aySurface( 755): id = LCDfb >> 469 I/gralloc ( 771): y >> res_virtua l = 640 px >> 412 I/EGLDispl aySurface( 755): xr es = 240 px >> 470 I/gralloc ( 771): b >> pp = 16 >> 413 I/EGLDispl aySurface( 755): yr es = 320 px >> 471 I/gralloc ( 771): >> r = 11:5 >> 414 I/EGLDispl aySurface( 755): xr es_virtual = 240 px >> 472 I/gralloc ( 771): >> g = 5:6 >> 415 I/EGLDispl aySurface( 755): yr es_virtual = 640 px >> 473 I/gralloc ( 771): >> b = 0:5 >> 416 I/EGLDispl aySurface( 755): bp p = 16 >> 474 I/gralloc >> ( 771): w idth = 240 mm (25.40000 0 dpi) >> 417 I/EGLDispl aySurface( 755): r = 11:5 >> 475 I/gralloc ( 771): h >> eight = 320 mm (25.40000 0 dpi) >> 418 I/EGLDispl aySurface( 755): g = 5:6 >> 476 I/gralloc ( 771): r >> efresh rat e = 60.00 Hz >> 419 I/EGLDispl aySurface( 755): b = 0:5 >> 477 E/Framebuf ferNativeW >> indow( 77 1):* xDpi - 2097152000* >> 420 I/EGLDispl aySurface( 755): wi dth = 240 mm >> (25.400000 dpi) 478 E/Framebuf ferNativeW indow( 77 1):*yDpi >> - 2097152000 >> * >> 421 I/EGLDispl aySurface( 755): he ight = 320 mm >> (25.400000 dpi) 479 D/libEGL ( 771): e gl.cfg not found, >> us ing defaul t config >> 422 I/EGLDispl aySurface( 755): re fresh rate = 60.00 H z >> 480 D/libEGL ( 771): l oaded /sys >> tem/lib/eg l/libGLES_ android.so >> >> >> I am using same kernel (.27 ) for eclair also which works fine with donut >> so it shouldn't be kernel driver level issue. >> Any help on this ? >> >> -- >>> >>> unsubscribe: >>> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> >>> website: http://groups.google.com/group/android-porting >>> >> >> >> >> -- >> Thanks >> >> >> -- >> unsubscribe: >> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> >> website: http://groups.google.com/group/android-porting >> > > -- > unsubscribe: > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> > website: http://groups.google.com/group/android-porting > -- Thanks -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting