HandBrake / HandBrake

HandBrake's main development repository
https://handbrake.fr
Other
18.05k stars 1.36k forks source link

GTX 1080TI, No NVENC capable devices found #2927

Closed jwvanderbeck-Unity closed 4 years ago

jwvanderbeck-Unity commented 4 years ago

Problem description:

In Handbrake preferences I have enabled the option for NVidia NVENC Encoders. In the profile settings, I set h.264 (nVidia NVEnc), however the conversion fails almost immediately with the error in the log "No NVENC capable devices found".

According to the documentation I should not even be able to enable the option if my GPU doesn't support it, and I'm about 99% sure the 1080ti does indeed support it, as I've used it in other applications and I'm even about 75% sure I've even used it in Handbrake in the past, so I'm not sure what is going on.

HandBrake version (e.g., 1.3.0):

1.3.2 (2020050300)

Operating system and version (e.g., Ubuntu 19.10, macOS 10.15 Catalina, Windows 10 1909):

Windows 10.0.18363

Error message text and/or screenshot:

No NVENC capable devices found

HandBrake Activity Log:

HandBrake 1.3.2 (2020050300)
OS: Microsoft Windows NT 10.0.18363.0
CPU: AMD Ryzen 9 3900X 12-Core Processor            
Ram: 32717 MB, 
GPU Information:
  NVIDIA GeForce GTX 1080 Ti - 26.21.14.4587
Screen: 3440x1440
Temp Dir: C:\Users\jwvan\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\jwvan\AppData\Roaming\HandBrake

-------------------------------------------

[20:39:53] thread 3bb exited ("libhb")
[20:39:53] thread 3bb joined ("libhb")

# Starting Encode ...

[08:39:53] base preset: H.264 Quest (Modified)
[20:39:53] hb_init: starting libhb thread
[20:39:53] thread 44f started ("libhb")
[20:39:53] thread 450 started ("work")
[20:39:53] Starting work at: Fri Jun 12 20:39:53 2020
[20:39:53] 1 job(s) to process
[20:39:53] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "snip",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": true
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 3,
        "Settings": {
          "block-height": "16",
          "block-thresh": "40",
          "block-width": "16",
          "filter-mode": "2",
          "mode": "3",
          "motion-thresh": "1",
          "spatial-metric": "2",
          "spatial-thresh": "1"
        }
      },
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "2048",
          "width": "5400"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1"
        }
      }
    ]
  },
  "PAR": {
    "Num": 512,
    "Den": 675
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "snip"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "nvenc_h264",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "slow",
    "Profile": "auto",
    "Quality": 18.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[20:39:53] CPU: AMD Ryzen 9 3900X 12-Core Processor
[20:39:53]  - logical processor count: 24
[20:39:53] Intel Quick Sync Video support: no
[20:39:53] hb_scan: path=snip, title_index=1
[20:39:53] thread 451 started ("scan")
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image snip
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2585: nav_get_title_list(snip) failed
[20:39:53] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[20:39:53] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'snip':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42mp41
    creation_time   : 2019-12-11T19:16:58.000000Z
  Duration: 00:46:25.32, start: 0.000000, bitrate: 30334 kb/s
    Stream #0:0(eng): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709), 5400x2700 [SAR 1:1 DAR 2:1], 30009 kb/s, 59.94 fps, 59.94 tbr, 60k tbn, 59.94 tbc (default)
    Metadata:
      creation_time   : 2019-12-11T19:16:58.000000Z
      handler_name    : ?Mainconcept Video Media Handler
      encoder         : HEVC Coding
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)
    Metadata:
      creation_time   : 2019-12-11T19:16:58.000000Z
      handler_name    : #Mainconcept MP4 Sound Media Handler
[20:39:53] Found ffmpeg 0 chapters, container=mov,mp4,m4a,3gp,3g2,mj2
[20:39:53] scan: decoding previews for title 1
[20:39:53] scan: preview 1
[20:39:53] fifo_close: trashing 0 buffer(s)
[20:39:53] scan: audio 0x1: aac, rate=48000Hz, bitrate=317375 English (AAC LC) (2.0 ch) (317 kbps)
[20:39:54] scan: preview 2
[20:39:54] scan: preview 3
[20:39:54] scan: preview 4
[20:39:54] scan: preview 5
[20:39:55] scan: preview 6
[20:39:55] scan: preview 7
[20:39:55] scan: preview 8
[20:39:55] scan: preview 9
[20:39:56] scan: preview 10
[20:39:56] scan: 10 previews, 5400x2700, 59.940 fps, autocrop = 0/0/0/0, aspect 2.00:1, PAR 1:1
[20:39:56] scan: supported video decoders: avcodec qsv
[20:39:56] Freed 1 buffers of size 1024
[20:39:56] Freed 1 buffers of size 2048
[20:39:56] Freed 1 buffers of size 4096
[20:39:56] Freed 1 buffers of size 16384
[20:39:56] Freed 1 buffers of size 32768
[20:39:56] Freed 1 buffers of size 65536
[20:39:56] Freed 1 buffers of size 131072
[20:39:56] Freed 1 buffers of size 262144
[20:39:56] Freed 1 buffers of size 524288
[20:39:56] Freed 1 buffers of size 1048576
[20:39:56] Freed 2 buffers of size 33554432
[20:39:56] Allocated 69196800 bytes of buffers on this pass and Freed 69196800 bytes, 0 bytes leaked
[20:39:56] thread 451 exited ("scan")
[20:39:56] thread 451 joined ("scan")
[20:39:56] libhb: scan thread found 1 valid title(s)
[20:39:56] Starting Task: Encoding Pass
[20:39:56] thread 452 started ("decomb_filter_segment")
[20:39:56] thread 453 started ("decomb_filter_segment")
[20:39:56] thread 454 started ("decomb_filter_segment")
[20:39:56] thread 455 started ("decomb_filter_segment")
[20:39:56] thread 456 started ("decomb_filter_segment")
[20:39:56] thread 457 started ("decomb_filter_segment")
[20:39:56] thread 458 started ("decomb_filter_segment")
[20:39:56] thread 459 started ("decomb_filter_segment")
[20:39:56] thread 45a started ("decomb_filter_segment")
[20:39:56] thread 45b started ("decomb_filter_segment")
[20:39:56] thread 45c started ("decomb_filter_segment")
[20:39:56] thread 45d started ("decomb_filter_segment")
[20:39:56] thread 45e started ("decomb_filter_segment")
[20:39:56] thread 45f started ("decomb_filter_segment")
[20:39:56] thread 460 started ("decomb_filter_segment")
[20:39:56] thread 461 started ("decomb_filter_segment")
[20:39:56] thread 462 started ("decomb_filter_segment")
[20:39:56] thread 463 started ("decomb_filter_segment")
[20:39:56] thread 464 started ("decomb_filter_segment")
[20:39:56] thread 465 started ("decomb_filter_segment")
[20:39:56] thread 466 started ("decomb_filter_segment")
[20:39:56] thread 467 started ("decomb_filter_segment")
[20:39:56] thread 468 started ("decomb_filter_segment")
[20:39:56] thread 469 started ("decomb_filter_segment")
[20:39:56] thread 46a started ("decomb_check_segment")
[20:39:56] thread 46b started ("decomb_check_segment")
[20:39:56] thread 46c started ("decomb_check_segment")
[20:39:56] thread 46d started ("decomb_check_segment")
[20:39:56] thread 46e started ("decomb_check_segment")
[20:39:56] thread 46f started ("decomb_check_segment")
[20:39:56] thread 470 started ("decomb_check_segment")
[20:39:56] thread 471 started ("decomb_check_segment")
[20:39:56] thread 472 started ("decomb_check_segment")
[20:39:56] thread 473 started ("decomb_check_segment")
[20:39:56] thread 474 started ("decomb_check_segment")
[20:39:56] thread 475 started ("decomb_check_segment")
[20:39:56] thread 476 started ("decomb_check_segment")
[20:39:56] thread 477 started ("decomb_check_segment")
[20:39:56] thread 478 started ("decomb_check_segment")
[20:39:56] thread 479 started ("decomb_check_segment")
[20:39:56] thread 47a started ("decomb_check_segment")
[20:39:56] thread 47b started ("decomb_check_segment")
[20:39:56] thread 47c started ("decomb_check_segment")
[20:39:56] thread 47d started ("decomb_check_segment")
[20:39:56] thread 47e started ("decomb_check_segment")
[20:39:56] thread 47f started ("decomb_check_segment")
[20:39:56] thread 480 started ("decomb_check_segment")
[20:39:56] thread 481 started ("decomb_check_segment")
[20:39:56] thread 482 started ("mask_filter_segment")
[20:39:56] thread 483 started ("mask_filter_segment")
[20:39:56] thread 484 started ("mask_filter_segment")
[20:39:56] thread 485 started ("mask_filter_segment")
[20:39:56] thread 486 started ("mask_filter_segment")
[20:39:56] thread 487 started ("mask_filter_segment")
[20:39:56] thread 488 started ("mask_filter_segment")
[20:39:56] thread 489 started ("mask_filter_segment")
[20:39:56] thread 48a started ("mask_filter_segment")
[20:39:56] thread 48b started ("mask_filter_segment")
[20:39:56] thread 48c started ("mask_filter_segment")
[20:39:56] thread 48d started ("mask_filter_segment")
[20:39:56] thread 48e started ("mask_filter_segment")
[20:39:56] thread 48f started ("mask_filter_segment")
[20:39:56] thread 490 started ("mask_filter_segment")
[20:39:56] thread 491 started ("mask_filter_segment")
[20:39:56] thread 492 started ("mask_filter_segment")
[20:39:56] thread 493 started ("mask_filter_segment")
[20:39:56] thread 494 started ("mask_filter_segment")
[20:39:56] thread 495 started ("mask_filter_segment")
[20:39:56] thread 496 started ("mask_filter_segment")
[20:39:56] thread 497 started ("mask_filter_segment")
[20:39:56] thread 498 started ("mask_filter_segment")
[20:39:56] thread 499 started ("mask_filter_segment")
[20:39:56] thread 49a started ("mask_erode_segment")
[20:39:56] thread 49b started ("mask_erode_segment")
[20:39:56] thread 49c started ("mask_erode_segment")
[20:39:56] thread 49d started ("mask_erode_segment")
[20:39:56] thread 49e started ("mask_erode_segment")
[20:39:56] thread 49f started ("mask_erode_segment")
[20:39:56] thread 4a0 started ("mask_erode_segment")
[20:39:56] thread 4a1 started ("mask_erode_segment")
[20:39:56] thread 4a2 started ("mask_erode_segment")
[20:39:56] thread 4a3 started ("mask_erode_segment")
[20:39:56] thread 4a4 started ("mask_erode_segment")
[20:39:56] thread 4a5 started ("mask_erode_segment")
[20:39:56] thread 4a6 started ("mask_erode_segment")
[20:39:56] thread 4a7 started ("mask_erode_segment")
[20:39:56] thread 4a8 started ("mask_erode_segment")
[20:39:56] thread 4a9 started ("mask_erode_segment")
[20:39:56] thread 4aa started ("mask_erode_segment")
[20:39:56] thread 4ab started ("mask_erode_segment")
[20:39:56] thread 4ac started ("mask_erode_segment")
[20:39:56] thread 4ad started ("mask_erode_segment")
[20:39:56] thread 4ae started ("mask_erode_segment")
[20:39:56] thread 4af started ("mask_erode_segment")
[20:39:56] thread 4b0 started ("mask_erode_segment")
[20:39:56] thread 4b1 started ("mask_erode_segment")
[20:39:56] thread 4b2 started ("mask_dilate_segment")
[20:39:56] thread 4b3 started ("mask_dilate_segment")
[20:39:56] thread 4b4 started ("mask_dilate_segment")
[20:39:56] thread 4b5 started ("mask_dilate_segment")
[20:39:56] thread 4b6 started ("mask_dilate_segment")
[20:39:56] thread 4b7 started ("mask_dilate_segment")
[20:39:56] thread 4b8 started ("mask_dilate_segment")
[20:39:56] thread 4b9 started ("mask_dilate_segment")
[20:39:56] thread 4ba started ("mask_dilate_segment")
[20:39:56] thread 4bb started ("mask_dilate_segment")
[20:39:56] thread 4bc started ("mask_dilate_segment")
[20:39:56] thread 4bd started ("mask_dilate_segment")
[20:39:56] thread 4be started ("mask_dilate_segment")
[20:39:56] thread 4bf started ("mask_dilate_segment")
[20:39:56] thread 4c0 started ("mask_dilate_segment")
[20:39:56] thread 4c1 started ("mask_dilate_segment")
[20:39:56] thread 4c2 started ("mask_dilate_segment")
[20:39:56] thread 4c3 started ("mask_dilate_segment")
[20:39:56] thread 4c4 started ("mask_dilate_segment")
[20:39:56] thread 4c5 started ("mask_dilate_segment")
[20:39:56] thread 4c6 started ("mask_dilate_segment")
[20:39:56] thread 4c7 started ("mask_dilate_segment")
[20:39:56] thread 4c8 started ("mask_dilate_segment")
[20:39:56] thread 4c9 started ("mask_dilate_segment")
[20:39:56] thread 4ca started ("yadif_filter_segment")
[20:39:56] thread 4cb started ("yadif_filter_segment")
[20:39:56] thread 4cc started ("yadif_filter_segment")
[20:39:56] thread 4cd started ("yadif_filter_segment")
[20:39:56] thread 4ce started ("yadif_filter_segment")
[20:39:56] thread 4cf started ("yadif_filter_segment")
[20:39:56] thread 4d0 started ("yadif_filter_segment")
[20:39:56] thread 4d1 started ("yadif_filter_segment")
[20:39:56] thread 4d2 started ("yadif_filter_segment")
[20:39:56] thread 4d3 started ("yadif_filter_segment")
[20:39:56] thread 4d4 started ("yadif_filter_segment")
[20:39:56] thread 4d5 started ("yadif_filter_segment")
[20:39:56] thread 4d6 started ("yadif_filter_segment")
[20:39:56] thread 4d7 started ("yadif_filter_segment")
[20:39:56] thread 4d8 started ("yadif_filter_segment")
[20:39:56] thread 4d9 started ("yadif_filter_segment")
[20:39:56] thread 4da started ("yadif_filter_segment")
[20:39:56] thread 4db started ("yadif_filter_segment")
[20:39:56] thread 4dc started ("yadif_filter_segment")
[20:39:56] thread 4dd started ("yadif_filter_segment")
[20:39:56] thread 4de started ("yadif_filter_segment")
[20:39:56] thread 4df started ("yadif_filter_segment")
[20:39:56] thread 4e0 started ("yadif_filter_segment")
[20:39:56] thread 4e1 started ("yadif_filter_segment")
[20:39:56] work: only 1 chapter, disabling chapter markers
[20:39:56] job configuration:
[20:39:56]  * source
[20:39:56]    + snip
[20:39:56]    + title 1, chapter(s) 1 to 1
[20:39:56]    + container: mov,mp4,m4a,3gp,3g2,mj2
[20:39:56]    + data rate: 30334 kbps
[20:39:56]  * destination
[20:39:56]    + snip
[20:39:56]    + container: MPEG-4 (libavformat)
[20:39:56]      + optimized for HTTP streaming (fast start)
[20:39:56]  * video track
[20:39:56]    + decoder: hevc
[20:39:56]      + bitrate 30009 kbps
[20:39:56]    + filters
[20:39:56]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[20:39:56]      + Decomb (mode=39)
[20:39:56]      + Framerate Shaper (mode=1)
[20:39:56]        + frame rate: 59.940 fps -> constant 59.940 fps
[20:39:56]      + AVFilter (scale='width=5400:height=2048:flags=lanczos+accurate_rnd:in_color_matrix=bt709:out_color_matrix=bt709:out_range=limited',format='pix_fmts=yuv420p')
[20:39:56]        + scale: width=5400, height=2048, flags=lanczos+accurate_rnd, in_color_matrix=bt709, out_color_matrix=bt709, out_range=limited
[20:39:56]        + format: pix_fmts=yuv420p
[20:39:56]      + Crop and Scale (width=5400:height=2048:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[20:39:56]        + source: 5400 * 2700, crop (0/0/0/0): 5400 * 2700, scale: 5400 * 2048
[20:39:56]    + Output geometry
[20:39:56]      + storage dimensions: 5400 x 2048
[20:39:56]      + pixel aspect ratio: 512 : 675
[20:39:56]      + display dimensions: 4096 x 2048
[20:39:56]    + encoder: H.264 (NVEnc)
[20:39:56]      + preset:  slow
[20:39:56]      + profile: auto
[20:39:56]      + level:   auto
[20:39:56]      + quality: 18.00 (CQ)
[20:39:56]      + color profile: 1-1-1
[20:39:56]  * audio track 1
[20:39:56]    + decoder: English (AAC LC) (2.0 ch) (317 kbps) (track 1, id 0x1)
[20:39:56]      + bitrate: 317 kbps, samplerate: 48000 Hz
[20:39:56]    + mixdown: Stereo
[20:39:56]    + dither: none
[20:39:56]    + encoder: AAC (libavcodec)
[20:39:56]      + bitrate: 160 kbps, samplerate: 48000 Hz
[20:39:56] sync: expecting 166952 video frames
[20:39:56] thread 4e2 started ("Audio Synchronization")
[20:39:56] encavcodecInit: H.264 (Nvidia NVENC)
[20:39:56] encavcodec: encoding at rc=vbr 18.00
[20:39:56] encavcodec: encoding with stored aspect 512/675
[h264_nvenc @ 000001a96620a6c0] dl_fn->cuda_dl->cuCtxCreate(&ctx->cu_context_internal, 0, cu_device) failed -> CUDA_ERROR_UNKNOWN: unknown error
[h264_nvenc @ 000001a96620a6c0] No NVENC capable devices found
[20:39:56] encavcodecInit: avcodec_open failed
Failure to initialise thread 'FFMPEG encoder (libavcodec)'
Failure to initialise thread 'FFMPEG encoder (libavcodec)'
[20:39:56] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[20:39:56] thread 45b exited ("decomb_filter_segment")
[20:39:56] thread 456 exited ("decomb_filter_segment")
[20:39:56] thread 452 exited ("decomb_filter_segment")
[20:39:56] thread 45a exited ("decomb_filter_segment")
[20:39:56] thread 463 exited ("decomb_filter_segment")
[20:39:56] thread 462 exited ("decomb_filter_segment")
[20:39:56] thread 461 exited ("decomb_filter_segment")
[20:39:56] thread 454 exited ("decomb_filter_segment")
[20:39:56] thread 455 exited ("decomb_filter_segment")
[20:39:56] thread 468 exited ("decomb_filter_segment")
[20:39:56] thread 467 exited ("decomb_filter_segment")
[20:39:56] thread 45d exited ("decomb_filter_segment")
[20:39:56] thread 464 exited ("decomb_filter_segment")
[20:39:56] thread 458 exited ("decomb_filter_segment")
[20:39:56] thread 469 exited ("decomb_filter_segment")
[20:39:56] thread 45e exited ("decomb_filter_segment")
[20:39:56] thread 453 exited ("decomb_filter_segment")
[20:39:56] thread 45f exited ("decomb_filter_segment")
[20:39:56] thread 466 exited ("decomb_filter_segment")
[20:39:56] thread 465 exited ("decomb_filter_segment")
[20:39:56] thread 457 exited ("decomb_filter_segment")
[20:39:56] thread 460 exited ("decomb_filter_segment")
[20:39:56] thread 459 exited ("decomb_filter_segment")
[20:39:56] thread 45c exited ("decomb_filter_segment")
[20:39:56] thread 452 joined ("decomb_filter_segment")
[20:39:56] thread 453 joined ("decomb_filter_segment")
[20:39:56] thread 454 joined ("decomb_filter_segment")
[20:39:56] thread 455 joined ("decomb_filter_segment")
[20:39:56] thread 456 joined ("decomb_filter_segment")
[20:39:56] thread 457 joined ("decomb_filter_segment")
[20:39:56] thread 458 joined ("decomb_filter_segment")
[20:39:56] thread 459 joined ("decomb_filter_segment")
[20:39:56] thread 45a joined ("decomb_filter_segment")
[20:39:56] thread 45b joined ("decomb_filter_segment")
[20:39:56] thread 45c joined ("decomb_filter_segment")
[20:39:56] thread 45d joined ("decomb_filter_segment")
[20:39:56] thread 45e joined ("decomb_filter_segment")
[20:39:56] thread 45f joined ("decomb_filter_segment")
[20:39:56] thread 460 joined ("decomb_filter_segment")
[20:39:56] thread 461 joined ("decomb_filter_segment")
[20:39:56] thread 462 joined ("decomb_filter_segment")
[20:39:56] thread 463 joined ("decomb_filter_segment")
[20:39:56] thread 464 joined ("decomb_filter_segment")
[20:39:56] thread 465 joined ("decomb_filter_segment")
[20:39:56] thread 466 joined ("decomb_filter_segment")
[20:39:56] thread 467 joined ("decomb_filter_segment")
[20:39:56] thread 468 joined ("decomb_filter_segment")
[20:39:56] thread 469 joined ("decomb_filter_segment")
[20:39:56] thread 476 exited ("decomb_check_segment")
[20:39:56] thread 47c exited ("decomb_check_segment")
[20:39:56] thread 46f exited ("decomb_check_segment")
[20:39:56] thread 477 exited ("decomb_check_segment")
[20:39:56] thread 46e exited ("decomb_check_segment")
[20:39:56] thread 479 exited ("decomb_check_segment")
[20:39:56] thread 481 exited ("decomb_check_segment")
[20:39:56] thread 46a exited ("decomb_check_segment")
[20:39:56] thread 47f exited ("decomb_check_segment")
[20:39:56] thread 480 exited ("decomb_check_segment")
[20:39:56] thread 47e exited ("decomb_check_segment")
[20:39:56] thread 46c exited ("decomb_check_segment")
[20:39:56] thread 475 exited ("decomb_check_segment")
[20:39:56] thread 470 exited ("decomb_check_segment")
[20:39:56] thread 47b exited ("decomb_check_segment")
[20:39:56] thread 46d exited ("decomb_check_segment")
[20:39:56] thread 471 exited ("decomb_check_segment")
[20:39:56] thread 46b exited ("decomb_check_segment")
[20:39:56] thread 474 exited ("decomb_check_segment")
[20:39:56] thread 478 exited ("decomb_check_segment")
[20:39:56] thread 47a exited ("decomb_check_segment")
[20:39:56] thread 472 exited ("decomb_check_segment")
[20:39:56] thread 473 exited ("decomb_check_segment")
[20:39:56] thread 47d exited ("decomb_check_segment")
[20:39:56] thread 46a joined ("decomb_check_segment")
[20:39:56] thread 46b joined ("decomb_check_segment")
[20:39:56] thread 46c joined ("decomb_check_segment")
[20:39:56] thread 46d joined ("decomb_check_segment")
[20:39:56] thread 46e joined ("decomb_check_segment")
[20:39:56] thread 46f joined ("decomb_check_segment")
[20:39:56] thread 470 joined ("decomb_check_segment")
[20:39:56] thread 471 joined ("decomb_check_segment")
[20:39:56] thread 472 joined ("decomb_check_segment")
[20:39:56] thread 473 joined ("decomb_check_segment")
[20:39:56] thread 474 joined ("decomb_check_segment")
[20:39:56] thread 475 joined ("decomb_check_segment")
[20:39:56] thread 476 joined ("decomb_check_segment")
[20:39:56] thread 477 joined ("decomb_check_segment")
[20:39:56] thread 478 joined ("decomb_check_segment")
[20:39:56] thread 479 joined ("decomb_check_segment")
[20:39:56] thread 47a joined ("decomb_check_segment")
[20:39:56] thread 47b joined ("decomb_check_segment")
[20:39:56] thread 47c joined ("decomb_check_segment")
[20:39:56] thread 47d joined ("decomb_check_segment")
[20:39:56] thread 47e joined ("decomb_check_segment")
[20:39:56] thread 47f joined ("decomb_check_segment")
[20:39:56] thread 480 joined ("decomb_check_segment")
[20:39:56] thread 481 joined ("decomb_check_segment")
[20:39:56] thread 48c exited ("mask_filter_segment")
[20:39:56] thread 498 exited ("mask_filter_segment")
[20:39:56] thread 495 exited ("mask_filter_segment")
[20:39:56] thread 48d exited ("mask_filter_segment")
[20:39:56] thread 496 exited ("mask_filter_segment")
[20:39:56] thread 489 exited ("mask_filter_segment")
[20:39:56] thread 484 exited ("mask_filter_segment")
[20:39:56] thread 48e exited ("mask_filter_segment")
[20:39:56] thread 490 exited ("mask_filter_segment")
[20:39:56] thread 48a exited ("mask_filter_segment")
[20:39:56] thread 488 exited ("mask_filter_segment")
[20:39:56] thread 483 exited ("mask_filter_segment")
[20:39:56] thread 48b exited ("mask_filter_segment")
[20:39:56] thread 492 exited ("mask_filter_segment")
[20:39:56] thread 486 exited ("mask_filter_segment")
[20:39:56] thread 497 exited ("mask_filter_segment")
[20:39:56] thread 485 exited ("mask_filter_segment")
[20:39:56] thread 48f exited ("mask_filter_segment")
[20:39:56] thread 482 exited ("mask_filter_segment")
[20:39:56] thread 487 exited ("mask_filter_segment")
[20:39:56] thread 499 exited ("mask_filter_segment")
[20:39:56] thread 494 exited ("mask_filter_segment")
[20:39:56] thread 491 exited ("mask_filter_segment")
[20:39:56] thread 493 exited ("mask_filter_segment")
[20:39:56] thread 482 joined ("mask_filter_segment")
[20:39:56] thread 483 joined ("mask_filter_segment")
[20:39:56] thread 484 joined ("mask_filter_segment")
[20:39:56] thread 485 joined ("mask_filter_segment")
[20:39:56] thread 486 joined ("mask_filter_segment")
[20:39:56] thread 487 joined ("mask_filter_segment")
[20:39:56] thread 488 joined ("mask_filter_segment")
[20:39:56] thread 489 joined ("mask_filter_segment")
[20:39:56] thread 48a joined ("mask_filter_segment")
[20:39:56] thread 48b joined ("mask_filter_segment")
[20:39:56] thread 48c joined ("mask_filter_segment")
[20:39:56] thread 48d joined ("mask_filter_segment")
[20:39:56] thread 48e joined ("mask_filter_segment")
[20:39:56] thread 48f joined ("mask_filter_segment")
[20:39:56] thread 490 joined ("mask_filter_segment")
[20:39:56] thread 491 joined ("mask_filter_segment")
[20:39:56] thread 492 joined ("mask_filter_segment")
[20:39:56] thread 493 joined ("mask_filter_segment")
[20:39:56] thread 494 joined ("mask_filter_segment")
[20:39:56] thread 495 joined ("mask_filter_segment")
[20:39:56] thread 496 joined ("mask_filter_segment")
[20:39:56] thread 497 joined ("mask_filter_segment")
[20:39:56] thread 498 joined ("mask_filter_segment")
[20:39:56] thread 499 joined ("mask_filter_segment")
[20:39:56] thread 49a exited ("mask_erode_segment")
[20:39:56] thread 4ad exited ("mask_erode_segment")
[20:39:56] thread 4a4 exited ("mask_erode_segment")
[20:39:56] thread 4af exited ("mask_erode_segment")
[20:39:56] thread 4a7 exited ("mask_erode_segment")
[20:39:56] thread 49f exited ("mask_erode_segment")
[20:39:56] thread 4b1 exited ("mask_erode_segment")
[20:39:56] thread 4b0 exited ("mask_erode_segment")
[20:39:56] thread 4a1 exited ("mask_erode_segment")
[20:39:56] thread 4a8 exited ("mask_erode_segment")
[20:39:56] thread 49c exited ("mask_erode_segment")
[20:39:56] thread 49b exited ("mask_erode_segment")
[20:39:56] thread 4aa exited ("mask_erode_segment")
[20:39:56] thread 4ae exited ("mask_erode_segment")
[20:39:56] thread 4a3 exited ("mask_erode_segment")
[20:39:56] thread 4ab exited ("mask_erode_segment")
[20:39:56] thread 49a joined ("mask_erode_segment")
[20:39:56] thread 4a9 exited ("mask_erode_segment")
[20:39:56] thread 4a0 exited ("mask_erode_segment")
[20:39:56] thread 4a6 exited ("mask_erode_segment")
[20:39:56] thread 49e exited ("mask_erode_segment")
[20:39:56] thread 49d exited ("mask_erode_segment")
[20:39:56] thread 4ac exited ("mask_erode_segment")
[20:39:56] thread 4a2 exited ("mask_erode_segment")
[20:39:56] thread 4a5 exited ("mask_erode_segment")
[20:39:56] thread 49b joined ("mask_erode_segment")
[20:39:56] thread 49c joined ("mask_erode_segment")
[20:39:56] thread 49d joined ("mask_erode_segment")
[20:39:56] thread 49e joined ("mask_erode_segment")
[20:39:56] thread 49f joined ("mask_erode_segment")
[20:39:56] thread 4a0 joined ("mask_erode_segment")
[20:39:56] thread 4a1 joined ("mask_erode_segment")
[20:39:56] thread 4a2 joined ("mask_erode_segment")
[20:39:56] thread 4a3 joined ("mask_erode_segment")
[20:39:56] thread 4a4 joined ("mask_erode_segment")
[20:39:56] thread 4a5 joined ("mask_erode_segment")
[20:39:56] thread 4a6 joined ("mask_erode_segment")
[20:39:56] thread 4a7 joined ("mask_erode_segment")
[20:39:56] thread 4a8 joined ("mask_erode_segment")
[20:39:56] thread 4a9 joined ("mask_erode_segment")
[20:39:56] thread 4aa joined ("mask_erode_segment")
[20:39:56] thread 4ab joined ("mask_erode_segment")
[20:39:56] thread 4ac joined ("mask_erode_segment")
[20:39:56] thread 4ad joined ("mask_erode_segment")
[20:39:56] thread 4ae joined ("mask_erode_segment")
[20:39:56] thread 4af joined ("mask_erode_segment")
[20:39:56] thread 4b0 joined ("mask_erode_segment")
[20:39:56] thread 4b1 joined ("mask_erode_segment")
[20:39:56] thread 4b8 exited ("mask_dilate_segment")
[20:39:56] thread 4be exited ("mask_dilate_segment")
[20:39:56] thread 4c9 exited ("mask_dilate_segment")
[20:39:56] thread 4c1 exited ("mask_dilate_segment")
[20:39:56] thread 4c3 exited ("mask_dilate_segment")
[20:39:56] thread 4c2 exited ("mask_dilate_segment")
[20:39:56] thread 4bb exited ("mask_dilate_segment")
[20:39:56] thread 4bc exited ("mask_dilate_segment")
[20:39:56] thread 4b3 exited ("mask_dilate_segment")
[20:39:56] thread 4b7 exited ("mask_dilate_segment")
[20:39:56] thread 4b9 exited ("mask_dilate_segment")
[20:39:56] thread 4c8 exited ("mask_dilate_segment")
[20:39:56] thread 4c4 exited ("mask_dilate_segment")
[20:39:56] thread 4b4 exited ("mask_dilate_segment")
[20:39:56] thread 4ba exited ("mask_dilate_segment")
[20:39:56] thread 4b6 exited ("mask_dilate_segment")
[20:39:56] thread 4c7 exited ("mask_dilate_segment")
[20:39:56] thread 4b2 exited ("mask_dilate_segment")
[20:39:56] thread 4c5 exited ("mask_dilate_segment")
[20:39:56] thread 4bd exited ("mask_dilate_segment")
[20:39:56] thread 4bf exited ("mask_dilate_segment")
[20:39:56] thread 4b5 exited ("mask_dilate_segment")
[20:39:56] thread 4c6 exited ("mask_dilate_segment")
[20:39:56] thread 4c0 exited ("mask_dilate_segment")
[20:39:56] thread 4b2 joined ("mask_dilate_segment")
[20:39:56] thread 4b3 joined ("mask_dilate_segment")
[20:39:56] thread 4b4 joined ("mask_dilate_segment")
[20:39:56] thread 4b5 joined ("mask_dilate_segment")
[20:39:56] thread 4b6 joined ("mask_dilate_segment")
[20:39:56] thread 4b7 joined ("mask_dilate_segment")
[20:39:56] thread 4b8 joined ("mask_dilate_segment")
[20:39:56] thread 4b9 joined ("mask_dilate_segment")
[20:39:56] thread 4ba joined ("mask_dilate_segment")
[20:39:56] thread 4bb joined ("mask_dilate_segment")
[20:39:56] thread 4bc joined ("mask_dilate_segment")
[20:39:56] thread 4bd joined ("mask_dilate_segment")
[20:39:56] thread 4be joined ("mask_dilate_segment")
[20:39:56] thread 4bf joined ("mask_dilate_segment")
[20:39:56] thread 4c0 joined ("mask_dilate_segment")
[20:39:56] thread 4c1 joined ("mask_dilate_segment")
[20:39:56] thread 4c2 joined ("mask_dilate_segment")
[20:39:56] thread 4c3 joined ("mask_dilate_segment")
[20:39:56] thread 4c4 joined ("mask_dilate_segment")
[20:39:56] thread 4c5 joined ("mask_dilate_segment")
[20:39:56] thread 4c6 joined ("mask_dilate_segment")
[20:39:56] thread 4c7 joined ("mask_dilate_segment")
[20:39:56] thread 4c8 joined ("mask_dilate_segment")
[20:39:56] thread 4c9 joined ("mask_dilate_segment")
[20:39:56] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[20:39:56] thread 4ce exited ("yadif_filter_segment")
[20:39:56] thread 4db exited ("yadif_filter_segment")
[20:39:56] thread 4d7 exited ("yadif_filter_segment")
[20:39:56] thread 4d1 exited ("yadif_filter_segment")
[20:39:56] thread 4df exited ("yadif_filter_segment")
[20:39:56] thread 4cd exited ("yadif_filter_segment")
[20:39:56] thread 4d9 exited ("yadif_filter_segment")
[20:39:56] thread 4cb exited ("yadif_filter_segment")
[20:39:56] thread 4de exited ("yadif_filter_segment")
[20:39:56] thread 4e1 exited ("yadif_filter_segment")
[20:39:56] thread 4d5 exited ("yadif_filter_segment")
[20:39:56] thread 4e0 exited ("yadif_filter_segment")
[20:39:56] thread 4d2 exited ("yadif_filter_segment")
[20:39:56] thread 4d4 exited ("yadif_filter_segment")
[20:39:56] thread 4d8 exited ("yadif_filter_segment")
[20:39:56] thread 4da exited ("yadif_filter_segment")
[20:39:56] thread 4cc exited ("yadif_filter_segment")
[20:39:56] thread 4ca exited ("yadif_filter_segment")
[20:39:56] thread 4dc exited ("yadif_filter_segment")
[20:39:56] thread 4d3 exited ("yadif_filter_segment")
[20:39:56] thread 4cf exited ("yadif_filter_segment")
[20:39:56] thread 4dd exited ("yadif_filter_segment")
[20:39:56] thread 4d6 exited ("yadif_filter_segment")
[20:39:56] thread 4d0 exited ("yadif_filter_segment")
[20:39:56] thread 4ca joined ("yadif_filter_segment")
[20:39:56] thread 4cb joined ("yadif_filter_segment")
[20:39:56] thread 4cc joined ("yadif_filter_segment")
[20:39:56] thread 4cd joined ("yadif_filter_segment")
[20:39:56] thread 4ce joined ("yadif_filter_segment")
[20:39:56] thread 4cf joined ("yadif_filter_segment")
[20:39:56] thread 4d0 joined ("yadif_filter_segment")
[20:39:56] thread 4d1 joined ("yadif_filter_segment")
[20:39:56] thread 4d2 joined ("yadif_filter_segment")
[20:39:56] thread 4d3 joined ("yadif_filter_segment")
[20:39:56] thread 4d4 joined ("yadif_filter_segment")
[20:39:56] thread 4d5 joined ("yadif_filter_segment")
[20:39:56] thread 4d6 joined ("yadif_filter_segment")
[20:39:56] thread 4d7 joined ("yadif_filter_segment")
[20:39:56] thread 4d8 joined ("yadif_filter_segment")
[20:39:56] thread 4d9 joined ("yadif_filter_segment")
[20:39:56] thread 4da joined ("yadif_filter_segment")
[20:39:56] thread 4db joined ("yadif_filter_segment")
[20:39:56] thread 4dc joined ("yadif_filter_segment")
[20:39:56] thread 4dd joined ("yadif_filter_segment")
[20:39:56] thread 4de joined ("yadif_filter_segment")
[20:39:56] thread 4df joined ("yadif_filter_segment")
[20:39:56] thread 4e0 joined ("yadif_filter_segment")
[20:39:56] thread 4e1 joined ("yadif_filter_segment")
[20:39:56] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[20:39:56] vfr: lost time: 0 (0 frames)
[20:39:56] vfr: gained time: 0 (0 frames) (0 not accounted for)
[20:39:56] fifo_close: trashing 0 buffer(s)
[20:39:56] aac-decoder done: 0 frames, 0 decoder errors
[20:39:56] hevc-decoder done: 0 frames, 0 decoder errors
[20:39:56] sync: got 0 frames, 166952 expected
[20:39:56] thread 4e2 exited ("Audio Synchronization")
[20:39:56] thread 4e2 joined ("Audio Synchronization")
[20:39:56] encavcodecaudio: closing libavcodec
[20:39:56] fifo_close: trashing 0 buffer(s)
[20:39:56] fifo_close: trashing 0 buffer(s)
[20:39:56] fifo_close: trashing 0 buffer(s)
[20:39:56] fifo_close: trashing 0 buffer(s)
[20:39:56] fifo_close: trashing 0 buffer(s)
[20:39:56] fifo_close: trashing 0 buffer(s)
[20:39:56] fifo_close: trashing 0 buffer(s)
[20:39:56] fifo_close: trashing 0 buffer(s)
[20:39:56] fifo_close: trashing 0 buffer(s)
[20:39:56] fifo_close: trashing 0 buffer(s)
[20:39:56] fifo_close: trashing 0 buffer(s)
[20:39:56] fifo_close: trashing 0 buffer(s)
[20:39:56] Freed 3 buffers of size 33554432
[20:39:56] Allocated 100663296 bytes of buffers on this pass and Freed 100663296 bytes, 0 bytes leaked
[20:39:56] Finished work at: Fri Jun 12 20:39:56 2020
[20:39:56] thread 450 exited ("work")
[20:39:56] thread 450 joined ("work")
[20:39:56] libhb: work result = 3

# Encode Completed ...
sr55 commented 4 years ago

Unfortunately, the card doesn't tell us why it fails, so we can't produce useful error messages for you.

It's likely going to be one of two. First, the resolution might be too high for the card to support. I have a feeling it might only support resolutions of UHD or less, so nothing higher than 3840x2160

The other possibility is something else has a lock on the nvenc unit so there are no available encoder units for work. (Most cards only support 1 or 2 simultaneous encodes)

bradleysepos commented 4 years ago

You might also be interested in https://handbrake.fr/docs/en/1.3.0/technical/performance.html.

TL;DR Hardware encoders aren't great for H.264. Hardware H.265 is just as fast and considerably better. For H.264, the x264 software encoder can meet and exceed the speed/quality of hardware with appropriate settings, using your CPU of course.

jwvanderbeck-Unity commented 4 years ago

It's likely going to be one of two. First, the resolution might be too high for the card to support. I have a feeling it might only support resolutions of UHD or less, so nothing higher than 3840x2160

The other possibility is something else has a lock on the nvenc unit so there are no available encoder units for work. (Most cards only support 1 or 2 simultaneous encodes)

I've tried all sorts of resolutions, even 1080p with no luck unless for some reason it doesn't like the 2:1 aspect ratio. As for something locking the card, I had considered that as well but even after a reboot it isn't working.

Unfortunately, the card doesn't tell us why it fails, so we can't produce useful error messages for you.

Well that sucks. No way to get it to spit out more useful information?

You might also be interested in https://handbrake.fr/docs/en/1.3.0/technical/performance.html.

TL;DR Hardware encoders aren't great for H.264. Hardware H.265 is just as fast and considerably better. For H.264, the x264 software encoder can meet and exceed the speed/quality of hardware with appropriate settings, using your CPU of course.

I'm kind of confused on performance to be honest. I thought my 3900X could rip through things but setting the "Encoder Preset" makes very little difference in overall encoding speed between Superfast and around "Slow" after that it does begin to drop off, hence deciding to try the GPU. I did also try h265 NVEnc with the same error. The log above just happened to be from h264.

Looks like I'm just stuck though :(

bradleysepos commented 4 years ago

Well that sucks. No way to get it to spit out more useful information?

Sadly.

I thought my 3900X could rip through things

Disable any filters you don't need such as interlacing detection and deinterlacing. They can be a slight bottleneck for progressive content.