[FFmpeg-trac] #9885(ffmpeg:new): Linux CUDA_ERROR_SYSTEM_NOT_READY with the latest NVIDIA 515.65.01 prop drivers

FFmpeg trac at avcodec.org
Sun Aug 21 16:53:14 EEST 2022


#9885: Linux CUDA_ERROR_SYSTEM_NOT_READY with the latest NVIDIA 515.65.01 prop
drivers
-------------------------------------+-------------------------------------
             Reporter:  simwin       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  ffmpeg       |                  Version:  git-
             Keywords:  cuda,        |  master
  Nvidia                             |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 OS Debian “bullseye” 64 bit.
 {{{
 ffmpeg -y -hwaccel cuda -i input.mp4 output.mp4
 ffmpeg version N-107843-g0446282320 Copyright (c) 2000-2022 the FFmpeg
 developers
   built with gcc 10 (Debian 10.2.1-6)
   configuration: --enable-cuda --enable-cuvid --enable-nvenc --enable-
 nonfree --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-
 ldflags=-L/usr/local/cuda/lib64
   libavutil      57. 33.101 / 57. 33.101
   libavcodec     59. 42.102 / 59. 42.102
   libavformat    59. 30.100 / 59. 30.100
   libavdevice    59.  8.101 / 59.  8.101
   libavfilter     8. 46.103 /  8. 46.103
   libswscale      6.  8.103 /  6.  8.103
   libswresample   4.  8.100 /  4.  8.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     creation_time   : 2020-05-22T18:43:09.000000Z
   Duration: 00:00:12.57, start: 0.000000, bitrate: 993 kb/s
   Stream #0:0[0x1](eng): Video: h264 (Baseline) (avc1 / 0x31637661),
 yuv420p(tv, smpte170m/bt470bg/smpte170m, progressive), 512x640, 992 kb/s,
 30 fps, 30 tbr, 90k tbn (default)
     Metadata:
       creation_time   : 2020-05-22T18:43:02.000000Z
       handler_name    : VideoHandle
       vendor_id       : [0][0][0][0]
 [AVHWDeviceContext @ 0x562422d58d00] cu->cuInit(0) failed ->
 CUDA_ERROR_SYSTEM_NOT_READY: system not yet initialized
 Device creation failed: -542398533.
 No device available for decoder: device type cuda needed for codec h264.
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native))
 Device setup failed for decoder on input stream #0:0 : Generic error in an
 external library
 }}}

 How to reproduce:
 1. Install the latest NVIDIA 515.65.01 prop drivers
 2. Try use cuda
 {{{
 % ffmpeg -y -hwaccel cuda -i input.mp4 output.mp4
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9885>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list