Raspbian Buster - retropi install on os - retropi crashes when turn controller off.
-
Hi,
I am a new user to retro pi, but a long time PI tinkerer.I have installed retropi on a RPI3-b+ onto raspbian buster.
I have a sony dual shock 4 controller paired via bluetooth.
When the controller is turned off retro pi crashes and i am dropped out to the ASCII crash screen and ultimately to the console.may be related to this issue
pi@raspberrypi:~ $ dpkg -l | grep libsdl2-2.0.0 ii libsdl2-2.0-0:armhf 2.0.9+dfsg1-1+rpt1 armhf Simple DirectMedia Layer
I have been unable to downgrade the libsdl2 library ( i have tried both listed versions)
pi@raspberrypi:~ $ sudo apt list -a libsdl2-dev Listing... Done libsdl2-dev/testing,now 2.0.9+dfsg1-1+rpt1 armhf [installed] libsdl2-dev/stable 2.0.9+dfsg1-1 armhf
-
I don't know how you installed it, but the installer should have added the RetroPie patched
libsdl2
, which includes a fix for this bug:pi@pie4:~/RetroPie-Setup $ [master] dpkg -l | grep libsdl2 ii libsdl2-2.0-0:armhf 2.0.10+1rpi armhf Simple DirectMedia Layer hi libsdl2-dev:armhf 2.0.10+1rpi armhf Simple DirectMedia Layer development files ii libsdl2-mixer-2.0-0:armhf 2.0.4+dfsg1-1 armhf Mixer library for Simple DirectMedia Layer 2, libraries ii libsdl2-mixer-dev:armhf 2.0.4+dfsg1-1 armhf Mixer library for Simple DirectMedia Layer 2, development files
Did you follow the instructions from https://retropie.org.uk/docs/Manual-Installation/ ?
-
Hi Mitu,
Thanks for your reply.
I did follow the instructions as per the link.I am interested as to where the 2.0.10 version has been retrieved from. Debian Buster has 2.0.9 as the latest. https://packages.debian.org/buster/libsdl2-2.0-0
I have not added any extra repo's, have you?
-
@psytron said in Raspbian Buster - retropi install on os - retropi crashes when turn controller off.:
I did follow the instructions as per the link.
Something didn't install then, because it should have installed the new (2.0.10) SDL2 version. There's no repository to add, but if you run
cd $HOME/RetroPie-Setup/ sudo ./retropie_packages.sh sdl2
the script will build and install the 2.0.10 fixed version.
-
Hi Mitu,
I followed your instructions and it looks like just built and installed 2.0.9 again...Getting sources for 'sdl2' : SDL (Simple DirectMedia Layer) v2.x = = = = = = = = = = = = = = = = = = = = = git clone --recursive --depth 1 --branch rpi-2.0.9 "https://github.com/RetroPie/SDL-mirror.git" "/home/pi/RetroPie-Setup/tmp/build/sdl2/2.0.9+1rpi" Cloning into '/home/pi/RetroPie-Setup/tmp/build/sdl2/2.0.9+1rpi'... remote: Enumerating objects: 1606, done. remote: Counting objects: 100% (1606/1606), done. remote: Compressing objects: 100% (1431/1431), done. remote: Total 1606 (delta 373), reused 526 (delta 65), pack-reused 0 Receiving objects: 100% (1606/1606), 5.52 MiB | 1.15 MiB/s, done. Resolving deltas: 100% (373/373), done. Checking out files: 100% (1348/1348), done. HEAD is now in branch 'rpi-2.0.9' at commit '98c8792cd4785439f48beaac1b11906edb498161' /home/pi/RetroPie-Setup /home/pi/RetroPie-Setup/tmp/build/sdl2 /home/pi/RetroPie-Setup = = = = = = = = = = = = = = = = = = = = = Building 'sdl2' : SDL (Simple DirectMedia Layer) v2.x = = = = = = = = = = = = = = = = = = = = = dpkg-buildpackage: info: source package libsdl2 dpkg-buildpackage: info: source version 2.0.9+1rpi dpkg-buildpackage: info: source distribution UNRELEASED dpkg-buildpackage: info: source changed by Jools Wills <buzz@exotica.org.uk> dpkg-buildpackage: info: host architecture armhf dpkg-source --before-build . debian/rules clean dh clean --parallel debian/rules override_dh_auto_clean make[1]: Entering directory '/home/pi/RetroPie-Setup/tmp/build/sdl2/2.0.9+1rpi' dh_auto_clean -Bbuilddir/all rm -f debian/examples.tar.gz make[1]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/sdl2/2.0.9+1rpi' dh_clean -O--parallel dpkg-source -b . dpkg-source: info: using source format '3.0 (native)' dpkg-source: info: building libsdl2 in libsdl2_2.0.9+1rpi.tar.xz
git show-branch
pi@raspberrypi:~/RetroPie-Setup $ git show-branch --all * [master] helpers - added an adminRsync function for use with admin modules for uploading data to our server ! [origin/HEAD] helpers - added an adminRsync function for use with admin modules for uploading data to our server ! [origin/master] helpers - added an adminRsync function for use with admin modules for uploading data to our server --- *++ [master] helpers - added an adminRsync function for use with admin modules for uploading data to our server
git log
pi@raspberrypi:~/RetroPie-Setup $ git log commit 07b681c41d0f4db753fd30b5c803b3441f421ef0 (grafted, HEAD -> master, origin/master, origin/HEAD) Author: Jools Wills <buzz@exotica.org.uk> Date: Fri Dec 20 18:00:50 2019 +0000 helpers - added an adminRsync function for use with admin modules for uploading data to our server
-
Update your Retropie-Setup script, then re-try again the basic install.
-
Hi Mitu,
That looks like it is building the correct one. :)Thank you for your time and effort, I should have pulled the latest before running the script - silly me. :)
You are a champ. :)
-
@psytron said in Raspbian Buster - retropi install on os - retropi crashes when turn controller off.:
I should have pulled the latest before running the script
Support for Buster (and the Pi4) has been slowly been tested on the development branch, which recently was merged to the main repository. There still might be some quirks, but you should be able to install from binaries (without re-compiling).
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.