"Retropie" error in 4.5.1, and above (until recent 4.5.5) : Key you just pressed is not recoqnised by SDL
-
I'm using the official rom. It's about her I'm talking about. And I know what you said. It's a boring and curious bug, because every time it gets around, it comes back.
-
The RetroPie 4.5.1 image comes with SDL2 version 2.0.8 - https://github.com/RetroPie/RetroPie-Setup/blob/4589f0b02b2262d07503ecdf61ffc32b1d2ed59d/scriptmodules/supplementary/sdl2.sh#L22, now upgraded to 2.0.10.
So I don't know where you got your image from or how your system is set up, but it's not looking like version 4.5.1. -
@mitu
Thanks to your post I paid attention to one detail: I was installing a particularly unnecessary package, this package conflicted with the updated bios (sudo rpi-uptade).I was always installing "libsdl2-dev". It conflicted with the SDL of the retropie project, and eventually forced me to downgrade bios. The general solution was to avoid libsdl2-dev. Or if you already have it installed, give the bios donwgrade that I quoted.
Thanks in advance.
-
The bios downgrade will not - in any case - resolve the issue you've reported initially, the warning is from libSDL2 (Key you just pressed is not recoqnised by SDL).
RetroPie installs both thelibsdl2
andlibsdl2-dev
packages (and marks then on hold), so you don't have to install it manually - in fact the warning message formlibsdl2
is probably because you forcibly installed alibsdl2
package from another source (because the Raspbian Stretch repository haslibsdl2
version 2.0.5, not 2.0.3 nor 2.0.4). -
Dude ... I'm here breaking my head a few hours ago, but there is a cue you said that maybe is the root of everything:
You said that in the file:
/home/pi/RetroPie-Setup/scriptmodules/supplementary/sdl2.sh
, the sdl you install is 2.0.8 by default.
Well, analyzing this file, I noticed a difference in the text, since the github text doesn't match sdl2.sh. In sdl2.sh from the original iso asks for SDL 2.0.10!
So I'm doing tests, swapping iso's sdl2.sh for the straightforward sdl2.sh of the github model. Soon the result.
-
You didn't pay enough attention to my previous reply
The RetroPie 4.5.1 image comes with SDL2 version 2.0.8 - https://github.com/RetroPie/RetroPie-Setup/blob/4589f0b02b2262d07503ecdf61ffc32b1d2ed59d/scriptmodules/supplementary/sdl2.sh#L22, now upgraded to 2.0.10.
-
SOLVED FINALLY! After more than 12 hours of trial and error!
Thanks to the goodwill of the user "mitu", who kept exchanging information with me. I ended up finding the error. And I even thought it was the fault of the UPDATE BIOS. But at the end of all that happened is that:
- I was wrong to think it was caused by bios update
- Retropie actually has an SDL fork, which corrects this error, as MITU said.
- MITU also got it right that the ideal update for RETROPIE is SDL 2.0.8.
The file :
```
/home/pi/RetroPie-Setup/scriptmodules/supplementary/sdl2.shComes by default with the text:
function get_ver_sdl2 () { if isPlatform "x11" || compareVersions "$ __ os_debian_ver" ge 10; then echo "2.0.9" else echo "2.0.8" fi }
but at some point during the installation of the emulators (I think it was reicast) this text changes and looks like this:
function get_ver_sdl2 () { if isPlatform "x11" || compareVersions "$ __ os_debian_ver" ge 10; then echo "2.0.10" }
I simply bypassed this by copying sdl2.sh from github
and placing it in the folder:
/ home / pi / RetroPie-Setup / scriptmodules / supplementary /
From there I ran the command:
sudo ~ / RetroPie-Setup / retropie_packages.sh sdl2
And finally after more than 12 hrs the headache is over!
-
@mitu
I paid attention. And besides, I'm thanking you for your willingness to help.Thank you in advance.
-
@ANDRELLVS said in "Retropie" error in 4.5.1, and above (until recent 4.5.5) : Key you just pressed is not recoqnised by SDL:
but at some point during the installation of the emulators (I think it was reicast) this text changes and looks like this:
[...]No, it didn't.
Most likely it was changed when you updated your RetroPie-Setup script, likely this week or today/now, since the 2.0.10 version was added as part of the dev branch merge which happened 4 days ago. -
@mitu I have been trying to replicate this same error since 1 pm, to confirm 100% of my theory and I did it! It happens whenever I start installing emulators. I haven't figured out which one yet, but one of them changes sdl2.sh.
And possibly it has to do with what you mentioned above. because I am upgrading to retropie 4.5.6
I will try to get a clean iso, and update the retropie to 4.5.6 and then check the sdl2.sh..view file that's right. Soon post the result.
-
Now I am getting this issue. I've been using retropie for years and I have never had this issue. (I am currently using a Wii U Pro Controller.)
The controller works fine but this message fills up the screen when transitioning into a game or Kodi. I am also having a hard time with connecting my 8bitdo sn30 and 8bitdo md30. I don't know If it is because of this update. I am glad I created a back up image before updating but I hope you guys can help me so I can keep my Pi up to date.
-
@Styleshift Please open a new topic and add the info from https://retropie.org.uk/forum/topic/3/read-this-first. You shouldn't get the error in the topic unless you've manually downgraded the
libsdl2(-dev)
package.
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.