Created attachment 145617 [details]
Logs and MPV configuration
When watching videos with GNOME MPV on which VAAPI can be used to decode them, multiple GPU hangs may happen. As the GPU hangs never stop, it's required to use another system, start a SSH session and restart LightDM to make the frozen computer work again. Sometimes it may kept hanging for a long time until the GPU hangs stop.
Stesps to reproduce:
1) Have a video that can be decoded using VAAPI;
2) Have GNOME MPV (probably MPV works too) configured to decode using VAAPI;
3) Play the video using GNOME MPV;
4) Let the video play until the GPU hangs start.
It is very complicated to recover the frozen machine without another computer, but it is possible.
The attached file contain dmesg, the card0/error and MPV configuration that reproduces this.
Processor: Intel Core i3-6100U;
Video: Intel HD Graphics 520;
Mesa: 19.3.0-devel (git-5a747306ce);
Kernel version: drm-tip (5.4.0-rc1-9300459553e8);
Distribution: Xubuntu 18.04.3 amd64.
[ 692.065533] i915 0000:00:02.0: GPU HANG: ecode 9:1:0x00000000, hang on rcs0
[ 692.065535] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[ 692.065535] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[ 692.065535] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[ 692.065536] The GPU crash dump is required to analyze GPU hangs, so please always attach it.
[ 692.065537] GPU crash dump saved to /sys/class/drm/card0/error
Can you please attach the error file?
Created attachment 145652 [details]
The card0error was in the first attachment together with the other files. Here is it uncompressed.