Originally Posted by kokoko3k
Maybe using a composite manager allows you to grab it correctly.
if not, then try
from the same terminal used to start the video, or add it to your .bashrc.
I tried that - it did not work. I even set Overlay and OverlayDefaultVisual options to false in xorg.conf - still no luck.
actually combining the two by setting "export VDPAU_NVIDIA_NO_OVERLAY=1" right before the script i am calling to dump the screen worked but with some caveat - it shows green window for some of the windows (tied to a presentation queue) that were destroyed earlier. But I guess its an universal problem with VDPAU - the background does not get set correctly.