A scriptmodule check for Bookworm and Pi5 install
-
Apologies guys, I haven't been around here for a while.
I know there are functions in the scriptmodules for isPlatform() etc.
But is there one that I could use to check if I'm on a Pi5 and Bookworm is installed to make a decision on whether to install an extra package ?
Or point me to a post.
Wayland related stuff.
Thx
DBX -
Ok, think I have found what I was looking for:
if (isPlatform "rpi5") && [[ "$__os_debian_ver" -ge 12 ]]; then
-
@DirtBagXon said in A scriptmodule check for Bookworm and Pi5 install:
Wayland related stuff.
You already found the answer (
isPlatform "rpi5"
), but why would you needwayland
related libraries ? RetroPie doesn't use a desktop/compositor to run emulators on a Pi. -
We discovered that Supermodel wouldn't work on a Pi5 running Bookworm Lite unless a certain package was installed.
-
It turns out it is more a VC4/V3D change for X11 config.
But the check is still relevant for our requirements and (hopefully) fixes the SuperModel3 port when we are in that hardware/OS environment. There is a Pi Bookworm repo packages that seems to do exactly what is required, so was foreseen.
Edit: In reality this should be a Bookworm addition across all the Pi range for that emulator, but early days + only Pi4 and above will run it.....
-
@Widge what was the dependant/package that's needed? Not sure if it's the same but I found supermodel 3 would compile and build but not load
-
@retropieuser555 that's exactly the problem. Try
sudo apt install gldriver-test
then try launching Supermodel again.
That package can then be removed afterwards if you want, it seems to make a permanent change somewhere that allows supermodel to run.
This problem didn't occur in the full desktop version of bookworm where that package is already included. Only in Lite where the package is absent. -
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.