Switch install from RPI4 to RPI5

They seem to have it fixed. A patch has been submitted and waiting to be rebased into the “main” tree.

https://gitlab.freedesktop.org/mesa/mesa/-/commit/40a38adf1f1867b8d3e9151107caeb07fb0c8656

https://gitlab.freedesktop.org/mesa/mesa/-/tree/main?ref_type=heads

I Installed the latest unable Xfxe image placed it into my pi5

inxi --full --admin --filter --width
System:
  Kernel: 6.1.61-3-MANJARO-RPI5 arch: aarch64 bits: 64 compiler: gcc v: 12.1.0
    clocksource: arch_sys_counter parameters: coherent_pool=1M 8250.nr_uarts=1
    pci=pcie_bus_safe snd_bcm2835.enable_compat_alsa=0
    snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=D8:3A:DD:98:5C:5E
    vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000
    root=PARTUUID=ecae37b0-02 rw rootwait console=ttyAMA10,115200 console=tty3
    selinux=0 quiet splash plymouth.ignore-serial-consoles
    smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 usbhid.mousepoll=8 audit=0
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm
    v: 4.18.0 vt: 7 dm: LightDM v: 1.32.0 Distro: Manjaro ARM base: Arch Linux
Machine:
  Type: ARM System: Raspberry Pi 5 Model B Rev 1.0 details: N/A rev: d04170
    serial: <filter>
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Touch Keyboard K400
    serial: <filter> charge: 100% (should be ignored) rechargeable: yes
    status: discharging
  Device-2: hidpp_battery_1 model: Logitech MX Ergo Multi-Device Trackball
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: model: N/A variant: cortex-a76 bits: 64 type: MCP arch: ARMv8 family: 8
    model-id: 4 stepping: 1
  Topology: cpus: 1x cores: 4 smt: N/A cache: N/A
  Speed (MHz): avg: 1000 min/max: 1000/2400 scaling: driver: cpufreq-dt
    governor: schedutil cores: 1: 1000 2: 1000 3: 1000 4: 1000 bogomips: 432
  Features: Use -f option to see features
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: __user pointer sanitization
  Type: spectre_v2 mitigation: CSV2, BHB
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: bcm2712-hdmi0 driver: vc4_hdmi v: N/A bus-ID: N/A
    chip-ID: brcm:107c701400 class-ID: hdmi
  Device-2: bcm2712-hdmi1 driver: vc4_hdmi v: N/A bus-ID: N/A
    chip-ID: brcm:107c706400 class-ID: hdmi
  Display: x11 server: X.Org v: 21.1.9 compositor: xfwm v: 4.18.0 driver: X:
    loaded: modesetting alternate: fbdev
    gpu: vc4-drm,vc4_crtc,vc4_dpi,vc4_dsi,vc4_firmware_kms,vc4_hdmi,vc4_hvs,vc4_txp,vc4_v3d,vc4_vec
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93") monitors: <missing: xrandr>
  Monitor-1: HDMI-A-1 model: LG (GoldStar) 32ML600 serial: <filter>
    built: 2019 res: 1920x1080 dpi: 102 gamma: 1.2 size: 480x270mm (18.9x10.63")
    diag: 551mm (21.7") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: EGL v: 1.5 platforms: device: 1 drv: swrast gbm: drv: kms_swrast
    surfaceless: drv: swrast x11: drv: swrast inactive: wayland,device-0
  API: OpenGL v: 4.5 vendor: mesa v: 23.1.8-arch.1 glx-v: 1.4
    direct-render: yes renderer: llvmpipe (LLVM 16.0.6 128 bits)
    device-ID: ffffffff:ffffffff memory: 7.68 GiB unified: yes
Audio:
  Device-1: bcm2712-hdmi0 driver: vc4_hdmi bus-ID: N/A chip-ID: brcm:107c701400
    class-ID: hdmi
  Device-2: bcm2712-hdmi1 driver: vc4_hdmi bus-ID: N/A
    chip-ID: brcm:107c706400 class-ID: hdmi
  Device-3: Texas Instruments PCM2902 Audio Codec
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 1-2:3 chip-ID: 08bb:2902 class-ID: 0300
  API: ALSA v: k6.1.61-3-MANJARO-RPI5 status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 0.3.84 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: driver: rp1 v: N/A pcie: gen: 2 speed: 5 GT/s lanes: 4 port: N/A
    bus-ID: 01:00.0 chip-ID: 1de4:0001 class-ID: 0200
  IF: wlan0 state: up mac: <filter>
  IF-ID-1: end0 state: down mac: <filter>
Bluetooth:
  Device-1: bcm7271-uart driver: bcm7271_uart bus-ID: N/A
    chip-ID: brcm:107d50c000 class-ID: serial
  Report: btmgmt ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 5.0
    lmp-v: 9 status: discoverable: no pairing: no class-ID: 7c0000
  Device-2: bcm7271-uart driver: N/A bus-ID: N/A chip-ID: brcm:serial0
    class-ID: serial
Drives:
  Local Storage: total: 59.48 GiB used: 4.26 GiB (7.2%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/mmcblk0 maj-min: 179:0 model: SR64G size: 59.48 GiB block-size:
    physical: 512 B logical: 512 B tech: SSD serial: <filter> scheme: MBR
Partition:
  ID-1: / raw-size: 59 GiB size: 58 GiB (98.31%) used: 4.2 GiB (7.2%) fs: ext4
    dev: /dev/mmcblk0p2 maj-min: 179:2
  ID-2: /boot raw-size: 457.8 MiB size: 457.5 MiB (99.94%)
    used: 58.3 MiB (12.7%) fs: vfat dev: /dev/mmcblk0p1 maj-min: 179:1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 80 (default 100) zswap: no
  ID-1: swap-1 type: zram size: 11.79 GiB used: 0 KiB (0.0%) priority: 100
    comp: lzo-rle avail: lzo,lz4,zstd max-streams: 4 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 44.6 C mobo: N/A
  Fan Speeds (rpm): cpu: 0
Info:
  Processes: 201 Uptime: 32m Memory: total: N/A available: 7.86 GiB
  used: 2.03 GiB (25.8%) igpu: 8 MiB Init: systemd v: 254 default: graphical
  tool: systemctl Compilers: N/A Packages: pm: pacman pkgs: 660 libs: 197
  tools: pamac Shell: Bash v: 5.2.15 running-in: xfce4-terminal inxi: 3.3.31

She works.

Which mesa do you have installed? If you are using the one in the repo would you test this one I compiled and post the same inxi command report. This is new. I discovered that RPi OS’s patch was a patch that had @150 patches in it. Several patches within a patch so they never got applied before in my previous compile. I see that no one has not downloaded it yet.

https://forum.manjaro.org/t/switch-install-from-rpi4-to-rpi5/150632/39

Just installed the patch. I should grabbed before doing the patch… Ah whoops…

glxinfo -B
name of display: :0.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: 8048MB
    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+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: bcm2712-hdmi0 driver: vc4_hdmi v: N/A
  Device-2: bcm2712-hdmi1 driver: vc4_hdmi v: N/A
  Display: x11 server: X.Org v: 21.1.9 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
    s-res: 1920x1080 resolution: 1920x1080
  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 7.1

Well that looks tons better. Have V3D instead of software fallback llvmpipe renderer.

  API: OpenGL v: 4.5 compat-v: 3.1 vendor: broadcom mesa v: 23.2.1+rpt2.1
    renderer: V3D 7.1

I forgot, I had a 2nd SD card with unstable. without the patched mesa packages.

glxinfo
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Mesa (0xffffffff)
    Device: llvmpipe (LLVM 16.0.6, 128 bits) (0xffffffff)
    Version: 23.1.8
    Accelerated: no
    Video memory: 8048MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 4.5
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 42 MB, largest block: 42 MB
    VBO free aux. memory - total: 6883 MB, largest block: 6883 MB
    Texture free memory - total: 42 MB, largest block: 42 MB
    Texture free aux. memory - total: 6883 MB, largest block: 6883 MB
    Renderbuffer free memory - total: 42 MB, largest block: 42 MB
    Renderbuffer free aux. memory - total: 6883 MB, largest block: 6883 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 4294496222 MB
    Total available memory: 4294504270 MB
    Currently available dedicated video memory: 42 MB
OpenGL vendor string: Mesa
OpenGL renderer string: llvmpipe (LLVM 16.0.6, 128 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 23.1.8-arch.1
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.5 (Compatibility Profile) Mesa 23.1.8-arch.1
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.1.8-arch.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

inxi
  Device-1: bcm2712-hdmi0 driver: vc4_hdmi v: N/A
  Device-2: bcm2712-hdmi1 driver: vc4_hdmi v: N/A
  Display: x11 server: X.Org v: 21.1.9 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
    s-res: 1920x1080 resolution: 1920x1080
  API: EGL v: 1.5 drivers: kms_swrast,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.5 vendor: mesa v: 23.1.8-arch.1 renderer: llvmpipe (LLVM
    16.0.6 128 bits)
``

and it’s almost 12 am over here.

ok, build mesa-git with 26200.diff patched, work.

edit,
V3D 4.2.14 (Pi4)

edit2,
there a 26200.patch, now merged mesa-git, done.

edit3,
PiOS update mesa_23.2.1-1~bpo12+rpt2.diff

edit4,
23.3-rc5 seems merger 2600 patches.
*v3dv: Rework to remove drm authentication for wsi

I have no clue what the new PiOS mesa with bpo12+rpt2 patch fixes but here is the new packages:

glxinfo -B on my pi4

[ray@jellyfin ~]$ 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~bpo12+rpt2.2
OpenGL core profile shading language version string: 1.40
OpenGL core profile context flags: (none)

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

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

mesa_23.2.1-2~bpo12+rpt2

just installed on the rpi5, xfce xorg image.

6.7 rc kernel nothing out of the ordinary yet. seems to give more output on the glxinfo -B command

Interesting. Thanks for testing.

Ah spoke to soon,

the memory leak is still there

vc4-drm axi:gpu: [drm] ERROR Failed to allocate DLIST entry. Requested size=19. ret=-28

Wonder what is axi:gpu:. The other people’s error just says gpu:.

Just to recap…
I have a working Manjaro headless running on RPi4
If I want to migrate it to RPi5 what should I do?

I don’t need a desktop environment

Switch to the unstable branch and update everything while booted up on the pi4.
sudo pacman -S linux-rpi5 linux-rpi5-headers
Shut down and transfer your boot media to the pi5 and boot it up.

If all goes well and you do not want to boot the pi4 with the drive media any more then delete the linux-rpi4 and linux-rpi4-headers packages.

1 Like

looks good.

I’ve got one of these sitting in FedEx Warehouse. Not far from me.

Why in your part of the globe there always seems to be an over abundance of pi supply’s?

I don’t know. But I won’t get any Pi 5’s one until next year.

Edit: Found a mention from one of the Approved Resellers emails.

  1. Power Supply: Raspberry Pi 5 kits do not include a power supply. In our emails we link to the Raspberry Pi Power Supply USB-C 5V 15W power supply. This power supply will work with your Raspberry Pi 5. There is a new Australian power supply coming out sometime next year, but we don’t have a date, again the Power Supply USB-C 5V 15W power supply works great!

I would get the recommended 27 watt one just as soon as I could.

When I get a Emails form one of three (1) . I will be buying it asp, what ever colour it is.

  1. one is for Industry only