Hi,
Thank you: this confirmed my suspicions about context switching.
A have a small follow up question..
I actually solved the problem for the moment, by dropping openGL
completely. My initial tests show that Xvideo handles video dumping ~
10 times more effectively than openGL and does not
For details see my presentation on day 3 of XDC2016. TL;DW: A context
switch on average takes ~25 microseconds, but depending on the display
resolution and the load on the card times up to 130 microseconds have
been observed. The average does not appear to differ much between cards
as the
Context switching = very slow on NVIDIA. Don't do it if you can avoid
it. Each context is like a megabyte of data, if not more. Each time it
has to get saved off and restored.
On Wed, Feb 8, 2017 at 1:38 PM, Sampsa Riikonen wrote:
> Dear Devs,
>
> (I hope this question is
Dear Devs,
(I hope this question is not that much OT for this list..)
My question is about fast OpenGL context switching, i.e. when there are
several processes using the same nvidia card, each one with their own
OpenGL context. In my specific case, I am trying to dump 720p video