"Failed to compile fragment shader." error on Chrome Android 6.0.1 #271
-
Hi Vlad, Running on mobile Chrome on Android 6.0.1, the library is throwing the following error (line 23181 in human lib ver 2.7.3): Is this something you are aware of when using the lib on such old devices? Could this be fixed? Greets, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Typically that means you're running out of GPU memory. WebGL uses much more memory than CPU models. And if it's an old device, it's unlikely you have good GPU anyhow, so you might as well try WASM backend instead. Otherwise, try reducing which modules are enabled. |
Beta Was this translation helpful? Give feedback.
-
I tried moving to WASM with the following config (using latest Human 2.8.1): but getting the following error at Uncaught (in promise) RuntimeError: Aborted(LinkError: WebAssembly.instantiate(): Import #4 module="env" function="emscripten_get_heap_max" error: function import requires a callable). Build with -s ASSERTIONS=1 for more info. |
Beta Was this translation helpful? Give feedback.
-
ah, thats 99% a binary incopatibility - you may need to rebuild wasm binaries for your cpu type, but thats a pain for a mobile device. sorry :( |
Beta Was this translation helpful? Give feedback.
Typically that means you're running out of GPU memory. WebGL uses much more memory than CPU models. And if it's an old device, it's unlikely you have good GPU anyhow, so you might as well try WASM backend instead.
Otherwise, try reducing which modules are enabled.