magarto
Posts: 32
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: 32
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: 36544
Joined: Sun Jun 16, 2013 11:19 pm
Location: 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: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

magarto
Posts: 32
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: 36544
Joined: Sun Jun 16, 2013 11:19 pm
Location: 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: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

magarto
Posts: 32
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: 563
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: 22
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.

Return to “Raspbian”