mlazzlo
Posts: 1
Joined: Sat Jul 25, 2020 11:17 am

Re: [Guide] Kodi on Raspberry Pi OS / Raspbian Buster

Sat Jul 25, 2020 4:02 pm

For me, on a clean install of rpi4 and following all the recommendations kodi was laggy.
I had to disable compositor in raspi-config.

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

Re: [Guide] Kodi on Raspberry Pi OS / Raspbian Buster

Sun Jul 26, 2020 3:39 am

mlazzlo wrote:
Sat Jul 25, 2020 4:02 pm
For me, on a clean install of rpi4 and following all the recommendations kodi was laggy.
I had to disable compositor in raspi-config.
The compositor has no effect in Kodi because it isn't compiled against X11/Xorg. But make sure the gpu_mem parameter is correctly set according to the recommendations because if not, it will be laggy or won't good. Make sure you reboot for changes to take effect.

soguknewale
Posts: 1
Joined: Fri Jul 10, 2015 8:05 pm

Re: [Guide] Kodi on Raspberry Pi OS / Raspbian Buster

Thu Jul 30, 2020 2:08 pm

hi.

i can not install kodi on raspi os 64 bit. help please.

------------------------------------------------------------------------------
pi@raspberrypi:~$ sudo apt install kodi
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
kodi : Depends: kodi-bin (>= 2:18.7-1~buster) but 2:17.6+dfsg1-4+b1 is to be installed
Depends: libshairplay0 but it is not installable
E: Unable to correct problems, you have held broken packages.

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

Re: [Guide] Kodi on Raspberry Pi OS / Raspbian Buster

Thu Jul 30, 2020 4:54 pm

soguknewale wrote:
Thu Jul 30, 2020 2:08 pm
hi.

i can not install kodi on raspi os 64 bit. help please.

------------------------------------------------------------------------------
pi@raspberrypi:~$ sudo apt install kodi
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
kodi : Depends: kodi-bin (>= 2:18.7-1~buster) but 2:17.6+dfsg1-4+b1 is to be installed
Depends: libshairplay0 but it is not installable
E: Unable to correct problems, you have held broken packages.
There is no updated Kodi on Raspbian 64 bit. You may force to install the original Raspbian Kodi 64 bits build (2:17.6+dfsg1-4+b1) but that is a generic version, not optimized for the RPi, it will be slower and without hardware video decoder.

A Kodi 64 bits build may happen when Raspbian/RaspiOS 64 bits become stable and official, but I don't believe that will happen soon. I don't even known if Kodi optimized for the RPi is currently "buildable".

snowballEarth
Posts: 66
Joined: Wed Feb 18, 2015 9:05 pm

Re: [Guide] Kodi on Raspberry Pi OS / Raspbian Buster

Thu Jul 30, 2020 5:34 pm

mlazzlo wrote:
Sat Jul 25, 2020 4:02 pm
For me, on a clean install of rpi4 and following all the recommendations kodi was laggy.
that happens when i first install and run kodi, but completely goes away after i reboot the pi once.

mmhere
Posts: 6
Joined: Sun Jul 22, 2012 9:42 pm

Re: [Guide] Kodi on Raspberry Pi OS / Raspbian Buster

Thu Jul 30, 2020 6:04 pm

Kodi 18.8 is out. Is there an updated build for this version that runs as an `apt-get` install on Raspberry Pi OS (née Raspbian) Buster 10.4?

I have the pipplware source enabled in /etc/apt/...

After `apt-get update`, trying `apt-get -s install kodi` reports that 18.7 [currently installed locally] is up to date, so neither the Raspi nor the pipplware sources are yet aware of 18.8 -- which I presume may not yet have been built for 10.4.

BTW, this is on an 8GiB Raspberry Pi4.

fruitoftheloom
Posts: 23854
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: [Guide] Kodi on Raspberry Pi OS / Raspbian Buster

Thu Jul 30, 2020 6:53 pm

mmhere wrote:
Thu Jul 30, 2020 6:04 pm
Kodi 18.8 is out. Is there an updated build for this version that runs as an `apt-get` install on Raspberry Pi OS (née Raspbian) Buster 10.4?

I have the pipplware source enabled in /etc/apt/...

After `apt-get update`, trying `apt-get -s install kodi` reports that 18.7 [currently installed locally] is up to date, so neither the Raspi nor the pipplware sources are yet aware of 18.8 -- which I presume may not yet have been built for 10.4.

BTW, this is on an 8GiB Raspberry Pi4.

18.8 was officially released 29th July 2020

https://kodi.tv/article/kodi-leia-188-release

Please be patient as most developers are undertaking these updates with no cost to yourself.
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot) RaspiOS64 ARM64
Asus ChromeBox 3 Celeron is my other computer...

mmhere
Posts: 6
Joined: Sun Jul 22, 2012 9:42 pm

Re: [Guide] Kodi on Raspberry Pi OS / Raspbian Buster

Thu Jul 30, 2020 7:05 pm

fruitoftheloom wrote:
Thu Jul 30, 2020 6:53 pm
Please be patient as most developers are undertaking these updates with no cost to yourself.
Heh ;-)

I believe you infer impatience from my query. Such was not implied; nothing could be further from the truth. The query is simply borne of curiosity, given that the new release is out.

Were I able to build it myself (free at no cost to myself too), I would do so, and then freely provide it back to the community at no cost, freely. Sadly I am unable to assist in this manner at this time. I thus simply became curious if anyone else had started looking at the building process -- which as a SW dev I know can be a bit involved sometimes.

Thanks for the response!

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

Re: [Guide] Kodi on Raspberry Pi OS / Raspbian Buster

Thu Jul 30, 2020 8:45 pm

mmhere wrote:
Thu Jul 30, 2020 6:04 pm
Kodi 18.8 is out. Is there an updated build for this version that runs as an `apt-get` install on Raspberry Pi OS (née Raspbian) Buster 10.4?

I have the pipplware source enabled in /etc/apt/...

After `apt-get update`, trying `apt-get -s install kodi` reports that 18.7 [currently installed locally] is up to date, so neither the Raspi nor the pipplware sources are yet aware of 18.8 -- which I presume may not yet have been built for 10.4.

BTW, this is on an 8GiB Raspberry Pi4.
Kodi will be uptaded as usual, after a few days a new version is released. When we have some free time for it.

mmhere
Posts: 6
Joined: Sun Jul 22, 2012 9:42 pm

Re: [Guide] Kodi on Raspberry Pi OS / Raspbian Buster

Thu Jul 30, 2020 8:59 pm

Rascas wrote:
Thu Jul 30, 2020 8:45 pm
Kodi will be uptaded as usual, after a few days a new version is released. When we have some free time for it.
Cool! Thanks very much. Your efforts are much appreciated. :D

bscphil
Posts: 21
Joined: Mon Jun 24, 2019 10:25 am

Re: [Guide] Kodi on Raspberry Pi OS / Raspbian Buster

Fri Jul 31, 2020 6:04 am

18.8 is now out, and I'm content to wait for a build of that (no pressure), but I'm wondering why there's no 18.7 in the official repositories yet, only in pipplware. For example this mirror only has 18.6 when 18.7 was built by mid-June: https://mirror.sfo12.us.leaseweb.net/ra ... in/k/kodi/

By the way, you might consider patching out Kodi's default update check, or disabling it by default if there's an option. This is pretty common for maintainers to do for software that's expected to be updated from a repository. Many Linux distribution maintainers patch out the Firefox update check, for example. There's no point in getting a popup about it if we're all waiting on a new release in the repo anyway.

By the way (rest of this post not directed at rascas specifically), still seeing a little occasional jank on very high bitrate 1080p h264 files (stuff right at the limit of the Blu-ray specs), and also complex scenes in even moderate bitrate 10 bit SD h264 files. The former is disappointing since it's expected that players be able to decode this stuff (after all, it's in the Blu-ray spec). If anyone reading this is wondering whether to grab the Pi 4 + Kodi for an all purpose HTPC setup, I'd say the answer is still no. (Plus some skimming suggests that HDR is still not really supported, and I haven't even tested that. Definitely a no-go if you have an HDR TV.)

max11
Posts: 48
Joined: Tue May 14, 2019 12:48 pm

Re: [Guide] Kodi on Raspberry Pi OS / Raspbian Buster

Sun Aug 02, 2020 3:26 pm

Custom shutdown timer problem

Hello Rascas,

when i press the "power button" in the main menu, i can select:
- exit
- poweroff system
- custom shutdown timer
- reboot
- Logoff A

I selected custom shutdown timer and defined the time (60 minutes). After 60 minutes kodi didn't shutdown but exited to Raspbian.
My setup: Raspi 4 4GB, Raspbian Buster (kernel 5.4.51-v7l+) Kodi 18.7 Git 20200528-2c5354e70a

With regards to "Logoff A" and changing the profiles, i mentioned in an earlier posting, that, defining profiles with different screen resolutions, the change of one profile to the other does not result in a change of the resolution. Is that correct?

Thanks
Max11

OMR
Posts: 7
Joined: Tue Jul 16, 2019 9:46 pm

Re: [Guide] Kodi on Raspberry Pi OS / Raspbian Buster

Fri Aug 07, 2020 12:16 pm

Pi 4, Kodi 18.7 from apt-get,
GPU V3D 4.2
OpenGL vendor: Broadcom
OpenGL version: ES 3.1 Mesa 19.3.2
DvbLogic/TV-Mosaic PVR client.
GPU memory split 512 (no change from 340)

Tried both 4k/30Hz and FullHD.

All works well, except for the TV stream dropping frames.
Seems to slow down every 2-3s and then trying to catch up.
Sound plays OK over HDMI.
Top for kodi a comfortable 15-20% CPU load.

tail from log when playback is started.

Anyone see something wrong?

Code: Select all

2020-08-07 14:03:28.154 T:2973457504  NOTICE: VideoPlayer::OpenFile: pvr://channels/tv/All channels/pvr.dvblink_206.pvr
2020-08-07 14:03:28.157 T:2522869968  NOTICE: Creating InputStream
2020-08-07 14:03:29.411 T:2522869968  NOTICE: Creating Demuxer
2020-08-07 14:03:29.547 T:2522869968  NOTICE: Opening stream: 0 source: 256
2020-08-07 14:03:29.547 T:2522869968 WARNING: OpenStream - Unsupported stream 0. Stream disabled.
2020-08-07 14:03:29.547 T:2522869968  NOTICE: Opening stream: 1 source: 256
2020-08-07 14:03:29.547 T:2522869968  NOTICE: Finding audio codec for: 86019
2020-08-07 14:03:29.548 T:2522869968  NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder ac3
2020-08-07 14:03:29.548 T:2522869968  NOTICE: Creating audio thread
2020-08-07 14:03:29.549 T:2522869968  NOTICE: Opening stream: 4 source: 256
2020-08-07 14:03:29.549 T:2522869968  NOTICE: Opening stream: 3 source: 256
2020-08-07 14:03:29.549 T:2522869968  NOTICE: waiting for teletext data thread to exit
2020-08-07 14:03:29.550 T:2522869968  NOTICE: Creating teletext data thread
2020-08-07 14:03:29.550 T:2413801680  NOTICE: running thread: CDVDTeletextData
2020-08-07 14:03:29.551 T:2522869968  NOTICE: CDVDDemuxFFmpeg::Read() stream change
2020-08-07 14:03:29.552 T:2522869968  NOTICE: Opening stream: 0 source: 256
2020-08-07 14:03:29.552 T:2522869968 WARNING: OpenStream - Unsupported stream 0. Stream disabled.
2020-08-07 14:03:29.552 T:2522869968  NOTICE: Opening stream: 1 source: 256
2020-08-07 14:03:29.552 T:2522869968  NOTICE: Closing stream player 3
2020-08-07 14:03:29.552 T:2522869968  NOTICE: Opening stream: 4 source: 256
2020-08-07 14:03:29.553 T:2522869968  NOTICE: Opening stream: 3 source: 256
2020-08-07 14:03:29.555 T:2472538320  NOTICE: running thread: CVideoPlayerAudio::Process()
2020-08-07 14:03:29.626 T:2522869968  NOTICE: CDVDDemuxFFmpeg::Read() stream change
2020-08-07 14:03:29.627 T:2522869968  NOTICE: Opening stream: 0 source: 256
2020-08-07 14:03:29.627 T:2522869968  NOTICE: Creating video codec with codec id: 27
2020-08-07 14:03:29.638 T:2522869968  NOTICE: Creating video thread
2020-08-07 14:03:29.638 T:2522869968  NOTICE: Opening stream: 1 source: 256
2020-08-07 14:03:29.639 T:2522869968  NOTICE: Closing stream player 3
2020-08-07 14:03:29.639 T:2522869968  NOTICE: Opening stream: 4 source: 256
2020-08-07 14:03:29.639 T:2522869968  NOTICE: Opening stream: 3 source: 256
2020-08-07 14:03:29.640 T:2462048464  NOTICE: running thread: video_thread
2020-08-07 14:03:29.652 T:2522869968  NOTICE: Opening stream: 0 source: 256
2020-08-07 14:03:29.653 T:2522869968  NOTICE: Opening stream: 1 source: 256
2020-08-07 14:03:29.653 T:2522869968  NOTICE: Finding audio codec for: 86019
2020-08-07 14:03:29.655 T:2522869968  NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder ac3
2020-08-07 14:03:29.655 T:2522869968  NOTICE: Closing stream player 3
2020-08-07 14:03:29.655 T:2522869968  NOTICE: Opening stream: 4 source: 256
2020-08-07 14:03:29.655 T:2522869968  NOTICE: Opening stream: 3 source: 256
2020-08-07 14:03:29.656 T:2472538320  NOTICE: Creating audio stream (codec id: 86019, channels: 2, sample rate: 48000, no pass-through)
2020-08-07 14:03:29.953 T:2522869968  NOTICE: CDVDDemuxFFmpeg::Read() stream change
2020-08-07 14:03:29.953 T:2522869968  NOTICE: Opening stream: 0 source: 256
2020-08-07 14:03:29.953 T:2522869968  NOTICE: Opening stream: 1 source: 256
2020-08-07 14:03:29.954 T:2522869968  NOTICE: Closing stream player 3
2020-08-07 14:03:29.954 T:2522869968  NOTICE: Opening stream: 4 source: 256
2020-08-07 14:03:29.954 T:2522869968  NOTICE: Opening stream: 3 source: 256
2020-08-07 14:03:30.175 T:2462048464 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2020-08-07 14:03:42.217 T:2944393424 WARNING: Previous line repeats 2 times.
2020-08-07 14:03:42.217 T:2944393424 WARNING: ActiveAE - large audio sync error: -89386.590696
2020-08-07 14:04:35.629 T:2944393424 WARNING: ActiveAE - large audio sync error: -89437.169904

the_manchurian
Posts: 10
Joined: Mon Dec 05, 2016 6:20 pm

Re: [Guide] Kodi on Raspberry Pi OS / Raspbian Buster

Wed Aug 19, 2020 3:52 pm

Hi, I am experiencing Kodi not exiting to Raspberry OS, at least not on the first try. (RPi 4, Raspberry OS, Kodi 18.7)

I try to exit Kodi, then screen goes black, then it bounces back to Kodi taking me a random number of tries to successfully quit Kodi and land on Raspberry OS's desktop. Any ideas?

Cheers!

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

Re: [Guide] Kodi on Raspberry Pi OS / Raspbian Buster

Wed Aug 19, 2020 5:04 pm

bscphil wrote:
Fri Jul 31, 2020 6:04 am
18.8 is now out, and I'm content to wait for a build of that (no pressure), but I'm wondering why there's no 18.7 in the official repositories yet, only in pipplware. For example this mirror only has 18.6 when 18.7 was built by mid-June: https://mirror.sfo12.us.leaseweb.net/ra ... in/k/kodi/
Kodi 18.7 is on the Raspberry Pi foundation repo (https://archive.raspberrypi.org/) not on Raspbian repo.
bscphil wrote:
Fri Jul 31, 2020 6:04 am
By the way, you might consider patching out Kodi's default update check, or disabling it by default if there's an option. This is pretty common for maintainers to do for software that's expected to be updated from a repository. Many Linux distribution maintainers patch out the Firefox update check, for example. There's no point in getting a popup about it if we're all waiting on a new release in the repo anyway.
I didn't do this before because I bet that then someone will come and complain that is Kodi doesn't warn of new versions anymore... But ok, I will do it for 18.8.
bscphil wrote:
Fri Jul 31, 2020 6:04 am
By the way (rest of this post not directed at rascas specifically), still seeing a little occasional jank on very high bitrate 1080p h264 files (stuff right at the limit of the Blu-ray specs), and also complex scenes in even moderate bitrate 10 bit SD h264 files. The former is disappointing since it's expected that players be able to decode this stuff (after all, it's in the Blu-ray spec). If anyone reading this is wondering whether to grab the Pi 4 + Kodi for an all purpose HTPC setup, I'd say the answer is still no. (Plus some skimming suggests that HDR is still not really supported, and I haven't even tested that. Definitely a no-go if you have an HDR TV.)
I haven't noticed any problem with h264 8bit files. h264 10bit files are not supported by the hardware decoder, it is software decoded so they might no be played properly. About the h264 8bit file, a full debug log + a sample file may help to find the problem.

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

Re: [Guide] Kodi on Raspberry Pi OS / Raspbian Buster

Wed Aug 19, 2020 5:07 pm

OMR wrote:
Fri Aug 07, 2020 12:16 pm
Pi 4, Kodi 18.7 from apt-get,
GPU V3D 4.2
OpenGL vendor: Broadcom
OpenGL version: ES 3.1 Mesa 19.3.2
DvbLogic/TV-Mosaic PVR client.
GPU memory split 512 (no change from 340)

Tried both 4k/30Hz and FullHD.

All works well, except for the TV stream dropping frames.
Seems to slow down every 2-3s and then trying to catch up.
Sound plays OK over HDMI.
Top for kodi a comfortable 15-20% CPU load.

tail from log when playback is started.

Anyone see something wrong?

Code: Select all

2020-08-07 14:03:28.154 T:2973457504  NOTICE: VideoPlayer::OpenFile: pvr://channels/tv/All channels/pvr.dvblink_206.pvr
2020-08-07 14:03:28.157 T:2522869968  NOTICE: Creating InputStream
2020-08-07 14:03:29.411 T:2522869968  NOTICE: Creating Demuxer
2020-08-07 14:03:29.547 T:2522869968  NOTICE: Opening stream: 0 source: 256
2020-08-07 14:03:29.547 T:2522869968 WARNING: OpenStream - Unsupported stream 0. Stream disabled.
2020-08-07 14:03:29.547 T:2522869968  NOTICE: Opening stream: 1 source: 256
2020-08-07 14:03:29.547 T:2522869968  NOTICE: Finding audio codec for: 86019
2020-08-07 14:03:29.548 T:2522869968  NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder ac3
2020-08-07 14:03:29.548 T:2522869968  NOTICE: Creating audio thread
2020-08-07 14:03:29.549 T:2522869968  NOTICE: Opening stream: 4 source: 256
2020-08-07 14:03:29.549 T:2522869968  NOTICE: Opening stream: 3 source: 256
2020-08-07 14:03:29.549 T:2522869968  NOTICE: waiting for teletext data thread to exit
2020-08-07 14:03:29.550 T:2522869968  NOTICE: Creating teletext data thread
2020-08-07 14:03:29.550 T:2413801680  NOTICE: running thread: CDVDTeletextData
2020-08-07 14:03:29.551 T:2522869968  NOTICE: CDVDDemuxFFmpeg::Read() stream change
2020-08-07 14:03:29.552 T:2522869968  NOTICE: Opening stream: 0 source: 256
2020-08-07 14:03:29.552 T:2522869968 WARNING: OpenStream - Unsupported stream 0. Stream disabled.
2020-08-07 14:03:29.552 T:2522869968  NOTICE: Opening stream: 1 source: 256
2020-08-07 14:03:29.552 T:2522869968  NOTICE: Closing stream player 3
2020-08-07 14:03:29.552 T:2522869968  NOTICE: Opening stream: 4 source: 256
2020-08-07 14:03:29.553 T:2522869968  NOTICE: Opening stream: 3 source: 256
2020-08-07 14:03:29.555 T:2472538320  NOTICE: running thread: CVideoPlayerAudio::Process()
2020-08-07 14:03:29.626 T:2522869968  NOTICE: CDVDDemuxFFmpeg::Read() stream change
2020-08-07 14:03:29.627 T:2522869968  NOTICE: Opening stream: 0 source: 256
2020-08-07 14:03:29.627 T:2522869968  NOTICE: Creating video codec with codec id: 27
2020-08-07 14:03:29.638 T:2522869968  NOTICE: Creating video thread
2020-08-07 14:03:29.638 T:2522869968  NOTICE: Opening stream: 1 source: 256
2020-08-07 14:03:29.639 T:2522869968  NOTICE: Closing stream player 3
2020-08-07 14:03:29.639 T:2522869968  NOTICE: Opening stream: 4 source: 256
2020-08-07 14:03:29.639 T:2522869968  NOTICE: Opening stream: 3 source: 256
2020-08-07 14:03:29.640 T:2462048464  NOTICE: running thread: video_thread
2020-08-07 14:03:29.652 T:2522869968  NOTICE: Opening stream: 0 source: 256
2020-08-07 14:03:29.653 T:2522869968  NOTICE: Opening stream: 1 source: 256
2020-08-07 14:03:29.653 T:2522869968  NOTICE: Finding audio codec for: 86019
2020-08-07 14:03:29.655 T:2522869968  NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder ac3
2020-08-07 14:03:29.655 T:2522869968  NOTICE: Closing stream player 3
2020-08-07 14:03:29.655 T:2522869968  NOTICE: Opening stream: 4 source: 256
2020-08-07 14:03:29.655 T:2522869968  NOTICE: Opening stream: 3 source: 256
2020-08-07 14:03:29.656 T:2472538320  NOTICE: Creating audio stream (codec id: 86019, channels: 2, sample rate: 48000, no pass-through)
2020-08-07 14:03:29.953 T:2522869968  NOTICE: CDVDDemuxFFmpeg::Read() stream change
2020-08-07 14:03:29.953 T:2522869968  NOTICE: Opening stream: 0 source: 256
2020-08-07 14:03:29.953 T:2522869968  NOTICE: Opening stream: 1 source: 256
2020-08-07 14:03:29.954 T:2522869968  NOTICE: Closing stream player 3
2020-08-07 14:03:29.954 T:2522869968  NOTICE: Opening stream: 4 source: 256
2020-08-07 14:03:29.954 T:2522869968  NOTICE: Opening stream: 3 source: 256
2020-08-07 14:03:30.175 T:2462048464 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2020-08-07 14:03:42.217 T:2944393424 WARNING: Previous line repeats 2 times.
2020-08-07 14:03:42.217 T:2944393424 WARNING: ActiveAE - large audio sync error: -89386.590696
2020-08-07 14:04:35.629 T:2944393424 WARNING: ActiveAE - large audio sync error: -89437.169904
For this a full debug log + a sample of the stream will help to find the cause.

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

Re: [Guide] Kodi on Raspberry Pi OS / Raspbian Buster

Wed Aug 19, 2020 5:10 pm

max11 wrote:
Sun Aug 02, 2020 3:26 pm
Custom shutdown timer problem

Hello Rascas,

when i press the "power button" in the main menu, i can select:
- exit
- poweroff system
- custom shutdown timer
- reboot
- Logoff A

I selected custom shutdown timer and defined the time (60 minutes). After 60 minutes kodi didn't shutdown but exited to Raspbian.
My setup: Raspi 4 4GB, Raspbian Buster (kernel 5.4.51-v7l+) Kodi 18.7 Git 20200528-2c5354e70a

With regards to "Logoff A" and changing the profiles, i mentioned in an earlier posting, that, defining profiles with different screen resolutions, the change of one profile to the other does not result in a change of the resolution. Is that correct?

Thanks
Max11
About the "Custom shutdown timer" it works fine here. A full debug log might help to find the cause, but it is probably some change that you did to your Raspbian instalation.

About the different screen resolutions in different profiles, I don't know, I never tried that. I recommend that you post your problem in the official Kodi forum, they know better.

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

Re: [Guide] Kodi on Raspberry Pi OS / Raspbian Buster

Wed Aug 19, 2020 5:14 pm

the_manchurian wrote:
Wed Aug 19, 2020 3:52 pm
Hi, I am experiencing Kodi not exiting to Raspberry OS, at least not on the first try. (RPi 4, Raspberry OS, Kodi 18.7)

I try to exit Kodi, then screen goes black, then it bounces back to Kodi taking me a random number of tries to successfully quit Kodi and land on Raspberry OS's desktop. Any ideas?

Cheers!
If Kodi restarts, it is because it crashed and you are using "kodi-standalone" instead of just "kodi". And if it is crashing, that is probably because of something not configured properly, maybe some faulty addon. A full debug log / crashlog is needed for more information.
Or use "kodi" instead of "kodi-standalone".

OMR
Posts: 7
Joined: Tue Jul 16, 2019 9:46 pm

Re: [Guide] Kodi on Raspberry Pi OS / Raspbian Buster

Thu Aug 20, 2020 8:47 pm

DVBlink/TV-Mosaic issue:
For this a full debug log + a sample of the stream will help to find the cause.
Thanks Rascas. Here we go.

Recording played via PVR Addon:
Sample file: (~550MB)
https://1drv.ms/v/s!Ak62_W4agNNTogaA0iA ... S?e=v3q1fm

Log file:
https://1drv.ms/t/s!Ak62_W4agNNTogV7x0C ... y?e=AkXFNJ

Logs and behavior are the same if I play the .ts file from Videos, pointing directly at the file in Files.
File plays fine on another (Win) client.

Source is a Win mount, and all other fullHD movies plays fine, (even with 5.1 dts sound.)

fa4hu
Posts: 2
Joined: Tue Aug 25, 2020 7:50 am

Re: [Guide] Kodi on Raspberry Pi OS / Raspbian Buster

Tue Aug 25, 2020 7:54 am

Hello,

I have a problem with Kodi install:

Code: Select all

root@raspberrypi:/home/pi# sudo apt install kodi --fix-missing -y
Csomaglisták olvasása... Kész
Függőségi fa építése       
Állapotinformációk olvasása... Kész
A következő további csomagok lesznek telepítve:
  kodi-bin libao-common libao4 libcec4 libfstrcmp0 libiso9660-11 liblzo2-2
  libmariadb3 libmicrohttpd12 libp8-platform2 libpcrecpp0v5
  libpulse-mainloop-glib0 libshairplay0 libtinyxml2.6.2v5 libva1
  mariadb-common mysql-common python-bluez
Javasolt csomagok:
  kodi-pvr-mythtv kodi-pvr-vuplus kodi-pvr-vdr-vnsi kodi-pvr-njoy
  kodi-pvr-nextpvr kodi-pvr-mediaportal-tvserver kodi-pvr-tvheadend-hts
  kodi-pvr-dvbviewer kodi-pvr-argustv kodi-pvr-iptvsimple
  kodi-audioencoder-vorbis kodi-audioencoder-flac kodi-audioencoder-lame
  libaudio2 libsndio6.1
Ajánlott csomagok:
  libva-intel-vaapi-driver
Az alábbi ÚJ csomagok lesznek telepítve:
  kodi kodi-bin libao-common libao4 libcec4 libfstrcmp0 libiso9660-11
  liblzo2-2 libmariadb3 libmicrohttpd12 libp8-platform2 libpcrecpp0v5
  libpulse-mainloop-glib0 libshairplay0 libtinyxml2.6.2v5 libva1
  mariadb-common mysql-common python-bluez
0 frissített, 19 újonnan telepített, 0 eltávolítandó és 0 nem frissített.
Letöltendő adatmennyiség: 109 kB/41,1 MB.
A művelet után 70,1 MB lemezterület kerül felhasználásra.
Hiba:1 http://pipplware.pplware.pt/pipplware/dists/unstable/main/binary  libshairplay0 0.9.0+git20180824.096b61a-1~stretch
  404  Not Found [IP: 176.221.32.193 80]
Nem lehet javítani a hiányzó csomagokat.
E: Sikertelen letöltés: http://pipplware.pplware.pt/pipplware/dists/unstable/main/binary/./libshairplay0_0.9.0+git20180824.096b61a-1~stretch_armhf.deb  404  Not Found [IP: 176.221.32.193 80]
E: Telepítés megszakítása.
What can I do? Thanks!

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

Re: [Guide] Kodi on Raspberry Pi OS / Raspbian Buster

Tue Aug 25, 2020 11:44 am

OMR wrote:
Thu Aug 20, 2020 8:47 pm
DVBlink/TV-Mosaic issue:
For this a full debug log + a sample of the stream will help to find the cause.
Thanks Rascas. Here we go.

Recording played via PVR Addon:
Sample file: (~550MB)
https://1drv.ms/v/s!Ak62_W4agNNTogaA0iA ... S?e=v3q1fm

Log file:
https://1drv.ms/t/s!Ak62_W4agNNTogV7x0C ... y?e=AkXFNJ

Logs and behavior are the same if I play the .ts file from Videos, pointing directly at the file in Files.
File plays fine on another (Win) client.

Source is a Win mount, and all other fullHD movies plays fine, (even with 5.1 dts sound.)
I tested your sample and don't see any problem with it, no frame skipping at all. Are you sure it happens to you also playing the sample?
If yes, it may be some Kodi/Raspbian configuration on your part. If not maybe a PVR back/frontend bug/problem.

titou43
Posts: 5
Joined: Mon Dec 11, 2017 10:10 pm

Re: [Guide] Kodi on Raspberry Pi OS / Raspbian Buster

Sat Aug 29, 2020 7:43 pm

Hello
I have downloaded the last raspberry OS and reinstall Kodi 18.7....

At the first starting of Kodi I have the message like this " update 18.8 ...."
But how to have this update ?

With the update command Kodi not come to 18.8

Many thanks

dpirex
Posts: 1
Joined: Sun Aug 30, 2020 1:47 pm

Re: [Guide] Kodi on Raspberry Pi OS / Raspbian Buster

Sun Aug 30, 2020 3:03 pm

Hi guys, thanks for the awesome job.

I've installed kodi yesterday in my Pi 4 4GB and there's a problem with the audio. seems to mute for a second frequently (every few secs).

I have a fresh install and just followed the tutorial.

OMR
Posts: 7
Joined: Tue Jul 16, 2019 9:46 pm

Re: [Guide] Kodi on Raspberry Pi OS / Raspbian Buster

Mon Aug 31, 2020 7:22 am

I tested your sample and don't see any problem with it, no frame skipping at all. Are you sure it happens to you also playing the sample?
If yes, it may be some Kodi/Raspbian configuration on your part. If not maybe a PVR back/frontend bug/problem.
Yes, and it also happens when playing a DVD RIP, so it seems like it is perhaps mpeg2 related?
How can I make sure I am using the right codec?

gkreidl
Posts: 6347
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: [Guide] Kodi on Raspberry Pi OS / Raspbian Buster

Mon Aug 31, 2020 10:30 am

OMR wrote:
Mon Aug 31, 2020 7:22 am


Yes, and it also happens when playing a DVD RIP, so it seems like it is perhaps mpeg2 related?
How can I make sure I am using the right codec?
The codecs are all there. If you have a pre-RPi4-model you can improve MPEG2 performance by buying the MPEG2 HW codec licence.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

Return to “Raspberry Pi OS”