Skip to content

发现在rv1106上,反复调用cv::VideoCapture cap后,摄像头占用内存不会释放 #106

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

Open
flamebox opened this issue Mar 25, 2024 · 1 comment

Comments

@flamebox
Copy link

在程序中反复
cv::VideoCapture cap和cap.release()后,内存CmaAllocated会不断增加,最终出现RK_DMA_HEAP_ALLOC_BUFFER failed。

@zlzong
Copy link

zlzong commented Mar 2, 2025

1、日志
devpath = /dev/video11 driver = rkisp_v7 card = rkisp_mainpath bus_info = platform:rkisp-vir0 version = 20500 capabilities = 84201000 device_caps = 4201000 fmt = UYVY 4:2:2 59565955 fmt = Y/CbCr 4:2:2 3631564e fmt = Y/CrCb 4:2:2 3136564e fmt = Y/CrCb 4:2:0 3132564e size = 32 x 32 ~ 2304 x 1296 (+8 +8) fmt = Y/CbCr 4:2:0 3231564e fmt = Y/CrCb 4:2:0 (N-C) 31324d4e fmt = Y/CbCr 4:2:0 (N-C) 32314d4e XCORE:K:rk_aiq_uapi_sysctl_preInit_scene: main_scene: normal, sub_scene: day IPCSERVER:K:cid[0] Process path:/tmp/UNIX.domain0, sockfd:29 XCORE:K:cid[0] rk_aiq_uapi_sysctl_init success. iq:/oem/usr/share/iqfiles/sc3336_CMK-OT2119-PC1_30IRC-F16.json XCORE:K:cid[0] rk_aiq_uapi_sysctl_prepare success. mode:0 /dev/video11 does not support changing fps RK_DMA_HEAP_ALLOC_BUFFER failed dma_buf_alloc 6220800 failed MessageParser process loop exit! IPCSERVER:K:cid[0] Deinit success XCORE:K:cid[0] rk_aiq_uapi_sysctl_deinit_locked success.
2、系统版本
Linux luckfox 5.10.160 #2 Thu Nov 28 14:03:14 CST 2024 armv7l GNU/Linux
你解决了没

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

2 participants