Switch install from RPI4 to RPI5

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!

Wonder if the xorg.conf file is needed I posted in post #45 above since the kernel change for all pi devices. It is the default now in the Pi OS Bookworm image. I have been testing it now for a couple of days on my pi4 as it seems it is very much needed for the pi5.

xorg.conf files still needed if working on wayland?

I do not use wayland here but Pi OS does and it is in their Bookworm image. Have you tested it there on wayland?

Side note:

I just found out the mesa packages in our repo are not from upstream. They are built by manjaro.

bookworm uses wayland,

it has an entry
/etc/X11/xorg.conf.d/99-v3d.conf
Section “OutputClass”
Identifier “vc4”
MatchDriver “vc4”
Driver “modesetting”
Option “PrimaryGPU” “true”
EndSection

Interesting. Then this guy was mistaken with file names in the arch-arm forums. The content is the same but still gets loaded up. Debian uses different paths for x11.

### [Re: [How-To] Install Arch on Raspberry Pi 5b](https://archlinuxarm.org/forum/viewtopic.php?f=30&t=16659#p71763)

[![Post|11x9](https://archlinuxarm.org/forum/styles/prosilver/imageset/icon_post_target.gif "Post")](https://archlinuxarm.org/forum/viewtopic.php?p=71763#p71763)by **[solskogen](https://archlinuxarm.org/forum/memberlist.php?mode=viewprofile&u=13808)** » Mon Nov 06, 2023 7:28 am

add the following to xorg.conf

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

Then it will work (this is what Raspberry Pi OS (bookworm) does)

X, in case people don’t want wayland.

ps. from Pi’s guy @dom,
Mesa won’t run at all on a Pi5 without the Pi5 specific patches. If it uses mesa and runs on Pi5, then it is optimised.
A Mesa tree that runs on Pi5 but isn’t optimised for it has never been released.

I tried that mesa rc tar and xorg.conf on the kde wayland based img, but it was a no go. Xfce xorg is :+1:

I believe the -rc package is faulty. I removed the link above. The other link using the Pi OS patched version seems to be ok.