https://bugs.freedesktop.org/show_bug.cgi?id=109648
Bug ID: 109648 Summary: AMD Raven hang during va-api decoding Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: major Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: xanto@egaming.ro QA Contact: dri-devel@lists.freedesktop.org
Created attachment 143383 --> https://bugs.freedesktop.org/attachment.cgi?id=143383&action=edit dmesg
Hello,
After fixing https://bugs.freedesktop.org/show_bug.cgi?id=109107, hardware decode on Ryzen 2700u started working again.
However, at the next update at mesa git 67426cc the GPU is hanging completely if I try to watch videos on chromium-vaapi, with the following error:
[ 215.259576] amdgpu 0000:04:00.0: [mmhub] VMC page fault (src_id:0 ring:40 vmid:5 pasid:32770, for process chromium-vaapi pid 2877 thread chromium-v:cs0 pid 2946) [ 215.259583] amdgpu 0000:04:00.0: in page starting at address 0x0000800110352000 from 18 [ 215.259585] amdgpu 0000:04:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00540451 [ 225.212368] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring vcn_dec timeout, signaled seq=46, emitted seq=48 [ 225.212466] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process chromium-vaapi pid 2877 thread chromium-v:cs0 pid 2946
Graphical interface is hanged completely however music keeps hanging in the background, so I was able to ssh into the system and dump the dmesg log.
Fedora repos: che-mesa, rpmfusion, fedora-rawhide-kernel-nodebug Mesa-git installed is build from: sha 67426cc
Full dmesg log attached.
https://bugs.freedesktop.org/show_bug.cgi?id=109648
Michael Eagle xanto@egaming.ro changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freedesktop.or | |g/show_bug.cgi?id=109107 CC| |leoxsliu@gmail.com
--- Comment #1 from Michael Eagle xanto@egaming.ro --- Same behavior happens with both: kernel-5.0.0-0.rc4.git2.2.fc30.x86_64 kernel-5.0.0-0.rc6.git1.2.fc30.x86_64
Downgrading the kernel to official fedora '4.20.7-200.fc29.x86_64' makes the system not to crash anymore, however the video is very scrambled, as part of it would play in a loop.
Disabling 'hardware accelerated video decode' in chrome://flags/ fixes the issue.
https://bugs.freedesktop.org/show_bug.cgi?id=109648
--- Comment #2 from leoxsliu@gmail.com --- Created attachment 143790 --> https://bugs.freedesktop.org/attachment.cgi?id=143790&action=edit Mesa radeon vcn vp9 patch
https://bugs.freedesktop.org/show_bug.cgi?id=109648
--- Comment #3 from leoxsliu@gmail.com --- Please try the attached patch for VP9 HW acceleration fix for Chromium browser.
https://bugs.freedesktop.org/show_bug.cgi?id=109648
--- Comment #4 from jamesz@amd.com jamesz@amd.com --- Test on bench with this patch. The hung issue was fixed.
https://bugs.freedesktop.org/show_bug.cgi?id=109648
--- Comment #5 from Michael Eagle xanto@egaming.ro --- Hello,
Sorry for the late reply, I've just tested it using mesa git SHA 138865e , which includes this commit. And the issue seems solved. I suppose this can be closed now. Thank you much!
https://bugs.freedesktop.org/show_bug.cgi?id=109648
Alex Deucher alexdeucher@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
https://bugs.freedesktop.org/show_bug.cgi?id=109648
--- Comment #6 from Alex Deucher alexdeucher@gmail.com --- Fixed in: https://cgit.freedesktop.org/mesa/mesa/commit/?id=d4e0fbc92fd08be504f328144c...
dri-devel@lists.freedesktop.org