Opened 12 days ago

Last modified 12 days ago

#10975 new defect

cuCtxDestroy causing system freeze and black screen

Reported by: sunboeasy@gmail.com Owned by:
Priority: normal Component: avcodec
Version: 5.1.2 Keywords: nvenc cuvid
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by sunboeasy@gmail.com)

Summary of the bug:
I'm encountering a problem with the cuCtxDestroy function that seems to be causing my system to freeze and result in a black screen. I'm running Windows 11 on my computer, and I would appreciate any assistance in troubleshooting this issue.

When I call cuCtxDestroy, it takes more than 10 seconds to complete, during which both the GPU and CPU appear to be stuck. Eventually, the screen goes black, and in some cases, the system may recover, while in other cases, it requires a system reboot.

Here is some information about my system:

  • Integrated Intel graphics card
  • NVIDIA GeForce GTX 1650
  • Driver Version: 546.65
  • CUDA Version: 12.3
  • Windows 11

How to reproduce:

Continuously create and destroy nvenc/cuvid codecs

Please check attached images.

Attachments (1)

cuCtxDestroy_duration.zip (11.3 KB ) - added by sunboeasy@gmail.com 12 days ago.
cuda profile image and ffmpeg log image

Download all attachments as: .zip

Change History (2)

by sunboeasy@gmail.com, 12 days ago

Attachment: cuCtxDestroy_duration.zip added

cuda profile image and ffmpeg log image

comment:1 by sunboeasy@gmail.com, 12 days ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.