-
Notifications
You must be signed in to change notification settings - Fork 151
Description
Describe the bug
H.264 / HEVC / AV1 encoding results in broken output after updating to 25.10.2, if input surfaces are created via CreateSurfaceFromDX11Native (possibly only with textures in BGRA formats?). This issue appears to be specific to RX 7000 series GPUs.
To Reproduce
Steps to reproduce the behavior:
(Sorry for the rubbish steps, I'll try to make a minimal example when we have a confirmed in-house repro to test against and we're not still firefighting this issue with users.)
- Create DX11 textures in
DXGI_FORMAT_B8G8R8A8_UNORMformat - Create AMF surfaces from them via
CreateSurfaceFromDX11Native - Pass those surfaces as inputs to the AMF encoder
- Observe that (after a maximum of ~10s) the video output will be broken with odd gridlines (possibly every 16x16...?)
- (Optional) Rollback to 25.10.1 or earlier and observe the same thing doesn't happen
Setup:
- OS: Windows 10/11
- Driver Version: 25.10.2
- GPU: Seemingly any RX7000 series GPU
- Observed as broken so far: 7800 XT, 7900 XTX, 7900 GRE, 7700S
- Working so far: 5500 XT, 5700 XT, 9070 XT
- Component: Encoder
Debug Log (please upload or paste):
(No errors observed from AMF, and no warnings which weren't present in the previous driver release.)
Expected behavior
Normal H.264 video output
Additional context
We are currently building against the AMF 1.4.30 headers in case that's relevant. Issue persists when built against AMF 1.5.0 headers.
I haven't yet confirmed whether any other codecs are affected; all the logs I've seen so far are for H.264. Confirmation for HEVC and AV1 also.
