Re: [FFmpeg-trac] #8948(undetermined:open): NVDEC fails on file: requires (29 + threads) surfaces; thus fails on >3 threads

2023-11-20 Thread FFmpeg
#8948: NVDEC fails on file: requires (29 + threads) surfaces; thus fails on >3
threads
-+-
 Reporter:  ericbg   |Owner:  Timo R.
 Type:  defect   |   Status:  open
 Priority:  important|Component:
 |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:  cuda nvdec   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
Changes (by Balling):

 * keywords:   => cuda nvdec

-- 
Ticket URL: 
FFmpeg 
FFmpeg issue tracker___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-trac] #8948(undetermined:open): NVDEC fails on file: requires (29 + threads) surfaces; thus fails on >3 threads

2023-01-30 Thread FFmpeg
#8948: NVDEC fails on file: requires (29 + threads) surfaces; thus fails on >3
threads
-+-
 Reporter:  ericbg   |Owner:  Timo R.
 Type:  defect   |   Status:  open
 Priority:  important|Component:
 |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
Comment (by Balling):

 I opened a thread in https://forums.developer.nvidia.com/t/nvdec-fails-on-
 file-requires-29-threads-surfaces-thus-fails-on-3-threads/240827
-- 
Ticket URL: 
FFmpeg 
FFmpeg issue tracker___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-trac] #8948(undetermined:open): NVDEC fails on file: requires (29 + threads) surfaces; thus fails on >3 threads

2023-01-26 Thread FFmpeg
#8948: NVDEC fails on file: requires (29 + threads) surfaces; thus fails on >3
threads
-+-
 Reporter:  ericbg   |Owner:  Timo R.
 Type:  defect   |   Status:  open
 Priority:  important|Component:
 |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
Changes (by Balling):

 * priority:  normal => important

Comment:

 it says now to lower threads but it still fails. It does not try to lower
 the ammount of threads.
  Why cannot that be automcatic???


 {{{
 [h264 @ 02ab2312dcc0] Try lowering the amount of threads. Using 4
 right now.

 }}}

 So now:


 {{{
 [h264 @ 0244c19223c0]
 decoder->cvdl->cuvidCreateDecoder(&decoder->decoder, params) failed ->
 CUDA_ERROR_INVALID_VALUE: invalid argument
 [h264 @ 0244c19223c0] Using more than 32 (34) decode surfaces might
 cause nvdec to fail.
 [h264 @ 0244c19223c0] Try lowering the amount of threads. Using 5
 right now.
 [h264 @ 0244c19223c0] Failed setup for format cuda: hwaccel
 initialisation returned error.
 }}}
-- 
Ticket URL: 
FFmpeg 
FFmpeg issue tracker___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-trac] #8948(undetermined:open): NVDEC fails on file: requires (29 + threads) surfaces; thus fails on >3 threads

2022-06-15 Thread FFmpeg
#8948: NVDEC fails on file: requires (29 + threads) surfaces; thus fails on >3
threads
-+-
 Reporter:  ericbg   |Owner:  Timo R.
 Type:  defect   |   Status:  open
 Priority:  normal   |Component:
 |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
Changes (by Balling):

 * owner:  (none) => Timo R.

Comment:

 Are you going to fix this?
-- 
Ticket URL: 
FFmpeg 
FFmpeg issue tracker___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-trac] #8948(undetermined:open): NVDEC fails on file: requires (29 + threads) surfaces; thus fails on >3 threads

2021-09-29 Thread FFmpeg
#8948: NVDEC fails on file: requires (29 + threads) surfaces; thus fails on >3
threads
-+-
 Reporter:  ericbg   |Owner:  (none)
 Type:  defect   |   Status:  open
 Priority:  normal   |Component:
 |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
Comment (by Balling):

 There is now a RFC patch here that sets threads to 1:
 
https://patchwork.ffmpeg.org/project/ffmpeg/patch/20210929170134.29381-1-t...@rothenpieler.org/

 I do not agree since 1) qsv needs two threads or it will fail 2) threads
 do affect the speed, that part is false since h264 decoder is USED TO
 PARSE STUFF (do threads used for h264 affect hwaccel?)  3) There is a
 simpler patch above (did not check)
 
https://patchwork.ffmpeg.org/project/ffmpeg/patch/20210810023754.2905-1-ameer.jal...@gmail.com/
-- 
Ticket URL: 
FFmpeg 
FFmpeg issue tracker___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-trac] #8948(undetermined:open): NVDEC fails on file: requires (29 + threads) surfaces; thus fails on >3 threads

2021-08-21 Thread FFmpeg
#8948: NVDEC fails on file: requires (29 + threads) surfaces; thus fails on >3
threads
-+-
 Reporter:  ericbg   |Owner:  (none)
 Type:  defect   |   Status:  open
 Priority:  normal   |Component:
 |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
Comment (by Balling):

 Ah, yes, totally forgot. "-c:v h264_cuvid -i example.mp4" decoder does not
 fail so cuvid decoders are not affect. Oh and also annex B does not help.
-- 
Ticket URL: 
FFmpeg 
FFmpeg issue tracker___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-trac] #8948(undetermined:open): NVDEC fails on file: requires (29 + threads) surfaces; thus fails on >3 threads (was: CUDA decoder fails on certain files.)

2021-08-16 Thread FFmpeg
#8948: NVDEC fails on file: requires (29 + threads) surfaces; thus fails on >3
threads
-+-
 Reporter:  ericbg   |Owner:  (none)
 Type:  defect   |   Status:  open
 Priority:  normal   |Component:
 |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
Changes (by Balling):

 * summary:  CUDA decoder fails on certain files. =>
 NVDEC fails on file: requires (29 + threads) surfaces; thus fails on
 >3 threads

Comment:

 A mechanism to reduce amount of auto threads should be introduced so that
 this does not happen. This happens due to amount of reference frames in
 CABAC. I also found a very nice 16 CABAC frames example that was long time
 ago used here here:
-- 
Ticket URL: 
FFmpeg 
FFmpeg issue tracker___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".