rockchip-linux / rknpu

BSD 3-Clause "New" or "Revised" License
191 stars 59 forks source link

dlopen /usr/lib/librga.so failed #35

Open yumingchen opened 1 year ago

yumingchen commented 1 year ago

在rv1126跑demo: https://github.com/rockchip-linux/rknpu/tree/master/rknn/rknn_api/examples/rknn_yolov5_demo.

当持续运行时,一开始能正常推理,但是运行一段时间(大概1500次推理)后,就报错了: dlopen /usr/lib/librga.so failed once run use 71.088000 ms

程序还能继续运行,但是无法正常推理。

信息:

  1. rgaapi version 1.2.6[0] (RGA is compiling with meson base: $PRODUCT_BASE)
  2. librknn_runtime version 1.7.0 (0bef7b3 build: 2021-08-18 19:53:17 base: 1131)
YigitKaanBingol commented 5 months ago

Have you solved the issue? I now its little late but i am desperetly lokoking for solution. :)

YigitKaanBingol commented 5 months ago

Have you solved the issue? I now its little late but i am desperetly lokoking for solution. :)

Solved it, rga_ctx->rga_handle = dlopen("/usr/lib/librga.so", RTLD_LAZY); the librga.so location is wrong, find your librga.so and update it.