Hi, i compiled android kernel with virtual framebuffer support and
msm_fb disabled, so i can access the framebuffer only using a
framebuffer viewer (for example a VNC server).

However if i use a high resolution (800x600) gralloc returns me an Out
of Memory error...
If i use 320x480 its working fine.

Is there any constant limit i should raise?

Thanks
José Pereira


(logcat)
W/SurfaceFlinger(  124): mBuffers[0] is null (mWidth=480, mHeight=775)
E/gralloc (  124): gralloc failed err=Out of memory
D/Sensors (  124): sensors=00000000, real=00000000
W/        (  124): alloc(480, 775, 1, 00000133, ...) failed -12 (Out
of memory)
D/        (  124): Allocated buffers:
D/        (  124):    0xed4d8:   32.70 KiB |   91 x   92 |  1 |
0x00000133
D/        (  124):   0x12e388:  750.00 KiB |  480 x  800 |  4 |
0x00000130
D/        (  124):   0x2095f8:  931.25 KiB |  320 x  745 |  1 |
0x00000133
D/        (  124):   0x214c58:   46.88 KiB |  480 x   25 |  1 |
0x00000133
D/        (  124):   0x276868:    0.94 KiB |   12 x   20 |  1 |
0x00000133
D/        (  124):   0x280800:  750.00 KiB |  480 x  800 |  4 |
0x00000133
D/        (  124):   0x29b6e8: 1453.12 KiB |  480 x  775 |  1 |
0x00000133
D/        (  124):   0x2a4a18:  931.25 KiB |  320 x  745 |  1 |
0x00000133
D/        (  124):   0x2d5628:   28.44 KiB |   91 x   80 |  1 |
0x00000133
D/        (  124):   0x2d7a30: 1453.12 KiB |  480 x  775 |  1 |
0x00000133
D/        (  124):   0x2fdb28:   46.88 KiB |  480 x   25 |  1 |
0x00000133
D/        (  124):   0x3032e0:  750.00 KiB |  480 x  800 |  4 |
0x00000133
D/        (  124):   0x35fcd8:  750.00 KiB |  480 x  800 |  4 |
0x00000133
D/        (  124): Total allocated: 7924.58 KB
E/SurfaceFlinger(  124): Layer::requestBuffer(this=0xea950), index=0,
w=480, h=775 failed (Out of memory)
E/Surface (  124): Surface (identity=2) requestBuffer(0, 00000033)
returneda buffer with a null handle
E/Surface (  124): getBufferLocked(0, 00000033) failed (Out of memory)
E/Surface (  124): dequeueBuffer failed (Out of memory)
E/ViewRoot(  124): OutOfResourcesException locking surface

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to