cuvidCreateDecoder returns CUDA_ERROR_NO_DEVICE

I am using a laptop with Windows 10.

The cuvidCreateDecoder returns error CUDA_ERROR_NO_DEVICE.
Any clue?

The system information is as follows:

Operating System: Windows 10 Home Single Language, 64-bit
DirectX version: 12.0
GPU processor: GeForce 840M
Driver version: 368.81
Direct3D API version: 12
Direct3D feature level: 11_0
CUDA Cores: 384
Core clock: 1029 MHz
Memory data rate: 1800 MHz
Memory interface: 64-bit
Memory bandwidth: 14.40 GB/s
Total available graphics memory: 6109 MB
Dedicated video memory: 2048 MB DDR3
System video memory: 0 MB
Shared system memory: 4061 MB
Video BIOS version:
IRQ: Not used
Bus: PCI Express x4 Gen2
Device Id: 10DE 1341 2281103C
Part Number: 2701 0000


NvUpdtr.dll NVIDIA Update Components
NvUpdt.dll NVIDIA Update Components
NvGFTrayPluginr.dll NVIDIA GeForce Experience
NvGFTrayPlugin.dll NVIDIA GeForce Experience
nvui.dll NVIDIA User Experience Driver Component
nvxdsync.exe NVIDIA User Experience Driver Component
nvxdplcy.dll NVIDIA User Experience Driver Component
nvxdbat.dll NVIDIA User Experience Driver Component
nvxdapix.dll NVIDIA User Experience Driver Component
NVCPL.DLL NVIDIA User Experience Driver Component
nvCplUIR.dll 8.1.950.0 NVIDIA Control Panel
nvCplUI.exe 8.1.950.0 NVIDIA Control Panel
nvWSSR.dll NVIDIA Workstation Server
nvWSS.dll NVIDIA Workstation Server
nvViTvSR.dll NVIDIA Video Server
nvViTvS.dll NVIDIA Video Server
nvDispSR.dll NVIDIA Display Server
NVMCTRAY.DLL NVIDIA Media Center Library
nvDispS.dll NVIDIA Display Server
PhysX 09.16.0318 NVIDIA PhysX
nvGameSR.dll NVIDIA 3D Settings Server
nvGameS.dll NVIDIA 3D Settings Server

I too have this same problem on a laptop with a 920M. It seems there may be some conflict between the 920M and the Intel iGPU but I’m not sure about it yet. I have filed a bug report in the developer program and will post again here if there is a resolution.