RTSS shaders can't compile on Android 4.3

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
Post Reply
User avatar
Mikachu
Gnoll
Posts: 603
Joined: Thu Jul 28, 2005 4:11 pm
Location: Nice, France
x 35

RTSS shaders can't compile on Android 4.3

Post by Mikachu »

Hi,

I have 2 nexus 4 at home, one with android 4.2.2, the other one with android 4.3.

My problem is that the exactly same project (gles2sample included in Ogre Android SDK, for example) runs on 4.2.2, but not on 4.3, and it looks like shader compilation is the cause of this.

Here's the log :
09-11 21:58:32.114: I/OGRE(21899): Creating resource group General
09-11 21:58:32.114: I/OGRE(21899): Creating resource group Internal
09-11 21:58:32.114: I/OGRE(21899): Creating resource group Autodetect
09-11 21:58:32.114: I/OGRE(21899): SceneManagerFactory for type 'DefaultSceneManager' registered.
09-11 21:58:32.114: I/OGRE(21899): Registering ResourceManager for type Material
09-11 21:58:32.114: I/OGRE(21899): Registering ResourceManager for type Mesh
09-11 21:58:32.114: I/OGRE(21899): Registering ResourceManager for type Skeleton
09-11 21:58:32.114: I/OGRE(21899): MovableObjectFactory for type 'ParticleSystem' registered.
09-11 21:58:32.114: I/OGRE(21899): ArchiveFactory for archive type FileSystem registered.
09-11 21:58:32.114: I/OGRE(21899): ArchiveFactory for archive type Zip registered.
09-11 21:58:32.114: I/OGRE(21899): ArchiveFactory for archive type EmbeddedZip registered.
09-11 21:58:32.114: I/OGRE(21899): DDS codec registering
09-11 21:58:32.114: I/OGRE(21899): FreeImage version: 3.15.3
09-11 21:58:32.114: I/OGRE(21899): This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
09-11 21:58:32.114: I/OGRE(21899): 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
09-11 21:58:32.114: I/OGRE(21899): PVRTC codec registering
09-11 21:58:32.114: I/OGRE(21899): ETC1 codec registering
09-11 21:58:32.114: I/OGRE(21899): Registering ResourceManager for type HighLevelGpuProgram
09-11 21:58:32.114: I/OGRE(21899): Registering ResourceManager for type Compositor
09-11 21:58:32.114: I/OGRE(21899): MovableObjectFactory for type 'Entity' registered.
09-11 21:58:32.114: I/OGRE(21899): MovableObjectFactory for type 'Light' registered.
09-11 21:58:32.114: I/OGRE(21899): MovableObjectFactory for type 'BillboardSet' registered.
09-11 21:58:32.114: I/OGRE(21899): MovableObjectFactory for type 'ManualObject' registered.
09-11 21:58:32.114: I/OGRE(21899): MovableObjectFactory for type 'BillboardChain' registered.
09-11 21:58:32.124: I/OGRE(21899): MovableObjectFactory for type 'RibbonTrail' registered.
09-11 21:58:32.124: E/OGRE(21899): OGRE EXCEPTION(6:FileNotFoundException): 'plugins.cfg' file not found! in ConfigFile::load at ..\..\OgreMain\src\OgreConfigFile.cpp (line 88)
09-11 21:58:32.124: I/OGRE(21899): plugins.cfg not found, automatic plugin loading disabled.
09-11 21:58:32.124: I/OGRE(21899): *-*-* OGRE Initialising
09-11 21:58:32.124: I/OGRE(21899): *-*-* Version 1.9.0unstable (Ghadamon)
09-11 21:58:32.124: I/OGRE(21899): Installing plugin: OpenGL ES 2.0 RenderSystem
09-11 21:58:32.124: I/OGRE(21899): OpenGL ES 2.x Rendering Subsystem created.
09-11 21:58:32.124: D/libEGL(21899): loaded /system/lib/egl/libEGL_adreno200.so
09-11 21:58:32.124: D/libEGL(21899): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
09-11 21:58:32.124: D/libEGL(21899): loaded /system/lib/egl/libGLESv2_adreno200.so
09-11 21:58:32.124: I/Adreno200-EGL(21899): <qeglDrvAPI_eglInitialize:265>: EGL 1.4 QUALCOMM Build: Iabe52cfaeae4c5fab1acacfe6f056ba15fa93274
09-11 21:58:32.134: I/OGRE(21899): Plugin successfully installed
09-11 21:58:32.134: I/OGRE(21899): Installing plugin: Octree Scene Manager
09-11 21:58:32.134: I/OGRE(21899): Plugin successfully installed
09-11 21:58:32.134: I/OGRE(21899): Installing plugin: ParticleFX
09-11 21:58:32.134: I/OGRE(21899): Particle Emitter Type 'Point' registered
09-11 21:58:32.134: I/OGRE(21899): Particle Emitter Type 'Box' registered
09-11 21:58:32.134: I/OGRE(21899): Particle Emitter Type 'Ellipsoid' registered
09-11 21:58:32.134: I/OGRE(21899): Particle Emitter Type 'Cylinder' registered
09-11 21:58:32.134: I/OGRE(21899): Particle Emitter Type 'Ring' registered
09-11 21:58:32.134: I/OGRE(21899): Particle Emitter Type 'HollowEllipsoid' registered
09-11 21:58:32.134: I/OGRE(21899): Particle Affector Type 'LinearForce' registered
09-11 21:58:32.134: I/OGRE(21899): Particle Affector Type 'ColourFader' registered
09-11 21:58:32.134: I/OGRE(21899): Particle Affector Type 'ColourFader2' registered
09-11 21:58:32.134: I/OGRE(21899): Particle Affector Type 'ColourImage' registered
09-11 21:58:32.134: I/OGRE(21899): Particle Affector Type 'ColourInterpolator' registered
09-11 21:58:32.134: I/OGRE(21899): Particle Affector Type 'Scaler' registered
09-11 21:58:32.134: I/OGRE(21899): Particle Affector Type 'Rotator' registered
09-11 21:58:32.134: I/OGRE(21899): Particle Affector Type 'DirectionRandomiser' registered
09-11 21:58:32.134: I/OGRE(21899): Particle Affector Type 'DeflectorPlane' registered
09-11 21:58:32.134: I/OGRE(21899): Plugin successfully installed
09-11 21:58:32.134: I/OGRE(21899): CPU Identifier & Features
09-11 21:58:32.134: I/OGRE(21899): -------------------------
09-11 21:58:32.134: I/OGRE(21899): * CPU ID: ARMv7
09-11 21:58:32.134: I/OGRE(21899): * VFP: yes
09-11 21:58:32.134: I/OGRE(21899): * NEON: yes
09-11 21:58:32.134: I/OGRE(21899): -------------------------
09-11 21:58:32.134: I/OGRE(21899): Registering ResourceManager for type Texture
09-11 21:58:32.164: I/OGRE(21899): ArchiveFactory for archive type APKFileSystem registered.
09-11 21:58:32.164: I/OGRE(21899): ArchiveFactory for archive type APKZip registered.
09-11 21:58:32.164: I/OGRE(21899): GLES2RenderSystem::_createRenderWindow "OgreWindow", 0x0 windowed miscParams: androidConfig=1956664968 externalWindowHandle=1956665408
09-11 21:58:32.204: I/OGRE(21899): GL_VERSION = OpenGL ES 3.0 V@14.0 (GIT@Iabe52cfaeae4c5fab1acacfe6f056ba15fa93274)
09-11 21:58:32.204: I/OGRE(21899): GL_VENDOR = Qualcomm
09-11 21:58:32.204: I/OGRE(21899): GL_RENDERER = Adreno (TM) 320
09-11 21:58:32.204: I/OGRE(21899): GL_EXTENSIONS = GL_AMD_compressed_ATC_texture GL_AMD_performance_monitor GL_AMD_program_binary_Z400 GL_EXT_debug_labelGL_EXT_debug_markerGL_EXT_robustness GL_EXT_texture_format_BGRA8888 GL_EXT_texture_type_2_10_10_10_REV GL_NV_fence GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_depth24 GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_fragment_precision_high GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_depth_texture_cube_map GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_vertex_type_10_10_10_2 GL_OES_vertex_array_object GL_QCOM_alpha_test GL_QCOM_binning_control GL_QCOM_driver_control GL_QCOM_perfmon_global_mode GL_QCOM_extended_get GL_QCOM_extended_get2 GL_QCOM_tiled_rendering GL_QCOM_writeonly_rendering GL_EXT_sRGB GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_AMD_compressed_ATC_texture
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_AMD_performance_monitor
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_AMD_program_binary_Z400
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_EXT_debug_labelGL_EXT_debug_markerGL_EXT_robustness
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_EXT_texture_format_BGRA8888
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_EXT_texture_type_2_10_10_10_REV
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_NV_fence
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_OES_compressed_ETC1_RGB8_texture
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_OES_depth_texture
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_OES_depth24
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_OES_EGL_image
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_OES_EGL_image_external
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_OES_element_index_uint
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_OES_fbo_render_mipmap
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_OES_fragment_precision_high
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_OES_get_program_binary
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_OES_packed_depth_stencil
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_OES_depth_texture_cube_map
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_OES_rgb8_rgba8
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_OES_standard_derivatives
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_OES_texture_3D
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_OES_texture_float
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_OES_texture_half_float
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_OES_texture_half_float_linear
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_OES_texture_npot
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_OES_vertex_half_float
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_OES_vertex_type_10_10_10_2
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_OES_vertex_array_object
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_QCOM_alpha_test
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_QCOM_binning_control
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_QCOM_driver_control
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_QCOM_perfmon_global_mode
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_QCOM_extended_get
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_QCOM_extended_get2
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_QCOM_tiled_rendering
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_QCOM_writeonly_rendering
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_EXT_sRGB
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_EXT_color_buffer_float
09-11 21:58:32.204: I/OGRE(21899): EXT:GL_EXT_color_buffer_half_float
09-11 21:58:32.204: I/OGRE(21899): **************************************
09-11 21:58:32.204: I/OGRE(21899): *** OpenGL ES 2.x Renderer Started ***
09-11 21:58:32.204: I/OGRE(21899): **************************************
09-11 21:58:32.204: W/Adreno200-ES20(21899): <get_simple_queries:1372>: GL_INVALID_ENUM
09-11 21:58:32.204: I/OGRE(21899): GLSL ES support detected
09-11 21:58:32.204: I/OGRE(21899): Registering ResourceManager for type GpuProgram
09-11 21:58:32.204: I/OGRE(21899): GL ES 2: Using FBOs for rendering to textures
09-11 21:58:32.214: I/OGRE(21899): FBO PF_R5G6B5 depth/stencil support: D0S0 D0S8 D16S0 D24S0 Packed-D24S8
09-11 21:58:32.214: I/OGRE(21899): FBO PF_B5G6R5 depth/stencil support: D0S0 D0S8 D16S0 D24S0 Packed-D24S8
09-11 21:58:32.224: I/OGRE(21899): FBO PF_A4R4G4B4 depth/stencil support: D0S0 D0S8 D16S0 D24S0 Packed-D24S8
09-11 21:58:32.224: I/OGRE(21899): FBO PF_A1R5G5B5 depth/stencil support: D0S0 D0S8 D16S0 D24S0 Packed-D24S8
09-11 21:58:32.234: I/OGRE(21899): FBO PF_R8G8B8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 Packed-D24S8
09-11 21:58:32.234: I/OGRE(21899): FBO PF_B8G8R8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 Packed-D24S8
09-11 21:58:32.234: I/OGRE(21899): FBO PF_A8R8G8B8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 Packed-D24S8
09-11 21:58:32.244: I/OGRE(21899): FBO PF_A8B8G8R8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 Packed-D24S8
09-11 21:58:32.244: I/OGRE(21899): FBO PF_B8G8R8A8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 Packed-D24S8
09-11 21:58:32.254: I/OGRE(21899): [GLES2] : Valid FBO targets PF_R5G6B5 PF_B5G6R5 PF_A4R4G4B4 PF_A1R5G5B5 PF_R8G8B8 PF_B8G8R8 PF_A8R8G8B8 PF_A8B8G8R8 PF_B8G8R8A8
09-11 21:58:32.254: I/OGRE(21899): RenderSystem capabilities
09-11 21:58:32.254: I/OGRE(21899): -------------------------
09-11 21:58:32.254: I/OGRE(21899): RenderSystem Name: OpenGL ES 2.x Rendering Subsystem
09-11 21:58:32.254: I/OGRE(21899): GPU Vendor: qualcomm
09-11 21:58:32.254: I/OGRE(21899): Device Name: Adreno (TM) 320
09-11 21:58:32.254: I/OGRE(21899): Driver Version: 0.0.0.0
09-11 21:58:32.254: I/OGRE(21899): * Fixed function pipeline: no
09-11 21:58:32.254: I/OGRE(21899): * Hardware generation of mipmaps: yes
09-11 21:58:32.254: I/OGRE(21899): * Texture blending: yes
09-11 21:58:32.254: I/OGRE(21899): * Anisotropic texture filtering: no
09-11 21:58:32.254: I/OGRE(21899): * Dot product texture operation: yes
09-11 21:58:32.254: I/OGRE(21899): * Cube mapping: yes
09-11 21:58:32.254: I/OGRE(21899): * Hardware stencil buffer: no
09-11 21:58:32.254: I/OGRE(21899): * Hardware vertex / index buffers: yes
09-11 21:58:32.254: I/OGRE(21899): * Vertex programs: yes
09-11 21:58:32.254: I/OGRE(21899): * Number of floating-point constants for vertex programs: 256
09-11 21:58:32.254: I/OGRE(21899): * Number of integer constants for vertex programs: 256
09-11 21:58:32.254: I/OGRE(21899): * Number of boolean constants for vertex programs: 256
09-11 21:58:32.254: I/OGRE(21899): * Fragment programs: yes
09-11 21:58:32.254: I/OGRE(21899): * Number of floating-point constants for fragment programs: 224
09-11 21:58:32.254: I/OGRE(21899): * Number of integer constants for fragment programs: 224
09-11 21:58:32.254: I/OGRE(21899): * Number of boolean constants for fragment programs: 224
09-11 21:58:32.254: I/OGRE(21899): * Geometry programs: no
09-11 21:58:32.254: I/OGRE(21899): * Number of floating-point constants for geometry programs: 0
09-11 21:58:32.254: I/OGRE(21899): * Number of integer constants for geometry programs: 0
09-11 21:58:32.254: I/OGRE(21899): * Number of boolean constants for geometry programs: 0
09-11 21:58:32.254: I/OGRE(21899): * Tesselation Hull programs: no
09-11 21:58:32.254: I/OGRE(21899): * Number of floating-point constants for tesselation hull programs: 0
09-11 21:58:32.254: I/OGRE(21899): * Number of integer constants for tesselation hull programs: 0
09-11 21:58:32.254: I/OGRE(21899): * Number of boolean constants for tesselation hull programs: 0
09-11 21:58:32.254: I/OGRE(21899): * Tesselation Domain programs: no
09-11 21:58:32.254: I/OGRE(21899): * Number of floating-point constants for tesselation domain programs: 0
09-11 21:58:32.254: I/OGRE(21899): * Number of integer constants for tesselation domain programs: 0
09-11 21:58:32.254: I/OGRE(21899): * Number of boolean constants for tesselation domain programs: 0
09-11 21:58:32.254: I/OGRE(21899): * Compute programs: no
09-11 21:58:32.254: I/OGRE(21899): * Number of floating-point constants for compute programs: 0
09-11 21:58:32.254: I/OGRE(21899): * Number of integer constants for compute programs: 0
09-11 21:58:32.254: I/OGRE(21899): * Number of boolean constants for compute programs: 0
09-11 21:58:32.254: I/OGRE(21899): * Supported Shader Profiles: glsles
09-11 21:58:32.254: I/OGRE(21899): * Texture Compression: no
09-11 21:58:32.254: I/OGRE(21899): * Scissor Rectangle: yes
09-11 21:58:32.254: I/OGRE(21899): * Hardware Occlusion Query: no
09-11 21:58:32.254: I/OGRE(21899): * User clip planes: no
09-11 21:58:32.254: I/OGRE(21899): * VET_UBYTE4 vertex element type: yes
09-11 21:58:32.254: I/OGRE(21899): * Infinite far plane projection: yes
09-11 21:58:32.254: I/OGRE(21899): * Hardware render-to-texture: yes
09-11 21:58:32.254: I/OGRE(21899): * Floating point textures: yes
09-11 21:58:32.254: I/OGRE(21899): * Non-power-of-two textures: no
09-11 21:58:32.254: I/OGRE(21899): * 1d textures: yes
09-11 21:58:32.254: I/OGRE(21899): * Volume textures: no
09-11 21:58:32.254: I/OGRE(21899): * Multiple Render Targets: 1
09-11 21:58:32.254: I/OGRE(21899): - With different bit depths: no
09-11 21:58:32.254: I/OGRE(21899): * Point Sprites: yes
09-11 21:58:32.254: I/OGRE(21899): * Extended point parameters: yes
09-11 21:58:32.254: I/OGRE(21899): * Max Point Size: 0.000000
09-11 21:58:32.254: I/OGRE(21899): * Vertex texture fetch: no
09-11 21:58:32.254: I/OGRE(21899): * Number of world matrices: 0
09-11 21:58:32.254: I/OGRE(21899): * Number of texture units: 16
09-11 21:58:32.254: I/OGRE(21899): * Stencil buffer depth: 0
09-11 21:58:32.254: I/OGRE(21899): * Number of vertex blend matrices: 0
09-11 21:58:32.254: I/OGRE(21899): * Render to Vertex Buffer : no
09-11 21:58:32.254: I/OGRE(21899): * Hardware Atomic Counters: no
09-11 21:58:32.254: I/OGRE(21899): * GL 1.5 without VBO workaround: no
09-11 21:58:32.254: I/OGRE(21899): * Frame Buffer objects: yes
09-11 21:58:32.254: I/OGRE(21899): * Frame Buffer objects (ARB extension): no
09-11 21:58:32.254: I/OGRE(21899): * Frame Buffer objects (ATI extension): no
09-11 21:58:32.254: I/OGRE(21899): * PBuffer support: no
09-11 21:58:32.254: I/OGRE(21899): * GL 1.5 without HW-occlusion workaround: no
09-11 21:58:32.254: I/OGRE(21899): * Vertex Array Objects: yes
09-11 21:58:32.254: I/OGRE(21899): * Separate shader objects: no
09-11 21:58:32.254: I/OGRE(21899): DefaultWorkQueue('Root') initialising on thread main.
09-11 21:58:32.254: I/OGRE(21899): Particle Renderer Type 'billboard' registered
09-11 21:58:32.264: I/OGRE(21899): SceneManagerFactory for type 'OctreeSceneManager' registered.
09-11 21:58:32.334: I/OGRE(21899): Added resource location '/' of type 'APKFileSystem' to resource group 'General'
09-11 21:58:32.394: I/OGRE(21899): Added resource location '/RTShaderLib/GLSLES' of type 'APKFileSystem' to resource group 'General'
09-11 21:58:32.394: I/OGRE(21899): Added resource location '/SdkTrays.zip' of type 'APKZip' to resource group 'General'
09-11 21:58:32.394: I/OGRE(21899): Added resource location '/Sinbad.zip' of type 'APKZip' to resource group 'General'
09-11 21:58:32.394: I/OGRE(21899): Added resource location '/skybox.zip' of type 'APKZip' to resource group 'General'
09-11 21:58:32.394: I/OGRE(21899): Initialising resource group General
09-11 21:58:32.394: I/OGRE(21899): Parsing scripts for resource group General
09-11 21:58:33.065: I/OGRE(21899): Parsing script SdkTrays.material
09-11 21:58:33.075: I/OGRE(21899): Parsing script Sinbad.material
09-11 21:58:33.085: I/OGRE(21899): Finished parsing scripts for resource group General
09-11 21:58:33.085: I/OGRE(21899): Creating resources for group General
09-11 21:58:33.085: I/OGRE(21899): All done
09-11 21:58:33.085: I/OGRE(21899): Mesh: Loading Sinbad.mesh.
09-11 21:58:33.115: I/OGRE(21899): Skeleton: Loading Sinbad.skeleton
09-11 21:58:33.175: I/OGRE(21899): WARNING: Sinbad.mesh is an older format ([MeshSerializer_v1.40]); you should upgrade it as soon as possible using the OgreMeshUpgrade tool.
09-11 21:58:33.205: I/OGRE(21899): Texture: sinbad_body.tga: Loading 1 faces(PF_R8G8B8,512x512x1) with 9 hardware generated mipmaps from Image. Internal format is PF_R8G8B8,512x512x1.
09-11 21:58:33.245: I/OGRE(21899): Texture: sinbad_clothes.tga: Loading 1 faces(PF_R8G8B8,512x512x1) with 9 hardware generated mipmaps from Image. Internal format is PF_R8G8B8,512x512x1.
09-11 21:58:33.275: I/OGRE(21899): Texture: sinbad_sword.tga: Loading 1 faces(PF_R8G8B8,256x256x1) with 8 hardware generated mipmaps from Image. Internal format is PF_R8G8B8,256x256x1.
09-11 21:58:33.275: I/OGRE(21899): WARNING: the mesh 'Sinbad.mesh' includes vertices with more than 4 bone assignments. The lowest weighted assignments beyond this limit have been removed, so your animation may look slightly different. To eliminate this, reduce the number of bone assignments per vertex on your mesh to 4.
09-11 21:58:33.315: E/Adreno200-SC(21899): <CPPErrorToInfoLog:846>: GLSL line 2: Error: #version is followed by spurious tokens
09-11 21:58:33.325: I/OGRE(21899): GLSL ES compile log: RTSS_9_VS
09-11 21:58:33.325: I/OGRE(21899): OpenGL ES #version <number> is not supported.
09-11 21:58:33.325: I/OGRE(21899): ERROR: 0:2: '' : GLSL compile error: #version is followed by spurious tokens
09-11 21:58:33.325: I/OGRE(21899): ERROR: 1 compilation errors. No code generated.
09-11 21:58:33.325: E/OGRE(21899): OGRE EXCEPTION(3:RenderingAPIException): Vertex Program RTSS_9_VS failed to compile. See compile log above for details. in GLSLESProgram::compile at ..\..\..\RenderSystems\GLES2\src\GLSLES\src\OgreGLSLESProgram.cpp (line 240)
09-11 21:58:33.325: I/OGRE(21899): Vertex Program RTSS_9_VS failed to compile. See compile log above for details.
09-11 21:58:33.325: W/Adreno200-ES20(21899): <core_glGetAttribLocation:634>: GL_INVALID_OPERATION
09-11 21:58:33.325: E/Adreno200-SC(21899): <CPPErrorToInfoLog:846>: GLSL line 2: Error: #version is followed by spurious tokens
09-11 21:58:33.325: I/OGRE(21899): GLSL ES compile log: RTSS_1_VS
09-11 21:58:33.325: I/OGRE(21899): OpenGL ES #version <number> is not supported.
09-11 21:58:33.325: I/OGRE(21899): ERROR: 0:2: '' : GLSL compile error: #version is followed by spurious tokens
09-11 21:58:33.325: I/OGRE(21899): ERROR: 1 compilation errors. No code generated.
09-11 21:58:33.325: E/OGRE(21899): OGRE EXCEPTION(3:RenderingAPIException): Vertex Program RTSS_1_VS failed to compile. See compile log above for details. in GLSLESProgram::compile at ..\..\..\RenderSystems\GLES2\src\GLSLES\src\OgreGLSLESProgram.cpp (line 240)
09-11 21:58:33.325: I/OGRE(21899): Vertex Program RTSS_1_VS failed to compile. See compile log above for details.
09-11 21:58:33.325: W/Adreno200-ES20(21899): <core_glGetAttribLocation:634>: GL_INVALID_OPERATION
09-11 21:58:33.325: E/Adreno200-SC(21899): <CPPErrorToInfoLog:846>: GLSL line 2: Error: #version is followed by spurious tokens
09-11 21:58:33.325: I/OGRE(21899): GLSL ES compile log: RTSS_3_VS
09-11 21:58:33.325: I/OGRE(21899): OpenGL ES #version <number> is not supported.
09-11 21:58:33.325: I/OGRE(21899): ERROR: 0:2: '' : GLSL compile error: #version is followed by spurious tokens
09-11 21:58:33.325: I/OGRE(21899): ERROR: 1 compilation errors. No code generated.
09-11 21:58:33.325: E/OGRE(21899): OGRE EXCEPTION(3:RenderingAPIException): Vertex Program RTSS_3_VS failed to compile. See compile log above for details. in GLSLESProgram::compile at ..\..\..\RenderSystems\GLES2\src\GLSLES\src\OgreGLSLESProgram.cpp (line 240)
09-11 21:58:33.325: I/OGRE(21899): Vertex Program RTSS_3_VS failed to compile. See compile log above for details.
09-11 21:58:33.325: W/Adreno200-ES20(21899): <core_glGetAttribLocation:634>: GL_INVALID_OPERATION
09-11 21:58:33.325: E/Adreno200-SC(21899): <CPPErrorToInfoLog:846>: GLSL line 2: Error: #version is followed by spurious tokens
09-11 21:58:33.335: I/OGRE(21899): GLSL ES compile log: RTSS_7_VS
09-11 21:58:33.335: I/OGRE(21899): OpenGL ES #version <number> is not supported.
09-11 21:58:33.335: I/OGRE(21899): ERROR: 0:2: '' : GLSL compile error: #version is followed by spurious tokens
09-11 21:58:33.335: I/OGRE(21899): ERROR: 1 compilation errors. No code generated.
09-11 21:58:33.335: E/OGRE(21899): OGRE EXCEPTION(3:RenderingAPIException): Vertex Program RTSS_7_VS failed to compile. See compile log above for details. in GLSLESProgram::compile at ..\..\..\RenderSystems\GLES2\src\GLSLES\src\OgreGLSLESProgram.cpp (line 240)
09-11 21:58:33.335: I/OGRE(21899): Vertex Program RTSS_7_VS failed to compile. See compile log above for details.
09-11 21:58:33.335: W/Adreno200-ES20(21899): <core_glGetAttribLocation:634>: GL_INVALID_OPERATION
09-11 21:58:33.335: E/Adreno200-SC(21899): <CPPErrorToInfoLog:846>: GLSL line 2: Error: #version is followed by spurious tokens
09-11 21:58:33.335: I/OGRE(21899): GLSL ES compile log: RTSS_5_VS
09-11 21:58:33.335: I/OGRE(21899): OpenGL ES #version <number> is not supported.
09-11 21:58:33.335: I/OGRE(21899): ERROR: 0:2: '' : GLSL compile error: #version is followed by spurious tokens
09-11 21:58:33.335: I/OGRE(21899): ERROR: 1 compilation errors. No code generated.
09-11 21:58:33.335: E/OGRE(21899): OGRE EXCEPTION(3:RenderingAPIException): Vertex Program RTSS_5_VS failed to compile. See compile log above for details. in GLSLESProgram::compile at ..\..\..\RenderSystems\GLES2\src\GLSLES\src\OgreGLSLESProgram.cpp (line 240)
09-11 21:58:33.335: I/OGRE(21899): Vertex Program RTSS_5_VS failed to compile. See compile log above for details.
09-11 21:58:33.335: W/Adreno200-ES20(21899): <core_glGetAttribLocation:634>: GL_INVALID_OPERATION
09-11 21:58:33.335: E/Adreno200-SC(21899): <CPPErrorToInfoLog:846>: GLSL line 2: Error: #version is followed by spurious tokens
09-11 21:58:33.335: I/OGRE(21899): GLSL ES compile log: RTSS_11_VS
09-11 21:58:33.335: I/OGRE(21899): OpenGL ES #version <number> is not supported.
09-11 21:58:33.335: I/OGRE(21899): ERROR: 0:2: '' : GLSL compile error: #version is followed by spurious tokens
09-11 21:58:33.335: I/OGRE(21899): ERROR: 1 compilation errors. No code generated.
09-11 21:58:33.335: E/OGRE(21899): OGRE EXCEPTION(3:RenderingAPIException): Vertex Program RTSS_11_VS failed to compile. See compile log above for details. in GLSLESProgram::compile at ..\..\..\RenderSystems\GLES2\src\GLSLES\src\OgreGLSLESProgram.cpp (line 240)
09-11 21:58:33.335: I/OGRE(21899): Vertex Program RTSS_11_VS failed to compile. See compile log above for details.
09-11 21:58:33.335: W/Adreno200-ES20(21899): <core_glGetAttribLocation:634>: GL_INVALID_OPERATION
09-11 21:58:33.335: E/Adreno200-SC(21899): <CPPErrorToInfoLog:846>: GLSL line 2: Error: #version is followed by spurious tokens
09-11 21:58:33.345: I/OGRE(21899): GLSL ES compile log: RTSS_13_VS
09-11 21:58:33.345: I/OGRE(21899): OpenGL ES #version <number> is not supported.
09-11 21:58:33.345: I/OGRE(21899): ERROR: 0:2: '' : GLSL compile error: #version is followed by spurious tokens
09-11 21:58:33.345: I/OGRE(21899): ERROR: 1 compilation errors. No code generated.
09-11 21:58:33.345: E/OGRE(21899): OGRE EXCEPTION(3:RenderingAPIException): Vertex Program RTSS_13_VS failed to compile. See compile log above for details. in GLSLESProgram::compile at ..\..\..\RenderSystems\GLES2\src\GLSLES\src\OgreGLSLESProgram.cpp (line 240)
09-11 21:58:33.345: I/OGRE(21899): Vertex Program RTSS_13_VS failed to compile. See compile log above for details.
09-11 21:58:33.345: W/Adreno200-ES20(21899): <core_glGetAttribLocation:634>: GL_INVALID_OPERATION
Anyone having the same issue?
OgreProcedural - Procedural Geometry for Ogre3D
User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126
Contact:

Re: RTSS shaders can't compile on Android 4.3

Post by masterfalcon »

I believe for Android 4.3 you'll need to enable GL ES 3 support when you configure with CMake, it's one of the advanced options. As it defaults to ES 3 even if you request a 2.0 context.
User avatar
Mikachu
Gnoll
Posts: 603
Joined: Thu Jul 28, 2005 4:11 pm
Location: Nice, France
x 35

Re: RTSS shaders can't compile on Android 4.3

Post by Mikachu »

Thanks for answering, but it actually raises a few questions:
- The GLES2 Rendersystem currently doesn't compile with GLES3 support enabled. I might be able to fix that..
masterfalcon wrote:As it defaults to ES 3 even if you request a 2.0 context.
- Is it a bug from Android, or a documented behaviour? If there's no workaround, it means that you can't deliver an apk that works for both <4.3 and >=4.3?
OgreProcedural - Procedural Geometry for Ogre3D
User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126
Contact:

Re: RTSS shaders can't compile on Android 4.3

Post by masterfalcon »

What's the build error?

I've been thinking about the issue of deployment and haven't quite come up with a proper solution yet.
User avatar
Mikachu
Gnoll
Posts: 603
Joined: Thu Jul 28, 2005 4:11 pm
Location: Nice, France
x 35

Re: RTSS shaders can't compile on Android 4.3

Post by Mikachu »

masterfalcon wrote:What's the build error?
It was basic stuff, like undefined local variables...
But I just updated my repo, and now those are all gone :)
OgreProcedural - Procedural Geometry for Ogre3D
User avatar
Mikachu
Gnoll
Posts: 603
Joined: Thu Jul 28, 2005 4:11 pm
Location: Nice, France
x 35

Re: RTSS shaders can't compile on Android 4.3

Post by Mikachu »

Oh, actually, there is something wrong with the rendersystem : OgreGLES2Prerequisites.h requires GLES3/gles3w.h or GLES2/gles2w.h, but those files aren't installed together with the rendersystem...
OgreProcedural - Procedural Geometry for Ogre3D
User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126
Contact:

Re: RTSS shaders can't compile on Android 4.3

Post by masterfalcon »

They are both in the repository. Make sure that you have the most up to date code in the 1.9 branch.
ilotuo
Gnoblar
Posts: 16
Joined: Wed Nov 04, 2015 7:55 am

Re: RTSS shaders can't compile on Android 4.3

Post by ilotuo »

Hi.Have you solved it??I encountered same problem.
Post Reply