filament icon indicating copy to clipboard operation
filament copied to clipboard

Gltf-viewer crashed on AVD

Open Junxiao123 opened this issue 8 months ago • 1 comments

gltf-viewer APK(https://github.com/google/filament/releases/download/v1.59.3/filament-gltf-viewer-v1.59.3-android.apk) crashd on Android AVD

AVD:ANDROID 13.0 Tiramisu x86_64

CRASH LOG:

2025-04-24 12:00:27.784 11569-11594 Filament com.google.android.filament.gltf E Link error in "base_lit_opaque": "Vertex shader active uniforms exceed GL_MAX_VERTEX_UNIFORM_VECTORS (256) " 2025-04-24 12:00:27.784 11569-11594 Filament com.google.android.filament.gltf E Postcondition in initialize:515 reason: OpenGL program base_lit_opaque failed to link or compile 2025-04-24 12:00:27.784 11569-11594 Filament com.google.android.filament.gltf E
2025-04-24 12:00:27.784 11569-11594 libc com.google.android.filament.gltf A Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 11594 (FEngine::loop), pid 11569 (d.filament.gltf) 2025-04-24 12:00:28.162 11625-11625 DEBUG pid-11625 A Cmdline: com.google.android.filament.gltf 2025-04-24 12:00:28.162 11625-11625 DEBUG pid-11625 A pid: 11569, tid: 11594, name: FEngine::loop >>> com.google.android.filament.gltf <<< 2025-04-24 12:00:28.163 11625-11625 DEBUG pid-11625 A #01 pc 0000000000223d91 /data/app/~~6b_ClQwwiM9LpxdNqx-DBA==/com.google.android.filament.gltf-rqQC9jOwcXTDUcsKOvwo0g==/lib/x86_64/libfilament-jni.so (utils::TPanicutils::PostconditionPanic::panic(char const*, char const*, int, char const*, std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator >)+193) (BuildId: a2af7311fb36e08e73f6b93046a7bec39804c2fc) ---------------------------- PROCESS ENDED (11569) for package com.google.android.filament.gltf ----------------------------

Junxiao123 avatar Apr 24 '25 04:04 Junxiao123

it's very unlikely that we actually exceeded GL_MAX_VERTEX_UNIFORM_VECTORS, since we're not using any standalone uniforms. Probably a bug in the emulator's GLES implementation.

pixelflinger avatar Apr 25 '25 16:04 pixelflinger