Switch install from RPI4 to RPI5

yep, Pi2 → Pi4 → Pi6?

Well you are lucky. I finally got an email from The Pi Hut in England but it was a lot of talk that did not give me any info on when to expect mine. I ordered as soon as I saw the announcement and their site was to only one that had been set up for pre-orders. What I learned from the email:

Apologized for not giving info due to email server issues
First batch pre-orders larger than expected so waiting for more devices
Then gave dates for 2nd and third batches; which had not changed

I am not having luck , i think its moaning about runtime dependancy v3dv3 not found

I ran across this today where RPi had some mesa tarballs at he bottom here of different versions and some associated patches with the same version. Looks like to me the patches may be prepared for upstream. There are several patches for each version; I do not know if they are incremental or not or their purpose.

http://archive.raspberrypi.org/debian/pool/main/m/mesa/

I had post above, build mesa_23.2.1-0+rpt2 and run pretty well.
but not sure if Pi5 patched?

@BRX7 When you get time will you test these mesa packages on your pi5?

On my pi4:

glxinfo -B

name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Broadcom (0x14e4)
Device: V3D 4.2 (0xffffffff)
Version: 23.2.1
Accelerated: yes
Video memory: 7809MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 3.1
Max compat profile version: 3.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.1
OpenGL vendor string: Broadcom
OpenGL renderer string: V3D 4.2
OpenGL core profile version string: 3.1 Mesa 23.2.1+rpt2.1
OpenGL core profile shading language version string: 1.40
OpenGL core profile context flags: (none)

OpenGL version string: 3.1 Mesa 23.2.1+rpt2.1
OpenGL shading language version string: 1.40
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 23.2.1+rpt2.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

inxi -G

Graphics:
Device-1: bcm2711-hdmi0 driver: vc4_hdmi v: N/A
Device-2: bcm2711-hdmi1 driver: vc4_hdmi v: N/A
Device-3: bcm2711-vc5 driver: vc4_drm v: N/A
Display: x11 server: X.Org v: 21.1.9 with: Xwayland v: 23.2.2 driver: X:
loaded: modesetting dri: vc4
gpu: vc4-drm,vc4_crtc,vc4_dpi,vc4_dsi,vc4_firmware_kms,vc4_hdmi,vc4_hvs,vc4_txp,vc4_v3d,vc4_vec
resolution: 1440x900~75Hz
API: EGL v: 1.4,1.5 drivers: swrast,v3d,vc4
platforms: gbm,x11,surfaceless,device
API: OpenGL v: 4.5 compat-v: 3.1 vendor: broadcom mesa v: 23.2.1+rpt2.1
renderer: V3D 4.2
API: Vulkan v: 1.3.269 drivers: v3dv,llvmpipe surfaces: xcb,xlib

I have these packages installed from the provided mesa-patched folder.

sudo pacman -U mesa-23.2.1-1-aarch64.pkg.tar.zst vulkan-broadcom-23.2.1-1-aarch64.pkg.tar.zst vulkan-mesa-layers-23.2.1-1-aarch64.pkg.tar.zst vulkan-swrast-23.2.1-1-aarch64.pkg.tar.zst

11-14-23: New link

mesa_23.2.1-2~bpo12+rpt2

Hi Darksky

I installed them inside the recent plasma rpi image
this is inxi -G output
Graphics:
Device-1: bcm2712-hdmi0 driver: vc4_hdmi v: N/A
Device-2: bcm2712-hdmi1 driver: vc4_hdmi v: N/A
Display: server: X.org v: 1.21.1.9 with: Xwayland v: 23.2.2 driver: X:
loaded: modesetting
gpu: vc4-drm,vc4_crtc,vc4_dpi,vc4_dsi,vc4_firmware_kms,vc4_hdmi,vc4_hvs,vc4_ txp,vc4_v3d,vc4_vec
tty: 80x24
API: EGL v: 1.5 drivers: kms_swrast,swrast
platforms: gbm,surfaceless,device
API: OpenGL v: 4.5 vendor: mesa v: 23.2.1-arch1.3
note: console (EGL sourced) renderer: llvmpipe (LLVM 16.0.6 128 bits)
API: Vulkan v: 1.3.269 drivers: llvmpipe surfaces: N/A

from a working bookworm install on a rpi5 I have the following
inxi -G
Graphics:
Device-1: bcm2712-hdmi0 driver: vc4_hdmi v: N/A
Device-2: bcm2712-hdmi1 driver: vc4_hdmi v: N/A
Display: wayland server: X.Org v: 1.22.1.9 with: Xwayland v: 22.1.9
compositor: wayfire v: 0.7.5 driver: dri: vc4
gpu: vc4-drm,vc4_crtc,vc4_dpi,vc4_dsi,vc4_firmware_kms,vc4_hdmi,vc4_hvs,vc4_txp,vc4_v3d,vc4_vec
resolution: 1280x720~60Hz
API: OpenGL v: 3.1 Mesa 23.2.1-0+rpt2 renderer: V3D 7.1

glxinfo -B
name of display: :0
WARNING: v3d support for hw version 71 is neither a complete nor a conformant OpenGL implementation. Testing use only.
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Broadcom (0x14e4)
Device: V3D 7.1 (0xffffffff)
Version: 23.2.1
Accelerated: yes
Video memory: 8052MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 3.1
Max compat profile version: 3.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.1
OpenGL vendor string: Broadcom
OpenGL renderer string: V3D 7.1
OpenGL core profile version string: 3.1 Mesa 23.2.1-0+rpt2
OpenGL core profile shading language version string: 1.40
OpenGL core profile context flags: (none)

OpenGL version string: 3.1 Mesa 23.2.1-0+rpt2
OpenGL shading language version string: 1.40
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 23.2.1-0+rpt2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

Looks like you are doing a ssh into the pi5. I don’t think you can get true gpu specs if you are.

Yes I run headless or vnc

I use the video setting in cmdline.txt
So far i have successfully booted my xfce/Xorg based setup which ran on the rpi4 on the pi5 minus the mesa/X stuff

@BRX7 Today I compiled mesa 23.3-rc2 as mentioned above in the Phoronix link above where the v3d, v3dv: support for HW 7.1.x support is supposed to be added. I did some spot checking in the code and it seems to be there.

What I do not understand is yesterday’s package I provided should have RPi’s mesa version looking at your Pi OS info you posted. In the past I have never gotten an accurate report inless I was directly booted into the DE. Things got skewed. I never do any remote desktop either. I just do not a pressing need for it.

Update:

Link removed due to running into some issues.

Hi Darksky
No luck with the mesa tar file
can you point me at the log files to check?

Thanks

@BRX7
See if this makes any difference. Posted on arch-arm forums:

sudo nano /etc/X11/xorg.conf.d/99-v3d.conf

Section "OutputClass"
Identifier "vc4"
MatchDriver "vc4"
Driver "modesetting"
Option "PrimaryGPU" "true"
EndSection

Mission accomplished on my old xfce/xorg install

Much appreciated Darksky :gem:

1 Like

@Darksky, 23.3-rc1 & rc2 both make my vulkan device failed.
so, i build Bookworm-rp2 patched version.

I had not done any extensive testin with -rc2 but I have just run into my video’s not playing in vlc or mpv. The link I posted in post #39 above is the Bookworm-rp2 patched version. I was in a hurry and did not change the PKGBUILD to reflect it. I switched to it and my video’s started playing.

thought, they merge some for Pi5 but broke Pi4.

Who knows. They will figure it out.

Got my Pi5 today. Darn, that chip gets really hot.
I wonder how it can handle an Australian summer…

It heats up my room!