Running NvFBC sample not working

Hi, I am trying to capture a video of my screen on Ubuntu 18.04. I am encountering an error with NvFBCtoGLEnc.

Any tips?

I am not sure what FB config means.

~/Capture_Linux_v7.1.6/Capture_Linux_v7.1.6/NvFBC/samples/NvFBCToGLEnc$ ./NvFBCToGLEnc
Application version: 1
NvFBC API version: 1.6

Unable to find FB config



Error indicates NVIDIA graphics driver may not be properly installed. Can you execute ‘’ as a root and attach the generated log file to take a look?
Are you running this sample locally on the machine or remotely?
You can also run the utility ‘glxinfo’ to check which OpenGL vendor libraries are getting used.


Hi there,

Running the sample on a remote AWS (g3.4xlarge) with Ubuntu 18.04

Sure. Link:

Here’s what I get when I run glxinfo unfortunately:

ubuntu:~$ glxinfo
Error: unable to open display
ubuntu:~$ xrandr -d :1
 SZ:    Pixels          Physical       Refresh
*0   1024 x 768    ( 260mm x 195mm )  *60
Current rotation - normal
Current reflection - none
Rotations possible - normal
Reflections possible - none

I can remotely use a VNC client and see a GUI.

This looks like a software configuration issue to me. Please work with AWS to get a hardware accelerated remote console/client.