<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#f1f4f7">
<br>
On 6/9/2022 20:06, Robin Murphy wrote:<br>
<blockquote type="cite"
cite="mid:278d20f5-271f-7118-c6a5-c7854f694879@arm.com">On
2022-09-04 05:13, Chris Ruehl wrote:
<br>
<blockquote type="cite">Hi,
<br>
<br>
Something you might have a head up for it,
<br>
<br>
have a mediapipe application for POSE which use the T860 GPU for
the calculation
<br>
but the kernel driver report error (js fault) - I see one or 2
calculation frames on the mat-picture output only before
<br>
the pipe stop working.
<br>
<br>
Linux bullseye64 5.19.6 #1 SMP PREEMPT Fri Sep 2 02:25:59 UTC
2022 aarch64 GNU/Linux
<br>
<br>
[ 5.164415] panfrost ff9a0000.gpu: clock rate = 500000000
<br>
[ 5.169845] panfrost ff9a0000.gpu: [drm:panfrost_devfreq_init
[panfrost]] Failed to register cooling device
<br>
[ 5.169989] panfrost ff9a0000.gpu: mali-t860 id 0x860 major
0x2 minor 0x0 status 0x0
<br>
[ 5.169999] panfrost ff9a0000.gpu: features:
00000000,00000407, issues: 00000000,24040400
<br>
[ 5.170008] panfrost ff9a0000.gpu: Features: L2:0x07120206
Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830
AS:0xff JS:0x7
<br>
[ 5.170017] panfrost ff9a0000.gpu: shader_present=0xf
l2_present=0x1
<br>
[ 5.206827] [drm] Initialized panfrost 1.2.0 20180908 for
ff9a0000.gpu on minor 1
<br>
...
<br>
[ 162.862064] panfrost ff9a0000.gpu: js fault, js=1,
status=DATA_INVALID_FAULT, head=0xaba7100, tail=0xaba7100
<br>
[ 162.862269] panfrost ff9a0000.gpu: js fault, js=1,
status=DATA_INVALID_FAULT, head=0xa1e0100, tail=0xa1e0100
<br>
<br>
Have a RK3399 customized board and compiled the mesa drivers for
it
<br>
<br>
meson $1 . build/ \
<br>
-D dri-drivers= \
<br>
-D vulkan-drivers= \
<br>
-D gallium-drivers=panfrost,kmsro \
<br>
-D llvm=disabled \
<br>
-D libunwind=false \
<br>
-D platforms=x11,wayland
<br>
<br>
glmark2 runs flawless scores 588.
<br>
<br>
Same code run on a x86_64 with an AMD GPU working fine.
<br>
<br>
Anything help fix the bug is welcome.
<br>
</blockquote>
<br>
This is almost certainly a userspace problem, so you're best off
raising a Mesa issue with some more details - an apitrace of the
failing application and/or PAN_MESA_DEBUG=trace output capturing
the offending invalid descriptors would probably be a good
starting point.
<br>
<br>
Robin.
<br>
</blockquote>
<br>
Thanks, I will do this!<br>
<br>
-Chris<br>
</body>
</html>