[Android] Error on Live Demos: Failed to compile fragment shader.
See original GitHub issueI accessed the demo site (https://justadudewhohacks.github.io/face-api.js/face_and_landmark_detection/) on my Android device, but the face detection didn’t work.
There was such an error.
Uncaught (in promise) Error: Failed to compile fragment shader.
at createFragmentShader (/face-api.js/0-e459655e1a7a45356a06.js:250)
at e.createProgram (/face-api.js/0-e459655e1a7a45356a06.js:250)
at compileProgram (/face-api.js/0-e459655e1a7a45356a06.js:250)
at /face-api.js/0-e459655e1a7a45356a06.js:250
at e.getAndSaveBinary (/face-api.js/0-e459655e1a7a45356a06.js:250)
at e.compileAndRun (/face-api.js/0-e459655e1a7a45356a06.js:250)
at e.conv2d (/face-api.js/0-e459655e1a7a45356a06.js:250)
at ENV.engine.runKernel.x (/face-api.js/0-e459655e1a7a45356a06.js:250)
at /face-api.js/0-e459655e1a7a45356a06.js:250
at e.scopedRun (/face-api.js/0-e459655e1a7a45356a06.js:250)
My device: Android 6.0.1 Chrome 70.0.3538.30 SONY Xperia A4
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
java - Unable to compile opengl fragment shader in android
NB: Using the glsl plugin in android and code is stored inside raw folder.Anyway, i'am able to compile and run some other sample...
Read more >Failed to compile fragment shader - Google Groups
I am having an issue similar to #177. When running on chrome I get the error "Failed to compile fragment shader" when I...
Read more >Tag: vertex shader - Learn OpenGL ES
Finally, we load in our shaders and compile them. The code for this is essentially identical to Android; please see “Defining vertex and...
Read more >ShaderEffect QML Type | Qt Quick - Felgo
Error - the shader program failed to compile or link. When setting the fragment or vertex shader source code, the status will become...
Read more >Basic Shader Programming on Android - CodeProject
It returns String which contains more descriptive error messages. The following code snippet shows steps to compile shader source. Java. Shrink ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s odd, may be some issue with the WebGL backend on your device. Did run any tfjs application on your Xperia before? If not you could try setting up a simple page running a conv2d operation, to see whether it is an issue with your device and if so report an issue at tfjs.
having the same issue on Oppo A37, is there a patch/solution available to this issue?