Selecting Kodi package on RPi

Arch Linux ARM announcements, news, and other important things are posted here.

Re: Selecting Kodi package on RPi

Postby flos » Fri Apr 23, 2021 10:16 pm

I have done sudo pacman -S kodi-rpi.

Everything went well however if I try to run by typing kodi I am getting an error: unable to create gui.

Am I missing some dependencies or something?

edit: I did append the lines from pacman log into config.txt
flos
 
Posts: 1
Joined: Fri Apr 23, 2021 10:13 pm

Re: Selecting Kodi package on RPi

Postby graysky » Fri Apr 23, 2021 11:36 pm

Not sure without more info. Did you modify /boot/kodi.config.txt or is it stock? Which Pi model? Did kodi create a log?

Post /boot/config.txt
Post the output of systemctl status kodi
Post /var/lib/kodi/.kodi/temp/kodi.log (if it exists)
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Selecting Kodi package on RPi

Postby unformatted » Sat Apr 24, 2021 11:57 am

This morning I updated my RPi2 armv7l with kodi and accidentally kept my old config.txt which resulted in "unable to create GUI". Old config was gpu_mem=256. I also had to install kodi-rpi-legacy and kodi-rpi-legacy-dev which replaced the old kodi-rbp stuff.

I updated config to
$this->bbcode_second_pass_code('', 'dtoverlay=vc4-kms-v3d,cma-@@@
dtoverlay=rpivid-v4l2
disable_overscan=1
disable_fw_kms_setup=1')
and now all is working.

My question is: what's with the cma-@@@? I see that's also used for RPi4 with kodi-rpi while that used to be cma-512. Is it dynamically assigning memory or something?
unformatted
 
Posts: 119
Joined: Tue Mar 09, 2021 5:23 pm

Re: Selecting Kodi package on RPi

Postby graysky » Sat Apr 24, 2021 12:36 pm

That @@@ is a sed target for the builder to setup the memory. RPi2 should be 384 not @@@. The current version (kodi-rpi-legacy-19.0-10) is packaged as expected so I am confused about your case. How did you install it?
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Selecting Kodi package on RPi

Postby unformatted » Sat Apr 24, 2021 1:07 pm

Ah, that explains. I read this from the package files since I missed the new config because I kept the old one. This RPi2 has been running kodi for years and I just update from time to time. Basically I use it for testing add-ons and other stuff so it's obviously pretty borked by now. Of course I should reinstall with a major kodi upgrade but I'm lazy I guess. Anyway with 384 all is working fine. Thanks again.
unformatted
 
Posts: 119
Joined: Tue Mar 09, 2021 5:23 pm

Re: Selecting Kodi package on RPi

Postby spiroid » Sun May 02, 2021 8:04 pm

Hi,

First many thanks for the updated instructions on how to install kodi for the rpi4
This is my first install and I'm asked to choose for a libgl provider

$this->bbcode_second_pass_code('', '
resolving dependencies...
:: There are 5 providers available for libgl:
:: Repository extra
1) libglvnd
:: Repository alarm
2) imx-gpu-viv-dfb 3) imx-gpu-viv-fb 4) imx-gpu-viv-wl 5) imx-gpu-viv-x11
')

Which package should I choose ?

I also read about a configuration file once the installation will be done.
Could you please point me a documentation about the installation process + config ?

Many thanks
spiroid
 
Posts: 2
Joined: Sun May 02, 2021 8:00 pm

Re: Selecting Kodi package on RPi

Postby graysky » Sun May 02, 2021 8:20 pm

Just take the default (1) for RPis... the post install message will explain the trivial setup.
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Selecting Kodi package on RPi

Postby spiroid » Wed May 05, 2021 7:43 pm

hi @graysky

Many thanks for your help :)
Installation successful !
I also took some time to add some extra customization to the pi (shell configuration + key based auth for ssh + a few utilities ...)

Now what should I do to start kodi ?
Is there a systemd service to enable ? something to configure based on user login ?

I didn't even plugged in an hdmi cable yet :lol:
spiroid
 
Posts: 2
Joined: Sun May 02, 2021 8:00 pm

Re: Selecting Kodi package on RPi

Postby graysky » Wed May 05, 2021 7:52 pm

Provided you modified /boot/config.txt as instructed by pacman upon installation, just reboot (to activate the video driver) and start the systemd service.

For future reference, pacman can list the files owned by a package to answer that question:
$this->bbcode_second_pass_code('', '% pacman -Ql kodi-rpi | grep '\.service'
kodi-rpi /usr/lib/systemd/system/kodi.service
kodi-rpi /usr/share/man/man1/kodi.service.1.gz
')
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Previous

Return to Announcements

Who is online

Users browsing this forum: No registered users and 5 guests