Raspberry Pi 5 - official announcement
-
@pi5gamer said in Raspberry Pi 5 - official announcement:
Will the 64-bit bookworm lite work with the Dev version of retropie if I install it via ssh
Yes. But there's no 'dev' version of RetroPie, just the regular one. Read on the rest of the topic to see what configuration are needed on the Pi5.
NOTE: Support for the Pi5 is a work in progress, so some things will not work or be broken - don't expect them to be fixed immediately. Also, unless you have Linux or some prior RetroPie experience, I'd recommend to wait until something stable/more polished comes up.
-
Can I download Retropie 4.8 image for the pi 4 from the GitHub and use that and also emulation station keeps on crashing when I load it up and I think its because of the amount of ram available to my GPU how do I fix this.
Thanks in Advance for your help
-
@pi5gamer No, that won't work. The Pi5 needs a newer OS and kernel/firmware which are not included in our images (Pi4 or not).
You need to install the latest RasPi OS Lite (bookworm) first and then install RetroPie manually on-top of it. As I said, if you're not familiar with Linux and haven't worked with RetroPie before, then it's better to wait for an actual release.
-
The only minor issue I encountered (manual install on top of Lite) is an error installing Kodi from packages:
Sorry, but kodi is not installable for your OS/Platform via RetroPie-Setup
apt install kodi
worked.Should I open a GitHub issue?
-
@moio said in Raspberry Pi 5 - official announcement:
Should I open a GitHub issue?
No, it's a known issue with
kodi
and RaspiOS Bookworm. Has been reported to the RaspiOS folks. Also, Pi5/Bookwom support is preliminary, so there's no use to open issues for it. -
Has anyone seen a query on raspberry pi forums, bookworm or dolphin GitHub why you can load Dolphin, AetherSX2 via GUI but not while in terminal/CLI and you get that QT5 error above?
It seems odd and I'm not quite sure where the issue is, as it occurs on Ubuntu 23.10 & raspberry Pi OS Bookworm. So it doesn't seem a problem specific to the OS? Or it's purely hardware (pi or arm64) specific? As it seems to occur on pi4 using bookworm as well
-
Without have the knowledge, maybe the package for qt5 or qt6 is missing (
qtbase5-dev
). I haven't check this emulators yet, so the above is just a guess . -
@retropieuser555 said in Raspberry Pi 5 - official announcement:
Has anyone seen a query on raspberry pi forums, bookworm or dolphin GitHub why you can load Dolphin, AetherSX2 via GUI but not while in terminal/CLI and you get that QT5 error above?
Because they need a desktop env to run ? Not all application can run outside a desktop environment (
dolphin
for sure does not). -
It's look similar then with the duckstation standalone when the dev droped the no-gui option.
-
Okay I've got it figured out,
startx /opt/retropie/emulators/dolphin/bin/dolphin-emu-nogui -e /home/pi/RetroPie/roms/<rom name>
This works happily from Terminal/CLI. It doesn't need a desktop environment, just a window to be opened (and x org installed etc). I also fixed the tiny window issue by using this fix below, which you'd need to use for your particular display and then rebuild dolphin, I've only tested it on a 1080p display though.
https://forums.dolphin-emu.org/Thread-small-fullscreen-on-linux
So now adding
startx
to the emulators.cfg won't work as startx in the runcommand.sh will always turn that into xinit, but xinit doesn't work from the command line for me.Anyone had any success getting xinit to run from command line? If we can get that working this will load fine, I'm already playing with genuine wiimotes using my dolphinbar, which is all kinds of awesome on a Pi 5 RetroPie setup.
-
@retropieuser555 said in Raspberry Pi 5 - official announcement:
Anyone had any success getting xinit to run from command line? If we can get that working this will load fine, I'm already playing with genuine wiimotes using my dolphinbar, which is all kinds of awesome on a Pi 5 RetroPie setup.
Yes, but I had to remove
xorg-server-legacy
xserver-xorg-legacy
first, seems that on Bullseye is buggy and preventsxinit
from properly starting. -
It's not better to try with wayland instead of xorg ?
-
@mitu So apparently I don't have that installed so that's not the issue, I'll put up a proper error log in a bit:-
pi@raspberrypi:~ $ sudo apt remove xserver-xorg-legacy Reading package lists... Done Building dependency tree... Done Reading state information... Done Package 'xserver-xorg-legacy' is not installed, so not removed The following packages were automatically installed and are no longer required: libdecor-0-0 libdecor-0-dev libdecor-0-plugin-1-cairo libpisp0.0.1 libwayland-bin libwayland-dev Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 63 not upgraded.
Xinit error log: https://pastebin.com/Yr9BcCuT
I think the problem is here:-
Fatal server error: [ 9540.595] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
-
@windg said in Raspberry Pi 5 - official announcement:
It's not better to try with wayland instead of xorg ?
For Wayland there's no similar mechanism in RetroPie like
XINIT
to instructruncommand
to start the emulator in an Xorg sesion. For Dolphin in particular, there's no native Wayland support so it would run under XWayland and use the x11 API anyway, so there's no benefit in running it under Wayland. -
@retropieuser555 without knowing the command that started this, the error log is not much help. Regardless, I'll add at some point support for
dolphin
to be run directly from EmulationStation, you can wait until then to test again. -
@mitu Ah sorry,
Here's the command:-
xinit /opt/retropie/emulators/dolphin/bin/dolphin-emu-nogui -e "/home/pi/RetroPie/roms/gc/AC.rvz"
Must be a permissions issue, I just ran it with sudo and it worked fine.
-
Just prefix the
emulators.cfg
entry withXINIT:
and it should work:dolphin-x11-vk = "XINIT:/opt/retropie/emulators/dolphin/bin/dolphin-emu-nogui -v vulkan --config Dolphin.Display.Fullscreen=True -b -e %ROM%" dolphin-x11 = "XINIT:/opt/retropie/emulators/dolphin/bin/dolphin-emu-nogui --config Dolphin.Display.Fullscreen=True -b -e %ROM%"
EDIT: make sure you also have installed the
matchbox-window-manager
package. -
@mitu Wow, you're right, wonder why me doing it different it didn't want to work for me, very strange.
Btw the -b batch option gave me an error (I think it's for the Dolphin-gui only) so I just removed it and it plays fine, that's awesome thank you
-
@retropieuser555 said in Raspberry Pi 5 - official announcement:
If anyone wants to try out lr-parallel-n64, add this line into /opt/retropie/configs/all/retroarch-core-options.cfg
parallel-n64-cpucore = "cached_interpreter"
Not sure if after all that time since that quoted message I should have opened another topic...
@retropieuser555 and it worked fluid for you? Just asking, because on my "Raspi OS: bookworm (64bit)" test/tryout right now on a Pi4 (4GB) regular lr-mupen64plus works like a charm (Aehm, so to say somewhat better under 64bit bookworm in comparison to 32bit Bullseye), but lr-parallel with that .cfg tweak reminds me on my 1st N64 - FZero tryouts with retropie on a Raspberry 3B (no +) [Edit: forgot to mention: lr-parallel under the 32bit bullseye condition, with the compared rom in question, is performing somewhat better than basic lr-mupen64plus (in my setup[defaults used])]
So if lr-parallel is working better for you on bookworm 64bit with cached_interpreter than regular lr-mupen64plus is: what else have you configured, or is that something that is a go ahead on a pi5 but a nogo on a pi4? -
@Ashpool to be honest messing with my pi5 I haven't given the pi4 a look in since. I could only really ever get lr-parallel-n64 on the pi4 to play 007 Goldeneye a few years back. Quite literally everything else would crash. Then that stopped working too recently for some reason.
Dynarec interpeter is way less intensive rather cached and pure interpeter. I think the only reason it's working well on pi5 is by pure grunt power.
One other suggestion on lr-parallel-n64 you could try angrylion rather than GLideN64? That might be better, maybe
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.