Issues creating decoder

Hello,

I’m trying to run the NvDec examples which come with the most recent SDK version 7.1.9. The example D3D11 runs fine using h264 videos as input but dies upon encoder creation when using HEVC videos.

C:\NvDecodeD3D11.exe -i=C:\test.hevc -decodedxva
Command Line Arguments:
argv[0] = NvDecodeD3D11.exe
argv[1] = -i=C:\test.hevc
argv[2] = -decodedxva
[NVDecodeD3D11]: input file:  [C:\test.hevc]
        VideoCodec      : H.265/HEVC
        Frame rate      : 3/1fps ~ 3fps
        Sequence format : Progressive
        Coded frame size: [4000, 3008]
        Display area    : [0, 0, 4000, 3000]
        Chroma format   : 4:2:0
        Bitrate         : unknown
        Aspect ratio    : 4000:3000

Frame Rate Playback Speed = 60 fps
> Device 0: < GeForce GTX 960 >, Compute SM 5.2 detected
  -> GPU 0: < GeForce GTX 960 > driver mode is: WDDM

> Display Device: "NVIDIA GeForce GTX 960" supports Direct3D11
> Using GPU Device 0: GeForce GTX 960 has SM 5.2 compute capability
  Total amount of global memory:     4096.0000 MB
>> modInitCTX<NV12ToARGB_drvapi_x64.ptx > initialized OK
>> modGetCudaFunction< CUDA file:            NV12ToARGB_drvapi_x64.ptx >
   CUDA Kernel Function (0x049a25a0) = <   NV12ToARGB_drvapi >
>> modGetCudaFunction< CUDA file:            NV12ToARGB_drvapi_x64.ptx >
   CUDA Kernel Function (0x049a2a30) = <     Passthru_drvapi >
> VideoDecoder::cudaVideoCreateFlags = <2>Use DXVA decoder

cuvidCreateDecoder() failed (error=1). The combination of parameters isn't suppo
rted on the given GPU.

I’m using a GTX 960, as correctly detected. According to https://developer.nvidia.com/video-encode-decode-gpu-support-matrix this should work. Same issue with all kinds of decvoder parameters (cuda, xvda, cuvid).
Any ideas why this doesn’t work?

Best regards

You should also look to https://developer.nvidia.com/nvidia-video-codec-sdk#NVDECFeatures: maximum resolution GM206/H.265 is 4096x2304 :-(