Created attachment 143383 [details]
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.
che-mesa, rpmfusion, fedora-rawhide-kernel-nodebug
Mesa-git installed is build from: sha 67426cc
Full dmesg log attached.
Same behavior happens with both:
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.
Created attachment 143790 [details] [review]
Mesa radeon vcn vp9 patch
Please try the attached patch for VP9 HW acceleration fix for Chromium browser.
Test on bench with this patch. The hung issue was fixed.
Created attachment 143864 [details]
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!