Skip to contentSkip to conversation

AMD Raven hang during va-api decoding

Bug 109648 [email protected] 1 participant 8 messages Feb 15, 2019 – Apr 4, 2019

lore
Share & tools
lore
#0 lore raw

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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=109648

Michael Eagle <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           See Also|                            |https://bugs.freedesktop.or
                   |                            |g/show_bug.cgi?id=109107
                 CC|                            |[email protected]

--- Comment #1 from Michael Eagle <[email protected]> --- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109648

--- Comment #2 from [email protected] ---
Created attachment 143790
--> https://bugs.freedesktop.org/attachment.cgi?id=143790&action=edit
Mesa radeon vcn vp9 patch

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109648

--- Comment #5 from Michael Eagle <[email protected]> --- 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!

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109648

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109648

--- Comment #6 from Alex Deucher <[email protected]> --- Fixed in:
https://cgit.freedesktop.org/mesa/mesa/commit/?id=d4e0fbc92fd08be504f328144c874da47b78e5dc

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel