Hmm, my Pi 2 has been sitting quietly for a week or so. Thought I would fire up the TV and check things out. Pi seemed to be running (based on LEDS) but the screen was black. I did a reboot.
The OSMC splash screen shows up, then I get the sad face screen. After 10-15 seconds, the screen blanks, then back with another sad face. This goes on for around 2-3 minutes.
I can ssh in just fine, did a sudo journalctl - saw some errors about not being able to start GUI. Everything else seemed fine.
So, I did an apt-get update; apt-get dist-uprade. The dist-upgrade loaded a newer version. Did the reboot - same sad face and cycle. I did a shutdown. Took the SD card and put it into a Linux server. Did an fsck -f on both boot and /root. No problems reported…
I also tried to rename /home/osmc/.kodi to /home/osmc/.kodi.old. Reboot. .kodi re-created - but still sad face.
I would really prefer not to reformat and reinstall. I have the plex media server and a custom button based shutdown script installed. I can re-install both - just a bit time consuming
Your crash is being caused because you have indirectly installed the following generic OpenGLES libraries:
ii libegl1-mesa:armhf 10.3.2-1+deb8u1 armhf free implementation of the EGL API -- runtime
ii libegl1-mesa-dev:armhf 10.3.2-1+deb8u1 armhf free implementation of the EGL API -- development files
ii libegl1-mesa-drivers:armhf 10.3.2-1+deb8u1 armhf free implementation of the EGL API -- hardware drivers
According to your apt history.log these were installed as a dependency when you ran the following command:
I would do an autoremove afterwards for good measure:
sudo apt-get autoremove
You can’t have those mesa-gl libraries installed on the Pi as they are a software OpenGL ES implementation which is not compatible with Kodi and prevents Kodi making use of the Pi’s hardware acceleration.
Ahh, Sam and Simon you guys are great! I did indeed play around with MediaElch. It didn’t have a Raspberry Pi version so I downloaded the development tools and did make.
It was the one that pulled in all the qt5 stuff.
I had not done a reboot for quite some time. So, it appeared to not effect OSMC.
I have done the apt-get purge and autoremove.
No more sad face!
Thanks again for the investigative work.