Skip to content

"GPU Hang" for 4K UHD 10-bit video decode #227

@MartinPulec

Description

@MartinPulec

Hi again, I am not sure if this is the right place to report but if not, perhaps you'd be able to forward me where appropriate.

Using both current cartwheel patchset and also upstream FFmpeg with U22.04 and current drivers on i7-1260P iGPU, I am getting "GPU Hang" on hevc_qsv decoder:

$ ffmpeg -f lavfi -i testsrc=size=3840x2160 -t 1 -pix_fmt yuv444p10le -c:v libx265 testsrc.mp4
$ ffmpeg -c:v hevc_qsv  -i testsrc.mp4 out.mp4
[ irrelevant parts omitted ]
Error while decoding stream #0:0: Input/output error
[hevc_qsv @ 0x556ad5b75000] Error during QSV decoding.: GPU Hang (-21)
[ the above 2 lines repeat for every frame ]

It is definitely properties-dependent – using either pixfmt yuv420p (but not yuv444p) or FHD resolution, it works flawlessly. Also not sure if is interesting, but when lowering the resolution just below 4K UHD, the decompression succeeds but approaching this resolution, the decode duration significantly increases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions