[CRASH] Setting the rate control method to peak constrained vbr crashes! #288
Labels
fixed-in-future-release
A fix has been made internally and is awaiting to be included in a future public driver release.
When setting
AMF_VIDEO_ENCODER_RATE_CONTROL_METHOD
orAMF_VIDEO_ENCODER_HEVC_RATE_CONTROL_METHOD
toAMF_VIDEO_ENCODER_RATE_CONTROL_METHOD_PEAK_CONSTRAINED_VBR
orAMF_VIDEO_ENCODER_HEVC_RATE_CONTROL_METHOD_PEAK_CONSTRAINED_VBR
a crash occurs inside amfrt32.dll or amfrt64.dll version1.4.17.0
.The crash appears to stem from an uninitialized
AMFVariantStruct
used as the output parameter for theAMF_VIDEO_ENCODER_PRE_ANALYSIS_ENABLE
orAMF_VIDEO_ENCODER_HEVC_PRE_ANALYSIS_ENABLE
property which is internally retrieved when setting the rate control method property. During the get,AMFVariantClear
is called on the uninitialized variant, and depending on what was on the stack, the type could inadvertently be string, wstring or interface which leads to freeing or dereferencing garbage, leading to the crash.There is no newer version of drivers available for
AMD Radeon Pro V520 MxGPU
on AWS and this bug is preventing adoption of AMD over NVIDIA at this point. We need this fixed and a newer driver issued for the aforementioned gpu.The text was updated successfully, but these errors were encountered: