Having issues with nvenc which used to work on this systems. ffmpeg appears to complete without errors but never does the encoding and the output is an empty file. I recently updated the driver for gpu too.

Code:
ffmpeg -loglevel debug -i output.ts -c:a copy -c:v h264_nvenc -max_muxing_queue_size 1024 -y out.mp4
ffmpeg version N-94391-g052d41377a Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 9.1.1 (GCC) 20190716
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
  libavutil      56. 32.100 / 56. 32.100
  libavcodec     58. 55.100 / 58. 55.100
  libavformat    58. 30.100 / 58. 30.100
  libavdevice    58.  9.100 / 58.  9.100
  libavfilter     7. 58.100 /  7. 58.100
  libswscale      5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-i' ... matched as input url with argument 'output.ts'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'h264_nvenc'.
Reading option '-max_muxing_queue_size' ... matched as option 'max_muxing_queue_size' (maximum number of packets that can be buffered while waiting for all streams to initialize) with argument '1024'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option 'out.mp4' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url output.ts.
Successfully parsed a group of options.
Opening an input file: output.ts.
[NULL @ 000001c6a0c0a600] Opening 'output.ts' for reading
[file @ 000001c6a0c0b700] Setting default whitelist 'file,crypto'
[mpegts @ 000001c6a0c0a600] Format mpegts probed with size=2048 and score=50
[mpegts @ 000001c6a0c0a600] stream=0 stream_type=2 pid=100 prog_reg_desc=
[mpegts @ 000001c6a0c0a600] stream=1 stream_type=81 pid=101 prog_reg_desc=
[mpegts @ 000001c6a0c0a600] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0 nb_streams:2
[mpeg2video @ 000001c6a0c0b840] Format yuv420p chosen by get_format().
[mpegts @ 000001c6a0c0a600] Probe buffer size limit of 5000000 bytes reached
[mpegts @ 000001c6a0c0a600] After avformat_find_stream_info() pos: 0 bytes read:6049936 seeks:2 frames:132
Input #0, mpegts, from 'output.ts':
  Duration: 00:00:29.33, start: 1.400000, bitrate: 21158 kb/s
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100], 61, 1/90000: Video: mpeg2video (Main), 1 reference frame ([2][0][0][0] / 0x0002), yuv420p(tv, top first, left), 1920x1080 [SAR 1:1 DAR 16:9], 0/1, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x101](eng), 71, 1/90000: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 384 kb/s
Successfully opened the file.
Parsing a group of options: output url out.mp4.
Applying option c:a (codec name) with argument copy.
Applying option c:v (codec name) with argument h264_nvenc.
Applying option max_muxing_queue_size (maximum number of packets that can be buffered while waiting for all streams to initialize) with argument 1024.
Successfully parsed a group of options.
Opening an output file: out.mp4.
[file @ 000001c6a0c11bc0] Setting default whitelist 'file,crypto'
Successfully opened the file.
detected 8 logical cores
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (h264_nvenc))
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
    Last message repeated 9 times
[mpeg2video @ 000001c6a1461240] Format yuv420p chosen by get_format().
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
    Last message repeated 1 times
[mpeg2video @ 000001c6a1461240] Skipping B slice due to open GOP
    Last message repeated 67 times
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
    Last message repeated 1 times
[mpeg2video @ 000001c6a1461240] Skipping B slice due to open GOP
    Last message repeated 67 times
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
    Last message repeated 1 times
[graph 0 input from stream 0:0 @ 000001c6a0ca0140] Setting 'video_size' to value '1920x1080'
[graph 0 input from stream 0:0 @ 000001c6a0ca0140] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 0:0 @ 000001c6a0ca0140] Setting 'time_base' to value '1/90000'
[graph 0 input from stream 0:0 @ 000001c6a0ca0140] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 000001c6a0ca0140] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 000001c6a0ca0140] Setting 'frame_rate' to value '30000/1001'
[graph 0 input from stream 0:0 @ 000001c6a0ca0140] w:1920 h:1080 pixfmt:yuv420p tb:1/90000 fr:30000/1001 sar:1/1 sws_param:flags=2
[format @ 000001c6a0c74900] Setting 'pix_fmts' to value 'yuv420p|nv12|p010le|yuv444p|p016le|yuv444p16le|bgr0|rgb0|cuda|d3d11'
[AVFilterGraph @ 000001c6a0c6c080] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
[h264_nvenc @ 000001c6a0c0ff00] Loaded lib: nvcuda.dll
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuInit
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuDeviceGetCount
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuDeviceGet
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuDeviceGetAttribute
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuDeviceGetName
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuDeviceComputeCapability
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuCtxCreate_v2
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuCtxSetLimit
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuCtxPushCurrent_v2
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuCtxPopCurrent_v2
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuCtxDestroy_v2
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuMemAlloc_v2
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuMemAllocPitch_v2
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuMemsetD8Async
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuMemFree_v2
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuMemcpy2D_v2
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuMemcpy2DAsync_v2
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuGetErrorName
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuGetErrorString
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuStreamCreate
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuStreamQuery
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuStreamSynchronize
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuStreamDestroy_v2
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuStreamAddCallback
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuEventCreate
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuEventDestroy_v2
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuEventSynchronize
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuEventQuery
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuEventRecord
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuLaunchKernel
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuModuleLoadData
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuModuleUnload
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuModuleGetFunction
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuTexObjectCreate
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuTexObjectDestroy
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuGLGetDevices_v2
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuGraphicsGLRegisterImage
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuGraphicsUnregisterResource
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuGraphicsMapResources
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuGraphicsUnmapResources
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuGraphicsSubResourceGetMappedArray
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuDeviceGetUuid
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuImportExternalMemory
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuDestroyExternalMemory
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuExternalMemoryGetMappedBuffer
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuExternalMemoryGetMappedMipmappedArray
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuMipmappedArrayGetLevel
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuMipmappedArrayDestroy
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuImportExternalSemaphore
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuDestroyExternalSemaphore
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuSignalExternalSemaphoresAsync
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: cuWaitExternalSemaphoresAsync
[h264_nvenc @ 000001c6a0c0ff00] Loaded lib: nvEncodeAPI64.dll
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: NvEncodeAPICreateInstance
[h264_nvenc @ 000001c6a0c0ff00] Loaded sym: NvEncodeAPIGetMaxSupportedVersion
[h264_nvenc @ 000001c6a0c0ff00] Loaded Nvenc version 9.0
[h264_nvenc @ 000001c6a0c0ff00] Nvenc initialized successfully