It seems that all the "depth/stencil support" lines for all the FBO pixel formats are empty, meaning any FBOs can't have a depth buffer, and it crashes in:
Code: Select all
Ogre::GLES2FBOManager::getBestDepthStencil(unsigned int, unsigned int*, unsigned int*)
Code: Select all
props.modes.size() == 0
The same APK works on a Samsung Galaxy S3 (Adreno 225 GPU).
Are depth map texture shadows triggering an FBO creation with an attached depth buffer? If so, are there anyways to avoid this?
Also is the main Android RenderWindow implemented internally using an FBO with a depth buffer attachment and triggering this?
Thank you for any possible help.
Code: Select all
I/OGRE (16737): Creating resource group General
I/OGRE (16737): Creating resource group Internal
I/OGRE (16737): Creating resource group Autodetect
I/OGRE (16737): SceneManagerFactory for type 'DefaultSceneManager' registered.
I/OGRE (16737): Registering ResourceManager for type Material
I/OGRE (16737): Registering ResourceManager for type Mesh
I/OGRE (16737): Registering ResourceManager for type Skeleton
I/OGRE (16737): MovableObjectFactory for type 'ParticleSystem' registered.
I/OGRE (16737): ArchiveFactory for archive type FileSystem registered.
I/OGRE (16737): ArchiveFactory for archive type Zip registered.
I/OGRE (16737): ArchiveFactory for archive type EmbeddedZip registered.
I/OGRE (16737): DDS codec registering
I/OGRE (16737): FreeImage version: 3.15.3
I/OGRE (16737): This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
I/OGRE (16737): Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2,pfm,pct,pict,pic,3fr,arw,bay,bmq,cap,cine,cr2,crw,cs1,dc2,dcr,drf,dsc,dng,erf,fff,ia,iiq,k25,kc2,kdc,mdc,mef,mos,mrw,nef,nrw,orf,pef,ptx,pxn,qtk,raf,raw,rdc,rw2,rwl,rwz,sr2,srf,srw,sti
I/OGRE (16737): PVRTC codec registering
I/OGRE (16737): ETC codec registering
I/OGRE (16737): Registering ResourceManager for type HighLevelGpuProgram
I/OGRE (16737): Registering ResourceManager for type Compositor
I/OGRE (16737): MovableObjectFactory for type 'Entity' registered.
I/OGRE (16737): MovableObjectFactory for type 'Light' registered.
I/OGRE (16737): MovableObjectFactory for type 'BillboardSet' registered.
I/OGRE (16737): MovableObjectFactory for type 'ManualObject' registered.
I/OGRE (16737): MovableObjectFactory for type 'BillboardChain' registered.
I/OGRE (16737): MovableObjectFactory for type 'RibbonTrail' registered.
I/OGRE (16737): *-*-* OGRE Initialising
I/OGRE (16737): *-*-* Version 1.9.0unstable (Ghadamon)
I/OGRE (16737): ArchiveFactory for archive type APKFileSystem registered.
I/OGRE (16737): ArchiveFactory for archive type APKZip registered.
I/OGRE (16737): Installing plugin: Octree Scene Manager
I/OGRE (16737): Plugin successfully installed
I/OGRE (16737): Installing plugin: ParticleFX
I/OGRE (16737): Particle Emitter Type 'Point' registered
I/OGRE (16737): Particle Emitter Type 'Box' registered
I/OGRE (16737): Particle Emitter Type 'Ellipsoid' registered
I/OGRE (16737): Particle Emitter Type 'Cylinder' registered
I/OGRE (16737): Particle Emitter Type 'Ring' registered
I/OGRE (16737): Particle Emitter Type 'HollowEllipsoid' registered
I/OGRE (16737): Particle Affector Type 'LinearForce' registered
I/OGRE (16737): Particle Affector Type 'ColourFader' registered
I/OGRE (16737): Particle Affector Type 'ColourFader2' registered
I/OGRE (16737): Particle Affector Type 'ColourImage' registered
I/OGRE (16737): Particle Affector Type 'ColourInterpolator' registered
I/OGRE (16737): Particle Affector Type 'Scaler' registered
I/OGRE (16737): Particle Affector Type 'Rotator' registered
I/OGRE (16737): Particle Affector Type 'DirectionRandomiser' registered
I/OGRE (16737): Particle Affector Type 'DeflectorPlane' registered
I/OGRE (16737): Plugin successfully installed
V/SyandusPlatform(16737): SyApp is about to intialize renderer.
V/SyandusPlatform(16737): choosing OpenGL rendersystem
I/OGRE (16737): Installing plugin: OpenGL ES 2.0 RenderSystem
I/OGRE (16737): OpenGL ES 2.x Rendering Subsystem created.
D/libEGL (16737): loaded /system/lib/egl/libEGL_tegra.so
D/libEGL (16737): loaded /system/lib/egl/libGLESv1_CM_tegra.so
D/libEGL (16737): loaded /system/lib/egl/libGLESv2_tegra.so
I/OGRE (16737): Plugin successfully installed
I/OGRE (16737): CPU Identifier & Features
I/OGRE (16737): -------------------------
I/OGRE (16737): * CPU ID: ARMv7
I/OGRE (16737): * VFP: yes
I/OGRE (16737): * NEON: yes
I/OGRE (16737): -------------------------
I/OGRE (16737): Registering ResourceManager for type Texture
I/OGRE (16737): GLES2RenderSystem::_createRenderWindow "OGRE Render Window", 0x0 fullscreen miscParams: FSAA=0 externalWindowHandle=1074323472 gamma=false vsync=true
I/OGRE (16737): GL_VERSION = OpenGL ES 2.0 14.01003
I/OGRE (16737): GL_VENDOR = NVIDIA Corporation
I/OGRE (16737): GL_RENDERER = NVIDIA Tegra 3
I/OGRE (16737): GL_EXTENSIONS = GL_OES_rgb8_rgba8 GL_OES_EGL_sync GL_OES_fbo_render_mipmap GL_NV_depth_nonlinear GL_NV_draw_path GL_NV_texture_npot_2D_mipmap GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_vertex_half_float GL_OES_mapbuffer GL_NV_draw_buffers GL_NV_multiview_draw_buffers GL_EXT_Cg_shader GL_EXT_packed_float GL_OES_texture_half_float GL_EXT_texture_array GL_OES_compressed_ETC1_RGB8_texture GL_EXT_texture_compression_latc GL_NV_texture_compression_latc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc GL_NV_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_NV_get_tex_image GL_NV_read_buffer GL_NV_shader_framebuffer_fetch GL_NV_copy_image GL_NV_fbo_color_attachments GL_EXT_bgra GL_EXT_texture_format_BGRA8888 GL_EXT_unpack_subimage GL_NV_pack_subimage GL_NV_texture_compression_s3tc_update GL_NV_read_depth GL_NV_read_stencil GL_NV_uniform_buffer_object GL_EXT_robustness GL_OES_standard_derivatives GL_NV_EGL_stream_consumer_external GL_NV_3dvision_settings GL_EXT_debug_marker GL_EXT_de
I/OGRE (16737): EXT:GL_OES_rgb8_rgba8
I/OGRE (16737): EXT:GL_OES_EGL_sync
I/OGRE (16737): EXT:GL_OES_fbo_render_mipmap
I/OGRE (16737): EXT:GL_NV_depth_nonlinear
I/OGRE (16737): EXT:GL_NV_draw_path
I/OGRE (16737): EXT:GL_NV_texture_npot_2D_mipmap
I/OGRE (16737): EXT:GL_OES_EGL_image
I/OGRE (16737): EXT:GL_OES_EGL_image_external
I/OGRE (16737): EXT:GL_OES_vertex_half_float
I/OGRE (16737): EXT:GL_OES_mapbuffer
I/OGRE (16737): EXT:GL_NV_draw_buffers
I/OGRE (16737): EXT:GL_NV_multiview_draw_buffers
I/OGRE (16737): EXT:GL_EXT_Cg_shader
I/OGRE (16737): EXT:GL_EXT_packed_float
I/OGRE (16737): EXT:GL_OES_texture_half_float
I/OGRE (16737): EXT:GL_EXT_texture_array
I/OGRE (16737): EXT:GL_OES_compressed_ETC1_RGB8_texture
I/OGRE (16737): EXT:GL_EXT_texture_compression_latc
I/OGRE (16737): EXT:GL_NV_texture_compression_latc
I/OGRE (16737): EXT:GL_EXT_texture_compression_dxt1
I/OGRE (16737): EXT:GL_EXT_texture_compression_s3tc
I/OGRE (16737): EXT:GL_NV_texture_compression_s3tc
I/OGRE (16737): EXT:GL_EXT_texture_filter_anisotropic
I/OGRE (16737): EXT:GL_NV_get_tex_image
I/OGRE (16737): EXT:GL_NV_read_buffer
I/OGRE (16737): EXT:GL_NV_shader_framebuffer_fetch
I/OGRE (16737): EXT:GL_NV_copy_image
I/OGRE (16737): EXT:GL_NV_fbo_color_attachments
I/OGRE (16737): EXT:GL_EXT_bgra
I/OGRE (16737): EXT:GL_EXT_texture_format_BGRA8888
I/OGRE (16737): EXT:GL_EXT_unpack_subimage
I/OGRE (16737): EXT:GL_NV_pack_subimage
I/OGRE (16737): EXT:GL_NV_texture_compression_s3tc_update
I/OGRE (16737): EXT:GL_NV_read_depth
I/OGRE (16737): EXT:GL_NV_read_stencil
I/OGRE (16737): EXT:GL_NV_uniform_buffer_object
I/OGRE (16737): EXT:GL_EXT_robustness
I/OGRE (16737): EXT:GL_OES_standard_derivatives
I/OGRE (16737): EXT:GL_NV_EGL_stream_consumer_external
I/OGRE (16737): EXT:GL_NV_3dvision_settings
I/OGRE (16737): EXT:GL_EXT_debug_marker
I/OGRE (16737): EXT:GL_EXT_debug_label
I/OGRE (16737): EXT:GL_NV_coverage_sample
I/OGRE (16737): EXT:GL_EXT_occlusion_query_boolean
I/OGRE (16737): EXT:GL_NV_timer_query
I/OGRE (16737): **************************************
I/OGRE (16737): *** OpenGL ES 2.x Renderer Started ***
I/OGRE (16737): **************************************
I/OGRE (16737): GLSL ES support detected
I/OGRE (16737): Registering ResourceManager for type GpuProgram
I/OGRE (16737): GL ES 2: Using FBOs for rendering to textures
I/OGRE (16737): FBO PF_UNKNOWN depth/stencil support:
I/OGRE (16737): FBO PF_L8 depth/stencil support:
I/OGRE (16737): FBO PF_L16 depth/stencil support:
I/OGRE (16737): FBO PF_A8 depth/stencil support:
I/OGRE (16737): FBO PF_BYTE_LA depth/stencil support:
I/OGRE (16737): FBO PF_R5G6B5 depth/stencil support:
I/OGRE (16737): FBO PF_B5G6R5 depth/stencil support:
I/OGRE (16737): FBO PF_A4R4G4B4 depth/stencil support:
I/OGRE (16737): FBO PF_A1R5G5B5 depth/stencil support:
I/OGRE (16737): FBO PF_R8G8B8 depth/stencil support:
I/OGRE (16737): FBO PF_B8G8R8 depth/stencil support:
I/OGRE (16737): FBO PF_A8R8G8B8 depth/stencil support:
I/OGRE (16737): FBO PF_A8B8G8R8 depth/stencil support:
I/OGRE (16737): FBO PF_B8G8R8A8 depth/stencil support:
I/OGRE (16737): FBO PF_FLOAT16_RGB depth/stencil support:
I/OGRE (16737): FBO PF_X8R8G8B8 depth/stencil support:
I/OGRE (16737): FBO PF_SHORT_RGBA depth/stencil support:
I/OGRE (16737): [GLES2] : Valid FBO targets PF_UNKNOWN PF_L8 PF_L16 PF_A8 PF_BYTE_LA PF_R5G6B5 PF_B5G6R5 PF_A4R4G4B4 PF_A1R5G5B5 PF_R8G8B8 PF_B8G8R8 PF_A8R8G8B8 PF_A8B8G8R8 PF_B8G8R8A8 PF_FLOAT16_RGB PF_X8R8G8B8 PF_SHORT_RGBA
I/OGRE (16737): RenderSystem capabilities
I/OGRE (16737): -------------------------
I/OGRE (16737): RenderSystem Name: OpenGL ES 2.x Rendering Subsystem
I/OGRE (16737): GPU Vendor: nvidia
I/OGRE (16737): Device Name: NVIDIA Tegra 3
I/OGRE (16737): Driver Version: 0.0.0.0
Code: Select all
I/OGRE (16737): Texture: spot_shadow_fade.png: Loading 1 faces(PF_R8G8B8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_R8G8B8,128x128x1.
I/OGRE (16737): inside getBestDepthStencil()
I/OGRE (16737): depthFormat pointer: 0xbee701f8
I/OGRE (16737): stencilFormat pointer: 0xbee701fc
I/OGRE (16737): props.modes.size(): 0
F/libc (16737): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 16737 (dus.redacted)
I/DEBUG ( 120): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 120): Build fingerprint: 'google/nakasi/grouper:4.3/JWR66Y/776638:user/release-keys'
I/DEBUG ( 120): Revision: '0'
I/DEBUG ( 120): pid: 16737, tid: 16737, name: dus.redacted >>> com.redacted.redacted <<<
I/DEBUG ( 120): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
I/DEBUG ( 120): r0 6a1831e8 r1 bee700e8 r2 00000000 r3 00000000
I/DEBUG ( 120): r4 bee700c4 r5 00000000 r6 006bd884 r7 bee700e8
I/DEBUG ( 120): r8 59851348 r9 bee70230 sl bee700f8 fp 6a948674
I/DEBUG ( 120): ip 6593d514 sp bee70070 lr 699204c3 pc 69920704 cpsr 40000030
I/DEBUG ( 120): d0 6f6d2e73203a2928 d1 657a69732e736564
I/DEBUG ( 120): d2 627830203a726574 d3 0a38663130376565
I/DEBUG ( 120): d4 466c69636e657473 d5 6f702074616d726f
I/DEBUG ( 120): d6 30203a7265746e69 d7 01790d0065656278
I/DEBUG ( 120): d8 3fda82793f5413cd d9 3f19999a3f333333
I/DEBUG ( 120): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 120): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 120): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 120): d16 3fe0000000000000 d17 417790d000000000
I/DEBUG ( 120): d18 3fc3bd3cdc2cab20 d19 3fc233f5a2f727d2
I/DEBUG ( 120): d20 0000000000000000 d21 3fabbd76807614f3
I/DEBUG ( 120): d22 3f82391ed3d83df8 d23 3f967b6faf8d2e07
I/DEBUG ( 120): d24 3f57f48a38a4a052 d25 3f6d8a8e44e27de7
I/DEBUG ( 120): d26 3f3043b3a18f8aef d27 3f43545b10f5feaa
I/DEBUG ( 120): d28 3fda8279a7bc2207 d29 3f1460ea3eff5d8f
I/DEBUG ( 120): d30 bef375cbdb605373 d31 3f55c2778a8be9cf
I/DEBUG ( 120): scr 2000001d
I/DEBUG ( 120):
I/DEBUG ( 120): backtrace:
I/DEBUG ( 120): #00 pc 0061a704 /data/app-lib/com.redacted.redacted-1/libredacted.so (Ogre::GLES2FBOManager::getBestDepthStencil(unsigned int, unsigned int*, unsigned int*)+931)
I/DEBUG ( 120): #01 pc 0061a4bf /data/app-lib/com.redacted.redacted-1/libredacted.so (Ogre::GLES2FBOManager::getBestDepthStencil(unsigned int, unsigned int*, unsigned int*)+350)
I/DEBUG ( 120):
I/DEBUG ( 120): stack:
I/DEBUG ( 120): bee70030 bee700f8 [stack]
I/DEBUG ( 120): bee70034 697301bc /data/app-lib/com.redacted.redacted-1/libredacted.so
I/DEBUG ( 120): bee70038 6a1831f4
I/DEBUG ( 120): bee7003c 00000000
I/DEBUG ( 120): bee70040 bee700f8 [stack]
I/DEBUG ( 120): bee70044 6593d314
I/DEBUG ( 120): bee70048 00000001
I/DEBUG ( 120): bee7004c 00000010
I/DEBUG ( 120): bee70050 00000000
I/DEBUG ( 120): bee70054 00000000
I/DEBUG ( 120): bee70058 bee700f8 [stack]
I/DEBUG ( 120): bee7005c bee700c4 [stack]
I/DEBUG ( 120): bee70060 6a82b258
I/DEBUG ( 120): bee70064 59851344
I/DEBUG ( 120): bee70068 df0027ad
I/DEBUG ( 120): bee7006c 00000000
I/DEBUG ( 120): #00 bee70070 bee700e4 [stack]
I/DEBUG ( 120): bee70074 6aa2cb38
I/DEBUG ( 120): bee70078 6a128ad0 /data/app-lib/com.redacted.redacted-1/libredacted.so
I/DEBUG ( 120): bee7007c 6aa2cb68
I/DEBUG ( 120): bee70080 bee700f8 [stack]
I/DEBUG ( 120): bee70084 bee700e0 [stack]
I/DEBUG ( 120): bee70088 bee70160 [stack]
I/DEBUG ( 120): bee7008c 00000000
I/DEBUG ( 120): bee70090 6b02b008
I/DEBUG ( 120): bee70094 3f74b8a5
I/DEBUG ( 120): bee70098 00000000
I/DEBUG ( 120): bee7009c 3e964cb8
I/DEBUG ( 120): bee700a0 bee700f4 [stack]
I/DEBUG ( 120): bee700a4 bee701f8 [stack]
I/DEBUG ( 120): bee700a8 bee701fc [stack]
I/DEBUG ( 120): bee700ac bee700ec [stack]