06-01-2023, 06:02 PM
Anyone else seeing high memory usage with rkvdec/rockchip_vdec? I am seeing high memory usage with both GStreamer and FFmpeg (https://github.com/jernejsk/FFmpeg) clients so, if other people are also having issues, it seems like it might be an issue in the kernel driver. Performance is quite good until it starts swapping however. I see 3.5 GiB of shared memory usage before it hangs/starts swapping. I'm using kernel 6.1. It's also possible that it is somewhere else like Panfrost or Mesa and I guess I would need to use Kmemleak to confirm but I'd like to know if this is a known issue before I test further.