Hi,
I was using my Pi2 happily till this morning (the first december update was working ok).
But then I run the last update (second december update) and now my Pi2 starts and go straight to the Sad Face loop.
I tried to reinstall the rbp2-image-4.3.3-1-osmc and the rbp2-mediacenter-osmc but the problem still there.
I also tried to delete the .kodi folder but the problem still there.
Here’s my logs with 4.3.3-1 restored:
http://paste.osmc.io/beborebumo
and the log with 4.3.3-2:
http://paste.osmc.io/pexomoqiyo
i think the error is the same:
Dec 31 15:48:45 osmc mediacenter[1043]: libEGL warning: DRI2: xcb_connect failed
Dec 31 15:48:45 osmc mediacenter[1043]: libEGL warning: DRI2: xcb_connect failed
Dec 31 15:48:45 osmc mediacenter[1043]: ERROR: Unable to create GUI. Exiting
15:48:44 32.609226 T:1955237888 NOTICE: InitWindowSystem: Using EGL Implementation: raspberrypi
15:48:45 33.448517 T:1955237888 ERROR: EGL error in InitDisplay: 3001
15:48:45 33.448719 T:1955237888 ERROR: InitWindowSystem: Could not create display
15:48:45 33.448799 T:1955237888 FATAL: CApplication::Create: Unable to init windowing system
There is something that I can do to avoid reinstalling everything?
Other things on Pi2 are working correctly. The only thing that it’s not working is Kodi.
Little Update:
after some research i found that the problem was not related to the update but there is an incompatibility with qt5 libs.
So i deleted the packages
sudo apt-get purge qt5-default libegl1-mesa libegl1-mesa-dev libegl1-mesa-drivers
and then
sudo apt-get autoremove
Now Kodi is back to work correctly.
Hope this will help anyone in the future.
The main question how you ended up with qt5 and even x11 packages
I’ve installed it manually before the update to compile another project that required qt5.
I don’t know if it’s possible but maybe add some compatibility warning for some packages will help some less skilled users in the future.
But what are you going to do with a package that requires qt5 how is it going to display anything?
I needed it to compile the new version of qbittorent, 3.4.0alpha.
I run it without the gui and I use the WebUI.
The previous version was based on qt4 but the new version use qt5.
Once compiled qbittorrent and removed qt5 packages, the program and the webui still working perfectly.
I found a better fix - hyperion is moving to QT5 and at the moment drops a lot of conflicting libraries.
edit /usr/bin/mediacenter
add the LD_LIBRARY_PATH to line 88:
sudo -u osmc LD_LIBRARY_PATH=/opt/vc/lib/ $KODI --standalone -fs --lircdev /var/run/lirc/lircd; CODE="$?"
I also installed qt5 so I could compile hyperion with support for it. You fix doesn’t seem to work for me. I still get the same error. Any suggestions?
Can you paste your exact changes ?
Can pi upload your logs from OSMC ?
Extract from /usr/bin/mediacenter:
86 echo "Starting Kodi..."
87 sudo -u osmc LD_LIBRARY_PATH=/opt/vc/lib/ $KODI --standalone -fs --lircdev /var/run/lirc/lircd; CODE="$?"
88 endtime=$(date +%s)
Logfile:
17:29:44 2272.875000 T:1953976320 NOTICE: InitWindowSystem: Using EGL Implementation: raspberrypi
17:29:44 2273.056641 T:1953976320 ERROR: EGL error in InitDisplay: 3001
17:29:44 2273.056885 T:1953976320 ERROR: InitWindowSystem: Could not create display
17:29:44 2273.056885 T:1953976320 FATAL: CApplication::Create: Unable to init windowing system
That looks like what I did.
I just went on to double check and it looks like the July update has overwritten my manual change.
It does seem to work now tho