SDL Initializing errors on RPi3
-
That kernel is newer than the last packaged one, so I think the downgrade failed. Did you get any errors ?
Might be useful to paste the log output
-
It is because i returned back to the latest after seeing it didn't change anything.
Rolled back again to this commit --> Linux RPi3Station 4.4.13-v7+ #893 SMP Wed Jun 8 14:39:18 BST 2016 armv7l GNU/Linux
But still not working and.. which log are you talking about ? -
The rpi-update log I meant as I thought it hadn't downgraded from your kernel version.
It could be that your compile of SDL2 is broken (Needs specific configure parameters to work on the RPI framebuffer) - re-install/update retropie perhaps (which will put our known working SDL2 libraries back on)
Make sure your SDL2 is removed first also if installed to
/usr/local
-
work in progress for the reinstall but as for my kernel version..i did gone from 4.4.14#896 to 4.4.13#893. wasn't it the point ?
-
Yes, looks like you downgraded firmware/kernel correctly.
-
Ok then...complete whipe of retropie, fresh install, full upgrade, reboot then...
pi@RPi3Station:~ $ emulationstation
lvl0: Error initializing SDL!lvl0: Renderer failed to initialize!
lvl0: Window failed to initialize!
pi@RPi3Station:~ $HERE the last retropie log.
-
@OkTekk did you remove any Sdl2 you built?
-
yes i did, like you said earlier
-
@OkTekk Did you remove your own compile of emulationstation (if it's in /usr/local/bin). In case that's the problem
-
that too, as well
-
I'm not at home currently. Will give you some lines to type to verify a few things later. Eg. To check gles libs etc
-
Ok i stay tuned. Today is a peaceful day~
-
Sorry for the delay.
What is the output of these to confirm locations/versions
sudo find / -name "libSDL2*.so" sudo find / -name "libGL*" which emulationstation apt-cache showpkg libsdl2-dev md5sum /usr/lib/arm-linux-gnueabihf/libSDL2.so
-
@BuZz don't mind, my son gave me a shitty night i wouldn't have been able to answer before.
Here we go:pi@RPi3Station:~ $ sudo find / -name "libSDL2*.so" /usr/lib/arm-linux-gnueabihf/libSDL2-2.0.so /usr/lib/arm-linux-gnueabihf/libSDL2.so /usr/local/lib/libSDL2_image.so
pi@RPi3Station:~ $ sudo find / -name "libGL*" /opt/vc/lib/libGLESv2.so /opt/vc/lib/libGLESv2_static.a /opt/vc/lib/libGLESv1_CM.so /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so.1 /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2 /usr/lib/arm-linux-gnueabihf/libGLEW.so.1.10 /usr/lib/arm-linux-gnueabihf/libGL.so.1 /usr/lib/arm-linux-gnueabihf/libGLU.so.1 /usr/lib/arm-linux-gnueabihf/libGL.so /usr/lib/arm-linux-gnueabihf/libGLEW.so.1.10.0 /usr/lib/arm-linux-gnueabihf/libGLU.so /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so.1.1.0 /usr/lib/arm-linux-gnueabihf/libGL.so.1.2.0 /usr/lib/arm-linux-gnueabihf/libGLU.so.1.3.1 /usr/lib/arm-linux-gnueabihf/libGLU.a /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0.0
pi@RPi3Station:~ $ which emulationstation /usr/bin/emulationstation
pi@RPi3Station:~ $ apt-cache showpkg libsdl2-dev Package: libsdl2-dev Versions: 2.0.4+4rpi (/var/lib/dpkg/status) Description Language: File: /var/lib/dpkg/status MD5: 7085696df1cfaa119cbfcae5fa57d437 2.0.2+dfsg1-6 (/var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_jessie_main_binary-armhf_Packages) Description Language: File: /var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_jessie_main_binary-armhf_Packages MD5: 9a82f59c5790721baad7ffc5f181d3d6 Reverse Depends: libsdl2-ttf-dev,libsdl2-dev 2.0.0 libsdl2-net-dev,libsdl2-dev 2.0.0 libsdl2-mixer-dev,libsdl2-dev 2.0.0 libsdl2-image-dev,libsdl2-dev 2.0.0 libsdl2-gfx-dev,libsdl2-dev games-c++-dev,libsdl2-dev Dependencies: 2.0.4+4rpi - libsdl2-2.0-0 (5 2.0.4+4rpi) libc6-dev (0 (null)) libx11-dev (0 (null)) libsdl-1.3-dev (0 (null)) libsdl-1.3-dev (0 (null)) 2.0.2+dfsg1-6 - libsdl2-2.0-0 (5 2.0.2+dfsg1-6) libasound2-dev (0 (null)) libdbus-1-dev (0 (null)) libegl1-mesa-dev (0 (null)) libgl1-mesa-dev (0 (null)) libgles2-mesa-dev (0 (null)) libglu1-mesa-dev (0 (null)) libpulse-dev (0 (null)) libudev-dev (0 (null)) libwayland-dev (0 (null)) libx11-dev (0 (null)) libxcursor-dev (0 (null)) libxext-dev (0 (null)) libxi-dev (0 (null)) libxinerama-dev (0 (null)) libxkbcommon-dev (0 (null)) libxrandr-dev (0 (null)) libxss-dev (0 (null)) libxt-dev (0 (null)) libxv-dev (0 (null)) libxxf86vm-dev (0 (null)) libsdl-1.3-dev (0 (null)) libsdl-1.3-dev (0 (null)) Provides: 2.0.4+4rpi - 2.0.2+dfsg1-6 - Reverse Provides:
pi@RPi3Station:~ $ md5sum /usr/lib/arm-linux-gnueabihf/libSDL2.so 2e199a2a94f5d55ba3472a069eac9187 /usr/lib/arm-linux-gnueabihf/libSDL2.so
-
I'm afraid I am not sure what the problem is.
you can try reinstalling the stable firmware/kernel by doing
sudo apt-get install --reinstall raspberrypi-bootloader raspberrypi-kernel libraspberrypi-bin
-
You might want to remove your locally installed libDL2_image also (and just use the system packaged one).
I suspect this is an issue relating to the new firmware and the GLES libs as this is how it looks on mine
$ sudo find / -name "libGL*" /opt/vc/lib/libGLESv2_static.a /opt/vc/lib/libGLESv2.so /opt/vc/lib/libGLESv1_CM.so /usr/lib/arm-linux-gnueabihf/libGL.so.1.2.0 /usr/lib/arm-linux-gnueabihf/libGLU.so.1 /usr/lib/arm-linux-gnueabihf/libGL.so.1 /usr/lib/arm-linux-gnueabihf/libGLEW.so.1.10 /usr/lib/arm-linux-gnueabihf/libGLEW.so.1.10.0 /usr/lib/arm-linux-gnueabihf/libGL.so /usr/lib/arm-linux-gnueabihf/libGLU.so.1.3.1 /usr/lib/arm-linux-gnueabihf/libGLU.a /usr/lib/arm-linux-gnueabihf/libGLU.so
-
back to the stable firmware..but ES still don't work .. i'm doomed and will need to continue using my Pi2's instead of this one..
btw i already tried to do some raspbian fresh install followed right after by EM (without any other applications adds or modifications)pi@RPi3Station:~ $ uname -a Linux RPi3Station 4.4.13-v7+ #894 SMP Mon Jun 13 13:13:27 BST 2016 armv7l GNU/Linux
pi@RPi3Station:~ $ sudo find / -name "libGL*" /opt/vc/lib/libGLESv2.so /opt/vc/lib/libGLESv2_static.a /opt/vc/lib/libGLESv1_CM.so /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so.1 /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2 /usr/lib/arm-linux-gnueabihf/libGLEW.so.1.10 /usr/lib/arm-linux-gnueabihf/libGL.so.1 /usr/lib/arm-linux-gnueabihf/libGLU.so.1 /usr/lib/arm-linux-gnueabihf/libGL.so /usr/lib/arm-linux-gnueabihf/libGLEW.so.1.10.0 /usr/lib/arm-linux-gnueabihf/libGLU.so /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so.1.1.0 /usr/lib/arm-linux-gnueabihf/libGL.so.1.2.0 /usr/lib/arm-linux-gnueabihf/libGLU.so.1.3.1 /usr/lib/arm-linux-gnueabihf/libGLU.a /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0.0
-
What do you mean by
install followed right after by EM (without any other applications adds or modifications) ?
do you mean you compiled your own ES or used retropie-setup ?
-
sorry..i meant with retropie-setup
-
You are saying a fresh Raspbian image downloaded and with retropie-setup installed ES is not working still ? If so I will need to test that.
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.