<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#f1f4f7">
    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>
    <br>
    Thanks<br>
    Chris<br>
  </body>
</html>