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

Questions about bmf_lite #159

Open
JackLau1222 opened this issue Dec 16, 2024 · 3 comments
Open

Questions about bmf_lite #159

JackLau1222 opened this issue Dec 16, 2024 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@JackLau1222
Copy link
Collaborator

  1. Does bmf_lite really need QNN to run all android demos? Or is it just needed for Vincent chart demo.
  2. Is there an executed bmf program for us to use, or can you provide some documentation on cross-compiling bmf_lite?
@JackLau1222 JackLau1222 added the help wanted Extra attention is needed label Dec 16, 2024
@CyberKnight001
Copy link
Collaborator

  1. It just needed for Vincent chart demo.
  2. It's here: https://github.com/BabitMF/bmf/blob/master/bmf_lite/README.md

@JackLau1222
Copy link
Collaborator Author

JackLau1222 commented Dec 23, 2024

The QNN framework seems just support linux and windows rather than macOS. So i want to know how to disable the module that depends QNN.
image

@JackLau1222
Copy link
Collaborator Author

JackLau1222 commented Dec 24, 2024

The QNN framework seems just support linux and windows rather than macOS. So i want to know how to disable the module that depends QNN. image

I successfully disable the BMF_LITE_ENABLE_TEX_GEN_PIC in the CMake file.

But i meet another problem that app can't correctly process the second demo in the Emulator or my android phone.

D/bmf-demo-app AlgRenderer: algorithmInterface initAlg ret = -600
D/bmf-demo-app AlgRenderer: algProcess,type = DENOISE,input-oesTexId = 1 2dTexId = 6 algOutputTex = -1 ret = -600
W/om.bmf.lite.app: [SurfaceTexture-1-4174-0] bindTextureImage: clearing GL error: 0x500
E/bmf_lite: [gl_helper.h, get_local_size_and_header, 190]invalid local size with input local_x:16, local_y:16, local_z:1
E/bmf_lite: [gl_helper.h, build_program, 58]gen_local_size_and_header error
E/bmf_lite: [denoise.cpp, init, 123]compile program denoise error
E/bmf-demo-app AlgRenderer: algorithmInterface init setInitParam ret = -600, algTypeIndex = 2

And the app crashes if i run first demo.

BTW, i update the gradle version to 7.4 to be compatible with my android studio 2022, and used java 17.

Anyway, may you give me the app apk to let me try first?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants