Application capture after NVIFR deprecation

What is the ideal way to capture c++ application frame on Linux after NVIFR was deprecated in Capture SDK 7.0?