Skip to content

Running PowerServe on SA8295 #15

@cwplugovrai

Description

@cwplugovrai

Hi all,
first i really like the project, its very well organized.
I currently struggle to get it run on an 8295.

I compiled the project with:
cmake -B build
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_TOOLCHAIN_FILE=$NDK/build/cmake/android.toolchain.cmake
-DANDROID_ABI=armeabi-v7a
-DANDROID_PLATFORM=android-35
-DGGML_OPENMP=OFF
-DPOWERSERVE_WITH_QNN=ON
-DPOWERSERVE_ENABLE_HTPRPCPOLL=OFF
-DPOWERSERVE_ENABLE_HMXPWRCFG=OFF
-DPOWERSERVE_USE_DUMMY=ON

When i try to run it. It complained about missing libc++.so.1 and libc++abi.so.1
I fixed that by adding both to qnn_libs. Nevertheless i still dont get it running.
Maybe i have wrong library versions.
Here is the output i get:

scylla_arm64_vendor:/data/local/tmp/proj/bin # ./powerserve-server -d ..
[INFO ] Compiled on: Sep 26 2025 at 13:50:35
[INFO ] QNN core API version: 2.22.0
[INFO ] QNN backend API version: 5.29.0
[INFO ] QNN system API version: 1.2.0
[INFO ] QNN backend properties:
[INFO ] - Create context from binary list: Yes
[INFO ] - Dynamic batch: Yes
[INFO ] - Early termination: No
[INFO ] - Dynamic dimensions: Yes
[INFO ] - Blockwise quantization: Unknown
[INFO ] - Blockwise quantization with expansion: Unknown
[INFO ] - Vector quantization: Unknown
[INFO ] - Tensor sparsity: Yes
[INFO ] - Updateable application tensor: Yes
[INFO ] - Updateable native tensor: Yes
[INFO ] - Updateable static tensor: Yes
QnnDsp DspTransport.openSession qnn_open failed, 0x80000406, prio 100
QnnDsp IDspTransport: Unable to load lib 0x80000406
QnnDsp DspTransport failed,cannot open session, error 0x00000008
QnnDsp Unable to load Skel Library. transportStatus: 8
QnnDsp Failed to retrieve skel build id: err: 1008
QnnDsp Failed to create transport for device, error: 1008
QnnDsp Failed to load skel, error: 1008
QnnDsp Transport layer setup failed: 1008
QnnDsp Failed to parse default platform info: 1008
QnnDsp Failed to load default platform info: 1008
QnnDsp Failed to parse platform config: 1008
libc++abi: terminating due to uncaught exception of type powerserve::EnvironmentException: [Exception][QNN] BasicException: EnvironmentException
[Exception][QNN] EnvironmentException: failed to create QNN device
[Exception][QNN] System error: Success

Anybody who successfully ran it on 8295?

Thanks
Cornelius

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions