Rkvdec memory leak? - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111) +--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114) +--- Thread: Rkvdec memory leak? (/showthread.php?tid=18294) |
Rkvdec memory leak? - Abhinav - 06-01-2023 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. RE: Rkvdec memory leak? - Abhinav - 06-02-2023 It seems that issue occurs with the Moonlight (FFmpeg) and Epiphany (Gstreamer) client but not MPV (FFmpeg) which suggests that it might be a user space issue (thanks PaulFertser). RE: Rkvdec memory leak? - Abhinav - 06-02-2023 After further testing, this issue does not seem to occur when using Moonlight with QT's EGLFS on a TTY or when using Moonlight on X11. It only occurs when using Moonlight on Wayland. |