Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"libOpenCL-pixel.so" not found #2

Closed
GrishTad opened this issue Oct 21, 2019 · 2 comments
Closed

"libOpenCL-pixel.so" not found #2

GrishTad opened this issue Oct 21, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@GrishTad
Copy link

Thank you for doing this job.
I have a problem with the running of the project on Google pixel 2 Android 10, with Unity 2019.2.5 . I have used the development branch. Here is the error that I am getting from logcat.

AndroidJavaException: java.lang.IllegalArgumentException: Internal error: Failed to run on the given Interpreter: OpenCL library not loaded - dlopen failed: library "libOpenCL-pixel.so" not found Falling back to OpenGL TfLiteGpuDelegate Invoke: Write to buffer failed. Source data is larger than buffer.

Project is working properly on Google pixel 3 android 10 without changes.

Thanks in advance

@GrishTad GrishTad changed the title Google Pixel 2 problem "libOpenCL-pixel.so" not found Oct 21, 2019
@bkunters
Copy link
Owner

Hi,

There is an app called OpenCL-Z on the play store. I have already seen in the web that this might be an issue for pixel2 phones as they are using renderscript instead of using opencl.
Just check through the app if it has libOpenCL.so or sth. similar

These might be already fixed in the later versions of tf lite. Currently we are using the alpha version. I will try to integrate the later versions.

@bkunters bkunters self-assigned this Nov 12, 2019
@bkunters
Copy link
Owner

Hi @GrishTad ,

I have updated the plugin to tflite 2.0.0. Could you try again with your device to check if it is working now ? Just pull the develop branch.

@bkunters bkunters added the bug Something isn't working label Dec 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants