[SOLVED] RPi4 SDL2 problem during installation, meanwhile its available via apt-get
-
This is due to me enabling binaries, but I need to fix a path issue for sdl2. Will sort it now. You can also just call this as a workaround
sudo ./retropie_packages.sh sdl2
To do a source install.
-
Should work now btw. Moved the files manually - will fix the code also and test for next time I build sdl2 bins.
-
@Yehor Thank you so much for this. It worked perfectly for me as well.
-
@BuZz I just tried to install yesterday and the day before getting the same error each time. Any updates?
-
Binaries were disabled due to an issue with SDL2 being installed via binary not pulling in the require dependencies. It will be fixed after this PR is merged: https://github.com/RetroPie/RetroPie-Setup/pull/2898
Until the PR is merged and binaries are re-enabled, you can simply install SDL2 from source as a temporary workaround.
-
@Yehor Can you explain to a noob like me all the steps that I should follow?
I'm having your same issue: Unable to install binary for sdl2
-
@Banci At which step did you stuck? What instructions do you follow?
-
@Banci Yehor's guide to the fix is posted. Each line he typed out you will type out yourself step by step, each break in the line signifies a submission.
i.e.
type:sudo apt-get update -y && sudo apt-get upgrade -y && sudo reboot
hit enter
then:sudo apt-get install git
hit enter.
his fix is the :
sudo ./retropie_packages.sh 833 depends
sudo ./retropie_packages.sh 833 sources
sudo ./retropie_packages.sh 833 build
cd ./tmp/build/sdl2/
sudo dpkg -i libsdl2-2.0-0_2.0.10*.debafter this is done, you head into the setup as normal and launch. I followed his guide myself and it fixed my problem
-
@Yehor I followed all the steps but after the basic install i reboot it then i got the retropie logonbut after that i just got redirect to the command line... if i type emullationstation it shows a black screen.
-
I am getting 'fkms_rpi4' does not exist.. anyone else got this?
-
After the reboot, I got the retropie logo and after I have a black screen.
Do you have an idea ?
-
When launching from terminal screen (ALT-F1), emulationstation runs but shows only a black screen. When run from X11 (xterm), it exits with this error:
terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_M_construct null not valid Aborted
Nothing in the logs that I can find.
I noticed the fkms_rpi4 branch is very active, so I'm guessing things are working, then breaking.
Thanks to all who are working on this.
-John
-
@jgraves We don't support running from a desktop environment, if you want to test the new PI4 support, start from a Buster Lite installation and do a manual installation - the latest version has integrated the
fkms_rpi4
development branch.MODERATION note: I'm going to lock this topic, it's no longer relevant to the current RetroPie version and creates more confusion than it gives solutions.
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.