Skip to content

VMAF Failing on 4K Content #788

Description

@gadkarisid

I'm getting the following error when trying to use --vmaf with a 4K source file: nvencc: ../src/feature/cuda/integer_vif_cuda.c:107: init_fex_cuda: Assertion 0' failed.`

This error has been happening since version 9.25, and is still present in 9.27. The error is present before any frames get processed and the encoding job will not progress at all. Here's the full log from the latest failure:

[2026-07-27 09:54:04] [INFO] Full encode command: /usr/bin/nvencc --avhw -c hevc --preset p7 --tune hq --multipass 2pass-full --dynamic-rc --qp-min 19 --qp-max 23 --vbr-quality 0 --gop-len 360 --nonrefp --lookahead 25 --lookahead-level 2 --output-depth 10 --bframes 4 --bref-mode middle --multiref-l0 4 --multiref-l1 2 --aq --aq-strength 2 --aq-temporal --mv-precision q-pel --ssim --psnr --vmaf model=vmaf_v0.6.1,subsample=4 --pic-struct --chapter-copy --disable-nvml 2 --output-thread 1 --audio-copy --colorrange limited --max-cll copy --master-display copy --dhdr10-info copy --transfer auto --colorprim auto --colormatrix auto --atc-sei auto --chromaloc auto --repeat-headers --aud --metadata ENCODER_LIB="NVEnc (x64) 9.27 (r3981) by rigaya, Jul 27 2026 12:01:31 (gcc 9.4.0/Linux)" --video-metadata ENCODER_PARAMS="--preset p7 --tune hq --multipass 2pass-full --dynamic-rc --qp-min 19 --qp-max 23 --aq --aq-strength 2 --aq-temporal --mv-precision q-pel --lookahead 25 --lookahead-level 2 --bframes 4 --bref-mode middle --multiref-l0 4 --multiref-l1 2" -i "/data/videoProcessing/pre/video/S03E06.mkv" -o "/data/videoProcessing/post/video/S03E06.mkv"
--------------------------------------------------------------------------------
/data/videoProcessing/post/video/S03E06.mkv
--------------------------------------------------------------------------------
NVEnc (x64) 9.27 (r3981) by rigaya, Jul 27 2026 12:01:31 (gcc 9.4.0/Linux)
OS Version     Ubuntu 24.04.4 LTS (7.0.0-28-generic)
CPU            AMD Ryzen 7 2700 Eight-Core Processor (8C/16T)
GPU            #0: NVIDIA GeForce RTX 4060 (3072 cores, 2475 MHz)[2147483.64]
NVENC / CUDA   NVENC API 13.0, CUDA 13.0, schedule mode: auto
Input Buffers  CUDA, 38 frames
Input Info     avcuvid: H.265/HEVC, 3840x1920, 24000/1001 fps
Vpp Filters    copyDtoD
               ssim psnr vmaf vmaf_v0.6.1, threads 0, subsample 4, cuda(yv12(10bit))
Output Info    H.265/HEVC main10 @ Level auto
               3840x1920p 1:1 23.976fps (24000/1001fps)
               avwriter: hevc, ac3 => matroska
Encoder Preset quality
Rate Control   VBR
Multipass      2pass-full
Bitrate        0 kbps (Max: 24000 kbps)
Target Quality auto
QP range       I:19-23  P:19-23  B:19-23
QP Offset      cb:0  cr:0
VBV buf size   auto
Split Enc Mode auto
Tuning Info    hq
Lookahead      on, 25 frames, Level 2, Adaptive I, B Insert
GOP length     360 frames
B frames       4 frames [ref mode: middle]
Ref frames     5 frames, MultiRef L0:4 L1:2
AQ             on (spatial, temporal, strength 2)
CU max / min   32 / auto
VUI            matrix:bt2020nc,colorprim:bt2020,transfer:smpte2084,range:limited,chromaloc:left
MasteringDisp  G(0.265000 0.690000) B(0.150000 0.060000) R(0.680000 0.320000)
               WP(0.312700 0.329000) L(1000.000000 0.000100)
MaxCLL/MaxFALL 765/235
Dynamic HDR10  copy
Others         mv:Q-pel nonrefp aud pic-struct buf-period repeat-headers 
nvencc: ../src/feature/cuda/integer_vif_cuda.c:107: init_fex_cuda: Assertion `0' failed.
[2026-07-27 09:54:20] [ERROR] Encoding failed for S03E06.mkv (exit code: 134)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions