Hello everyone,
When I rebuild the sgx1.7, I get a result as the following image shown:
Could anyone tell me what have happened?
Thanks,
Yanbin Yue
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello everyone,
When I rebuild the sgx1.7, I get a result as the following image shown:
Could anyone tell me what have happened?
Thanks,
Yanbin Yue
what is the CPU load when you move the mouse cursor? it looks like sgx modules are not loaded properly, or even maybe not installed in the rootfs at all. please check that first.
Once I tried to build rowboat without sgx and got the display was exactly the same as the screen shot.
Hi Yanbin
Can you please provide logs? Also on with which kernel and Android version are you working?
Regards,
Aditya
Hi Yanbin,
From the log, it seems you probably didn't install SGX drivers. Please see below -
>>I/SurfaceFlinger( 938): OpenGL informations:
>>I/SurfaceFlinger( 938): vendor : Android
>>I/SurfaceFlinger( 938): renderer : Android PixelFlinger 1.4
Can you please retry installing graphics drivers and check if it works?
Also at what resolution are you rendering?
Regards,
Aditya
Hi Aditya,
I use the sgx inshall.sh install the sgx, it's maybe have some errors when installed the sgx. I'll check it later.
BTW, could you give me some suggestion about the thread whoes url is http://e2e.ti.com/support/embedded/f/509/t/129065.aspx.
Thanks,
Yanbin Yue
I posted this in another thread.
Hi Amit,Yanbin
I found this post and I thought to post on the same thread. I have the same problem as Yanbin (I am attaching a picture of my display), I am using a customize OMAP3 board with an LCD 320x240. I would appreciate any suggestion or direction. I also have one question regarding the gralloc logs, because we do not see any gralloc logs. Here is also part of my log:
01-01 00:00:20.007: INFO/SurfaceFlinger(1008): SurfaceFlinger is starting
01-01 00:00:20.007: INFO/SurfaceFlinger(1008): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
01-01 00:00:20.015: ERROR/FramebufferNativeWindow(1008): FramebufferNativeWindow :: GRalloc HW Module
01-01 00:00:20.039: ERROR/FramebufferNativeWindow(1008): fbDev->width :: 320, fbDev->height:: 240, fbDev->format: 4
01-01 00:00:20.039: WARN/SurfaceFlinger(1008): DisplayHardware:: Init
01-01 00:00:20.046: DEBUG/libEGL(1008): loaded /system/lib/egl/libGLES_android.so
01-01 00:00:20.046: ERROR/libagl(1008): Display eglGetDisplay return EGL_DEFAULT_DISPLAY
01-01 00:00:20.054: DEBUG/libEGL(1008): loaded /system/lib/egl/libEGL_POWERVR_SGX530_125.so
01-01 00:00:20.062: DEBUG/libEGL(1008): loaded /system/lib/egl/libGLESv1_CM_POWERVR_SGX530_125.so
01-01 00:00:20.070: DEBUG/libEGL(1008): loaded /system/lib/egl/libGLESv2_POWERVR_SGX530_125.so
01-01 00:00:20.093: ERROR/libagl(1008): Initialze eglInitialize
01-01 00:00:20.125: ERROR/libEGL(1008): eglSetSwapRectangleANDROID:1816 error 3008 (EGL_BAD_DISPLAY)
01-01 00:00:20.125: INFO/SurfaceFlinger(1008): EGL informations:
01-01 00:00:20.125: INFO/SurfaceFlinger(1008): # of configs : 30
01-01 00:00:20.125: INFO/SurfaceFlinger(1008): vendor : Android
01-01 00:00:20.125: INFO/SurfaceFlinger(1008): version : 1.4 Android META-EGL
01-01 00:00:20.125: INFO/SurfaceFlinger(1008): extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_ANDROID_image_native_buffer EGL_ANDROID_swap_rectangle
01-01 00:00:20.125: INFO/SurfaceFlinger(1008): Client API: OpenGL ES
01-01 00:00:20.125: INFO/SurfaceFlinger(1008): EGLSurface: 5-6-5-0, config=0x7
01-01 00:00:20.125: INFO/SurfaceFlinger(1008): OpenGL informations:
01-01 00:00:20.125: INFO/SurfaceFlinger(1008): vendor : Imagination Technologies
01-01 00:00:20.125: INFO/SurfaceFlinger(1008): renderer : PowerVR SGX 530
01-01 00:00:20.125: INFO/SurfaceFlinger(1008): version : OpenGL ES-CM 1.1
01-01 00:00:20.125: INFO/SurfaceFlinger(1008): 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_IMG_vertex_program
01-01 00:00:20.125: INFO/SurfaceFlinger(1008): GL_MAX_TEXTURE_SIZE = 2048
01-01 00:00:20.125: INFO/SurfaceFlinger(1008): GL_MAX_VIEWPORT_DIMS = 2048
01-01 00:00:20.125: INFO/SurfaceFlinger(1008): flags = 00010000
01-01 00:00:20.132: DEBUG/SensorService(1008): nuSensorService starting...
Hi Reyes,
May I know which Android version and kernel you are using? Can you please check fb display format with fbset utility?
Regards,
Aditya