You can't perform a display capture while running on the Nvidia card.
Laptop? Black screen when capturing? Read here first.
18:21:45.049: Available Video Adapters:
18:21:45.056: Adapter 0: NVIDIA GeForce GTX 1050
18:21:45.056: Dedicated VRAM: 4216324096
18:21:45.056: Shared VRAM: 4238428160
18:21:45.056: output 0: pos={0, 0}, size={1920, 1080}, attached=true
18:21:45.056: Adapter 1: Intel(R) HD Graphics 630
18:21:45.056: Dedicated VRAM: 134217728
18:21:45.056: Shared VRAM: 4238428160
18:21:45.063: Loading up D3D11 on adapter NVIDIA GeForce GTX 1050 (0)
18:21:45.130: D3D11 loaded successfully, feature level used: 45056
18:21:46.211: ---------------------------------