<div>The key feature is a pipeline "X framebuffer -> FBC -> VRAM -> NVENC". This is done via hardware+nvidia driver. NVENC can get its data via CUDA, OpenGL or DirectX. CUDA is not an option by some reasons (requires Quadro configurations of vGPU only that requires more expensive licenses, and some hardware constraints), DirectX is Win only. OpenGL left as the only option. There is an option to grab framebuffer to system memory instead of VRAM and then somehow copy that memory area to NVENC but I didn't learn it because that leads to copying overhead :( I don't know more controls for FBC that could run with display=off.</div><div> </div><div>27.04.2020, 16:28, "Uri Lublin" <uril@redhat.com>:</div><blockquote><p>On 4/27/20 3:24 PM, <a href="mailto:ole-krutov@yandex.ru">ole-krutov@yandex.ru</a> wrote:</p><blockquote> Hi,<br /> I can set display=off of course. But in that case Nvidia FBC<br /> (FrameBuffer Capturing) is unusable. But we try to make and use a plugin<br /> that uses that feature. I use GRID vGPUs. xorg.conf is set to use nvidia<br /> card -- it's the same config that works with gst-plugin.</blockquote><p><br />Hi,<br /><br />Maybe try to modify some settings in FBC, such that it works with<br />display=off.<br /><br />Uri.<br /><br /> </p><blockquote> 27.04.2020, 15:20, "Uri Lublin" <<a href="mailto:uril@redhat.com">uril@redhat.com</a>>:<br /><br />     On 4/27/20 11:31 AM, Oleg Krutov wrote:<br /><br />           We are trying to make plugin which uses nvidia FBC + NVENC<br />         instead of<br />           gst-plugin. When using FBC, I must set "display" to "on", else<br />         FBC is<br />           reporting as not supported. I can't do the trick with<br />         qxl+nvidia with<br />           display off as with gst-plugin. Thus, two spice windows<br />         appear, one with<br />           main display channel with choppy video, and second -- with h264<br />           compressed captured video. There is no mouse controls in<br />         second window,<br />           and first window consumes much cpu and network bandwidth when<br />         video or<br />           dynamic graphics is displayed. So it would be great to stop output<br />           primary display and redirect agent's video stream into it. Is<br />         it somehow<br />           possible? Thank you.<br /><br />           --<br />           Отправлено из мобильного приложения Яндекс.Почты<br /><br /><br />     Hi,<br /><br />     Why can you not set display=off ?<br /><br />     Did you configure your X server to use the NVIDIA GPU or the QXL ?<br /><br />     What NVIDIA card and driver are you using ?<br /><br />     Uri.<br /> </blockquote><p> </p></blockquote>