[SOLVED] Can't install on Raspi Bullseye 64 bit
-
Hi, I hope it's me doing something wrong otherwise the install script is a mess on this setup:
Device: Raspberry Pi 3
OS: Raspberry Pi OS Bullseye 11.3 64bit (Lite version)
Install method: Raspbian on a Raspberry Pi
boot/config.txt:... hdmi_blanking=1 hdmi_group=1 hdmi_mode=16 edid_content_type=4
First setup, the Quick install option installed everything except retroarch and emulationstation in core packages (plus 2 packages in main but I don't care for now).
Then I go in Manage packages and try to install those 2 missing.
Sdl2 didn't compile normally, so I had to change the version according to this issue. (Please include it in the install script)
Retroarch compiling fails, saying:... Checking function cgCreateContext in -lCg -lCgGL ... no Error: EGL is disabled and forced to build with OpenGLES support. rm -rf obj-unix rm -f retroarch rm -f *.d config.mk is outdated or non-existing. Run ./configure again. Makefile:10: config.mk: No such file or directory make: *** [Makefile:193: config.mk] Error 1 Could not successfully build retroarch - RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators (/home/sistema/RetroPie-Setup/tmp/build/retroarch/retroarch not found).
In raspi-config I already disabled the experimental GL driver, isn't it referring to that one? Why is forcing OpenGLES? So to fix this I edited the script and commented the --enable-opengles* conditions.
The compiling proceeds but then fails at:... CC gfx/drivers_context/vc_egl_ctx.c gfx/drivers_context/vc_egl_ctx.c:25:10: fatal error: VG/openvg.h: No such file or directory 25 | #include <VG/openvg.h> | ^~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:206: obj-unix/release/gfx/drivers_context/vc_egl_ctx.o] Error 1 Could not successfully build retroarch - RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators (/home/sistema/RetroPie-Setup/tmp/build/retroarch/retroarch not found).
Gave up, reverted retroarch script change, re-enabled experimental driver and it compiles. Then I re-disable experimental driver and try emulationstation. It compiled but when I launch it it says:
Jun 12 10:02:22 lvl0: Error initializing SDL! No available video device Jun 12 10:02:22 lvl0: Renderer failed to initialize! Jun 12 10:02:22 lvl0: Window failed to initialize!
I understand this is probably due to the experimental driver mess, so... my main problem is compiling retroarch.
What can I try?Thanks
EDIT: forgot to mention, like if all this wasn't enouhg... installing emulationstation, omxplayer is not available anymore in repos. Manually installing the .deb didn't work too. I had to remove the dependency.
-
@unsubscribed That's me who said to change the sdl2 installer script to 2.0.20. Install that first before attempting to install retroarch.
I faintly remember trying it on a pi3 and I remember it working. I'll reinstall later and report back. -
@unsubscribed
Ok, I installed bullseye 64 lite on my pi3b. I updated to the latest stable version. Don't mess with the video driver. Leave it at default.Install
libsamplerate0-dev
. Editsdl2.sh
so it can install version2.0.20
. Retroarch and everything else should install without issues.I noticed I get no audio and there's no option to choose hdmi audio. Get
audiosettings.sh
from https://github.com/cmitu/RetroPie-Setup/tree/audio-ks
and transfer it to your pi. Replace it. The option for hdmi audio should now show up in audio settings.I did encounter a bug in the past where the audio cuts out but that requires more extensive testing to see if the issue was fixed recently. Bullseye is not supported right now so if you can, go back to buster.
-
@Darksavior said in Can't install on Raspi Bullseye 64 bit:
Don't mess with the video driver. Leave it at default.
Do you mean to leave enabled the experimental GL on raspi-config?
Thanks a lot for taking the time and the detailed explanation! I will be free to do it maybe next day but will update this thread asap.
-
@unsubscribed Yes, leave the "experimental" driver enabled. It's an old message. It's not experimental anymore since the pi team decided to use it as the default.
-
With your instructions it worked flawlessly, thanks a lot!
Now I just need to understand how to activate the display when emulationstation is started via ssh, but I'll probably open another thread.
-
@Darksavior
is amiberry working with kms? I had no sound via hdmi when I tried 64 bit bullseye last... With the default SDL2 it worked fine, but the custom one from retropie gave me no audio in amiberry only. I haven't done the audiosettings.sh thing you've mentioned in the post above back then though. -
@shadoom I don't use amiberry so I can't say. You can try installing sdl2 2.0.20, install the wip audiosettings from cmitu's repo (it adds the option for hdmi audio) and then install amiberry again. Retropie's default is 2.0.10. I believe .20 was causing problems with some games but I mainly use libretro cores so it doesn't affect me.
Checking retropie's sdl branch, you can experiment with versions .16 and .18 though I don't know which version fixed the issues with bullseye.
-
@Darksavior omxplayer is still a problem for me, and i'm not able to install it, and emulationstation needs it. what have you done to get rid of that error?
-
@ustix The error doesn't exist on 64bit. I only got it on 32bit. You need to comment out like 3 lines from the ES installer script which I don't remember at the moment.
-
compareVersions "$__os_debian_ver" gt 8 && depends+=(rapidjson-dev) isPlatform "x11" && depends+=(gnome-terminal) # if isPlatform "dispmanx" && ! isPlatform "osmc"; then # depends+=(omxplayer) # fi getDepends "${depends[@]}" }
I can only think of that three, maybe.
-
@ustix said in [SOLVED] Can't install on Raspi Bullseye 64 bit:
omxplayer is still a problem for me, and i'm not able to install it, and emulationstation needs it...
omxplayer
will not run on a 64bit system, due to the lack of support from the GPU drivers/OS (there's no 32bit OMX api in the first place). It's been completely removed from the RaspiOS 'bullseye' release, since it's not compatible with the GPU drivers and will not work.EmulationStation works without
omxplayer
, using thevlc
libraries for video. -
@mitu
Thanks for the answer, so am I right to comment out omxplayer dependency check from the installation script to proceed?
I've read somewhere that omxplayer plays ingame videos, isn't that a problem for emulationstation? (i don't really care if i can't see any ingame videos, I'm pretty good without them)
How can I change to vlc, or is it automatic? (I have seen that vlc is also a dependency, so it is used if there is no omxplayer?) -
Thanks for the answer, so am I right to comment out omxplayer dependency check from the installation script to proceed?
No, the lines you commented will actually disable the
omxplayer
dependency on 'bullseye', so EmulationStation would build/install without dependency issues. I think the configuration menu would still showomxplayer
as available to play videos, but it will not work (should work inemulationstation-dev
).I've read somewhere that omxplayer plays ingame videos, isn't that a problem for emulationstation? (i don't really care if i can't see any ingame videos, I'm pretty good without them)
omxplayer
can be used for the videos shown in the gamelist, in EmulationStation, not by emulators.How can I change to vlc, or is it automatic? (I have seen that vlc is also a dependency, so it is used if there is no omxplayer?)
vlc
is the default video backend for EmulationStation, so you don't have to do anything.omxplayer
is an alternate backend that is available only on RPI, but -
@mitu
Thank you for your help, I've meant that I would like to disable the omxplayer dependency, because emulationstation is not installing if it is enabled. I have done that with commenting out that three lines, and it is installed without issues, I'm looking forward to try it out, but I'm at work with SSH only, so I'm only able to look at the processes, which shows that emulationstation is running now. -
@Darksavior
Do I have to experiment changing the sdl2 version on 32bit bullseye too? -
I noticed I get no audio and there's no option to choose hdmi audio. Get
audiosettings.sh
from https://github.com/cmitu/RetroPie-Setup/tree/audio-ks
and transfer it to your pi. Replace it. The option for hdmi audio should now show up in audio settings.Hi!
Does it matter when I copy the audiosetting.sh? Do I have to do it before installing retropie, or i can do that after that too? -
@ustix Install retropie first and then follow my instructions that I already posted.
-
@Darksavior
Also I have experimented a problem about gpu_mem, when you set it to 256 (which i don't really think is reasonable for pi zero 2, but I have tried) then emulationstation is not loading, instead it is in a constant 104% cpu using state. -
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.