intel / intel/libva

Kernel crash when seeking to the last frame of a video with VA-API in VLC

Open
#676 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
784
Forks
314
PR merge metrics
No merged PRs in 30d

Description

When HW accel is enabled and set to VA-API, seeking any video (at least h264 encoded), to the last frame of the video in VLC, by using the mouse to drag the point there while the video is playing, the entire system crashes.
Journalctl reveals amdgpu throwing a lot of errors. This bug cannot be reproduced when HW video acceleration is disabled or set to VDPAU. Only VA-API causes it.
The system appears to become completely unresponsive after this, no audio, no video, the log stops.
The issue doesn't appear to occur if the video is not playing while seeking, or if seeking with arrow keys, or if letting the video play normally to the end. Only on mouse drag while the video is playing, and only when using VA-API.

Sysinfo:
`Linux NMM 6.1.2-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Sat, 31 Dec 2022 17:40:33 +0000 x86_64 GNU/Linux`
`VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c1)`
^ AMD 7950x integrated graphics

[journalctl.txt](https://github.com/intel/libva/files/10373257/journalctl.txt)
[journalctl2.txt](https://github.com/intel/libva/files/10373258/journalctl2.txt)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.