libva icon indicating copy to clipboard operation
libva copied to clipboard

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

Open rawhide7000 opened this issue 2 years ago • 2 comments

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
journalctl2.txt

rawhide7000 avatar Jan 09 '23 12:01 rawhide7000

Sorry, just saw it here, if you still can reproduce it with AMD HW, please file a ticket to https://gitlab.freedesktop.org/mesa/mesa/-/issues, and it will be someone looking at this issue. Thanks!

ruijingdong avatar Jan 31 '24 19:01 ruijingdong

sorry, I know you already reported the issue.

ruijingdong avatar Jan 31 '24 19:01 ruijingdong