From 41bd6cee631a16076435984891f2134443ecec31 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 18 Sep 2024 00:11:23 +0200 Subject: Use async_depth option on vaapi for much better encoding performance --- TODO | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'TODO') diff --git a/TODO b/TODO index de303e3..0505b1d 100644 --- a/TODO +++ b/TODO @@ -157,3 +157,10 @@ Add cbr option. Restart replay/update video resolution if monitor resolution changes. Fix pure vaapi copy on intel. + +ffmpeg supports vulkan encoding now (h264!). Doesn't work on amd yet because mesa is missing VK_KHR_video_maintenance1, see https://gitlab.freedesktop.org/mesa/mesa/-/issues/11857. Test on nvidia! + +Test vaapi low latency mode (setenv("AMD_DEBUG", "lowlatencyenc", true);), added in mesa 24.1.4, released on july 17, 2024. Note that this forces gpu power usage to max at all times, even when recording at 2 fps. +Use nvidia low latency options for better encoding times. + +Test ideal async_depth value. Increasing async_depth also increased gpu memory usage a lot (from 100mb to 500mb when moving from async_depth 2 to 16) at 4k resolution. Setting it to 8 increases it by 200mb which might be ok. -- cgit v1.2.3