Skip to content

Can this model "NexaAI/Qwen3-VL-4B-Thinking-NPU" run on Qualcomm Android ? #1067

@lianbing1234

Description

@lianbing1234

Pre-checks

  • I searched existing issues and discussions

What problem are you trying to solve?

When I run this android demo app,I encounter the following issue:
2026-04-21 10:40:34.810 10606-10759 com.nexa.demo           com.nexa.demo                        I  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:7607: multidsplib_env_init: libcdsprpc.so loaded
2026-04-21 10:40:34.811 10606-10759 com.nexa.demo           com.nexa.demo                        W  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:4319:Warning: remote_handle_control: Non-domain usage of FastRPC will be deprecated, use domains to offload to DSP using FastRPC
2026-04-21 10:40:34.811 10606-10759 com.nexa.demo           com.nexa.demo                        I  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:5878: open_device_node: no access to default device of domain 3, open thru HAL, (sess_id 0)
2026-04-21 10:40:34.812 10606-10759 dsp-client              com.nexa.demo                        I  DspClient.cpp (57): DspClient: AIDL HAL found, using AIDL interface
2026-04-21 10:40:34.815 10606-10759 dsp-client              com.nexa.demo                        I  DspClient.cpp (179): openSession: dup-ing of device fd 138 success, Permission denied
2026-04-21 10:40:34.815 10606-10759 dsp-client              com.nexa.demo                        I  DspClient.cpp (227): open_hal_session: opened device fd 138 for domain 3
2026-04-21 10:40:34.815 10606-10759 com.nexa.demo           com.nexa.demo                        I  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:5942: close_device_node: close device 138 thru HAL on domain 3
2026-04-21 10:40:34.815 10606-10759 dsp-client              com.nexa.demo                        I  DspClient.cpp (244): close_hal_session: closed device fd 138 on domain 3
2026-04-21 10:40:34.802 10606-10606 DefaultDispatch         com.nexa.demo                        W  type=1400 audit(0.0:24): avc:  denied  { read } for  name="fastrpc" dev="sysfs" ino=143199 scontext=u:r:untrusted_app:s0:c141,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0 app=com.nexa.demo
2026-04-21 10:40:34.806 10606-10606 DefaultDispatch         com.nexa.demo                        W  type=1400 audit(0.0:25): avc:  denied  { search } for  name="/" dev="sde9" ino=2 scontext=u:r:untrusted_app:s0:c141,c256,c512,c768 tcontext=u:object_r:adsprpcd_file:s0 tclass=dir permissive=0 app=com.nexa.demo
2026-04-21 10:40:34.806 10606-10606 DefaultDispatch         com.nexa.demo                        W  type=1400 audit(0.0:26): avc:  denied  { getattr } for  path="/vendor/dsp" dev="sde9" ino=2 scontext=u:r:untrusted_app:s0:c141,c256,c512,c768 tcontext=u:object_r:adsprpcd_file:s0 tclass=dir permissive=0 app=com.nexa.demo
2026-04-21 10:40:34.806 10606-10606 DefaultDispatch         com.nexa.demo                        W  type=1400 audit(0.0:27): avc:  denied  { search } for  name="/" dev="sde9" ino=2 scontext=u:r:untrusted_app:s0:c141,c256,c512,c768 tcontext=u:object_r:adsprpcd_file:s0 tclass=dir permissive=0 app=com.nexa.demo
2026-04-21 10:40:34.806 10606-10606 DefaultDispatch         com.nexa.demo                        W  type=1400 audit(0.0:28): avc:  denied  { getattr } for  path="/vendor/dsp" dev="sde9" ino=2 scontext=u:r:untrusted_app:s0:c141,c256,c512,c768 tcontext=u:object_r:adsprpcd_file:s0 tclass=dir permissive=0 app=com.nexa.demo
2026-04-21 10:40:34.806 10606-10606 DefaultDispatch         com.nexa.demo                        W  type=1400 audit(0.0:29): avc:  denied  { read } for  name="fastrpc-cdsp-secure" dev="tmpfs" ino=2415 scontext=u:r:untrusted_app:s0:c141,c256,c512,c768 tcontext=u:object_r:vendor_xdsp_device:s0 tclass=chr_file permissive=0 app=com.nexa.demo
2026-04-21 10:40:34.806 10606-10606 DefaultDispatch         com.nexa.demo                        W  type=1400 audit(0.0:30): avc:  denied  { open } for  path="/dev/fastrpc-cdsp" dev="tmpfs" ino=2416 scontext=u:r:untrusted_app:s0:c141,c256,c512,c768 tcontext=u:object_r:vendor_qdsp_device:s0 tclass=chr_file permissive=0 app=com.nexa.demo
2026-04-21 10:40:34.806 10606-10606 DefaultDispatch         com.nexa.demo                        W  type=1400 audit(0.0:31): avc:  denied  { open } for  path="/dev/fastrpc-cdsp" dev="tmpfs" ino=2416 scontext=u:r:untrusted_app:s0:c141,c256,c512,c768 tcontext=u:object_r:vendor_qdsp_device:s0 tclass=chr_file permissive=0 app=com.nexa.demo
2026-04-21 10:40:35.234 10606-10606 DefaultDispatch         com.nexa.demo                        W  type=1400 audit(0.0:32): avc:  granted  { execute } for  path="/data/data/com.nexa.demo/files/npu/htp-files-v81/libQnnHtp.so" dev="dm-50" ino=14627 scontext=u:r:untrusted_app:s0:c141,c256,c512,c768 tcontext=u:object_r:app_data_file:s0:c141,c256,c512,c768 tclass=file app=com.nexa.demo
2026-04-21 10:40:35.276 10759-10759 audit                   com.nexa.demo                        W  audit_lost=1 audit_rate_limit=5 audit_backlog_limit=64
2026-04-21 10:40:35.281 10759-10759 audit                   com.nexa.demo                        E  rate limit exceeded
2026-04-21 10:40:35.281 10606-10631 jni                     com.nexa.demo                        E  [STDERR] [ERROR] "Could not initialize backend due to error = 4000"
2026-04-21 10:40:35.281 10606-10631 jni                     com.nexa.demo                        E  [STDERR] [ERROR] "Qnn initializeBackend FAILED!"
2026-04-21 10:40:35.281 10606-10631 jni                     com.nexa.demo                        E  [STDERR] [ERROR] Error creating VLM model: Failed to initialize QNN backend
2026-04-21 10:40:35.306 10606-10759 NexaSdk                 com.nexa.demo                        E  [JNI] create() failed, error code: -100201


QCM8838  android16

What would you like NexaSDK to do?

I need app run qwen3-vl model

Alternatives you've considered


Who does this help, and how much?


Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions