# NVENC not working on Nvidia 930M

**URL:** <https://forums.developer.nvidia.com/t/nvenc-not-working-on-nvidia-930m/43219>\
**Category:** Linux\
**Created:** [June 10, 2016, 5:12am UTC](https://forums.developer.nvidia.com/t/nvenc-not-working-on-nvidia-930m/43219 "2016-06-10T05:12:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![shivam543](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@shivam543](https://forums.developer.nvidia.com/u/shivam543)\
**Post date:** [June 10, 2016, 5:12am UTC](https://forums.developer.nvidia.com/t/nvenc-not-working-on-nvidia-930m/43219/1 "2016-06-10T05:12:19Z")

</div>

After installing ubuntu 15.10 with nvidia-364 from graphics-drivers ppa:

NVENC 6.0 SDK Sample on compilation, running with this command:  
./NvEncoder -i …/common/video/plush1\_720p\_10s.m2v -o hello.avi -size 1280 720

Gives:  
NvEncoder: …/common/src/NvHWEncoder.cpp:506: NVENCSTATUS CNvHWEncoder::NvEncOpenEncodeSessionEx(void\*, NV\_ENC\_DEVICE\_TYPE): Assertion `0’ failed.

NVENC 4.0 Linux SDK on the command :  
bash 1080p\_heavyhand\_3sec.sh  
Gives :

> > GetNumberEncoders() has detected 1 CUDA capable GPU device(s) \<\<  
> > [GPU #0 - \< GeForce 930M \> has Compute SM 5.0, NVENC Available]

> > InitCUDA() has detected 1 CUDA capable GPU device(s)\<\<  
> > [GPU #0 - \< GeForce 930M \> has Compute SM 5.0, Available NVENC]

> > Select GPU #0 - \< GeForce 930M \> supports SM 5.0 and NVENC  
> > File: src/CNVEncoder.cpp, Line: 1872, nvEncOpenEncodeSessionEx() returned with error 2  
> > Note: GUID key may be invalid or incorrect. Recommend to upgrade your drivers and obtain a new key  
> > NVENC error at src/CNVEncoder.cpp:1874 code=2(NVENC that devices pass by the client is not supported) “nvStatus”

Can someone help?

---

<div class="post-metadata">

**Author:** ![Prototik](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Prototik](https://forums.developer.nvidia.com/u/Prototik)\
**Post date:** [July 4, 2016, 8:44pm UTC](https://forums.developer.nvidia.com/t/nvenc-not-working-on-nvidia-930m/43219/2 "2016-07-04T20:44:50Z")

</div>

Bump, cuda/nvenc not working on gt 930m for me too. NVENC fails with 0x2 error.

---

<div class="post-metadata">

**Author:** ![Prototik](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Prototik](https://forums.developer.nvidia.com/u/Prototik)\
**Post date:** [July 6, 2016, 1:20am UTC](https://forums.developer.nvidia.com/t/nvenc-not-working-on-nvidia-930m/43219/3 "2016-07-06T01:20:29Z")

</div>

Some info (from ffmpeg):

```auto
[graph 0 input from stream 0:0 @ 0x55cc2d2f84a0] w:1920 h:1080 pixfmt:yuv420p tb:1/90000 fr:59/2 sar:1/1 sws_param:flags=2
[nvenc_h264 @ 0x55cc2d2f5b20] 1 CUDA capable devices found
[nvenc_h264 @ 0x55cc2d2f5b20] [GPU #0 - < GeForce 930M > has Compute SM 5.0, NVENC Available]
[nvenc_h264 @ 0x55cc2d2f5b20] Nvenc initialized successfully
[nvenc_h264 @ 0x55cc2d2f5b20] OpenEncodeSessionEx failed: 0x2
[nvenc_h264 @ 0x55cc2d2f5b20] Nvenc unloaded

```

Nothing useful anymore ;(

---

<div class="post-metadata">

**Author:** ![Jorge\_Fernandes](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Jorge\_Fernandes](https://forums.developer.nvidia.com/u/Jorge_Fernandes)\
**Post date:** [July 25, 2017, 11:43am UTC](https://forums.developer.nvidia.com/t/nvenc-not-working-on-nvidia-930m/43219/4 "2017-07-25T11:43:06Z")

</div>

I have the same problem… Is there any solution?

---

<div class="post-metadata">

**Author:** ![nchauvet](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nchauvet/32/10069_2.png) [@nchauvet](https://forums.developer.nvidia.com/u/nchauvet)\
**Post date:** [July 26, 2017, 6:44am UTC](https://forums.developer.nvidia.com/t/nvenc-not-working-on-nvidia-930m/43219/5 "2017-07-26T06:44:20Z")

</div>

You might need to update your nvidia driver to at least 384.xx if using the latest ffmpeg/nvenc
