# \[Problem\] About multiple CUDA decoder limitation

**URL:** <https://forums.developer.nvidia.com/t/problem-about-multiple-cuda-decoder-limitation/17895>\
**Category:** CUDA Programming and Performance\
**Created:** [July 23, 2010, 9:46am UTC](https://forums.developer.nvidia.com/t/problem-about-multiple-cuda-decoder-limitation/17895 "2010-07-23T09:46:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![VaderChen](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@VaderChen](https://forums.developer.nvidia.com/u/VaderChen)\
**Post date:** [July 23, 2010, 9:46am UTC](https://forums.developer.nvidia.com/t/problem-about-multiple-cuda-decoder-limitation/17895/1 "2010-07-23T09:46:35Z")

</div>

Dear all,

By modifying the decoder in CUDA SDK,  
I had wrote a program to decode multiple video in the GPU.  
And I can also get the correct result after decoding.

When I create more then 10 decoders,  
the CUDA respone an error about creating fail.  
It happened at two functions call :

hr=cuGLCtxCreate(&hContext, CU\_CTX\_BLOCKING\_SYNC,hDevice); → hr = 999

or

hr=cuvidCreateDecoder(&hDecoder,&info); → hr = 300

I don’t know why this happended.  
Cause I get different count of decoder in different computer with the same GPU.

Does anyone have idea of this issue ? [External Media](http://hqnveipbwb20/public/style_emoticons/<#EMO_DIR#>/confused.gif "Media hosted on another site. Click to open in a new tab.")

* * *

## My Environment

## OS : Windows 7 GPU : GTX 260 Driver : 257.21 (CUDA version 3.0)
