# Linux CUDA\_ERROR\_SYSTEM\_NOT\_READY with the latest NVIDIA 515.65.01 prop drivers. FFMPEG and OBS problem

**URL:** <https://forums.developer.nvidia.com/t/linux-cuda-error-system-not-ready-with-the-latest-nvidia-515-65-01-prop-drivers-ffmpeg-and-obs-problem/225792>\
**Category:** Linux\
**Tags:** ffmpeg, cuda\
**Created:** [August 23, 2022, 9:12am UTC](https://forums.developer.nvidia.com/t/linux-cuda-error-system-not-ready-with-the-latest-nvidia-515-65-01-prop-drivers-ffmpeg-and-obs-problem/225792 "2022-08-23T09:12:55Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![simwin](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@simwin](https://forums.developer.nvidia.com/u/simwin)\
**Post date:** [August 23, 2022, 9:12am UTC](https://forums.developer.nvidia.com/t/linux-cuda-error-system-not-ready-with-the-latest-nvidia-515-65-01-prop-drivers-ffmpeg-and-obs-problem/225792/1 "2022-08-23T09:12:55Z")

</div>

Summary of the bug:  
OS Debian “bullseye” 64 bit  
[nvidia-bug-report.log.gz](https://forums.developer.nvidia.com/uploads/short-url/ddqH3hJOEMaI0f9u6mZonYbqLFm.gz) (389.5 KB)

```auto
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 drivers
2. Compile the latest ffmpeg from git
3. Try use cuda: ffmpeg -y -hwaccel cuda -i input.mp4 output.mp4

---

<div class="post-metadata">

**Author:** ![generix](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/generix/32/16024_2.png) [@generix](https://forums.developer.nvidia.com/u/generix)\
**Post date:** [August 23, 2022, 12:35pm UTC](https://forums.developer.nvidia.com/t/linux-cuda-error-system-not-ready-with-the-latest-nvidia-515-65-01-prop-drivers-ffmpeg-and-obs-problem/225792/2 "2022-08-23T12:35:39Z")

</div>

Mainboard with nvidia chipset  
[https://forums.developer.nvidia.com/t/envec-h264-encoding-does-not-work-with-gtx-1660ti-1660-super-with-ubuntu-linux-22-04/223440/7?u=generix](https://forums.developer.nvidia.com/t/envec-h264-encoding-does-not-work-with-gtx-1660ti-1660-super-with-ubuntu-linux-22-04/223440/7)  
[https://forums.developer.nvidia.com/t/gtx1070-doesnt-work-with-cuda-465-24-02-and-newer-when-it-is-in-motherboard-based-on-nvidia-chipset/205250?u=generix](https://forums.developer.nvidia.com/t/gtx1070-doesnt-work-with-cuda-465-24-02-and-newer-when-it-is-in-motherboard-based-on-nvidia-chipset/205250)

---

<div class="post-metadata">

**Author:** ![simwin](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@simwin](https://forums.developer.nvidia.com/u/simwin)\
**Post date:** [August 23, 2022, 1:27pm UTC](https://forums.developer.nvidia.com/t/linux-cuda-error-system-not-ready-with-the-latest-nvidia-515-65-01-prop-drivers-ffmpeg-and-obs-problem/225792/3 "2022-08-23T13:27:33Z")

</div>

Understand. Please fix it!

---

<div class="post-metadata">

**Author:** ![generix](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/generix/32/16024_2.png) [@generix](https://forums.developer.nvidia.com/u/generix)\
**Post date:** [August 23, 2022, 1:32pm UTC](https://forums.developer.nvidia.com/t/linux-cuda-error-system-not-ready-with-the-latest-nvidia-515-65-01-prop-drivers-ffmpeg-and-obs-problem/225792/4 "2022-08-23T13:32:31Z")

</div>

Just an idea:  
does setting kernel parameter  
`nvidia.NVreg_NvLinkDisable=1`  
make it work?

---

<div class="post-metadata">

**Author:** ![simwin](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@simwin](https://forums.developer.nvidia.com/u/simwin)\
**Post date:** [August 23, 2022, 2:12pm UTC](https://forums.developer.nvidia.com/t/linux-cuda-error-system-not-ready-with-the-latest-nvidia-515-65-01-prop-drivers-ffmpeg-and-obs-problem/225792/5 "2022-08-23T14:12:19Z")

</div>

No :(

---

<div class="post-metadata">

**Author:** ![simwin](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@simwin](https://forums.developer.nvidia.com/u/simwin)\
**Post date:** [August 26, 2022, 10:04am UTC](https://forums.developer.nvidia.com/t/linux-cuda-error-system-not-ready-with-the-latest-nvidia-515-65-01-prop-drivers-ffmpeg-and-obs-problem/225792/6 "2022-08-26T10:04:08Z")

</div>

Fix it in the next release?

---

<div class="post-metadata">

**Author:** ![generix](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/generix/32/16024_2.png) [@generix](https://forums.developer.nvidia.com/u/generix)\
**Post date:** [August 26, 2022, 10:13am UTC](https://forums.developer.nvidia.com/t/linux-cuda-error-system-not-ready-with-the-latest-nvidia-515-65-01-prop-drivers-ffmpeg-and-obs-problem/225792/7 "2022-08-26T10:13:43Z")

</div>

I’m a user, not affiliated with nvidia in any kind.
