LibVNC / x11vnc

a VNC server for real X displays
GNU General Public License v2.0
713 stars 139 forks source link

NvFBC support question #171

Open jorgefm opened 3 years ago

jorgefm commented 3 years ago

Hi, I would like to know if the NvFBC NVIDIA extension to capture desktop is a possibility to be added to x11vnc? I've implemented a test concept using this API to grab the frames from an OpenGL application running in a NVIDIA cards and the artifacts I get when I use other APIs, like XGetImage, to grab the frames disappear. With x11vnc I get the same XGetImage's artifacts. The NvFBC functionality is already present in your system if you're using the proprietary NVIDIA driver, in the libnvidia-fbc.so library. Thanks!

bk138 commented 3 years ago

That could be a possibility, but vendor-specific extensions sound like a niche use case. If you can come up with something more generic, the possibility of inclusion is much higher.

jorgefm commented 3 years ago

The generic way is how it's already implemented but you get artifacts grabbing frames from a host running an OpenGL app under a NVIDIA card, which niche is so wide :)