android - Live Wallpaper disappears automatically -


i developed android live wallpaper using opengl.it starts fine,but hangs "loading live wallpaper" often.i don't know why happening.

i have 10 images in drawable used rendering.

my logcat,

        06-27 07:05:26.338: w/adreno-eglsub(22430): <dequeuebuffer:591>: dequeue native buffer fail: no such device, buffer=0x0, handle=0x0         06-27 07:05:26.338: w/adreno-es20(22430): <gl2_surface_swap:43>: gl_out_of_memory         06-27 07:05:26.338: w/adreno-egl(22430): <qegldrvapi_eglswapbuffers:3595>: egl_bad_surface         06-27 07:05:26.378: w/adreno-eglsub(22430): <dequeuebuffer:591>: dequeue native buffer fail: no such device, buffer=0x0, handle=0x0         06-27 07:05:26.378: w/adreno-es20(22430): <gl2_surface_swap:43>: gl_out_of_memory         06-27 07:05:26.378: w/adreno-egl(22430): <qegldrvapi_eglswapbuffers:3595>: egl_bad_surface         06-27 07:05:26.428: w/adreno-eglsub(22430): <dequeuebuffer:591>: dequeue native buffer fail: no such device, buffer=0x0, handle=0x0        06-27 07:05:26.428: w/adreno-es20(22430): <gl2_surface_swap:43>: gl_out_of_memory 

actually wallpaper loads properly,while rendering 30 -50 secs automatically stops , shows loading live wallpaper message.but when when click settings button loads again.

can tell me why facing issue.

this seem quite elusive bug. searching logcat messages turns many questions, answers.

switching of hardware acceleration worked some: here

as not option try change around initialization routine opengl/drawing. seems have helped people: one, twoo, threee

without more info available, have try these out (especially last one) , see happens.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -