Maximum pre-rendered frames option

Hello.
Is there a way to change “maximum pre-rendered frames” option on linux. Couldn’t find it in nvidia-settings gui, and no option in output of:
nvidia-settings -c :0.0 --query all

Default value is 2, that leads to 2 frames more latency when processing captured video, that is significant when working in 25 FPS video mode.

nvidia driver version: 415.25

my system:
uname -a
Linux fp-gentoo 4.14.83-gentoo #1 SMP PREEMPT Wed Mar 6 14:24:00 UTC 2019 x86_64 Intel(R) Core™ i9-7920X CPU @ 2.90GHz GenuineIntel GNU/Linux

See this:

__GL_MaxFramesAllowed=1

Thank you. It worked for me. Where can I get a list of such environment variables used by nvidia driver?

I don’t know of any comprehensive list but you could use this approach:
[url]https://devtalk.nvidia.com/default/topic/1048768/linux/if-you-have-gpu-clock-boost-problems-please-try-__gl_experimentalperfstrategy-1/post/5324671/#5324671[/url]
to have the driver spill it out.