I have an app opened in the background that is doing some heavy rendering. In another app I only encode a video using nvenc. When I don’t render in background I get about 6-7 ms for encoding a 4k frame. If I render in the background I get unstable 9-16 ms.
It appears that performance of hardware encoding depends on the rendering workload happening on the GPU. Is this something to be expected? Is it because GPU memory bandwidth is “shared” among rendering and hardware encoder?
I did encode an empty buffer created with nvEncCreateInputBuffer.