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

跑不满 #4

Open
whatt-ai opened this issue May 27, 2023 · 5 comments
Open

跑不满 #4

whatt-ai opened this issue May 27, 2023 · 5 comments

Comments

@whatt-ai
Copy link

firefly@firefly:~$ sudo cat /sys/kernel/debug/rknpu/load
NPU load: Core0: 11%, Core1: 12%, Core2: 13%,

root@firefly:/home/firefly/rknn-cpp-Multithreading# bash performance.sh
CPU0-3 可用频率:
408000 600000 816000 1008000 1200000 1416000 1608000 1800000
CPU0-3 当前频率:
1800000
CPU4-5 可用频率:
408000 600000 816000 1008000 1200000 1416000 1608000 1800000 2016000 2208000 2304000
CPU4-5 当前频率:
2304000
CPU6-7 可用频率:
408000 600000 816000 1008000 1200000 1416000 1608000 1800000 2016000 2208000 2304000
CPU6-7 当前频率:
2304000
NPU 可用频率:
300000000 400000000 500000000 600000000 700000000 800000000 900000000 1000000000
NPU 当前频率:
1000000000

然后跑样例还是 19fps....

@leafqycc
Copy link
Owner

您的OpenCV是自己的编译的吗?
有群友也是firely开发板,按他的说法是自己编译的opencv的视频解码库没有mpp加速,需要opencv+ffmpeg-rk一起编译

@WangFengtu1996
Copy link

有新的更新么?能跑满么?

@Zsk747
Copy link

Zsk747 commented Jun 6, 2023

我是firefly3588,跑下来5帧,请问怎么解决

@whatt-ai
Copy link
Author

您的OpenCV是自己的编译的吗? 有群友也是firely开发板,按他的说法是自己编译的opencv的视频解码库没有mpp加速,需要opencv+ffmpeg-rk一起编译

也就是和这个一起对吧 https://github.com/jjm2473/ffmpeg-rk

@leafqycc
Copy link
Owner

您的OpenCV是自己的编译的吗? 有群友也是firely开发板,按他的说法是自己编译的opencv的视频解码库没有mpp加速,需要opencv+ffmpeg-rk一起编译

也就是和这个一起对吧 https://github.com/jjm2473/ffmpeg-rk

我并没有firefly的板子,所以无法给出肯定的答复,您或许可以先查询系统中是否装有opencv和ffmpeg,并试试用sudo apt install libopencv-dev ffmpeg命令进行安装

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants