magarto
Posts: 38
Joined: Thu Nov 26, 2015 2:00 pm

Cannot load Kodi in Buster

Thu Jul 11, 2019 7:08 pm

Hi!

I upgraded Raspbian to Buster but now I cannot launch kodi

In the past, I followed this guide to run raspbian with console only (not lightdm) and I had a rule in rc.local to execute kodi as pi user (su pi -c kodi).

Now I have a lot of errors executing kodi:

Code: Select all

Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
ERROR: Unable to create GUI. Exiting
If I follow this guide to execute kodi from console, the bootsplash of Kodi is showed but it crashes with the following errors:

Code: Select all

Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
/usr/lib/arm-linux-gnueabihf/kodi/kodi-xrandr: Failed to get size of gamma for output default
libEGL warning: DRI2: failed to authenticate
Segmentation fault (core dumped)
^C/usr/bin/xinit: connection to X server lost
and checking kodi-crashlog.txt the following:

Code: Select all

19:07:09.629 T:2901622800   ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No existe la propiedad «CanSuspend»
19:07:09.631 T:2901622800   ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No existe la propiedad «CanHibernate»
19:07:11.945 T:2901622800   ERROR: X11 Error: No Display found
19:07:11.945 T:2901622800   FATAL: CApplication::Create: Unable to init windowing system

I have checked this guides but I cannot fix it:
https://www.raspberrypi.org/forums/view ... 5#p1488386
https://www.raspberrypi.org/forums/view ... 5&t=244514

magarto
Posts: 38
Joined: Thu Nov 26, 2015 2:00 pm

Re: Cannot load Kodi in Buster

Fri Jul 12, 2019 1:25 pm

I have checked with a clean install that kodi still gives the same error:

Code: Select all

ERROR: Unable to create GUI. Exiting

Andyroo

Re: Cannot load Kodi in Buster

Fri Jul 12, 2019 7:50 pm

A quick search here will show many cases where Kodi is not yet compatible with Buster example here.

If you have a Pi that will run Stretch then that’s the best way to go for now.

Keep an eye on the nightly build thread https://forum.kodi.tv/forumdisplay.php?fid=166

User avatar
DougieLawson
Posts: 39796
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Cannot load Kodi in Buster

Sat Jul 13, 2019 9:04 am

When I've got one of my Raspberries with a TV-HAT rebuilt with Buster I'm going to see if the latest Raspbian changes have solved the tvheadend and kodi struggles.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All fake doctors are on my foes list.

magarto
Posts: 38
Joined: Thu Nov 26, 2015 2:00 pm

Re: Cannot load Kodi in Buster

Sat Jul 13, 2019 11:53 am

Ok thanks. I'll wait for a fix.

User avatar
DougieLawson
Posts: 39796
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Cannot load Kodi in Buster

Sun Jul 14, 2019 7:03 pm

I got it working with some ugly hacking of /etc/apt/sources.list /etc/apt/sources.list.d/raspi.list (so I could get the kodi and kodi-dvr-hts code installed). The some extreme hacking with /opt/vc/lib EGL & GLESv2 libraries (which aren't in Buster) to get over the segfaults in Kodi.

I'm hoping the RPF/RP(T) folks can fix it for us (as that's hacking isn't for the faint hearted).
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All fake doctors are on my foes list.

magarto
Posts: 38
Joined: Thu Nov 26, 2015 2:00 pm

Re: Cannot load Kodi in Buster

Wed Jul 31, 2019 9:58 pm

The some extreme hacking with /opt/vc/lib EGL & GLESv2 libraries (which aren't in Buster) to get over the segfaults in Kodi. 
Could you please share what you did. Thanks!

Rascas
Posts: 700
Joined: Tue Mar 11, 2014 6:18 pm
Location: Porto, Portugal
Contact: Website

Re: Cannot load Kodi in Buster

Wed Jul 31, 2019 10:06 pm

magarto wrote:
Wed Jul 31, 2019 9:58 pm
The some extreme hacking with /opt/vc/lib EGL & GLESv2 libraries (which aren't in Buster) to get over the segfaults in Kodi. 
Could you please share what you did. Thanks!
For the RPis from 0 to 3, you have Kodi for Raspbian Buster here:
https://www.raspberrypi.org/forums/view ... 0#p1506904

For RPi 4, you can try this:
https://www.raspberrypi.org/forums/view ... 8&t=246837

Pander
Posts: 23
Joined: Sun Nov 09, 2014 11:35 pm

Re: Cannot load Kodi in Buster

Mon Sep 09, 2019 2:10 pm

Upstream bug report is https://bugs.launchpad.net/raspbian/+bug/1834970 Please attach any solutions there too.

cicciopizza
Posts: 4
Joined: Sat Mar 22, 2014 11:37 am

Re: Cannot load Kodi in Buster

Sun Mar 15, 2020 5:25 pm

I had the same problem:

I have modified the boot/config.txt file:

Code: Select all

[all]
dtoverlay=vc4-fkms-v3d
#enable_tvout=1
#hdmi_enable_4kp60=1
this worked for me...

Return to “Raspberry Pi OS”