How to use NVIFR-SHIM correctly?

Hi,

I’m using Nvidia Capture SDK 6.0 and I’ve tried one thousand times to generate a .h264 running StartApp.exe built from the sample.

I’ve read a lot all this thread,
PM Sent From: http://gridforums.nvidia.com/default/topic/1012/nvidia-grid-apis/dxifrshim-sample-does-not-work-/2/

But, unfortunally I could get it works. The following is the log.

Log Started at Monday, August 14, 2017 14:55:50
FileVersion: 1.1.5.1120
ProductVersion: 1.1.5.1120

File System Initialization

--- CPU detection ---
Number of system processors: 8
Number of available processors: 8
Processor 0:
CPU: GenuineIntel Intel(R) Xeon(R) CPU E5-2623 v4 @ 2.60GHz
Family: 6, Model: 15, Stepping: 1
FPU: on-chip
CPU Speed (estimated): 2599.952135 MHz
MMX: present
SSE: present
3DNow!: not present
Serial number not present or disabled

Processor 1:
CPU: GenuineIntel Intel(R) Xeon(R) CPU E5-2623 v4 @ 2.60GHz
Family: 6, Model: 15, Stepping: 1
FPU: on-chip
CPU Speed (estimated): 2599.949955 MHz
MMX: present
SSE: present
3DNow!: not present
Serial number not present or disabled

Processor 2:
CPU: GenuineIntel Intel(R) Xeon(R) CPU E5-2623 v4 @ 2.60GHz
Family: 6, Model: 15, Stepping: 1
FPU: on-chip
CPU Speed (estimated): 2599.956578 MHz
MMX: present
SSE: present
3DNow!: not present
Serial number not present or disabled

Processor 3:
CPU: GenuineIntel Intel(R) Xeon(R) CPU E5-2623 v4 @ 2.60GHz
Family: 6, Model: 15, Stepping: 1
FPU: on-chip
CPU Speed (estimated): 2599.943006 MHz
MMX: present
SSE: present
3DNow!: not present
Serial number not present or disabled

Processor 4:
CPU: GenuineIntel Intel(R) Xeon(R) CPU E5-2623 v4 @ 2.60GHz
Family: 6, Model: 15, Stepping: 1
FPU: on-chip
CPU Speed (estimated): 2599.961968 MHz
MMX: present
SSE: present
3DNow!: not present
Serial number not present or disabled

Processor 5:
CPU: GenuineIntel Intel(R) Xeon(R) CPU E5-2623 v4 @ 2.60GHz
Family: 6, Model: 15, Stepping: 1
FPU: on-chip
CPU Speed (estimated): 2599.952732 MHz
MMX: present
SSE: present
3DNow!: not present
Serial number not present or disabled

Processor 6:
CPU: GenuineIntel Intel(R) Xeon(R) CPU E5-2623 v4 @ 2.60GHz
Family: 6, Model: 15, Stepping: 1
FPU: on-chip
CPU Speed (estimated): 2599.957537 MHz
MMX: present
SSE: present
3DNow!: not present
Serial number not present or disabled

Processor 7:
CPU: GenuineIntel Intel(R) Xeon(R) CPU E5-2623 v4 @ 2.60GHz
Family: 6, Model: 15, Stepping: 1
FPU: on-chip
CPU Speed (estimated): 2599.959540 MHz
MMX: present
SSE: present
3DNow!: not present
Serial number not present or disabled

---------------------
Stream Engine Initialization
Script System Initialization
Network initialization
Physics initialization
MovieSystem initialization
Renderer initialization
System: INFO: DirectX 12.0 installed
System: VideoCard Detected: nVidia (Unknown)
Direct3D9 driver is creating...
Best-match display mode: 1024x768x32 (Error=8)
Creating D3D device (Adapter format: D3DFMT_X8R8G8B8, BackBuffer format: D3DFMT_A8R8G8B8, Depth format: D3DFMT_D24S8)
D3D Adapter: Driver name: nvldumd.dll
D3D Adapter: Driver description: NVIDIA Quadro M4000
D3D Adapter: Driver version: 23.21.13.8512
D3D Adapter: Driver GUID: D7B71E3E-50B1-11CF-2E525E311BC2DA35
D3D Adapter: VendorId = 4318
D3D Adapter: DeviceId = 5105
D3D Adapter: SubSysId = 290656478
D3D Adapter: Revision = 161
D3D Detected: NVidia video card
D3D Driver: MaxTextureBlendStages = 8
D3D Driver: MaxSimultaneousTextures = 8
Using '8888' pixel texture format
Using 'Alpha8' pixel texture format
Using 'Depth24' pixel texture format
Using 'BumpU8V8' pixel texture format
Using 'BumpQ8W8U8V8' pixel texture format
Using 'BumpX8L8U8V8' pixel texture format
Using 'DXT1' pixel texture format
Using 'DXT3' pixel texture format
Using 'DXT5' pixel texture format
D3D Driver: Supports trilinear texture filtering
D3D Driver: Allowed projected textures with Env. bump mapping
D3D Driver: Supports alpha palettes
D3D Driver: Supports range-based fog
D3D Driver: Supports eye-relative fog
D3D Driver: Supports anisotropic filtering
D3D Driver: Supports LOD biasing
D3D Driver: Supports Z biasing
D3D Driver: Supports scissor test
D3D Driver: Supports non-power-of-2 textures
D3D Driver: Supports D3DTOP_ADDSIGNED2X TextureOp
D3D Driver: Supports D3DTOP_BUMPENVMAP TextureOp
D3D Driver: Supports D3DTOP_BUMPENVMAPLUMINANCE TextureOp
D3D Driver: Supports D3DTOP_DOTPRODUCT3 TextureOp
D3D Driver: Supports D3DTOP_MODULATEALPHA_ADDCOLOR TextureOp
D3D Driver: Supports D3DTOP_MODULATECOLOR_ADDALPHA TextureOp
D3D Driver: Supports D3DTOP_ADD TextureOp
D3D Driver: Supports MaxAnisotropy level 16
D3D Driver: Supports Stencil shadows
D3D Driver: Supports Two-Sided stencil
D3D Driver: Textures (0x0)-(16384x16384), Max aspect 16384
Driver description: NVIDIA Quadro M4000
Full stats: HAL (pure hw vp): NVIDIA Quadro M4000
Hardware acceleration: Yes
Full screen AA: Disabled
Stencil type: Two sided
Projective EMBM: enabled
Detail textures: Yes
Z Buffer Locking: Yes
Use multitexture mode: Yes (8 texture(s))
Use bumpmapping : Yes (DOT3)
Use paletted textures : No
Current Resolution: 1024x768x32 Full Screen
Maximum Resolution: 3840x2160
Maximum Texture size: 16384x16384 (Max Aspect: 16384)
Texture filtering type: TRILINEAR
Use 32 bits textures
Gamma control: Hardware
Vertex Shaders version 3.0
Pixel Shaders version 3.0
Use Hardware Shaders for NV3x GPUs
Pixel shaders usage: Replace PS.2.0 to PS.1.1
Shadow maps type: Mixed Depth/2D maps
*****************************************

Init Shaders
WARNING: Error: CTexMan::ImagePreprocessing: Scaling of 'textures/defaults/palletteheat.dds' compressed texture is dangerous (only one mip)
9 Shader files found.

91 Shader files found.

Construct Shader '<Default>'...ok
Construct Shader 'ZBuffPass'...ok
Construct Shader 'ShadowMap'...ok
Construct Shader 'EdgePass'...ok
Compile System Shader 'StateNoCull'...ok
Compile System Shader 'SunFlares'...ok
2 Sun flares was parsed
Compile System Shader 'LightStyles'...ok
34 Light styles was parsed
Compile Glare Shader ...
Compile System HW Shader 'CGVProgramms'...ok
Compile System HW Shader 'CGPShaders'...ok
Compile System Shader 'TemplFog'...ok
Compile System Shader 'TemplVFog'...Fail.
Compile System Shader 'TemplFog_FP'...ok
Compile System Shader 'TemplFogCaustics'...ok
Compile System Shader 'TemplVFogCaustics'...Fail.
Compile System Shader 'TemplFogCaustics_FP'...ok
WARNING: Shader 'whiteshadow' has opaque maps defined after pass 0!!!
WARNING: Shader 'whiteshadow' has depthwrite enabled after pass 0!!!
Console initialization
Time initialization
Input initialization
Initializing Direct Input
Direct Input initialized (CryInputDLL)
Initializing Keyboard
Keyboard initialized
Initializing mouse
Mouse initialized
Found 16 joystick devices
Joystick 0 not plugged in!
Joystick 1 not plugged in!
Joystick 2 not plugged in!
Joystick 3 not plugged in!
Joystick 4 not plugged in!
Joystick 5 not plugged in!
Joystick 6 not plugged in!
Joystick 7 not plugged in!
Joystick 8 not plugged in!
Joystick 9 not plugged in!
Joystick 10 not plugged in!
Joystick 11 not plugged in!
Joystick 12 not plugged in!
Joystick 13 not plugged in!
Joystick 14 not plugged in!
Joystick 15 not plugged in!
Joystick initialized
initializing Key/name Mapping
Sound initialization
------------------------------------------CRYSOUND VERSION=3.610000
CRYSOUND Driver: Primary Sound Driver
Total number of channels available: 286
Total number of hardware channels available: 0
Set speaker mode stereo
Font initialization
AI initialization
Entity system initialization
Initializing Animation System
CPU capabilities: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE-36 CLFSH MMX FXSR SSE SSE2 HTT ok
Initializing 3D Engine
WARNING: Texture format '.tga' is deprecated ('textures/spot_shadow.tga') (use .dds instead)
Removing lights ...
Deleting visareas ...
Deleting terrain ...
ObjManager shutdown ...
Initializing Script Bindings
Cpu speed is 2599,sys spec is set to 2