[FFmpeg-trac] #6058(ffmpeg:new): cuvid: Transcoding hangs after several files processed

FFmpeg trac at avcodec.org
Thu Jan 5 13:13:16 EET 2017


#6058: cuvid: Transcoding hangs after several files processed
-------------------------------------+-------------------------------------
             Reporter:  slomkowski   |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  ffmpeg
              Version:  git-master   |               Resolution:
             Keywords:  nvenc cuvid  |               Blocked By:
  h264 mpeg2 ts nvidia crash         |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by slomkowski):

 I confirm that the problem happens also when one ffmpeg instance is
 running.

 `nvidia-smi` output:

 {{{
 Thu Jan  5 12:03:39 2017
 +-----------------------------------------------------------------------------+
 | NVIDIA-SMI 375.26                 Driver Version: 375.26
 |
 |-------------------------------+----------------------+----------------------+
 | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr.
 ECC |
 | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute
 M. |
 |===============================+======================+======================|
 |   0  GeForce GTX 950     Off  | 0000:01:00.0     Off |
 N/A |
 | 22%   61C    P0    38W /  99W |     63MiB /  1996MiB |      0%
 Default |
 +-------------------------------+----------------------+----------------------+

 +-----------------------------------------------------------------------------+
 | Processes:                                                       GPU
 Memory |
 |  GPU       PID  Type  Process name                               Usage
 |
 |=============================================================================|
 |    0     29889    C   /home/rtv/soft/ffmpeg/ffmpeg/ffmpeg
 61MiB |
 +-----------------------------------------------------------------------------+
 }}}

 `nvidia-smi dmon` output:

 {{{
 # gpu   pwr  temp    sm   mem   enc   dec  mclk  pclk
 # Idx     W     C     %     %     %     %   MHz   MHz
     0    38    60     0     0     0   100  3304  1404
     0    38    60     0     0     0   100  3304  1404
     0    38    60     0     0     0   100  3304  1404
 }}}

 `nvidia-smi pmon` output (notice `dec` is 0 here):

 {{{
 # gpu     pid  type    sm   mem   enc   dec   command
 # Idx       #   C/G     %     %     %     %   name
     0   29889     C     0     0     0     0   ffmpeg
     0   29889     C     0     0     0     0   ffmpeg
     0   29889     C     0     0     0     0   ffmpeg
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6058#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list