Tried this on my Maximum Settings 1080 Rig and it doesn't work.
Contents of logfile:
[min_threads] -- [4]
[file_apps] -- [C:/APPS/OPEN-STREAM/assets/apps_windows.json]
[min_log_level] -- [2]
[file_state] -- [C:/APPS/OPEN-STREAM/sunshine_state.json]
[encoder] -- [nvenc]
[sunshine_name] -- [OpenStream]
[2020-10-20 03:42:51.719590] [0x0000260c] [info] Starting streamming host...
[2020:10:20:03:42:51]: Warning: Couldn't setup connection to ViGEm for gamepad support [E0000001]
Device Description : NVIDIA GeForce GTX 1080
Device Vendor ID : 0x000010DE
Device Device ID : 0x00001B80
Device Video Mem : 8079 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 6142 MiB
Feature Level : 0x0000C100
Capture size : 1920x1080
[2020:10:20:03:42:52]: Error: Could not send a frame for encoding: Invalid argument
Device Description : NVIDIA GeForce GTX 1080
Device Vendor ID : 0x000010DE
Device Device ID : 0x00001B80
Device Video Mem : 8079 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 6142 MiB
Feature Level : 0x0000C100
Capture size : 1920x1080
Device Description : NVIDIA GeForce GTX 1080
Device Vendor ID : 0x000010DE
Device Device ID : 0x00001B80
Device Video Mem : 8079 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 6142 MiB
Feature Level : 0x0000C100
Capture size : 1920x1080
[2020:10:20:03:42:52]: Error: Could not send a frame for encoding: Invalid argument
Device Description : NVIDIA GeForce GTX 1080
Device Vendor ID : 0x000010DE
Device Device ID : 0x00001B80
Device Video Mem : 8079 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 6142 MiB
Feature Level : 0x0000C100
Capture size : 1920x1080
Device Description : NVIDIA GeForce GTX 1080
Device Vendor ID : 0x000010DE
Device Device ID : 0x00001B80
Device Video Mem : 8079 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 6142 MiB
Feature Level : 0x0000C100
Capture size : 1920x1080
[2020:10:20:03:42:53]: Error: Failed to create video output texture [0x80070057]
Device Description : NVIDIA GeForce GTX 1080
Device Vendor ID : 0x000010DE
Device Device ID : 0x00001B80
Device Video Mem : 8079 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 6142 MiB
Feature Level : 0x0000C100
Capture size : 1920x1080
[2020:10:20:03:42:53]: Error: Failed to create video output texture [0x80070057]
[2020:10:20:03:42:53]: Info: Found encoder nvenc: [h264_nvenc, hevc_nvenc]