Imagination PowerVR SDK Blog

EGL_BAD_DISPLAY during init


#1

I’m on a DroidX with SGX530. Could someone kindly tell me what these errors indicate, and if they are expected during GL initialization? I see them during bootup. I googled and found a lot of mentions of the same errors…





04-01 13:13:21.044 1341 1349 E libEGL : eglSetSwapRectangleANDROID:1862 error 3008 (EGL_BAD_DISPLAY)





04-01 13:13:21.442 1341 1349 E SurfaceFlinger: eglSwapBuffers: EGL error 0x3008 (EGL_BAD_DISPLAY)





===


Here is a longer log excerpt for context…





04-01 13:13:20.880 1341 1341 I SurfaceFlinger: SurfaceFlinger is starting


04-01 13:13:20.880 1341 1349 I SurfaceFlinger: SurfaceFlinger’s main thread ready to run. Initializing graphics H/W…


04-01 13:13:20.919 1341 1349 D libEGL : loaded /system/lib/egl/libGLES_android.so


04-01 13:13:20.926 1341 1349 D libEGL : loaded /system/lib/egl/libEGL_POWERVR_SGX530_125.so


04-01 13:13:20.960 1341 1349 D libEGL : loaded /system/lib/egl/libGLESv1_CM_POWERVR_SGX530_125.so


04-01 13:13:20.981 1341 1349 D libEGL : loaded /system/lib/egl/libGLESv2_POWERVR_SGX530_125.so


04-01 13:13:21.044 1341 1349 E libEGL : eglSetSwapRectangleANDROID:1862 error 3008 (EGL_BAD_DISPLAY)


04-01 13:13:21.044 1341 1349 I SurfaceFlinger: EGL informations:


04-01 13:13:21.044 1341 1349 I SurfaceFlinger: # of configs : 36


04-01 13:13:21.044 1341 1349 I SurfaceFlinger: vendor    : Android


04-01 13:13:21.044 1341 1349 I SurfaceFlinger: version   : 1.4 Android META-EGL


04-01 13:13:21.044 1341 1349 I SurfaceFlinger: extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_ANDROID_image_native_buffer EGL_ANDROID_swap_rectangle


04-01 13:13:21.044 1341 1349 I SurfaceFlinger: Client API: OpenGL ES


04-01 13:13:21.044 1341 1349 I SurfaceFlinger: EGLSurface: 8-8-8-8, config=0x1


04-01 13:13:21.044 1341 1349 I SurfaceFlinger: OpenGL informations:


04-01 13:13:21.044 1341 1349 I SurfaceFlinger: vendor    : Imagination Technologies


04-01 13:13:21.044 1341 1349 I SurfaceFlinger: renderer : PowerVR SGX 530


04-01 13:13:21.044 1341 1349 I SurfaceFlinger: version   : OpenGL ES-CM 1.1


04-01 13:13:21.044 1341 1349 I SurfaceFlinger: extensions: GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_matrix_get GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_point_sprite GL_OES_point_size_array GL_OES_matrix_palette GL_OES_draw_texture GL_OES_query_matrix GL_OES_texture_env_crossbar GL_OES_texture_mirrored_repeat GL_OES_texture_cube_map GL_OES_blend_subtract GL_OES_blend_func_separate GL_OES_blend_equation_separate GL_OES_stencil_wrap GL_OES_extended_matrix_palette GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_depth24 GL_OES_stencil8 GL_OES_compressed_ETC1_RGB8_texture GL_OES_mapbuffer GL_OES_EGL_image GL_EXT_multi_draw_arrays GL_OES_required_internalformat GL_IMG_read_format GL_IMG_texture_compression_pvrtc GL_IMG_texture_format_BGRA8888 GL_EXT_texture_format_BGRA8888 GL_IMG_texture_stream GL_OES_egl_sync GL_IMG_vertex_array_object


04-01 13:13:21.044 1341 1349 I SurfaceFlinger: GL_MAX_TEXTURE_SIZE = 2048


04-01 13:13:21.044 1341 1349 I SurfaceFlinger: GL_MAX_VIEWPORT_DIMS = 2048


04-01 13:13:21.044 1341 1349 I SurfaceFlinger: flags = 00210000


04-01 13:13:21.044 1341 1341 D SensorService: nuSensorService starting…


04-01 13:13:21.051 1341 1341 I SensorService: KXTF9 3-axis Accelerometer


04-01 13:13:21.051 1341 1341 I SensorService: AK8973 3-axis Magnetic field sensor


04-01 13:13:21.051 1341 1341 I SensorService: AK8973 Temperature sensor


04-01 13:13:21.051 1341 1341 I SensorService: SFH7743 Proximity sensor


04-01 13:13:21.051 1341 1341 I SensorService: AK8973 Orientation sensor


04-01 13:13:21.051 1341 1341 I SensorService: LM3530 Light sensor


04-01 13:13:21.051 1341 1341 I sysproc : System server: starting Android runtime.


04-01 13:13:21.051 1341 1341 I sysproc : System server: starting Android services.


04-01 13:13:21.059 1341 1341 I sysproc : System server: entering thread pool.


04-01 13:13:21.075 1341 1353 D SensorService: nuSensorService thread starting…


04-01 13:13:21.145 1220 1220 I tund    : Received control connection


04-01 13:13:21.256 1351 1359 D libEGL : loaded /system/lib/egl/libGLES_android.so


04-01 13:13:21.262 1351 1359 D libEGL : loaded /system/lib/egl/libEGL_POWERVR_SGX530_125.so


04-01 13:13:21.270 1351 1359 D libEGL : loaded /system/lib/egl/libGLESv1_CM_POWERVR_SGX530_125.so


04-01 13:13:21.278 1351 1359 D libEGL : loaded /system/lib/egl/libGLESv2_POWERVR_SGX530_125.so


04-01 13:13:21.442 1341 1349 E SurfaceFlinger: eglSwapBuffers: EGL error 0x3008 (EGL_BAD_DISPLAY)