-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: HEVC/AV1 decode crashes driver #482
Comments
That is some pretty weird source file (don't misunderstand, there is issue with some rare occurence when decoding of the specific corrupted sources crashing driver on RDNA3 GPU's, but your problem isn't corrupted source, neither you use RDNA3). I tried your source, and for me driver doesn't crash. And it does decode in players (aka it... plays, with proper image output and so on.). But it works differently for each player i tried. Just checked. This is not just normal H265 stream, it is one likely created with RTP stream properties. It has particular slice tags (IDR_W_RADL [IDR-slice] // TRAIL_R [P-slice]). Meaning it was supposed to be streamed directly to something. But, if it helps with further debug, here is transcode error from VCEEnc
I suppose there should be something with those slice types? |
I have reproduced the crash and created an internal ticket to the decoder folks to address this issue. |
Thank for feedback. I am attaching AV1 files with the same problem with driver error for sending frames.
|
The issue has been fixed internally and the fix will be available in a future public driver release. |
Describe the bug
AMF SimpleDecoder has driver timeout for some HEVC/H.265 and AV1 stream.
So I have h265 stream (Main, yuv420p(tv), 1920x1072 [SAR 1:1 DAR 120:67], 23.98 fps, 23.98 tbr, 1200k tbn), it works well on OneVPL, NVDec, ffmpeg, plays correctly on VLC, etc. When i trying to decode straem with SimpleDecoder at 15-th frame on call decoder->SubmitInput(data), i got exception thrown at amfrtdrv64.dll. (AMF 1.4.33, runtime 1.4.31.0)
Testing on AMD Ryzen 5 4500U shows that the problem starts with driver version 23.7.1, in previous driver versions the decoding process was completed without any exceptions, but frame defects were observed as a result of data decoding.
In my personal application, I received the same exception in AV1 stream on AMD Ryzen 7 7700X in multiple files.
To Reproduce
Steps to reproduce the behavior:
Setup (please complete the following information):
Debug Log (please upload or paste):
Expected behavior
Receive an error message about the reasons why the stream cannot decode, so that you can process the error at the top level and prevent the application from crashing.
If you have any list of criteria or features of files that cause a driver error, please describe them in order to independently limit the ability to decode such files.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
H.265/HEVC stream google drive
The text was updated successfully, but these errors were encountered: