Opened 3 years ago

Closed 22 months ago

#13327 closed defect (fixed)

ANDROID: ScummVM crashes on startup when compiling shaders

Reported by: ccawley2011 Owned by: ccawley2011
Priority: normal Component: Port: Android
Version: Keywords:
Cc: Game:

Description

This occurs on a Samsung Galaxy Tab E SM-T560 running Android 4.4.4.

D/ScummVM (13062): ScummVM default saves path already exists: /data/data/org.scummvm.scummvm/files/saves
D/ScummVM (13062): Size: 71
D/ScummVM (13062): Looking into config file for save path: /data/data/org.scummvm.scummvm/files/scummvm.ini
D/ScummVM (13062): Could not find explicit save path info in ScummVM's config file
D/ScummVM (13062): Resulting save path is: /data/data/org.scummvm.scummvm/files/saves
D/ScummVM (13062): Hover available: true
I/ScummVM (13062): Keyboard state:: ignoring global layout change...
D/ScummVM (13062): surfaceCreated
D/ScummVM (13062): surfaceChanged: 1280x800 (1: 32bpp)
I/ScummVM (13062): Using 15360 bytes buffer for 44100Hz audio
D/ScummVM (13062): EGL version 1.0 initialized
D/ScummVM (13062): EGL configs:
D/ScummVM (13062): [5] RGB565 D24 S8 W P X ES ES2 (15008, NOK)
D/ScummVM (13062): [3] RGB565 D24 S8 MSAAx4 W P X ES ES2 (14608, NOK)
D/ScummVM (13062): [4] RGB565 D24 S8 MSAAx16 W P X ES ES2 NON_CONFORMANT unknown CAVEAT 0x3051 (12408, NOK)
D/ScummVM (13062): [19] RGBA5551 D24 S8 P ES ES2 NON_CONFORMANT unknown CAVEAT 0x3051 (13988, NOK)
D/ScummVM (13062): [18] RGBA5551 D24 S8 MSAAx4 P ES ES2 NON_CONFORMANT unknown CAVEAT 0x3051 (13588, NOK)
D/ScummVM (13062): [20] RGBA5551 D24 S8 MSAAx16 P ES ES2 NON_CONFORMANT unknown CAVEAT 0x3051 (12388, NOK)
D/ScummVM (13062): [21] RGBA4444 D24 S8 P ES ES2 NON_CONFORMANT unknown CAVEAT 0x3051 (13968, NOK)
D/ScummVM (13062): [22] RGBA4444 D24 S8 MSAAx4 P ES ES2 NON_CONFORMANT unknown CAVEAT 0x3051 (13568, NOK)
D/ScummVM (13062): [23] RGBA4444 D24 S8 MSAAx16 P ES ES2 NON_CONFORMANT unknown CAVEAT 0x3051 (12368, NOK)
D/ScummVM (13062): [9] RGBA8888 D24 S8 W P X ES ES2 (14982, OK)
D/ScummVM (13062): [38] RGB888 D24 S8 W P X ES ES2 NON_CONFORMANT unknown CAVEAT 0x3051 (14000, OK)
D/ScummVM (13062): [41] RGB888 D24 S8 MSAAx4 W P X ES ES2 NON_CONFORMANT unknown CAVEAT 0x3051 (13600, OK)
D/ScummVM (13062): [42] RGB888 D24 S8 MSAAx16 W P X ES ES2 NON_CONFORMANT unknown CAVEAT 0x3051 (12400, OK)
D/ScummVM (13062): [12] RGBA8888 D24 S8 MSAAx4 W P X ES ES2 (14582, OK)
D/ScummVM (13062): [15] RGBA8888 D24 S8 MSAAx16 W P X ES ES2 NON_CONFORMANT unknown CAVEAT 0x3051 (12382, OK)
D/ScummVM (13062): [13] RGB000 X NON_CONFORMANT unknown CAVEAT 0x3051 (9046, NOK)
D/ScummVM (13062): [14] RGBA0008 X NON_CONFORMANT unknown CAVEAT 0x3051 (9028, NOK)
E/libEGL  (13062): error opening cache file /data/data/org.scummvm.scummvm/cache/com.android.opengl.shaders_cache: Permission denied (13)
D/ScummVM (13062): [29] RGB565 W P X ES ES2 (15060, NOK)
D/ScummVM (13062): [30] RGBA8888 W P X ES ES2 (15034, OK)
D/ScummVM (13062): [31] RGB888 W P X ES ES2 (15052, OK)
D/ScummVM (13062): [32] RGB888 D24 W P X ES ES2 (15018, OK)
D/ScummVM (13062): [33] RGBA8888 D24 S8 W P X ES ES2 (14982, OK)
D/ScummVM (13062): [40] RGBA8888 D24 S8 W P ES ES2 SLOW (13982, OK)
D/ScummVM (13062): [43] RGBA8888 D24 S8 W P ES ES2 SLOW (13982, OK)
D/ScummVM (13062): [46] RGBA8888 D24 S8 W ES ES2 SLOW (13982, OK)
D/ScummVM (13062): Chosen EGL config: [31] RGB888 W P X ES ES2
I/ScummVM (13062): ScummVM 2.6.0git3347-g1d20d016add (Feb 28 2022 04:03:25)
I/ScummVM (13062): Running on: [samsung] [SM-T560] [samsung] [samsung/gtelwifixx/gtelwifi:4.4.4/KTU84P/T560XXU0APL1:user/release-keys] [KTU84P.T560XXU0APL1] SDK:19 ABI:armeabi-v7a
I/ScummVM (13062): Entering scummvm_main with 4 args
I/ScummVM (13062): Keyboard state:: ignoring global layout change...
D/ScummVM (13062): Using configuration file: /data/data/org.scummvm.scummvm/files/scummvm.ini
D/ScummVM (13062): Setting DefaultSaveFileManager path to: /data/data/org.scummvm.scummvm/files/saves
D/ScummVM (13062): initializing 2D surface
I/ScummVM (13062): Using EGL 1.4 Android META-EGL (Android); GL OpenGL ES 2.0/Mali-400 MP (ARM)
W/ScummVM (13062): WARNING: Could not compile shader "attribute vec4 position;
W/ScummVM (13062): attribute vec2 texCoordIn;
W/ScummVM (13062): attribute vec4 blendColorIn;
W/ScummVM (13062):
W/ScummVM (13062): uniform mat4 projection;
W/ScummVM (13062):
W/ScummVM (13062): varying vec2 texCoord;
W/ScummVM (13062): varying vec4 blendColor;
W/ScummVM (13062):
W/ScummVM (13062): void main(void) {
W/ScummVM (13062):      texCoord    = texCoordIn;
W/ScummVM (13062):      blendColor  = blendColorIn;
W/ScummVM (13062):      gl_Position = projection * position;
W/ScummVM (13062): }
W/ScummVM (13062): ": "1:2: P0001: Error parsing constant expression"!
W/ScummVM (13062): WARNING: Could not compile shader "attribute vec4 position;
W/ScummVM (13062): attribute vec2 texCoordIn;
W/ScummVM (13062): attribute vec4 blendColorIn;
W/ScummVM (13062):
W/ScummVM (13062): uniform mat4 projection;
W/ScummVM (13062):
W/ScummVM (13062): varying vec2 texCoord;
W/ScummVM (13062): varying vec4 blendColor;
W/ScummVM (13062):
W/ScummVM (13062): void main(void) {
W/ScummVM (13062):      texCoord    = texCoordIn;
W/ScummVM (13062):      blendColor  = blendColorIn;
W/ScummVM (13062):      gl_Position = projection * position;
W/ScummVM (13062): }
W/ScummVM (13062): ": "1:2: P0001: Error parsing constant expression"!
W/ScummVM (13062): WARNING: GL ERROR: GL_INVALID_VALUE on glad_glGetUniformLocation(_program, name) (/data/src/backends/graphics/opengl/shader.cpp:224)!
W/ScummVM (13062): WARNING: GL ERROR: GL_INVALID_VALUE on glad_glGetUniformLocation(_program, name) (/data/src/backends/graphics/opengl/shader.cpp:224)!
W/ScummVM (13062): WARNING: GL ERROR: GL_INVALID_VALUE on glad_glGetUniformLocation(_program, name) (/data/src/backends/graphics/opengl/shader.cpp:224)!
W/ScummVM (13062): WARNING: GL ERROR: GL_INVALID_VALUE on glad_glGetAttribLocation(_program, name) (/data/src/backends/graphics/opengl/shader.cpp:218)!
W/ScummVM (13062): WARNING: GL ERROR: GL_INVALID_VALUE on glad_glGetAttribLocation(_program, name) (/data/src/backends/graphics/opengl/shader.cpp:218)!
W/ScummVM (13062): WARNING: GL ERROR: GL_INVALID_VALUE on glad_glGetAttribLocation(_program, name) (/data/src/backends/graphics/opengl/shader.cpp:218)!
F/ScummVM (13062): Assertion failure: '_vertexAttribLocation != -1' in /data/src/backends/graphics/opengl/pipelines/shader.cpp:35 (OpenGL::ShaderPipeline::ShaderPipeline(OpenGL::Shader *))
F/libc    (13062): Fatal signal 6 (SIGABRT) at 0x00003306 (code=-6), thread 13075 (ScummVM)

Change History (3)

comment:1 by lotharsm, 3 years ago

Priority: blockerhigh

comment:2 by lotharsm, 3 years ago

Priority: highnormal

comment:3 by ccawley2011, 22 months ago

Owner: set to ccawley2011
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.