Enabling Panfrost on Mali G52 Rockchip3566

Evan Robinson - EJR design <[email protected]> Mon, 20 May 2024 14:55:22 +0200
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <CAEEcbf_Oj3js9a5BmXXtgHMHexTQvxzAzV6tbUsYk03o6p=aTw@mail.gmail.com>
--00000000000086fe410618e23754
Content-Type: text/plain; charset="UTF-8"

Hi everyone,

Apologies for the newbie question ... I have an OrangePi CM4 SOC running
Debian Trixie and I would like to get Panfrost working, so that I can use
my Mali G52 GPU and not use llvmpipe.

Below is the output from "inxi -F":

System:
  Host: orangepicm4 Kernel: 5.10.160-rockchip-rk356x arch: aarch64 bits: 64
  Desktop: Xfce v: 4.18.1 Distro: Debian GNU/Linux trixie/sid
Machine:
  Type: ARM System: Rockchip RK3566 Orange Pi CM4 Board details: N/A
CPU:
  Info: quad core model: N/A variant: cortex-a55 bits: 64 type: MCP
  Speed (MHz): avg: 1800 min/max: 408/1800 cores: 1: 1800 2: 1800 3: 1800
    4: 1800
Graphics:
  Device-1: display-subsystem driver: rockchip_drm v: N/A
  Device-2: mali-bifrost driver: mali v: N/A
  Device-3: rk3568-dw-hdmi driver: dwhdmi_rockchip v: N/A
  Display: x11 server: X.Org v: 21.1.7 driver: X: loaded: modesetting
    dri: swrast gpu: rockchip_drm,mali,dwhdmi_rockchip resolution:
1360x768~60Hz
  API: EGL v: 1.4 drivers: N/A platforms: gbm,x11
  API: OpenGL v: 4.5 vendor: mesa v: 24.0.7-1 renderer: llvmpipe (LLVM
    17.0.6 128 bits)

I ran "sudo apt install libglx-mesa0 libgl1-mesa-dri" and these installed
fine, but nothing changed. I also installed "firmware-linux-nonfree". I
feel like I am missing some basic step to turn on Panfrost.

Your help is very much appreciated, thank you!

Regards,
Evan R
South Africa

-- 
www.ejrdesign.co.za  074 920 9515

--00000000000086fe410618e23754
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi everyone,</div><div><br></div><div>Apologies for t=
he newbie question ... I have an OrangePi CM4 SOC running Debian Trixie and=
 I would like to get Panfrost working, so that I can use my Mali G52 GPU an=
d not use llvmpipe.</div><div><br></div><div>Below is the output from &quot=
;inxi -F&quot;:</div><div><br></div><div>System:<br>=C2=A0 Host: orangepicm=
4 Kernel: 5.10.160-rockchip-rk356x arch: aarch64 bits: 64<br>=C2=A0 Desktop=
: Xfce v: 4.18.1 Distro: Debian GNU/Linux trixie/sid<br>Machine:<br>=C2=A0 =
Type: ARM System: Rockchip RK3566 Orange Pi CM4 Board details: N/A<br>CPU:<=
br>=C2=A0 Info: quad core model: N/A variant: cortex-a55 bits: 64 type: MCP=
<br>=C2=A0 Speed (MHz): avg: 1800 min/max: 408/1800 cores: 1: 1800 2: 1800 =
3: 1800<br>=C2=A0 =C2=A0 4: 1800<br>Graphics:<br>=C2=A0 Device-1: display-s=
ubsystem driver: rockchip_drm v: N/A<br>=C2=A0 Device-2: mali-bifrost drive=
r: mali v: N/A<br>=C2=A0 Device-3: rk3568-dw-hdmi driver: dwhdmi_rockchip v=
: N/A<br>=C2=A0 Display: x11 server: X.Org v: 21.1.7 driver: X: loaded: mod=
esetting<br>=C2=A0 =C2=A0 dri: swrast gpu: rockchip_drm,mali,dwhdmi_rockchi=
p resolution: 1360x768~60Hz<br>=C2=A0 API: EGL v: 1.4 drivers: N/A platform=
s: gbm,x11<br>=C2=A0 API: OpenGL v: 4.5 vendor: mesa v: 24.0.7-1 renderer: =
llvmpipe (LLVM<br>=C2=A0 =C2=A0 17.0.6 128 bits)</div><div><br></div><div>I=
 ran &quot;sudo apt install libglx-mesa0 libgl1-mesa-dri&quot; and these in=
stalled fine, but nothing changed. I also installed &quot;firmware-linux-no=
nfree&quot;. I feel like I am missing some basic step to turn on Panfrost.<=
/div><div><br></div><div>Your help is very much appreciated, thank you!</di=
v><div><br></div><div>Regards,</div><div>Evan R</div><div>South Africa<br><=
/div><div><br><span class=3D"gmail_signature_prefix">-- </span><br><div dir=
=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div =
dir=3D"ltr"><div><img src=3D"http://www.ejrdesign.co.za/ejrdesign.gif"></di=
v>
<div><a href=3D"http://www.ejrdesign.co.za/" target=3D"_blank">www.ejrdesig=
n.co.za</a>=C2=A0=C2=A0074 920 9515<br></div></div></div></div></div>

--00000000000086fe410618e23754--