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

Re: [Guide] Kodi on Raspbian Buster

Sun Jan 26, 2020 6:30 pm

calanor wrote:
Sun Jan 26, 2020 5:50 pm
Rascas wrote: Kodi updated to 18.5 and all binary addons also updated to latest stable version.
No specific Raspbian changes.

Just update and upgrade the packages has you normally do.*

*Note that this packages are not yet available on Raspberry Pi repos, you have to wait a little bit.
Hello Rascas,
I have 18.4 installed from pipplware repo. Can I simply remove pipplware.list from soucce.list, and do a update/upgrade from raspbian buster repo?

Thanks
Yes, the Kodi versions are the same.

Lipown
Posts: 124
Joined: Sun Oct 13, 2019 8:32 am

Re: [Guide] Kodi on Raspbian Buster

Wed Feb 05, 2020 12:20 pm

I am not able to download youtube plugin since updated Kodi. Any solution please?

derders
Posts: 24
Joined: Sun Apr 02, 2017 5:26 pm

Re: [Guide] Kodi on Raspbian Buster

Fri Feb 07, 2020 8:25 pm

Lipown wrote:
Wed Feb 05, 2020 12:20 pm
I am not able to download youtube plugin since updated Kodi. Any solution please?
youtube for Kodi is a normal python addon and not a binary addon so normally it should work.

what are your steps?
download? it was installed and if you click on update youtube addon it doesen't work? you got an addon failure?
Kodi log after update/install?

you tried to delete .kodi/addons/plugin.video.youtube / restart / reinstall?

Lipown
Posts: 124
Joined: Sun Oct 13, 2019 8:32 am

Re: [Guide] Kodi on Raspbian Buster

Sun Feb 09, 2020 10:28 am

derders wrote:
Fri Feb 07, 2020 8:25 pm
Lipown wrote:
Wed Feb 05, 2020 12:20 pm
I am not able to download youtube plugin since updated Kodi. Any solution please?
youtube for Kodi is a normal python addon and not a binary addon so normally it should work.

what are your steps?
download? it was installed and if you click on update youtube addon it doesen't work? you got an addon failure?
Kodi log after update/install?

you tried to delete .kodi/addons/plugin.video.youtube / restart / reinstall?
I tried to install it yesterday and it worked without any issues. Unfortunately I don't know what happened. Did cleared the cache, deleted the folder you mentioned, restarted and it did not worked. Probably some update fixed it.

KjetilK
Posts: 5
Joined: Sun Dec 15, 2019 11:56 pm

Re: [Guide] Kodi on Raspbian Buster

Mon Feb 10, 2020 6:33 pm

I really love that Kodi works so well on Raspbian, it is really valuable to be able to run it on an OS that is very close to what I use on all my other computers. Thanks a lot for that!

Since upgrading audio and CEC remote broke for me. The whole thing is pretty weird, it started since I didn't have DTS passthrough working, but everything else was working perfectly. Reading this thread, I did an upgrade. I just checked the movie that didn't work, and it looked OK, and then went to bed, and then, the next morning, things weren't working. :?

I have an RPi4, with this config:

Code: Select all

2020-02-10 18:04:46.539 T:2973367392  NOTICE: Raspberry PI firmware version: Jan 30 2020 13:50:45 
                                            Copyright (c) 2012 Broadcom
                                            version 8f792e011c8a0ea3c5d47e7cc10172cc10b93c09 (clean) (release) (start)
2020-02-10 18:04:46.539 T:2973367392  NOTICE: ARM mem: 864MB GPU mem: 160MB MPG2:0 WVC1:0
2020-02-10 18:04:46.539 T:2973367392  NOTICE: Config:
                                            arm_freq=1500
                                            audio_pwm_mode=514
                                            config_hdmi_boost=5
                                            core_freq=500
                                            core_freq_min=200
                                            disable_commandline_tags=2
                                            disable_l2cache=1
                                            display_hdmi_rotate=-1
                                            display_lcd_rotate=-1
                                            enable_gic=1
                                            force_eeprom_read=1
                                            force_pwm_open=1
                                            framebuffer_ignore_alpha=1
                                            framebuffer_swap=1
                                            gpu_freq=500
                                            gpu_freq_min=250
                                            hdmi_channel_map=8
                                            init_uart_clock=0x2dc6c00
                                            lcd_framerate=60
                                            mask_gpu_interrupt0=1024
                                            mask_gpu_interrupt1=0x10000
                                            max_framebuffers=2
                                            over_voltage_avs=-23750
                                            pause_burst_frames=1
                                            program_serial_random=1
                                            total_mem=1024
                                            hdmi_force_cec_address:0=65535
                                            hdmi_force_cec_address:1=65535
                                            hdmi_pixel_freq_limit:0=0x11e1a300
                                            hdmi_pixel_freq_limit:1=0x11e1a300
2020-02-10 18:04:46.539 T:2973367392  NOTICE: Config:
                                            device_tree=-
                                            overlay_prefix=overlays/
                                            hdmi_cvt:0=
                                            hdmi_cvt:1=
                                            hdmi_edid_filename:0=
                                            hdmi_edid_filename:1=
                                            hdmi_timings:0=
                                            hdmi_timings:1=
For the remote, I see the CEC plugin starting. Usually, something reports that RC remote is enabled shortly thereafter, but that usually doesn't happen now. I have seen it happening if I connect an USB keyboard. But it seems unstable. Sometimes, I see permission errors on /var/run/lirc/lircd , something I don't. It doesn't seem to be created, though. Sometimes it works for a few minutes, then stops working again.

This what I see in the logs:

Code: Select all

root@stua:/home/pi/.kodi/temp# grep -i cec kodi.log 
2020-02-10 18:04:50.375 T:2973367392   DEBUG: LoadMappings - loaded node "CEC Adapter"
2020-02-10 18:04:50.375 T:2973367392   DEBUG: LoadMappings - loaded node "Pulse-Eight CEC Adapter"
2020-02-10 18:04:50.380 T:2722091216   DEBUG: Thread PeripBusCEC start, auto delete: false
2020-02-10 18:04:50.838 T:2722091216   DEBUG: GetMappingForDevice - device (2708:1001) mapped to CEC Adapter (type = cec)
2020-02-10 18:04:50.840 T:2722091216   DEBUG: InitialiseFeature - using libCEC v4.0.4
2020-02-10 18:04:50.842 T:2722091216  NOTICE: Register - new cec device registered on cec->RPI: CEC Adapter (2708:1001)
2020-02-10 18:04:50.842 T:2722091216   DEBUG: Thread PeripBusCEC 2722091216 terminating
2020-02-10 18:04:50.842 T:2555375824   DEBUG: Thread CECAdapter start, auto delete: false
2020-02-10 18:04:50.842 T:2555375824   DEBUG: OpenConnection - opening a connection to the CEC adapter: RPI
2020-02-10 18:09:36.844 T:2603094224   DEBUG: PushCecKeypress - received key a8 duration 0
2020-02-10 18:09:42.846 T:2555375824   DEBUG: OpenConnection - connection to the CEC adapter opened
2020-02-10 18:09:42.846 T:2555375824   DEBUG: SetConfigurationFromLibCEC - settings updated by libCEC
2020-02-10 18:09:42.846 T:2688520400   DEBUG: Thread CECAdapterUpdate start, auto delete: false
2020-02-10 18:09:51.849 T:2603094224   DEBUG: PushCecKeypress - received key a8 duration 15005
2020-02-10 18:11:17.906 T:2603094224   DEBUG: PushCecKeypress - received key a8 duration 0
2020-02-10 18:11:26.912 T:2688520400   DEBUG: UpdateAudioSystemStatus - no CEC capable amplifier found
2020-02-10 18:11:29.915 T:2603094224   DEBUG: PushCecKeypress - received key a8 duration 0
2020-02-10 18:11:37.418 T:2603094224   DEBUG: PushCecKeypress - received key a8 duration 0
I'm not seeing any more recent keypresses.

I have little to go on with regards to the audio. I use HDMI, with an audio splitter with optical SPDIF. I used to have only HDMI output, now I have analog+HDMI and analog audio is working, so right now, I'm sending analog to the speakers, but it is a 5.1 setup, so I rather want that.

I'm not getting sound on HDMI with speaker-test.

This is what I get when grepping logs:

Code: Select all

root@stua:/home/pi/.kodi/temp# grep -i audio kodi.log 
2020-02-10 18:04:45.912 T:2973367392  NOTICE: Default Audio Player: paplayer
2020-02-10 18:04:46.023 T:2973367392  NOTICE: PulseAudio: Server not running
2020-02-10 18:04:46.280 T:2973367392  NOTICE: ADDON: audioencoder.flac v2.0.5 installed
2020-02-10 18:04:46.280 T:2973367392  NOTICE: ADDON: audioencoder.kodi.builtin.aac v1.0.0 installed
2020-02-10 18:04:46.280 T:2973367392  NOTICE: ADDON: audioencoder.kodi.builtin.wma v1.0.0 installed
2020-02-10 18:04:46.280 T:2973367392  NOTICE: ADDON: audioencoder.lame v2.0.3 installed
2020-02-10 18:04:46.280 T:2973367392  NOTICE: ADDON: audioencoder.vorbis v2.0.3 installed
2020-02-10 18:04:46.280 T:2973367392  NOTICE: ADDON: kodi.binary.global.audioengine v1.0.1 installed
2020-02-10 18:04:46.280 T:2973367392  NOTICE: ADDON: kodi.binary.instance.audiodecoder v2.0.0 installed
2020-02-10 18:04:46.280 T:2973367392  NOTICE: ADDON: kodi.binary.instance.audioencoder v2.0.0 installed
2020-02-10 18:04:46.281 T:2973367392  NOTICE: ADDON: metadata.common.theaudiodb.com v2.0.3 installed
2020-02-10 18:04:46.472 T:2931814608   DEBUG: CAESinkPi:SetAudioProps hdmi_stream_channels 0 hdmi_channel_map 00000008
2020-02-10 18:04:46.473 T:2931814608   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_render input port 100 output port 100 m_handle 0xae203180
2020-02-10 18:04:46.474 T:2931814608   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_splitter input port 261 output port 262 m_handle 0xae202788
2020-02-10 18:04:46.475 T:2931814608   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_render input port 100 output port 100 m_handle 0xae200668
2020-02-10 18:04:46.476 T:2931814608   DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.audio_splitter) - port(261), nBufferCountMin(2), nBufferCountActual(2), nBufferSize(17664), nBufferAlignment(32)
                                            audio_pwm_mode=514
2020-02-10 18:04:49.606 T:2973367392   DEBUG: LocalizeStrings: loaded 2 strings from file /usr/share/kodi/addons/audioencoder.flac/resources/language/resource.language.en_gb/strings.po
2020-02-10 18:04:49.608 T:2973367392   DEBUG: LocalizeStrings: loaded 1 strings from file /usr/share/kodi/addons/audioencoder.kodi.builtin.aac/resources/language/English/strings.po
2020-02-10 18:04:49.611 T:2973367392   DEBUG: LocalizeStrings: loaded 1 strings from file /usr/share/kodi/addons/audioencoder.kodi.builtin.wma/resources/language/English/strings.po
2020-02-10 18:04:49.613 T:2973367392   DEBUG: LocalizeStrings: loaded 9 strings from file /usr/share/kodi/addons/audioencoder.lame/resources/language/resource.language.en_gb/strings.po
2020-02-10 18:04:49.616 T:2973367392   DEBUG: LocalizeStrings: loaded 9 strings from file /usr/share/kodi/addons/audioencoder.vorbis/resources/language/resource.language.en_gb/strings.po
2020-02-10 18:04:50.262 T:2973367392   DEBUG: CDirectoryProvider[addons://sources/audio/]: refreshing..
2020-02-10 18:04:50.423 T:2973367392   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
2020-02-10 18:04:50.423 T:2973367392   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
2020-02-10 18:10:05.763 T:2973367392   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
2020-02-10 18:10:05.764 T:2973367392   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
2020-02-10 18:10:05.867 T:2503995600    INFO: ffmpeg[953FF0D0]:     Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
2020-02-10 18:10:05.884 T:2503995600  NOTICE: Finding audio codec for: 86018
2020-02-10 18:10:05.885 T:2503995600  NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2020-02-10 18:10:05.885 T:2503995600  NOTICE: Creating audio thread
2020-02-10 18:10:05.892 T:2478817488   DEBUG: Thread VideoPlayerAudio start, auto delete: false
2020-02-10 18:10:05.892 T:2478817488  NOTICE: running thread: CVideoPlayerAudio::Process()
2020-02-10 18:10:05.892 T:2478817488   DEBUG: CVideoPlayerAudio - CDVDMsg::GENERAL_PAUSE: 0
2020-02-10 18:10:05.892 T:2478817488   DEBUG: CDVDAudio::Pause - pausing audio stream
2020-02-10 18:10:05.894 T:2478817488  NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through)
2020-02-10 18:10:05.894 T:2478817488   DEBUG: CVideoPlayerAudio:: synctype set to 0: clock feedback
2020-02-10 18:10:06.024 T:2931814608   DEBUG: CAESinkPi:SetAudioProps hdmi_stream_channels 0 hdmi_channel_map 00000000
2020-02-10 18:10:06.028 T:2931814608   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.audio_splitter handle 0xae202788
2020-02-10 18:10:06.029 T:2931814608   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.audio_render handle 0xae203180
2020-02-10 18:10:06.030 T:2931814608   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.audio_render handle 0xae200668
2020-02-10 18:10:06.031 T:2931814608   DEBUG: CAESinkPi:SetAudioProps hdmi_stream_channels 0 hdmi_channel_map 00000008
2020-02-10 18:10:06.032 T:2931814608   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_render input port 100 output port 100 m_handle 0xae203180
2020-02-10 18:10:06.033 T:2931814608   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_splitter input port 261 output port 262 m_handle 0xae202788
2020-02-10 18:10:06.034 T:2931814608   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_render input port 100 output port 100 m_handle 0x9a9a5468
2020-02-10 18:10:06.035 T:2931814608   DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.audio_splitter) - port(261), nBufferCountMin(2), nBufferCountActual(2), nBufferSize(19200), nBufferAlignment(32)
2020-02-10 18:10:06.058 T:2503995600   DEBUG: VideoPlayer::Sync - Audio - pts: 321000.000000, cache: 368554.497452, totalcache: 699999.988079
2020-02-10 18:10:06.058 T:2478817488   DEBUG: CVideoPlayerAudio - CDVDMsg::GENERAL_RESYNC(-100000.000000), level: 47, cache: 404064.885785
2020-02-10 18:10:06.059 T:2478817488   DEBUG: CDVDAudio::Resume - resume audio stream
2020-02-10 18:10:06.059 T:2942300368   DEBUG: ActiveAE - start sync of audio stream
2020-02-10 18:10:07.213 T:2478817488   DEBUG: CDVDClock::ErrorAdjust - CVideoPlayerAudio::OutputPacket - error:-30357.780231, adjusted:-33333.333333
2020-02-10 18:10:16.274 T:2973367392   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
2020-02-10 18:10:16.274 T:2973367392   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
2020-02-10 18:10:16.362 T:2478817488   DEBUG: CDVDAudio::Flush - flush audio stream
2020-02-10 18:10:16.362 T:2478817488   DEBUG: CDVDAudio::Pause - pausing audio stream
2020-02-10 18:10:16.362 T:2478817488   DEBUG: CVideoPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
2020-02-10 18:10:16.372 T:2478817488   DEBUG: CDVDAudio::Pause - pausing audio stream
2020-02-10 18:10:16.468 T:2503995600    INFO: ffmpeg[953FF0D0]:     Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 256 kb/s (default)
2020-02-10 18:10:16.476 T:2503995600  NOTICE: Finding audio codec for: 86018
2020-02-10 18:10:16.477 T:2503995600  NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2020-02-10 18:10:16.483 T:2478817488   DEBUG: CVideoPlayerAudio - CDVDMsg::GENERAL_PAUSE: 0
2020-02-10 18:10:16.483 T:2478817488   DEBUG: CDVDAudio::Pause - pausing audio stream
2020-02-10 18:10:16.484 T:2478817488   DEBUG: CVideoPlayerAudio:: synctype set to 0: clock feedback
2020-02-10 18:10:16.654 T:2503995600   DEBUG: VideoPlayer::Sync - Audio - pts: 298666.000000, cache: 395996.496785, totalcache: 699999.988079
2020-02-10 18:10:16.654 T:2478817488   DEBUG: CVideoPlayerAudio - CDVDMsg::GENERAL_RESYNC(-100000.000000), level: 47, cache: 378432.219119
2020-02-10 18:10:16.654 T:2478817488   DEBUG: CDVDAudio::Resume - resume audio stream
2020-02-10 18:10:16.654 T:2942300368   DEBUG: ActiveAE - start sync of audio stream
2020-02-10 18:10:17.785 T:2478817488   DEBUG: CDVDClock::ErrorAdjust - CVideoPlayerAudio::OutputPacket - error:-29970.305302, adjusted:-29970.305302
2020-02-10 18:11:26.912 T:2688520400   DEBUG: UpdateAudioSystemStatus - no CEC capable amplifier found
2020-02-10 18:11:38.494 T:2478817488   DEBUG: CDVDClock::ErrorAdjust - CVideoPlayerAudio::OutputPacket - error:-10093.392832, adjusted:-10093.392832
2020-02-10 18:11:56.845 T:2478817488   DEBUG: CVideoPlayerAudio - CDVDMsg::GENERAL_EOF
2020-02-10 18:11:56.923 T:2503995600  NOTICE: CDVDMessageQueue(audio)::WaitUntilEmpty
2020-02-10 18:11:56.924 T:2503995600  NOTICE: Waiting for audio thread to exit
2020-02-10 18:11:56.924 T:2478817488   DEBUG: CVideoPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
2020-02-10 18:11:56.924 T:2478817488  NOTICE: thread end: CVideoPlayerAudio::OnExit()
2020-02-10 18:11:56.924 T:2503995600  NOTICE: Closing audio device
2020-02-10 18:11:56.924 T:2478817488   DEBUG: Thread VideoPlayerAudio 2478817488 terminating
2020-02-10 18:11:57.046 T:2942300368   DEBUG: CActiveAE::DiscardStream - audio stream deleted
2020-02-10 18:11:57.046 T:2503995600  NOTICE: Deleting audio codec
2020-02-10 18:11:57.397 T:2931814608   DEBUG: CAESinkPi:SetAudioProps hdmi_stream_channels 0 hdmi_channel_map 00000000
2020-02-10 18:11:57.407 T:2931814608   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.audio_splitter handle 0xae202788
2020-02-10 18:11:57.408 T:2931814608   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.audio_render handle 0xae203180
2020-02-10 18:11:57.409 T:2931814608   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.audio_render handle 0x9a9a5468
2020-02-10 18:11:57.410 T:2931814608   DEBUG: CAESinkPi:SetAudioProps hdmi_stream_channels 0 hdmi_channel_map 00000008
2020-02-10 18:11:57.411 T:2931814608   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_render input port 100 output port 100 m_handle 0xae225d58
2020-02-10 18:11:57.413 T:2931814608   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_splitter input port 261 output port 262 m_handle 0x9a9bd9b8
2020-02-10 18:11:57.414 T:2931814608   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_render input port 100 output port 100 m_handle 0xae2f7ee8
2020-02-10 18:11:57.416 T:2931814608   DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.audio_splitter) - port(261), nBufferCountMin(2), nBufferCountActual(2), nBufferSize(17664), nBufferAlignment(32)
2020-02-10 18:13:07.529 T:2931814608   DEBUG: CAESinkPi:SetAudioProps hdmi_stream_channels 0 hdmi_channel_map 00000000
2020-02-10 18:13:07.535 T:2931814608   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.audio_splitter handle 0x9a9bd9b8
2020-02-10 18:13:07.536 T:2931814608   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.audio_render handle 0xae225d58
2020-02-10 18:13:07.538 T:2931814608   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.audio_render handle 0xae2f7ee8

I have now tried another upgrade, so I have the latest kernel too. I have also tried with a different RPi4, so it doesn't appear to be a hardware problem. I have tried a lot of different configurations on Kodi's side, but only the attempt to add analog output has made a difference.

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

Re: [Guide] Kodi on Raspbian Buster

Wed Feb 12, 2020 5:03 pm

KjetilK wrote:
Mon Feb 10, 2020 6:33 pm
I really love that Kodi works so well on Raspbian, it is really valuable to be able to run it on an OS that is very close to what I use on all my other computers. Thanks a lot for that!

Since upgrading audio and CEC remote broke for me. The whole thing is pretty weird, it started since I didn't have DTS passthrough working, but everything else was working perfectly. Reading this thread, I did an upgrade. I just checked the movie that didn't work, and it looked OK, and then went to bed, and then, the next morning, things weren't working. :?

I have an RPi4, with this config:

Code: Select all

2020-02-10 18:04:46.539 T:2973367392  NOTICE: Raspberry PI firmware version: Jan 30 2020 13:50:45 
                                            Copyright (c) 2012 Broadcom
                                            version 8f792e011c8a0ea3c5d47e7cc10172cc10b93c09 (clean) (release) (start)
2020-02-10 18:04:46.539 T:2973367392  NOTICE: ARM mem: 864MB GPU mem: 160MB MPG2:0 WVC1:0
2020-02-10 18:04:46.539 T:2973367392  NOTICE: Config:
                                            arm_freq=1500
                                            audio_pwm_mode=514
                                            config_hdmi_boost=5
                                            core_freq=500
                                            core_freq_min=200
                                            disable_commandline_tags=2
                                            disable_l2cache=1
                                            display_hdmi_rotate=-1
                                            display_lcd_rotate=-1
                                            enable_gic=1
                                            force_eeprom_read=1
                                            force_pwm_open=1
                                            framebuffer_ignore_alpha=1
                                            framebuffer_swap=1
                                            gpu_freq=500
                                            gpu_freq_min=250
                                            hdmi_channel_map=8
                                            init_uart_clock=0x2dc6c00
                                            lcd_framerate=60
                                            mask_gpu_interrupt0=1024
                                            mask_gpu_interrupt1=0x10000
                                            max_framebuffers=2
                                            over_voltage_avs=-23750
                                            pause_burst_frames=1
                                            program_serial_random=1
                                            total_mem=1024
                                            hdmi_force_cec_address:0=65535
                                            hdmi_force_cec_address:1=65535
                                            hdmi_pixel_freq_limit:0=0x11e1a300
                                            hdmi_pixel_freq_limit:1=0x11e1a300
2020-02-10 18:04:46.539 T:2973367392  NOTICE: Config:
                                            device_tree=-
                                            overlay_prefix=overlays/
                                            hdmi_cvt:0=
                                            hdmi_cvt:1=
                                            hdmi_edid_filename:0=
                                            hdmi_edid_filename:1=
                                            hdmi_timings:0=
                                            hdmi_timings:1=
For the remote, I see the CEC plugin starting. Usually, something reports that RC remote is enabled shortly thereafter, but that usually doesn't happen now. I have seen it happening if I connect an USB keyboard. But it seems unstable. Sometimes, I see permission errors on /var/run/lirc/lircd , something I don't. It doesn't seem to be created, though. Sometimes it works for a few minutes, then stops working again.

This what I see in the logs:

Code: Select all

root@stua:/home/pi/.kodi/temp# grep -i cec kodi.log 
2020-02-10 18:04:50.375 T:2973367392   DEBUG: LoadMappings - loaded node "CEC Adapter"
2020-02-10 18:04:50.375 T:2973367392   DEBUG: LoadMappings - loaded node "Pulse-Eight CEC Adapter"
2020-02-10 18:04:50.380 T:2722091216   DEBUG: Thread PeripBusCEC start, auto delete: false
2020-02-10 18:04:50.838 T:2722091216   DEBUG: GetMappingForDevice - device (2708:1001) mapped to CEC Adapter (type = cec)
2020-02-10 18:04:50.840 T:2722091216   DEBUG: InitialiseFeature - using libCEC v4.0.4
2020-02-10 18:04:50.842 T:2722091216  NOTICE: Register - new cec device registered on cec->RPI: CEC Adapter (2708:1001)
2020-02-10 18:04:50.842 T:2722091216   DEBUG: Thread PeripBusCEC 2722091216 terminating
2020-02-10 18:04:50.842 T:2555375824   DEBUG: Thread CECAdapter start, auto delete: false
2020-02-10 18:04:50.842 T:2555375824   DEBUG: OpenConnection - opening a connection to the CEC adapter: RPI
2020-02-10 18:09:36.844 T:2603094224   DEBUG: PushCecKeypress - received key a8 duration 0
2020-02-10 18:09:42.846 T:2555375824   DEBUG: OpenConnection - connection to the CEC adapter opened
2020-02-10 18:09:42.846 T:2555375824   DEBUG: SetConfigurationFromLibCEC - settings updated by libCEC
2020-02-10 18:09:42.846 T:2688520400   DEBUG: Thread CECAdapterUpdate start, auto delete: false
2020-02-10 18:09:51.849 T:2603094224   DEBUG: PushCecKeypress - received key a8 duration 15005
2020-02-10 18:11:17.906 T:2603094224   DEBUG: PushCecKeypress - received key a8 duration 0
2020-02-10 18:11:26.912 T:2688520400   DEBUG: UpdateAudioSystemStatus - no CEC capable amplifier found
2020-02-10 18:11:29.915 T:2603094224   DEBUG: PushCecKeypress - received key a8 duration 0
2020-02-10 18:11:37.418 T:2603094224   DEBUG: PushCecKeypress - received key a8 duration 0
I'm not seeing any more recent keypresses.

I have little to go on with regards to the audio. I use HDMI, with an audio splitter with optical SPDIF. I used to have only HDMI output, now I have analog+HDMI and analog audio is working, so right now, I'm sending analog to the speakers, but it is a 5.1 setup, so I rather want that.

I'm not getting sound on HDMI with speaker-test.

This is what I get when grepping logs:

Code: Select all

root@stua:/home/pi/.kodi/temp# grep -i audio kodi.log 
2020-02-10 18:04:45.912 T:2973367392  NOTICE: Default Audio Player: paplayer
2020-02-10 18:04:46.023 T:2973367392  NOTICE: PulseAudio: Server not running
2020-02-10 18:04:46.280 T:2973367392  NOTICE: ADDON: audioencoder.flac v2.0.5 installed
2020-02-10 18:04:46.280 T:2973367392  NOTICE: ADDON: audioencoder.kodi.builtin.aac v1.0.0 installed
2020-02-10 18:04:46.280 T:2973367392  NOTICE: ADDON: audioencoder.kodi.builtin.wma v1.0.0 installed
2020-02-10 18:04:46.280 T:2973367392  NOTICE: ADDON: audioencoder.lame v2.0.3 installed
2020-02-10 18:04:46.280 T:2973367392  NOTICE: ADDON: audioencoder.vorbis v2.0.3 installed
2020-02-10 18:04:46.280 T:2973367392  NOTICE: ADDON: kodi.binary.global.audioengine v1.0.1 installed
2020-02-10 18:04:46.280 T:2973367392  NOTICE: ADDON: kodi.binary.instance.audiodecoder v2.0.0 installed
2020-02-10 18:04:46.280 T:2973367392  NOTICE: ADDON: kodi.binary.instance.audioencoder v2.0.0 installed
2020-02-10 18:04:46.281 T:2973367392  NOTICE: ADDON: metadata.common.theaudiodb.com v2.0.3 installed
2020-02-10 18:04:46.472 T:2931814608   DEBUG: CAESinkPi:SetAudioProps hdmi_stream_channels 0 hdmi_channel_map 00000008
2020-02-10 18:04:46.473 T:2931814608   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_render input port 100 output port 100 m_handle 0xae203180
2020-02-10 18:04:46.474 T:2931814608   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_splitter input port 261 output port 262 m_handle 0xae202788
2020-02-10 18:04:46.475 T:2931814608   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_render input port 100 output port 100 m_handle 0xae200668
2020-02-10 18:04:46.476 T:2931814608   DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.audio_splitter) - port(261), nBufferCountMin(2), nBufferCountActual(2), nBufferSize(17664), nBufferAlignment(32)
                                            audio_pwm_mode=514
2020-02-10 18:04:49.606 T:2973367392   DEBUG: LocalizeStrings: loaded 2 strings from file /usr/share/kodi/addons/audioencoder.flac/resources/language/resource.language.en_gb/strings.po
2020-02-10 18:04:49.608 T:2973367392   DEBUG: LocalizeStrings: loaded 1 strings from file /usr/share/kodi/addons/audioencoder.kodi.builtin.aac/resources/language/English/strings.po
2020-02-10 18:04:49.611 T:2973367392   DEBUG: LocalizeStrings: loaded 1 strings from file /usr/share/kodi/addons/audioencoder.kodi.builtin.wma/resources/language/English/strings.po
2020-02-10 18:04:49.613 T:2973367392   DEBUG: LocalizeStrings: loaded 9 strings from file /usr/share/kodi/addons/audioencoder.lame/resources/language/resource.language.en_gb/strings.po
2020-02-10 18:04:49.616 T:2973367392   DEBUG: LocalizeStrings: loaded 9 strings from file /usr/share/kodi/addons/audioencoder.vorbis/resources/language/resource.language.en_gb/strings.po
2020-02-10 18:04:50.262 T:2973367392   DEBUG: CDirectoryProvider[addons://sources/audio/]: refreshing..
2020-02-10 18:04:50.423 T:2973367392   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
2020-02-10 18:04:50.423 T:2973367392   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
2020-02-10 18:10:05.763 T:2973367392   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
2020-02-10 18:10:05.764 T:2973367392   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
2020-02-10 18:10:05.867 T:2503995600    INFO: ffmpeg[953FF0D0]:     Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
2020-02-10 18:10:05.884 T:2503995600  NOTICE: Finding audio codec for: 86018
2020-02-10 18:10:05.885 T:2503995600  NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2020-02-10 18:10:05.885 T:2503995600  NOTICE: Creating audio thread
2020-02-10 18:10:05.892 T:2478817488   DEBUG: Thread VideoPlayerAudio start, auto delete: false
2020-02-10 18:10:05.892 T:2478817488  NOTICE: running thread: CVideoPlayerAudio::Process()
2020-02-10 18:10:05.892 T:2478817488   DEBUG: CVideoPlayerAudio - CDVDMsg::GENERAL_PAUSE: 0
2020-02-10 18:10:05.892 T:2478817488   DEBUG: CDVDAudio::Pause - pausing audio stream
2020-02-10 18:10:05.894 T:2478817488  NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through)
2020-02-10 18:10:05.894 T:2478817488   DEBUG: CVideoPlayerAudio:: synctype set to 0: clock feedback
2020-02-10 18:10:06.024 T:2931814608   DEBUG: CAESinkPi:SetAudioProps hdmi_stream_channels 0 hdmi_channel_map 00000000
2020-02-10 18:10:06.028 T:2931814608   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.audio_splitter handle 0xae202788
2020-02-10 18:10:06.029 T:2931814608   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.audio_render handle 0xae203180
2020-02-10 18:10:06.030 T:2931814608   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.audio_render handle 0xae200668
2020-02-10 18:10:06.031 T:2931814608   DEBUG: CAESinkPi:SetAudioProps hdmi_stream_channels 0 hdmi_channel_map 00000008
2020-02-10 18:10:06.032 T:2931814608   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_render input port 100 output port 100 m_handle 0xae203180
2020-02-10 18:10:06.033 T:2931814608   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_splitter input port 261 output port 262 m_handle 0xae202788
2020-02-10 18:10:06.034 T:2931814608   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_render input port 100 output port 100 m_handle 0x9a9a5468
2020-02-10 18:10:06.035 T:2931814608   DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.audio_splitter) - port(261), nBufferCountMin(2), nBufferCountActual(2), nBufferSize(19200), nBufferAlignment(32)
2020-02-10 18:10:06.058 T:2503995600   DEBUG: VideoPlayer::Sync - Audio - pts: 321000.000000, cache: 368554.497452, totalcache: 699999.988079
2020-02-10 18:10:06.058 T:2478817488   DEBUG: CVideoPlayerAudio - CDVDMsg::GENERAL_RESYNC(-100000.000000), level: 47, cache: 404064.885785
2020-02-10 18:10:06.059 T:2478817488   DEBUG: CDVDAudio::Resume - resume audio stream
2020-02-10 18:10:06.059 T:2942300368   DEBUG: ActiveAE - start sync of audio stream
2020-02-10 18:10:07.213 T:2478817488   DEBUG: CDVDClock::ErrorAdjust - CVideoPlayerAudio::OutputPacket - error:-30357.780231, adjusted:-33333.333333
2020-02-10 18:10:16.274 T:2973367392   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
2020-02-10 18:10:16.274 T:2973367392   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
2020-02-10 18:10:16.362 T:2478817488   DEBUG: CDVDAudio::Flush - flush audio stream
2020-02-10 18:10:16.362 T:2478817488   DEBUG: CDVDAudio::Pause - pausing audio stream
2020-02-10 18:10:16.362 T:2478817488   DEBUG: CVideoPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
2020-02-10 18:10:16.372 T:2478817488   DEBUG: CDVDAudio::Pause - pausing audio stream
2020-02-10 18:10:16.468 T:2503995600    INFO: ffmpeg[953FF0D0]:     Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 256 kb/s (default)
2020-02-10 18:10:16.476 T:2503995600  NOTICE: Finding audio codec for: 86018
2020-02-10 18:10:16.477 T:2503995600  NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2020-02-10 18:10:16.483 T:2478817488   DEBUG: CVideoPlayerAudio - CDVDMsg::GENERAL_PAUSE: 0
2020-02-10 18:10:16.483 T:2478817488   DEBUG: CDVDAudio::Pause - pausing audio stream
2020-02-10 18:10:16.484 T:2478817488   DEBUG: CVideoPlayerAudio:: synctype set to 0: clock feedback
2020-02-10 18:10:16.654 T:2503995600   DEBUG: VideoPlayer::Sync - Audio - pts: 298666.000000, cache: 395996.496785, totalcache: 699999.988079
2020-02-10 18:10:16.654 T:2478817488   DEBUG: CVideoPlayerAudio - CDVDMsg::GENERAL_RESYNC(-100000.000000), level: 47, cache: 378432.219119
2020-02-10 18:10:16.654 T:2478817488   DEBUG: CDVDAudio::Resume - resume audio stream
2020-02-10 18:10:16.654 T:2942300368   DEBUG: ActiveAE - start sync of audio stream
2020-02-10 18:10:17.785 T:2478817488   DEBUG: CDVDClock::ErrorAdjust - CVideoPlayerAudio::OutputPacket - error:-29970.305302, adjusted:-29970.305302
2020-02-10 18:11:26.912 T:2688520400   DEBUG: UpdateAudioSystemStatus - no CEC capable amplifier found
2020-02-10 18:11:38.494 T:2478817488   DEBUG: CDVDClock::ErrorAdjust - CVideoPlayerAudio::OutputPacket - error:-10093.392832, adjusted:-10093.392832
2020-02-10 18:11:56.845 T:2478817488   DEBUG: CVideoPlayerAudio - CDVDMsg::GENERAL_EOF
2020-02-10 18:11:56.923 T:2503995600  NOTICE: CDVDMessageQueue(audio)::WaitUntilEmpty
2020-02-10 18:11:56.924 T:2503995600  NOTICE: Waiting for audio thread to exit
2020-02-10 18:11:56.924 T:2478817488   DEBUG: CVideoPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
2020-02-10 18:11:56.924 T:2478817488  NOTICE: thread end: CVideoPlayerAudio::OnExit()
2020-02-10 18:11:56.924 T:2503995600  NOTICE: Closing audio device
2020-02-10 18:11:56.924 T:2478817488   DEBUG: Thread VideoPlayerAudio 2478817488 terminating
2020-02-10 18:11:57.046 T:2942300368   DEBUG: CActiveAE::DiscardStream - audio stream deleted
2020-02-10 18:11:57.046 T:2503995600  NOTICE: Deleting audio codec
2020-02-10 18:11:57.397 T:2931814608   DEBUG: CAESinkPi:SetAudioProps hdmi_stream_channels 0 hdmi_channel_map 00000000
2020-02-10 18:11:57.407 T:2931814608   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.audio_splitter handle 0xae202788
2020-02-10 18:11:57.408 T:2931814608   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.audio_render handle 0xae203180
2020-02-10 18:11:57.409 T:2931814608   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.audio_render handle 0x9a9a5468
2020-02-10 18:11:57.410 T:2931814608   DEBUG: CAESinkPi:SetAudioProps hdmi_stream_channels 0 hdmi_channel_map 00000008
2020-02-10 18:11:57.411 T:2931814608   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_render input port 100 output port 100 m_handle 0xae225d58
2020-02-10 18:11:57.413 T:2931814608   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_splitter input port 261 output port 262 m_handle 0x9a9bd9b8
2020-02-10 18:11:57.414 T:2931814608   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_render input port 100 output port 100 m_handle 0xae2f7ee8
2020-02-10 18:11:57.416 T:2931814608   DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.audio_splitter) - port(261), nBufferCountMin(2), nBufferCountActual(2), nBufferSize(17664), nBufferAlignment(32)
2020-02-10 18:13:07.529 T:2931814608   DEBUG: CAESinkPi:SetAudioProps hdmi_stream_channels 0 hdmi_channel_map 00000000
2020-02-10 18:13:07.535 T:2931814608   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.audio_splitter handle 0x9a9bd9b8
2020-02-10 18:13:07.536 T:2931814608   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.audio_render handle 0xae225d58
2020-02-10 18:13:07.538 T:2931814608   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.audio_render handle 0xae2f7ee8

I have now tried another upgrade, so I have the latest kernel too. I have also tried with a different RPi4, so it doesn't appear to be a hardware problem. I have tried a lot of different configurations on Kodi's side, but only the attempt to add analog output has made a difference.
I don't see any errors in your logs and you can ignore the /var/run/lirc/lircd error as it is related to infrared remotes only, not CEC.

To exclude any bad configuration in your setup, I recommend that you backup your Kodi settings, like for example, moving /home/pi/.kodi to /home/pi/.kodi_backup, with Kodi turned off. Then start Kodi and see if the problem persists.

Also note that some HDMI cables might not work good on the Raspberry, too long ones may cause problems. The same with splitters and amplifiers/AVRs.

Nitrous76
Posts: 3
Joined: Wed Feb 12, 2020 11:15 pm

Re: [Guide] Kodi on Raspbian Buster

Wed Feb 12, 2020 11:28 pm

Hi All, Please excuse any ignorance, I’m new to Raspbian and Linux for that matter but I’m trying :D I have installed as per OP and included the udev rule but when I open Kodi, nothing happens?? I get the “hour glass” and it just seems like everything freezes and I have to reboot via SSH. I’m not sure how to get the logs? I tried “pastebinit \$HOME/.kodi/temp/kodi.log“ But I get an error that says

/usr/bin/pastebinit:42: DeprecationWarning: dist() and linux_distribution() functions are deprecated in Python 3.5
release = platform.linux_distribution()[0].lower()
Unable to read from: $HOME/.kodi/temp/kodi.log

Any help appreciated, thanks

Nitrous76
Posts: 3
Joined: Wed Feb 12, 2020 11:15 pm

Re: [Guide] Kodi on Raspbian Buster

Thu Feb 13, 2020 9:22 am

Hi All

I thought I posted this last night but can't seem to find it.
Apologies if this has been asked and answered and also please forgive any ignorance as I'm quite new to Rasbian and linux. I've installed Kodi onto Raspbian (Pi 4 4GB) as per the opening post here, made all the tweaks and the additional "udev" rule mentioned earlier in the forum but when I start Kodi all I get is the little "thinking" hourglass, nothing else. The session becomes unresponsive and I have to reboot via SSH. It's worth noting that I don't have the Pi connected to a screen as I'm trying to configure it all over VNC directly connected to my ipad Pro.
I'd appreciate any help I can get thanks

Lipown
Posts: 124
Joined: Sun Oct 13, 2019 8:32 am

Re: [Guide] Kodi on Raspbian Buster

Thu Feb 13, 2020 9:45 am

Nitrous76 wrote:
Thu Feb 13, 2020 9:22 am
Hi All

I thought I posted this last night but can't seem to find it.
Apologies if this has been asked and answered and also please forgive any ignorance as I'm quite new to Rasbian and linux. I've installed Kodi onto Raspbian (Pi 4 4GB) as per the opening post here, made all the tweaks and the additional "udev" rule mentioned earlier in the forum but when I start Kodi all I get is the little "thinking" hourglass, nothing else. The session becomes unresponsive and I have to reboot via SSH. It's worth noting that I don't have the Pi connected to a screen as I'm trying to configure it all over VNC directly connected to my ipad Pro.
I'd appreciate any help I can get thanks
Iam noob too, but I am affraid you are not able to do it this way. You need to have the display connected. It does not working me trough VNC either.

Nitrous76
Posts: 3
Joined: Wed Feb 12, 2020 11:15 pm

Re: [Guide] Kodi on Raspbian Buster

Thu Feb 13, 2020 11:14 am

Lipown wrote:
Thu Feb 13, 2020 9:45 am
Nitrous76 wrote:
Thu Feb 13, 2020 9:22 am
Hi All

I thought I posted this last night but can't seem to find it.
Apologies if this has been asked and answered and also please forgive any ignorance as I'm quite new to Rasbian and linux. I've installed Kodi onto Raspbian (Pi 4 4GB) as per the opening post here, made all the tweaks and the additional "udev" rule mentioned earlier in the forum but when I start Kodi all I get is the little "thinking" hourglass, nothing else. The session becomes unresponsive and I have to reboot via SSH. It's worth noting that I don't have the Pi connected to a screen as I'm trying to configure it all over VNC directly connected to my ipad Pro.
I'd appreciate any help I can get thanks
Iam noob too, but I am affraid you are not able to do it this way. You need to have the display connected. It does not working me trough VNC either.
Thanks for the reply, I'll try this tonight. :D

KjetilK
Posts: 5
Joined: Sun Dec 15, 2019 11:56 pm

Re: [Guide] Kodi on Raspbian Buster

Thu Feb 13, 2020 2:23 pm

Rascas wrote:
Wed Feb 12, 2020 5:03 pm

I don't see any errors in your logs and you can ignore the /var/run/lirc/lircd error as it is related to infrared remotes only, not CEC.
OK, good to know!
Rascas wrote:
Wed Feb 12, 2020 5:03 pm
To exclude any bad configuration in your setup, I recommend that you backup your Kodi settings, like for example, moving /home/pi/.kodi to /home/pi/.kodi_backup, with Kodi turned off. Then start Kodi and see if the problem persists.
Yeah, it does persist, I'm afraid... Seems to be no changes, neither to the remote nor the sound.
Rascas wrote:
Wed Feb 12, 2020 5:03 pm
Also note that some HDMI cables might not work good on the Raspberry, too long ones may cause problems. The same with splitters and amplifiers/AVRs.
Yes, I'm aware. I have used that for quite some time though, more than a year, and it also worked with the Raspbian setup that I've had since December prior to the 18.5 upgrade.

packrat4gb
Posts: 1
Joined: Thu Feb 13, 2020 3:31 pm

Re: [Guide] Kodi on Raspbian Buster

Thu Feb 13, 2020 4:22 pm

Hi @rascas :D (and everyone),

First, many thanks again for your work on this package - it is really helpful to many folk(s), including me as well!!!

Looks like I'm running is similar "issues" (usecase) of wanting to access kodi remotely via vnc.

FYI, for those that are interested kodi does have a web interface if it is enabled at yourpi:8080... , but..... it doesn't seem to have an "exit" option in the interface.... (armchair searchers please provide info if it is available)... but if this fixed, kodi doesn't seem to release the display/fb).

My issue/usecase is when I'm not in front of the TV with kodi running on the screen, I'm trying to access the desktop via (real)vnc...

The issue is kodi<>#desktop, kodi "steals" the display hardware (framebuffer) from the desktop. (If the web interface allowed stopping then I could get my desktop back, this works locally on the TV).. another workaround is just run realvnc in virtual mode.....

But, it seems this was fixed/addressed by the guy who did RaspBMC (then created OSMC cool stuff sir! https://osmc.tv/blog/) back in ~2013.... here: viewtopic.php?t=49707
and then here: https://discourse.osmc.tv/t/howto-insta ... ry-pi/1517

I haven't tried it yet... (I hoping 7 years later and newer hardware pi4 that it works)...

Can someone review and comment?

Please&thanks!

Frank

P.S. This thread is getting long... maybe we can create new ones with like this one for instance Subject: Kodi - vnc issues ? What does everyone think?

P.S. 2 yes I can can kill -9 kodi and remove it from lxpanel but then I need to reboot to steal the display/fb back again...

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

Re: [Guide] Kodi on Raspbian Buster

Thu Feb 13, 2020 6:24 pm

packrat4gb wrote:
Thu Feb 13, 2020 4:22 pm
Hi @rascas :D (and everyone),

First, many thanks again for your work on this package - it is really helpful to many folk(s), including me as well!!!

Looks like I'm running is similar "issues" (usecase) of wanting to access kodi remotely via vnc.

FYI, for those that are interested kodi does have a web interface if it is enabled at yourpi:8080... , but..... it doesn't seem to have an "exit" option in the interface.... (armchair searchers please provide info if it is available)... but if this fixed, kodi doesn't seem to release the display/fb).

My issue/usecase is when I'm not in front of the TV with kodi running on the screen, I'm trying to access the desktop via (real)vnc...

The issue is kodi<>#desktop, kodi "steals" the display hardware (framebuffer) from the desktop. (If the web interface allowed stopping then I could get my desktop back, this works locally on the TV).. another workaround is just run realvnc in virtual mode.....

But, it seems this was fixed/addressed by the guy who did RaspBMC (then created OSMC cool stuff sir! https://osmc.tv/blog/) back in ~2013.... here: viewtopic.php?t=49707
and then here: https://discourse.osmc.tv/t/howto-insta ... ry-pi/1517

I haven't tried it yet... (I hoping 7 years later and newer hardware pi4 that it works)...

Can someone review and comment?

Please&thanks!

Frank

P.S. This thread is getting long... maybe we can create new ones with like this one for instance Subject: Kodi - vnc issues ? What does everyone think?

P.S. 2 yes I can can kill -9 kodi and remove it from lxpanel but then I need to reboot to steal the display/fb back again...
This was already talked here. VNC, RDP and other remote desktops that access Xorg, won't work on the RPi 4 when Kodi is on. RealVNC and dispmanx VNC work only on RPi 0/1/2/3. As long as Kodi on RPi 4 uses GBM, I don't think it will be possible.

KjetilK
Posts: 5
Joined: Sun Dec 15, 2019 11:56 pm

Re: [Guide] Kodi on Raspbian Buster

Fri Feb 14, 2020 10:49 pm

Following up on myself and the problems I have with sound and remote control.

I now downgraded kodi, kodi-addon-dev and kodi-bin to 2:18.4-6~buster, but it didn't help. I also replaced the RPi itself, used a different HDMI cable, and for good measure a different power source and a different Ethernet cable. So there's no splitter in the setup now.

What haven't occured to me before, but there isn't actually any sound on the HDMI output at all, even though I have the setup that it should use HDMI and Analogue.

Now, the remote control system pops up on the screen every few minutes and says "RC activated" or something like that. Usually, it says that just after the screen starts, so I am assuming that it comes up, but is active only for a second, falls down and stays down for a few minutes, comes back up, falls down... I would be surprised if it is my hardware at this point (the SD card is the only thing that remains the same).

Are there anything else I should try to downgrade?

Edit: FWIW, I downgraded the packages in raspberrypi-firmware/ (including the kernel) and it seems to have improved the situation somewhat for the remote. It seems I sometimes need to plug in a keyboard, perhaps after it enters some power save state, but once that's done, it works reliably. There's no change with the audio, though.

Also, I use etckeeper, and these are the packages that was upgraded when things broke: https://pastebin.com/sk0N3rG3

KjetilK
Posts: 5
Joined: Sun Dec 15, 2019 11:56 pm

Re: [Guide] Kodi on Raspbian Buster

Mon Feb 17, 2020 4:01 pm

FWIW, I did a completely from-scratch reinstall now. A new RPi, new cables, no splitter, new SD card, even new power source.
I installed the Raspbian Lite image from 2019-09-26, when I originally installed Raspbian, and then, I took the Kodi version 2:18.4-6~buster packages, and wrangled them in somehow.

It didn't make a difference, not audio, and even though it looks like the remote is working sometimes, it takes about 10 minutes after startup until it works allright, so there's still something wrong. I have tried with two remotes and changed batteries in one of them.

So, it seems it is not actually the kodi packages that are the culprit here. I'm not sure what it is, since most of the packages I installed were from the RPi 2019-09-26, but some Kodi dependencies were taken from the archive.

It might be that something weird has happened to my config, but since I use etckeeper, it should show in the diffs, and I can't say anything stands out on me. It might be that some of the deps that were upgraded were broken, but I can't see anything clear there either. And it might be that both the TV and the splitter broke at the same time. That too would be strange... So, I'm pretty lost here.

ParanoYak
Posts: 4
Joined: Mon Jan 06, 2020 12:31 pm

Re: [Guide] Kodi on Raspbian Buster

Tue Feb 18, 2020 12:35 pm

Hello

I have kodi installed following the first page and a LG TV. It’s working fine excepted that Kodi keeps switching HDMI sources to Kodi when I switch my tv on.

- I switch tv on
- kodi changes the source to itself
- I have to switch the source to TV after 5 secs (if I do it before it switches back to kodi).

It’s quite annoying if I just want to watch TV. I tried to disable everything in kodi cec settings and also to add hdmi_ignore_cec_init=1 to config.txt without any effect.

It seems to be a known bug with libcec, do you know how to solve it ?

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

Re: [Guide] Kodi on Raspbian Buster

Tue Feb 18, 2020 1:04 pm

ParanoYak wrote:
Tue Feb 18, 2020 12:35 pm
Hello

I have kodi installed following the first page and a LG TV. It’s working fine excepted that Kodi keeps switching HDMI sources to Kodi when I switch my tv on.

- I switch tv on
- kodi changes the source to itself
- I have to switch the source to TV after 5 secs (if I do it before it switches back to kodi).

It’s quite annoying if I just want to watch TV. I tried to disable everything in kodi cec settings and also to add hdmi_ignore_cec_init=1 to config.txt without any effect.

It seems to be a known bug with libcec, do you know how to solve it ?
No I don't know how to solve it, it has to be fixed in the libcec library and I am not a libcec developer.

But take a look at that:
https://github.com/Pulse-Eight/libcec/issues

See if there is any issue similar to yours, some issues have a workaround by changing the libcec source code and recompiling it.

ParanoYak
Posts: 4
Joined: Mon Jan 06, 2020 12:31 pm

Re: [Guide] Kodi on Raspbian Buster

Tue Feb 18, 2020 4:53 pm

I found the exact same issue in github and this seem to resolve it for other LG TV owners:

https://github.com/Pulse-Eight/libcec/pull/390

I manage to compile libcec, but how can I tell kodi to use the libcec.so file I get instead of the old one ?

techthanos
Posts: 1
Joined: Fri Feb 21, 2020 8:24 am
Contact: Website

Re: [Guide] Kodi on Raspbian Buster

Fri Feb 21, 2020 8:38 am

Google Gravity : Does Kodi Installation through FIle manager? or Direct Download Method? Same loading issue on Kodi for chromebook

Delan
Posts: 5
Joined: Fri Feb 21, 2020 9:33 pm

Re: [Guide] Kodi on Raspbian Buster

Fri Feb 21, 2020 9:36 pm

bat0nas wrote:
Tue Jan 14, 2020 6:45 pm
UPDATE:
Looks like I've found the workaround. Kodi crashed only when browser is launched. If I close the browser - Kodi starts without crashing.
So.. something in the default Raspberry Pi 4 browser makes Kodi crash.
I don't think I have enough knowledge or competence to debug. But I least there's a workaround :)


UPDATE #2:
Second app which crashes Kodi while running in background - File Explorer.
I did numerous of tests with both Chromium browser and File explorer on and off and can confirm that Kodi crashes are related to those apps running in the background.

------

Hi,
I'm having an issue when Kodi crashes without starting: launch Kodi from Desktop, black screen appears with blinking cursor and then Kodi exits to Desktop without showing Kodi GUI.

Pi4 restart solves the issue. But after the day or two - problem repeats. Makes me wanna schedule Pi4 restart every few hours.

Latest Buster build, default installation and configuration, everything updated, Kodi configured according guide in the first post.
Pi4 resintall didn't help.
The only additional app I installed: samba and java. Java is uses by serviio.

Here's a log file with and error at the end.

Any ideas how to solve that?

Code: Select all

############## Kodi CRASH LOG ###############

################ SYSTEM INFO ################
 Date: Tue 14 Jan 2020 08:33:44 PM EET
 Kodi Options: 
 Arch: armv7l
 Kernel: Linux 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019
 Release: Raspbian GNU/Linux 10 (buster)
############## END SYSTEM INFO ##############

############### STACK TRACE #################
=====>  Core file: /home/pi/core (2020-01-14 20:33:42.600244052 +0200)
        =========================================
[New LWP 24343]
[New LWP 24345]
[New LWP 24350]
[New LWP 24344]
[New LWP 24355]
[New LWP 24354]
[New LWP 24349]
[New LWP 24353]
[New LWP 24347]
[New LWP 24346]
[New LWP 24352]
[New LWP 24348]
[New LWP 24351]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Core was generated by `/usr/lib/arm-linux-gnueabihf/kodi/kodi.bin_v8 --lircdev /var/run/lirc/lircd'.
Program terminated with signal SIGABRT, Aborted.
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
[Current thread is 1 (Thread 0xb136bc60 (LWP 24343))]

Thread 13 (Thread 0xacfff0d0 (LWP 24351)):
#0  0xb6f41088 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0xb5d1b480 <dispmanx_notify_available_event+24>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait (sem=sem@entry=0xb5d1b480 <dispmanx_notify_available_event+24>, abstime=0x0) at sem_waitcommon.c:115
#2  0xb6f411f4 in __new_sem_wait_slow (sem=0xb5d1b480 <dispmanx_notify_available_event+24>, abstime=0x0) at sem_waitcommon.c:282
#3  0xb5d044d4 in dispmanx_notify_func () from /opt/vc/lib/libbcm_host.so
#4  0xb5cc6cb0 in vcos_thread_entry (arg=0xb5d1c1c0 <dispmanx_notify_task>) at /home/dom/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#5  0xb6f37494 in start_thread (arg=0xacfff0d0) at pthread_create.c:486
#6  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 12 (Thread 0xaedfe0d0 (LWP 24348)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0xaedfd958, expected=0, futex_word=0x2e744cc) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  __pthread_cond_wait_common (abstime=0xaedfd958, mutex=0x0, cond=0x2e744a0) at pthread_cond_wait.c:539
#2  __pthread_cond_timedwait (cond=0x2e744a0, mutex=0x0, abstime=0xaedfd958) at pthread_cond_wait.c:667
#3  0x005a1ed4 in std::cv_status std::_V2::condition_variable_any::wait_until<XbmcThreads::CRecursiveMutex, std::chrono::_V2::system_clock, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > >(XbmcThreads::CRecursiveMutex&, std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > > const&) ()
#4  0x005a1f9c in XbmcThreads::ConditionVariable::wait(CCriticalSection&, unsigned long) ()
#5  0x005a208c in CEvent::WaitMSec(unsigned int) ()
#6  0x00cefb50 in ActiveAE::CActiveAESink::Process() ()
#7  0x008725f8 in CThread::Action() ()
#8  0x008734f8 in CThread::staticThread(void*) ()
#9  0xb6f37494 in start_thread (arg=0xaedfe0d0) at pthread_create.c:486
#10 0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 11 (Thread 0xac7fe0d0 (LWP 24352)):
#0  0xb6f41088 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0xb5d1a5f4 <tvservice_notify_available_event+24>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait (sem=sem@entry=0xb5d1a5f4 <tvservice_notify_available_event+24>, abstime=0x0) at sem_waitcommon.c:115
#2  0xb6f411f4 in __new_sem_wait_slow (sem=0xb5d1a5f4 <tvservice_notify_available_event+24>, abstime=0x0) at sem_waitcommon.c:282
#3  0xb5d003b0 in tvservice_notify_func () from /opt/vc/lib/libbcm_host.so
#4  0xb5cc6cb0 in vcos_thread_entry (arg=0xb5d1a608 <tvservice_notify_task>) at /home/dom/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#5  0xb6f37494 in start_thread (arg=0xac7fe0d0) at pthread_create.c:486
#6  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 10 (Thread 0xaffff0d0 (LWP 24346)):
#0  0xb54099d0 in epoll_wait (epfd=<optimized out>, events=0xafffe9d0, maxevents=1, timeout=200) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0x006aa65c in CLibInputHandler::Process() ()
#2  0x008725f8 in CThread::Action() ()
#3  0x008734f8 in CThread::staticThread(void*) ()
#4  0xb6f37494 in start_thread (arg=0xaffff0d0) at pthread_create.c:486
#5  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 9 (Thread 0xaf5ff0d0 (LWP 24347)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0xaf5fe950, expected=0, futex_word=0x2e73f10) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  __pthread_cond_wait_common (abstime=0xaf5fe950, mutex=0x0, cond=0x2e73ee8) at pthread_cond_wait.c:539
#2  __pthread_cond_timedwait (cond=0x2e73ee8, mutex=0x0, abstime=0xaf5fe950) at pthread_cond_wait.c:667
#3  0x005a1ed4 in std::cv_status std::_V2::condition_variable_any::wait_until<XbmcThreads::CRecursiveMutex, std::chrono::_V2::system_clock, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > >(XbmcThreads::CRecursiveMutex&, std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > > const&) ()
#4  0x005a1f9c in XbmcThreads::ConditionVariable::wait(CCriticalSection&, unsigned long) ()
#5  0x005a208c in CEvent::WaitMSec(unsigned int) ()
#6  0x00ce9e68 in ActiveAE::CActiveAE::Process() ()
#7  0x008725f8 in CThread::Action() ()
#8  0x008734f8 in CThread::staticThread(void*) ()
#9  0xb6f37494 in start_thread (arg=0xaf5ff0d0) at pthread_create.c:486
#10 0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 8 (Thread 0xabffd0d0 (LWP 24353)):
#0  0xb6f41088 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0xb5d1b384 <cecservice_notify_available_event+24>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait (sem=sem@entry=0xb5d1b384 <cecservice_notify_available_event+24>, abstime=0x0) at sem_waitcommon.c:115
#2  0xb6f411f4 in __new_sem_wait_slow (sem=0xb5d1b384 <cecservice_notify_available_event+24>, abstime=0x0) at sem_waitcommon.c:282
#3  0xb5d01720 in cecservice_notify_func () from /opt/vc/lib/libbcm_host.so
#4  0xb5cc6cb0 in vcos_thread_entry (arg=0xb5d1b398 <cecservice_notify_task>) at /home/dom/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#5  0xb6f37494 in start_thread (arg=0xabffd0d0) at pthread_create.c:486
#6  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 7 (Thread 0xae3ff0d0 (LWP 24349)):
#0  __GI___poll (timeout=-1, nfds=2, fds=0xae400708) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  __GI___poll (fds=0xae400708, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:26
#2  0x006b3538 in CFDEventMonitor::Process() ()
#3  0x008725f8 in CThread::Action() ()
#4  0x008734f8 in CThread::staticThread(void*) ()
#5  0xb6f37494 in start_thread (arg=0xae3ff0d0) at pthread_create.c:486
#6  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 6 (Thread 0xab7fc0d0 (LWP 24354)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0xada03fc4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x0, cond=0xada03f98) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=cond@entry=0xada03f98, mutex=0x0, mutex@entry=0xada03f7c) at pthread_cond_wait.c:655
#3  0xb5cc6d94 in _timer_thread (arg=0xada03f78) at /home/dom/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:722
#4  0xb6f37494 in start_thread (arg=0xab7fc0d0) at pthread_create.c:486
#5  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0xaaffb0d0 (LWP 24355)):
#0  0xb6f41088 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0xada0412c) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait (sem=sem@entry=0xada0412c, abstime=0x0) at sem_waitcommon.c:115
#2  0xb6f411f4 in __new_sem_wait_slow (sem=0xada0412c, abstime=0x0) at sem_waitcommon.c:282
#3  0xb5ce1b60 in vchiu_queue_pop () from /opt/vc/lib/libvchiq_arm.so
#4  0xb012ad70 in ilcs_task () from /opt/vc/lib/libopenmaxil.so
#5  0xb5cc6cb0 in vcos_thread_entry (arg=0xada03fe8) at /home/dom/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#6  0xb6f37494 in start_thread (arg=0xaaffb0d0) at pthread_create.c:486
#7  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0xb13680d0 (LWP 24344)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x2dc82e0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x0, cond=0x2dc82b8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x2dc82b8, mutex=0x0) at pthread_cond_wait.c:655
#3  0xb5517c94 in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#4  0x008720f8 in void std::_V2::condition_variable_any::wait<XbmcThreads::CRecursiveMutex>(XbmcThreads::CRecursiveMutex&) ()
#5  0x00c45298 in ANNOUNCEMENT::CAnnouncementManager::Process() ()
#6  0x008725f8 in CThread::Action() ()
#7  0x008734f8 in CThread::staticThread(void*) ()
#8  0xb6f37494 in start_thread (arg=0xb13680d0) at pthread_create.c:486
#9  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0xad9ff0d0 (LWP 24350)):
#0  0xb540151c in ioctl () at ../sysdeps/unix/syscall-template.S:78
#1  0xb5cdf010 in completion_thread () from /opt/vc/lib/libvchiq_arm.so
#2  0xb5cc6cb0 in vcos_thread_entry (arg=0xb5cf2318 <vchiq_instance+16>) at /home/dom/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#3  0xb6f37494 in start_thread (arg=0xad9ff0d0) at pthread_create.c:486
#4  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0xb09ff0d0 (LWP 24345)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0xb09fe948, expected=0, futex_word=0x2d225d8) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  __pthread_cond_wait_common (abstime=0xb09fe948, mutex=0x0, cond=0x2d225b0) at pthread_cond_wait.c:539
#2  __pthread_cond_timedwait (cond=0x2d225b0, mutex=0x0, abstime=0xb09fe948) at pthread_cond_wait.c:667
#3  0x005a1ed4 in std::cv_status std::_V2::condition_variable_any::wait_until<XbmcThreads::CRecursiveMutex, std::chrono::_V2::system_clock, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > >(XbmcThreads::CRecursiveMutex&, std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > > const&) ()
#4  0x005a1f9c in XbmcThreads::ConditionVariable::wait(CCriticalSection&, unsigned long) ()
#5  0x005a208c in CEvent::WaitMSec(unsigned int) ()
#6  0x006a97f8 in CLirc::Process() ()
#7  0x008725f8 in CThread::Action() ()
#8  0x008734f8 in CThread::staticThread(void*) ()
#9  0xb6f37494 in start_thread (arg=0xb09ff0d0) at pthread_create.c:486
#10 0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0xb136bc60 (LWP 24343)):
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0xb5349230 in __GI_abort () at abort.c:79
#2  0xb54f48d8 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#3  0xb54f25b0 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#4  0xb54f2624 in std::terminate() () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#5  0xb54f2990 in __cxa_throw () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#6  0x0068ed7c in KODI::WINDOWING::GBM::CWinSystemGbmGLESContext::SetFullScreen(bool, RESOLUTION_INFO&, bool) ()
#7  0x007fa248 in CGraphicContext::SetVideoResolutionInternal(RESOLUTION, bool) ()
#8  0x00a05324 in CApplication::InitWindow(RESOLUTION) ()
#9  0x00a09ea8 in CApplication::CreateGUI() ()
#10 0x0088ee58 in XBMC_Run ()
#11 0x00519abc in main ()
############# END STACK TRACE ###############

################# LOG FILE ##################

2020-01-14 20:33:38.143 T:2973154400  NOTICE: -----------------------------------------------------------------------
2020-01-14 20:33:38.143 T:2973154400  NOTICE: Starting Kodi (18.4 Git:20191027-06c77692ee). Platform: Linux ARM 32-bit
2020-01-14 20:33:38.143 T:2973154400  NOTICE: Using Release Kodi x32 build
2020-01-14 20:33:38.143 T:2973154400  NOTICE: Kodi compiled 2019-10-27 by GCC 8.3.0 for Linux ARM 32-bit version 4.18.20 (266772)
2020-01-14 20:33:38.143 T:2973154400  NOTICE: Running on Raspbian GNU/Linux 10 (buster), kernel: Linux ARM 32-bit version 4.19.75-v7l+
2020-01-14 20:33:38.144 T:2973154400  NOTICE: FFmpeg version/source: 4.0.4-Kodi
2020-01-14 20:33:38.144 T:2973154400  NOTICE: Host CPU: ARMv7 Processor rev 3 (v7l), 4 cores available
2020-01-14 20:33:38.144 T:2973154400  NOTICE: ARM Features: Neon enabled
2020-01-14 20:33:38.144 T:2973154400  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
2020-01-14 20:33:38.144 T:2973154400  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi
2020-01-14 20:33:38.144 T:2973154400  NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi/addons
2020-01-14 20:33:38.144 T:2973154400  NOTICE: special://masterprofile/ is mapped to: /home/pi/.kodi/userdata
2020-01-14 20:33:38.144 T:2973154400  NOTICE: special://envhome/ is mapped to: /home/pi
2020-01-14 20:33:38.144 T:2973154400  NOTICE: special://home/ is mapped to: /home/pi/.kodi
2020-01-14 20:33:38.144 T:2973154400  NOTICE: special://temp/ is mapped to: /home/pi/.kodi/temp
2020-01-14 20:33:38.144 T:2973154400  NOTICE: special://logpath/ is mapped to: /home/pi/.kodi/temp
2020-01-14 20:33:38.144 T:2973154400  NOTICE: The executable running is: /usr/lib/arm-linux-gnueabihf/kodi/kodi.bin_v8
2020-01-14 20:33:38.144 T:2973154400  NOTICE: Local hostname: uoga
2020-01-14 20:33:38.144 T:2973154400  NOTICE: Log File is located: /home/pi/.kodi/temp/kodi.log
2020-01-14 20:33:38.144 T:2973154400  NOTICE: -----------------------------------------------------------------------
2020-01-14 20:33:38.144 T:2973154400    INFO: loading settings
2020-01-14 20:33:38.146 T:2973154400  NOTICE: special://profile/ is mapped to: special://masterprofile/
2020-01-14 20:33:38.169 T:2973154400   DEBUG: CSkinSettings: no <skinsettings> tag found
2020-01-14 20:33:38.170 T:2973154400  NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
2020-01-14 20:33:38.170 T:2973154400  NOTICE: Contents of special://xbmc/system/advancedsettings.xml are...
                                            <?xml version="1.0" encoding="UTF-8" ?>
                                            <advancedsettings>
                                              <fanartres>720</fanartres>
                                              <imageres>540</imageres>
                                              <video>
                                                <busydialogdelayms>750</busydialogdelayms>
                                              </video>
                                              <samba>
                                                <clienttimeout>30</clienttimeout>
                                              </samba>
                                              <cache>
                                                <memorysize>31457280</memorysize>
                                              </cache>
                                            </advancedsettings>
2020-01-14 20:33:38.170 T:2973154400 WARNING: CSettingsManager: missing version attribute
2020-01-14 20:33:38.171 T:2973154400  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
2020-01-14 20:33:38.171 T:2973154400  NOTICE: Default Video Player: VideoPlayer
2020-01-14 20:33:38.171 T:2973154400  NOTICE: Default Audio Player: paplayer
2020-01-14 20:33:38.171 T:2973154400  NOTICE: Disabled debug logging due to GUI setting. Level 0.
2020-01-14 20:33:38.171 T:2973154400  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
2020-01-14 20:33:38.171 T:2973154400  NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
2020-01-14 20:33:38.241 T:2973154400  NOTICE: PulseAudio: Server not running
2020-01-14 20:33:38.257 T:2973154400  NOTICE: Running database version Addons27
2020-01-14 20:33:38.401 T:2973154400  NOTICE: ADDON: audioencoder.kodi.builtin.aac v1.0.0 installed
2020-01-14 20:33:38.401 T:2973154400  NOTICE: ADDON: audioencoder.kodi.builtin.wma v1.0.0 installed
2020-01-14 20:33:38.401 T:2973154400  NOTICE: ADDON: game.controller.default v1.0.8 installed
2020-01-14 20:33:38.401 T:2973154400  NOTICE: ADDON: game.controller.snes v1.0.8 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.global.audioengine v1.0.1 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.global.filesystem v1.0.2 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.global.general v1.0.3 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.global.gui v5.12.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.global.main v1.0.14 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.global.network v1.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.audiodecoder v2.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.audioencoder v2.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.game v1.1.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.imagedecoder v2.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.inputstream v2.0.8 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.peripheral v1.3.7 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.pvr v5.10.3 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.screensaver v2.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.vfs v2.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.videocodec v1.0.1 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.visualization v2.0.1 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.resource v1.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.album.universal v3.1.2 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.artists.universal v4.3.2 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.common.allmusic.com v3.2.1 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.common.fanart.tv v3.6.2 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.common.imdb.com v3.1.4 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.common.musicbrainz.org v2.2.1 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.common.theaudiodb.com v2.0.3 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.common.themoviedb.org v3.1.10 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.local v1.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.themoviedb.org v5.1.10 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.tvshows.themoviedb.org v3.4.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: repository.xbmc.org v3.1.6 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: resource.images.weathericons.default v1.1.8 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: resource.language.en_gb v2.0.1 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: resource.uisounds.kodi v1.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: screensaver.xbmc.builtin.black v1.0.33 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: screensaver.xbmc.builtin.dim v1.0.57 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: script.module.pil v1.1.7 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: script.module.pycryptodome v3.4.3 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: service.xbmc.versioncheck v0.5.1 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: skin.estouchy v2.0.26 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: skin.estuary v2.0.25 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: webinterface.default v18.x-2.4.6 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: xbmc.addon v18.4.0 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: xbmc.core v0.1.0 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: xbmc.gui v5.14.0 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: xbmc.json v10.3.0 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: xbmc.metadata v2.1.0 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: xbmc.python v2.26.0 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: xbmc.webinterface v1.0.0 installed
2020-01-14 20:33:38.431 T:2973154400   ERROR: DBus error: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
2020-01-14 20:33:38.509 T:2942300368  NOTICE: Found 2 Lists of Devices
2020-01-14 20:33:38.509 T:2942300368  NOTICE: Enumerated ALSA devices:
2020-01-14 20:33:38.510 T:2942300368  NOTICE:     Device 1
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_deviceName      : @
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_displayName     : Default (bcm2835 ALSA bcm2835 ALSA)
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_displayNameExtra:
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_channels        : FL, FR
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_U8
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_streamTypes     : No passthrough capabilities
2020-01-14 20:33:38.510 T:2942300368  NOTICE:     Device 2
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_deviceName      : sysdefault:CARD=ALSA
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_displayName     : bcm2835 ALSA
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_displayNameExtra: bcm2835 ALSA
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_channels        : FL, FR
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_U8
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_streamTypes     : No passthrough capabilities
2020-01-14 20:33:38.510 T:2942300368  NOTICE: Enumerated PI devices:
2020-01-14 20:33:38.510 T:2942300368  NOTICE:     Device 1
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_deviceName      : HDMI
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_displayName     : HDMI
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_displayNameExtra:
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_channels        : FL, FR
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP,AE_FMT_RAW
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_streamTypes     : STREAM_TYPE_AC3,STREAM_TYPE_EAC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_512
2020-01-14 20:33:38.510 T:2942300368  NOTICE:     Device 2
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_deviceName      : Analogue
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_displayName     : Analogue
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_displayNameExtra:
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_channels        : FL, FR
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_sampleRates     : 48000
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_streamTypes     : No passthrough capabilities
2020-01-14 20:33:38.511 T:2942300368  NOTICE:     Device 3
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_deviceName      : Both
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_displayName     : HDMI and Analogue
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_displayNameExtra:
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_channels        : FL, FR
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_sampleRates     : 48000
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_streamTypes     : No passthrough capabilities
2020-01-14 20:33:38.619 T:2973154400  NOTICE: Raspberry PI firmware version: Sep 24 2019 17:34:30 
                                            Copyright (c) 2012 Broadcom
                                            version cd3add54955f8fa065b414d8fc07c525e7ddffc8 (clean) (release) (start)
2020-01-14 20:33:38.619 T:2973154400  NOTICE: ARM mem: 768MB GPU mem: 256MB MPG2:0 WVC1:0
2020-01-14 20:33:38.620 T:2973154400  NOTICE: Config:
                                            arm_freq=1500
                                            audio_pwm_mode=514
                                            config_hdmi_boost=5
                                            core_freq=500
                                            core_freq_min=200
                                            disable_commandline_tags=2
                                            disable_l2cache=1
                                            disable_overscan=1
                                            display_hdmi_rotate=-1
                                            display_lcd_rotate=-1
                                            enable_gic=1
                                            force_eeprom_read=1
                                            force_pwm_open=1
                                            framebuffer_ignore_alpha=1
                                            framebuffer_swap=1
                                            gpu_freq=500
                                            gpu_freq_min=500
                                            hdmi_channel_map=8
                                            init_uart_clock=0x2dc6c00
                                            lcd_framerate=60
                                            mask_gpu_interrupt0=1024
                                            mask_gpu_interrupt1=0x10000
                                            max_framebuffers=2
                                            pause_burst_frames=1
                                            program_serial_random=1
                                            hdmi_force_cec_address:0=65535
                                            hdmi_force_cec_address:1=65535
                                            hdmi_pixel_freq_limit:0=0x11e1a300
                                            hdmi_pixel_freq_limit:1=0x11e1a300
2020-01-14 20:33:38.620 T:2973154400  NOTICE: Config:
                                            device_tree=-
                                            hdmi_cvt:0=
                                            hdmi_cvt:1=
                                            hdmi_edid_filename:0=
                                            hdmi_edid_filename:1=
                                            hdmi_timings:0=
                                            hdmi_timings:1=
2020-01-14 20:33:39.296 T:2973154400 WARNING: CDRMUtils::FindPlane - could not find plane
2020-01-14 20:33:39.297 T:2973154400 WARNING: CDRMUtils::InitDrm - failed to set drm master, will try to authorize instead: Permission denied
2020-01-14 20:33:39.297 T:2973154400  NOTICE: CDRMUtils::InitDrm - successfully authorized drm magic
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1920x1080 with 1920x1080 @ 50.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1920x1080 with 1920x1080 @ 60.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1920x1080 with 1920x1080 @ 59.940063 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1920x1080 with 1920x1080 @ 30.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1920x1080 with 1920x1080 @ 29.970032 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1920x1080 with 1920x1080 @ 25.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1920x1080 with 1920x1080 @ 24.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1920x1080 with 1920x1080 @ 23.976025 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 2880x576 with 2880x576 @ 50.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 2880x480 with 2880x480 @ 59.940063 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 2880x480 with 2880x480 @ 60.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1280x1024 with 1280x1024 @ 60.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1280x720 with 1280x720 @ 60.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1280x720 with 1280x720 @ 59.940063 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1280x720 with 1280x720 @ 50.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1440x576 with 1440x576 @ 50.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1024x768 with 1024x768 @ 60.000000 Hz
2020-01-14 20:33:40.322 T:2973154400  NOTICE: Found resolution 1440x480 with 1440x480 @ 59.940063 Hz
2020-01-14 20:33:40.322 T:2973154400  NOTICE: Found resolution 1440x480 with 1440x480 @ 60.000000 Hz
2020-01-14 20:33:40.322 T:2973154400  NOTICE: Found resolution 800x600 with 800x600 @ 60.000000 Hz
2020-01-14 20:33:40.322 T:2973154400  NOTICE: Found resolution 720x576 with 720x576 @ 50.000000 Hz
2020-01-14 20:33:40.322 T:2973154400  NOTICE: Found resolution 720x480 with 720x480 @ 59.940063 Hz
2020-01-14 20:33:40.322 T:2973154400  NOTICE: Found resolution 720x480 with 720x480 @ 60.000000 Hz
2020-01-14 20:33:40.322 T:2973154400  NOTICE: Found resolution 640x480 with 640x480 @ 60.000000 Hz
2020-01-14 20:33:40.324 T:2973154400  NOTICE: Previous line repeats 1 times.
2020-01-14 20:33:40.324 T:2973154400  NOTICE: EGL_VERSION = 1.4
2020-01-14 20:33:40.324 T:2973154400  NOTICE: EGL_VENDOR = Mesa Project
2020-01-14 20:33:40.324 T:2973154400  NOTICE: EGL_EXTENSIONS = EGL_ANDROID_blob_cache EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_WL_bind_wayland_display
2020-01-14 20:33:40.324 T:2973154400  NOTICE: EGL_CLIENT_EXTENSIONS = EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_wayland EGL_EXT_platform_x11 EGL_MESA_platform_gbm EGL_MESA_platform_surfaceless EGL_EXT_platform_device
2020-01-14 20:33:40.327 T:2973154400  NOTICE: Checking resolution 16
2020-01-14 20:33:40.437 T:2973154400 WARNING: CGBMUtils::DestroySurface - surface already destroyed
2020-01-14 20:33:41.246 T:2973154400  NOTICE: GL_VENDOR = Broadcom
2020-01-14 20:33:41.246 T:2973154400  NOTICE: GL_RENDERER = V3D 4.2
2020-01-14 20:33:41.246 T:2973154400  NOTICE: GL_VERSION = OpenGL ES 3.0 Mesa 19.2.0-rc1
2020-01-14 20:33:41.246 T:2973154400  NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 3.00
2020-01-14 20:33:41.247 T:2973154400  NOTICE: GL_EXTENSIONS = GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_EXT_occlusion_query_boolean GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_texture_compression_astc_ldr GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_integer_mix GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_draw_elements_base_vertex GL_EXT_texture_border_clamp GL_KHR_context_flush_control GL_OES_draw_elements_base_vertex GL_OES_texture_border_clamp GL_OES_texture_stencil8 GL_EXT_float_blend GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_MESA_shader_integer_functions GL_KHR_parallel_shader_compile GL_EXT_texture_query_lod
2020-01-14 20:33:42.444 T:2973154400   ERROR: eglSwapBuffers failed (EGL_BAD_ALLOC)


############### END LOG FILE ################

############ END Kodi CRASH LOG #############
exactly the same issue, but Kodi crashes even when launched alone... any solution would be welcomed

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

Re: [Guide] Kodi on Raspbian Buster

Sat Feb 22, 2020 3:45 pm

Delan wrote:
Fri Feb 21, 2020 9:36 pm
bat0nas wrote:
Tue Jan 14, 2020 6:45 pm
UPDATE:
Looks like I've found the workaround. Kodi crashed only when browser is launched. If I close the browser - Kodi starts without crashing.
So.. something in the default Raspberry Pi 4 browser makes Kodi crash.
I don't think I have enough knowledge or competence to debug. But I least there's a workaround :)


UPDATE #2:
Second app which crashes Kodi while running in background - File Explorer.
I did numerous of tests with both Chromium browser and File explorer on and off and can confirm that Kodi crashes are related to those apps running in the background.

------

Hi,
I'm having an issue when Kodi crashes without starting: launch Kodi from Desktop, black screen appears with blinking cursor and then Kodi exits to Desktop without showing Kodi GUI.

Pi4 restart solves the issue. But after the day or two - problem repeats. Makes me wanna schedule Pi4 restart every few hours.

Latest Buster build, default installation and configuration, everything updated, Kodi configured according guide in the first post.
Pi4 resintall didn't help.
The only additional app I installed: samba and java. Java is uses by serviio.

Here's a log file with and error at the end.

Any ideas how to solve that?

Code: Select all

############## Kodi CRASH LOG ###############

################ SYSTEM INFO ################
 Date: Tue 14 Jan 2020 08:33:44 PM EET
 Kodi Options: 
 Arch: armv7l
 Kernel: Linux 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019
 Release: Raspbian GNU/Linux 10 (buster)
############## END SYSTEM INFO ##############

############### STACK TRACE #################
=====>  Core file: /home/pi/core (2020-01-14 20:33:42.600244052 +0200)
        =========================================
[New LWP 24343]
[New LWP 24345]
[New LWP 24350]
[New LWP 24344]
[New LWP 24355]
[New LWP 24354]
[New LWP 24349]
[New LWP 24353]
[New LWP 24347]
[New LWP 24346]
[New LWP 24352]
[New LWP 24348]
[New LWP 24351]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Core was generated by `/usr/lib/arm-linux-gnueabihf/kodi/kodi.bin_v8 --lircdev /var/run/lirc/lircd'.
Program terminated with signal SIGABRT, Aborted.
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
[Current thread is 1 (Thread 0xb136bc60 (LWP 24343))]

Thread 13 (Thread 0xacfff0d0 (LWP 24351)):
#0  0xb6f41088 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0xb5d1b480 <dispmanx_notify_available_event+24>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait (sem=sem@entry=0xb5d1b480 <dispmanx_notify_available_event+24>, abstime=0x0) at sem_waitcommon.c:115
#2  0xb6f411f4 in __new_sem_wait_slow (sem=0xb5d1b480 <dispmanx_notify_available_event+24>, abstime=0x0) at sem_waitcommon.c:282
#3  0xb5d044d4 in dispmanx_notify_func () from /opt/vc/lib/libbcm_host.so
#4  0xb5cc6cb0 in vcos_thread_entry (arg=0xb5d1c1c0 <dispmanx_notify_task>) at /home/dom/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#5  0xb6f37494 in start_thread (arg=0xacfff0d0) at pthread_create.c:486
#6  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 12 (Thread 0xaedfe0d0 (LWP 24348)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0xaedfd958, expected=0, futex_word=0x2e744cc) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  __pthread_cond_wait_common (abstime=0xaedfd958, mutex=0x0, cond=0x2e744a0) at pthread_cond_wait.c:539
#2  __pthread_cond_timedwait (cond=0x2e744a0, mutex=0x0, abstime=0xaedfd958) at pthread_cond_wait.c:667
#3  0x005a1ed4 in std::cv_status std::_V2::condition_variable_any::wait_until<XbmcThreads::CRecursiveMutex, std::chrono::_V2::system_clock, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > >(XbmcThreads::CRecursiveMutex&, std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > > const&) ()
#4  0x005a1f9c in XbmcThreads::ConditionVariable::wait(CCriticalSection&, unsigned long) ()
#5  0x005a208c in CEvent::WaitMSec(unsigned int) ()
#6  0x00cefb50 in ActiveAE::CActiveAESink::Process() ()
#7  0x008725f8 in CThread::Action() ()
#8  0x008734f8 in CThread::staticThread(void*) ()
#9  0xb6f37494 in start_thread (arg=0xaedfe0d0) at pthread_create.c:486
#10 0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 11 (Thread 0xac7fe0d0 (LWP 24352)):
#0  0xb6f41088 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0xb5d1a5f4 <tvservice_notify_available_event+24>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait (sem=sem@entry=0xb5d1a5f4 <tvservice_notify_available_event+24>, abstime=0x0) at sem_waitcommon.c:115
#2  0xb6f411f4 in __new_sem_wait_slow (sem=0xb5d1a5f4 <tvservice_notify_available_event+24>, abstime=0x0) at sem_waitcommon.c:282
#3  0xb5d003b0 in tvservice_notify_func () from /opt/vc/lib/libbcm_host.so
#4  0xb5cc6cb0 in vcos_thread_entry (arg=0xb5d1a608 <tvservice_notify_task>) at /home/dom/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#5  0xb6f37494 in start_thread (arg=0xac7fe0d0) at pthread_create.c:486
#6  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 10 (Thread 0xaffff0d0 (LWP 24346)):
#0  0xb54099d0 in epoll_wait (epfd=<optimized out>, events=0xafffe9d0, maxevents=1, timeout=200) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0x006aa65c in CLibInputHandler::Process() ()
#2  0x008725f8 in CThread::Action() ()
#3  0x008734f8 in CThread::staticThread(void*) ()
#4  0xb6f37494 in start_thread (arg=0xaffff0d0) at pthread_create.c:486
#5  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 9 (Thread 0xaf5ff0d0 (LWP 24347)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0xaf5fe950, expected=0, futex_word=0x2e73f10) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  __pthread_cond_wait_common (abstime=0xaf5fe950, mutex=0x0, cond=0x2e73ee8) at pthread_cond_wait.c:539
#2  __pthread_cond_timedwait (cond=0x2e73ee8, mutex=0x0, abstime=0xaf5fe950) at pthread_cond_wait.c:667
#3  0x005a1ed4 in std::cv_status std::_V2::condition_variable_any::wait_until<XbmcThreads::CRecursiveMutex, std::chrono::_V2::system_clock, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > >(XbmcThreads::CRecursiveMutex&, std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > > const&) ()
#4  0x005a1f9c in XbmcThreads::ConditionVariable::wait(CCriticalSection&, unsigned long) ()
#5  0x005a208c in CEvent::WaitMSec(unsigned int) ()
#6  0x00ce9e68 in ActiveAE::CActiveAE::Process() ()
#7  0x008725f8 in CThread::Action() ()
#8  0x008734f8 in CThread::staticThread(void*) ()
#9  0xb6f37494 in start_thread (arg=0xaf5ff0d0) at pthread_create.c:486
#10 0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 8 (Thread 0xabffd0d0 (LWP 24353)):
#0  0xb6f41088 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0xb5d1b384 <cecservice_notify_available_event+24>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait (sem=sem@entry=0xb5d1b384 <cecservice_notify_available_event+24>, abstime=0x0) at sem_waitcommon.c:115
#2  0xb6f411f4 in __new_sem_wait_slow (sem=0xb5d1b384 <cecservice_notify_available_event+24>, abstime=0x0) at sem_waitcommon.c:282
#3  0xb5d01720 in cecservice_notify_func () from /opt/vc/lib/libbcm_host.so
#4  0xb5cc6cb0 in vcos_thread_entry (arg=0xb5d1b398 <cecservice_notify_task>) at /home/dom/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#5  0xb6f37494 in start_thread (arg=0xabffd0d0) at pthread_create.c:486
#6  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 7 (Thread 0xae3ff0d0 (LWP 24349)):
#0  __GI___poll (timeout=-1, nfds=2, fds=0xae400708) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  __GI___poll (fds=0xae400708, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:26
#2  0x006b3538 in CFDEventMonitor::Process() ()
#3  0x008725f8 in CThread::Action() ()
#4  0x008734f8 in CThread::staticThread(void*) ()
#5  0xb6f37494 in start_thread (arg=0xae3ff0d0) at pthread_create.c:486
#6  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 6 (Thread 0xab7fc0d0 (LWP 24354)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0xada03fc4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x0, cond=0xada03f98) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=cond@entry=0xada03f98, mutex=0x0, mutex@entry=0xada03f7c) at pthread_cond_wait.c:655
#3  0xb5cc6d94 in _timer_thread (arg=0xada03f78) at /home/dom/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:722
#4  0xb6f37494 in start_thread (arg=0xab7fc0d0) at pthread_create.c:486
#5  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0xaaffb0d0 (LWP 24355)):
#0  0xb6f41088 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0xada0412c) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait (sem=sem@entry=0xada0412c, abstime=0x0) at sem_waitcommon.c:115
#2  0xb6f411f4 in __new_sem_wait_slow (sem=0xada0412c, abstime=0x0) at sem_waitcommon.c:282
#3  0xb5ce1b60 in vchiu_queue_pop () from /opt/vc/lib/libvchiq_arm.so
#4  0xb012ad70 in ilcs_task () from /opt/vc/lib/libopenmaxil.so
#5  0xb5cc6cb0 in vcos_thread_entry (arg=0xada03fe8) at /home/dom/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#6  0xb6f37494 in start_thread (arg=0xaaffb0d0) at pthread_create.c:486
#7  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0xb13680d0 (LWP 24344)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x2dc82e0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x0, cond=0x2dc82b8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x2dc82b8, mutex=0x0) at pthread_cond_wait.c:655
#3  0xb5517c94 in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#4  0x008720f8 in void std::_V2::condition_variable_any::wait<XbmcThreads::CRecursiveMutex>(XbmcThreads::CRecursiveMutex&) ()
#5  0x00c45298 in ANNOUNCEMENT::CAnnouncementManager::Process() ()
#6  0x008725f8 in CThread::Action() ()
#7  0x008734f8 in CThread::staticThread(void*) ()
#8  0xb6f37494 in start_thread (arg=0xb13680d0) at pthread_create.c:486
#9  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0xad9ff0d0 (LWP 24350)):
#0  0xb540151c in ioctl () at ../sysdeps/unix/syscall-template.S:78
#1  0xb5cdf010 in completion_thread () from /opt/vc/lib/libvchiq_arm.so
#2  0xb5cc6cb0 in vcos_thread_entry (arg=0xb5cf2318 <vchiq_instance+16>) at /home/dom/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#3  0xb6f37494 in start_thread (arg=0xad9ff0d0) at pthread_create.c:486
#4  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0xb09ff0d0 (LWP 24345)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0xb09fe948, expected=0, futex_word=0x2d225d8) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  __pthread_cond_wait_common (abstime=0xb09fe948, mutex=0x0, cond=0x2d225b0) at pthread_cond_wait.c:539
#2  __pthread_cond_timedwait (cond=0x2d225b0, mutex=0x0, abstime=0xb09fe948) at pthread_cond_wait.c:667
#3  0x005a1ed4 in std::cv_status std::_V2::condition_variable_any::wait_until<XbmcThreads::CRecursiveMutex, std::chrono::_V2::system_clock, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > >(XbmcThreads::CRecursiveMutex&, std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > > const&) ()
#4  0x005a1f9c in XbmcThreads::ConditionVariable::wait(CCriticalSection&, unsigned long) ()
#5  0x005a208c in CEvent::WaitMSec(unsigned int) ()
#6  0x006a97f8 in CLirc::Process() ()
#7  0x008725f8 in CThread::Action() ()
#8  0x008734f8 in CThread::staticThread(void*) ()
#9  0xb6f37494 in start_thread (arg=0xb09ff0d0) at pthread_create.c:486
#10 0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0xb136bc60 (LWP 24343)):
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0xb5349230 in __GI_abort () at abort.c:79
#2  0xb54f48d8 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#3  0xb54f25b0 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#4  0xb54f2624 in std::terminate() () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#5  0xb54f2990 in __cxa_throw () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#6  0x0068ed7c in KODI::WINDOWING::GBM::CWinSystemGbmGLESContext::SetFullScreen(bool, RESOLUTION_INFO&, bool) ()
#7  0x007fa248 in CGraphicContext::SetVideoResolutionInternal(RESOLUTION, bool) ()
#8  0x00a05324 in CApplication::InitWindow(RESOLUTION) ()
#9  0x00a09ea8 in CApplication::CreateGUI() ()
#10 0x0088ee58 in XBMC_Run ()
#11 0x00519abc in main ()
############# END STACK TRACE ###############

################# LOG FILE ##################

2020-01-14 20:33:38.143 T:2973154400  NOTICE: -----------------------------------------------------------------------
2020-01-14 20:33:38.143 T:2973154400  NOTICE: Starting Kodi (18.4 Git:20191027-06c77692ee). Platform: Linux ARM 32-bit
2020-01-14 20:33:38.143 T:2973154400  NOTICE: Using Release Kodi x32 build
2020-01-14 20:33:38.143 T:2973154400  NOTICE: Kodi compiled 2019-10-27 by GCC 8.3.0 for Linux ARM 32-bit version 4.18.20 (266772)
2020-01-14 20:33:38.143 T:2973154400  NOTICE: Running on Raspbian GNU/Linux 10 (buster), kernel: Linux ARM 32-bit version 4.19.75-v7l+
2020-01-14 20:33:38.144 T:2973154400  NOTICE: FFmpeg version/source: 4.0.4-Kodi
2020-01-14 20:33:38.144 T:2973154400  NOTICE: Host CPU: ARMv7 Processor rev 3 (v7l), 4 cores available
2020-01-14 20:33:38.144 T:2973154400  NOTICE: ARM Features: Neon enabled
2020-01-14 20:33:38.144 T:2973154400  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
2020-01-14 20:33:38.144 T:2973154400  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi
2020-01-14 20:33:38.144 T:2973154400  NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi/addons
2020-01-14 20:33:38.144 T:2973154400  NOTICE: special://masterprofile/ is mapped to: /home/pi/.kodi/userdata
2020-01-14 20:33:38.144 T:2973154400  NOTICE: special://envhome/ is mapped to: /home/pi
2020-01-14 20:33:38.144 T:2973154400  NOTICE: special://home/ is mapped to: /home/pi/.kodi
2020-01-14 20:33:38.144 T:2973154400  NOTICE: special://temp/ is mapped to: /home/pi/.kodi/temp
2020-01-14 20:33:38.144 T:2973154400  NOTICE: special://logpath/ is mapped to: /home/pi/.kodi/temp
2020-01-14 20:33:38.144 T:2973154400  NOTICE: The executable running is: /usr/lib/arm-linux-gnueabihf/kodi/kodi.bin_v8
2020-01-14 20:33:38.144 T:2973154400  NOTICE: Local hostname: uoga
2020-01-14 20:33:38.144 T:2973154400  NOTICE: Log File is located: /home/pi/.kodi/temp/kodi.log
2020-01-14 20:33:38.144 T:2973154400  NOTICE: -----------------------------------------------------------------------
2020-01-14 20:33:38.144 T:2973154400    INFO: loading settings
2020-01-14 20:33:38.146 T:2973154400  NOTICE: special://profile/ is mapped to: special://masterprofile/
2020-01-14 20:33:38.169 T:2973154400   DEBUG: CSkinSettings: no <skinsettings> tag found
2020-01-14 20:33:38.170 T:2973154400  NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
2020-01-14 20:33:38.170 T:2973154400  NOTICE: Contents of special://xbmc/system/advancedsettings.xml are...
                                            <?xml version="1.0" encoding="UTF-8" ?>
                                            <advancedsettings>
                                              <fanartres>720</fanartres>
                                              <imageres>540</imageres>
                                              <video>
                                                <busydialogdelayms>750</busydialogdelayms>
                                              </video>
                                              <samba>
                                                <clienttimeout>30</clienttimeout>
                                              </samba>
                                              <cache>
                                                <memorysize>31457280</memorysize>
                                              </cache>
                                            </advancedsettings>
2020-01-14 20:33:38.170 T:2973154400 WARNING: CSettingsManager: missing version attribute
2020-01-14 20:33:38.171 T:2973154400  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
2020-01-14 20:33:38.171 T:2973154400  NOTICE: Default Video Player: VideoPlayer
2020-01-14 20:33:38.171 T:2973154400  NOTICE: Default Audio Player: paplayer
2020-01-14 20:33:38.171 T:2973154400  NOTICE: Disabled debug logging due to GUI setting. Level 0.
2020-01-14 20:33:38.171 T:2973154400  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
2020-01-14 20:33:38.171 T:2973154400  NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
2020-01-14 20:33:38.241 T:2973154400  NOTICE: PulseAudio: Server not running
2020-01-14 20:33:38.257 T:2973154400  NOTICE: Running database version Addons27
2020-01-14 20:33:38.401 T:2973154400  NOTICE: ADDON: audioencoder.kodi.builtin.aac v1.0.0 installed
2020-01-14 20:33:38.401 T:2973154400  NOTICE: ADDON: audioencoder.kodi.builtin.wma v1.0.0 installed
2020-01-14 20:33:38.401 T:2973154400  NOTICE: ADDON: game.controller.default v1.0.8 installed
2020-01-14 20:33:38.401 T:2973154400  NOTICE: ADDON: game.controller.snes v1.0.8 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.global.audioengine v1.0.1 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.global.filesystem v1.0.2 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.global.general v1.0.3 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.global.gui v5.12.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.global.main v1.0.14 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.global.network v1.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.audiodecoder v2.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.audioencoder v2.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.game v1.1.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.imagedecoder v2.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.inputstream v2.0.8 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.peripheral v1.3.7 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.pvr v5.10.3 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.screensaver v2.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.vfs v2.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.videocodec v1.0.1 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.visualization v2.0.1 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.resource v1.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.album.universal v3.1.2 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.artists.universal v4.3.2 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.common.allmusic.com v3.2.1 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.common.fanart.tv v3.6.2 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.common.imdb.com v3.1.4 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.common.musicbrainz.org v2.2.1 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.common.theaudiodb.com v2.0.3 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.common.themoviedb.org v3.1.10 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.local v1.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.themoviedb.org v5.1.10 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.tvshows.themoviedb.org v3.4.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: repository.xbmc.org v3.1.6 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: resource.images.weathericons.default v1.1.8 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: resource.language.en_gb v2.0.1 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: resource.uisounds.kodi v1.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: screensaver.xbmc.builtin.black v1.0.33 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: screensaver.xbmc.builtin.dim v1.0.57 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: script.module.pil v1.1.7 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: script.module.pycryptodome v3.4.3 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: service.xbmc.versioncheck v0.5.1 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: skin.estouchy v2.0.26 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: skin.estuary v2.0.25 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: webinterface.default v18.x-2.4.6 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: xbmc.addon v18.4.0 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: xbmc.core v0.1.0 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: xbmc.gui v5.14.0 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: xbmc.json v10.3.0 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: xbmc.metadata v2.1.0 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: xbmc.python v2.26.0 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: xbmc.webinterface v1.0.0 installed
2020-01-14 20:33:38.431 T:2973154400   ERROR: DBus error: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
2020-01-14 20:33:38.509 T:2942300368  NOTICE: Found 2 Lists of Devices
2020-01-14 20:33:38.509 T:2942300368  NOTICE: Enumerated ALSA devices:
2020-01-14 20:33:38.510 T:2942300368  NOTICE:     Device 1
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_deviceName      : @
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_displayName     : Default (bcm2835 ALSA bcm2835 ALSA)
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_displayNameExtra:
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_channels        : FL, FR
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_U8
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_streamTypes     : No passthrough capabilities
2020-01-14 20:33:38.510 T:2942300368  NOTICE:     Device 2
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_deviceName      : sysdefault:CARD=ALSA
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_displayName     : bcm2835 ALSA
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_displayNameExtra: bcm2835 ALSA
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_channels        : FL, FR
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_U8
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_streamTypes     : No passthrough capabilities
2020-01-14 20:33:38.510 T:2942300368  NOTICE: Enumerated PI devices:
2020-01-14 20:33:38.510 T:2942300368  NOTICE:     Device 1
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_deviceName      : HDMI
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_displayName     : HDMI
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_displayNameExtra:
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_channels        : FL, FR
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP,AE_FMT_RAW
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_streamTypes     : STREAM_TYPE_AC3,STREAM_TYPE_EAC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_512
2020-01-14 20:33:38.510 T:2942300368  NOTICE:     Device 2
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_deviceName      : Analogue
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_displayName     : Analogue
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_displayNameExtra:
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_channels        : FL, FR
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_sampleRates     : 48000
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_streamTypes     : No passthrough capabilities
2020-01-14 20:33:38.511 T:2942300368  NOTICE:     Device 3
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_deviceName      : Both
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_displayName     : HDMI and Analogue
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_displayNameExtra:
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_channels        : FL, FR
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_sampleRates     : 48000
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_streamTypes     : No passthrough capabilities
2020-01-14 20:33:38.619 T:2973154400  NOTICE: Raspberry PI firmware version: Sep 24 2019 17:34:30 
                                            Copyright (c) 2012 Broadcom
                                            version cd3add54955f8fa065b414d8fc07c525e7ddffc8 (clean) (release) (start)
2020-01-14 20:33:38.619 T:2973154400  NOTICE: ARM mem: 768MB GPU mem: 256MB MPG2:0 WVC1:0
2020-01-14 20:33:38.620 T:2973154400  NOTICE: Config:
                                            arm_freq=1500
                                            audio_pwm_mode=514
                                            config_hdmi_boost=5
                                            core_freq=500
                                            core_freq_min=200
                                            disable_commandline_tags=2
                                            disable_l2cache=1
                                            disable_overscan=1
                                            display_hdmi_rotate=-1
                                            display_lcd_rotate=-1
                                            enable_gic=1
                                            force_eeprom_read=1
                                            force_pwm_open=1
                                            framebuffer_ignore_alpha=1
                                            framebuffer_swap=1
                                            gpu_freq=500
                                            gpu_freq_min=500
                                            hdmi_channel_map=8
                                            init_uart_clock=0x2dc6c00
                                            lcd_framerate=60
                                            mask_gpu_interrupt0=1024
                                            mask_gpu_interrupt1=0x10000
                                            max_framebuffers=2
                                            pause_burst_frames=1
                                            program_serial_random=1
                                            hdmi_force_cec_address:0=65535
                                            hdmi_force_cec_address:1=65535
                                            hdmi_pixel_freq_limit:0=0x11e1a300
                                            hdmi_pixel_freq_limit:1=0x11e1a300
2020-01-14 20:33:38.620 T:2973154400  NOTICE: Config:
                                            device_tree=-
                                            hdmi_cvt:0=
                                            hdmi_cvt:1=
                                            hdmi_edid_filename:0=
                                            hdmi_edid_filename:1=
                                            hdmi_timings:0=
                                            hdmi_timings:1=
2020-01-14 20:33:39.296 T:2973154400 WARNING: CDRMUtils::FindPlane - could not find plane
2020-01-14 20:33:39.297 T:2973154400 WARNING: CDRMUtils::InitDrm - failed to set drm master, will try to authorize instead: Permission denied
2020-01-14 20:33:39.297 T:2973154400  NOTICE: CDRMUtils::InitDrm - successfully authorized drm magic
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1920x1080 with 1920x1080 @ 50.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1920x1080 with 1920x1080 @ 60.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1920x1080 with 1920x1080 @ 59.940063 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1920x1080 with 1920x1080 @ 30.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1920x1080 with 1920x1080 @ 29.970032 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1920x1080 with 1920x1080 @ 25.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1920x1080 with 1920x1080 @ 24.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1920x1080 with 1920x1080 @ 23.976025 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 2880x576 with 2880x576 @ 50.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 2880x480 with 2880x480 @ 59.940063 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 2880x480 with 2880x480 @ 60.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1280x1024 with 1280x1024 @ 60.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1280x720 with 1280x720 @ 60.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1280x720 with 1280x720 @ 59.940063 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1280x720 with 1280x720 @ 50.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1440x576 with 1440x576 @ 50.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1024x768 with 1024x768 @ 60.000000 Hz
2020-01-14 20:33:40.322 T:2973154400  NOTICE: Found resolution 1440x480 with 1440x480 @ 59.940063 Hz
2020-01-14 20:33:40.322 T:2973154400  NOTICE: Found resolution 1440x480 with 1440x480 @ 60.000000 Hz
2020-01-14 20:33:40.322 T:2973154400  NOTICE: Found resolution 800x600 with 800x600 @ 60.000000 Hz
2020-01-14 20:33:40.322 T:2973154400  NOTICE: Found resolution 720x576 with 720x576 @ 50.000000 Hz
2020-01-14 20:33:40.322 T:2973154400  NOTICE: Found resolution 720x480 with 720x480 @ 59.940063 Hz
2020-01-14 20:33:40.322 T:2973154400  NOTICE: Found resolution 720x480 with 720x480 @ 60.000000 Hz
2020-01-14 20:33:40.322 T:2973154400  NOTICE: Found resolution 640x480 with 640x480 @ 60.000000 Hz
2020-01-14 20:33:40.324 T:2973154400  NOTICE: Previous line repeats 1 times.
2020-01-14 20:33:40.324 T:2973154400  NOTICE: EGL_VERSION = 1.4
2020-01-14 20:33:40.324 T:2973154400  NOTICE: EGL_VENDOR = Mesa Project
2020-01-14 20:33:40.324 T:2973154400  NOTICE: EGL_EXTENSIONS = EGL_ANDROID_blob_cache EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_WL_bind_wayland_display
2020-01-14 20:33:40.324 T:2973154400  NOTICE: EGL_CLIENT_EXTENSIONS = EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_wayland EGL_EXT_platform_x11 EGL_MESA_platform_gbm EGL_MESA_platform_surfaceless EGL_EXT_platform_device
2020-01-14 20:33:40.327 T:2973154400  NOTICE: Checking resolution 16
2020-01-14 20:33:40.437 T:2973154400 WARNING: CGBMUtils::DestroySurface - surface already destroyed
2020-01-14 20:33:41.246 T:2973154400  NOTICE: GL_VENDOR = Broadcom
2020-01-14 20:33:41.246 T:2973154400  NOTICE: GL_RENDERER = V3D 4.2
2020-01-14 20:33:41.246 T:2973154400  NOTICE: GL_VERSION = OpenGL ES 3.0 Mesa 19.2.0-rc1
2020-01-14 20:33:41.246 T:2973154400  NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 3.00
2020-01-14 20:33:41.247 T:2973154400  NOTICE: GL_EXTENSIONS = GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_EXT_occlusion_query_boolean GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_texture_compression_astc_ldr GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_integer_mix GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_draw_elements_base_vertex GL_EXT_texture_border_clamp GL_KHR_context_flush_control GL_OES_draw_elements_base_vertex GL_OES_texture_border_clamp GL_OES_texture_stencil8 GL_EXT_float_blend GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_MESA_shader_integer_functions GL_KHR_parallel_shader_compile GL_EXT_texture_query_lod
2020-01-14 20:33:42.444 T:2973154400   ERROR: eglSwapBuffers failed (EGL_BAD_ALLOC)


############### END LOG FILE ################

############ END Kodi CRASH LOG #############
exactly the same issue, but Kodi crashes even when launched alone... any solution would be welcomed
Again, this is not reproducible on a clean install, there is no solution for a non existent problem. You have to post your debug/crashlog for us to try to see what is your problem.

Delan
Posts: 5
Joined: Fri Feb 21, 2020 9:33 pm

Re: [Guide] Kodi on Raspbian Buster

Sat Feb 22, 2020 5:47 pm

There's no workaround with reinstalling Kodi or cleaning the user content, does it mean we have to fully re-install the OS every time this bug occurs? :-(

I've created a separate thread for this bug but without answer so far...
viewtopic.php?f=28&t=265875&p=1615834&h ... n#p1615834

Any idea to test before going to the "factory reset"?

flyingsubs
Posts: 13
Joined: Sun Nov 17, 2019 7:41 pm

Re: [Guide] Kodi on Raspbian Buster

Fri Feb 28, 2020 8:27 pm

Hi!

I'm using script helper to run estuary mod v2 and seem to be getting errors. Can anyone diagnose the issue? Anyone using script helper on their build?

https://pastebin.com/m8DqkQJZ

Thanks!
Flyingsubs

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

Re: [Guide] Kodi on Raspbian Buster

Fri Feb 28, 2020 8:37 pm

flyingsubs wrote:
Fri Feb 28, 2020 8:27 pm
Hi!

I'm using script helper to run estuary mod v2 and seem to be getting errors. Can anyone diagnose the issue? Anyone using script helper on their build?

https://pastebin.com/m8DqkQJZ

Thanks!
Flyingsubs
Skins that use script helper services are known to cause issues on recent versions of Kodi on the Raspberry Pi.

flyingsubs
Posts: 13
Joined: Sun Nov 17, 2019 7:41 pm

Re: [Guide] Kodi on Raspbian Buster

Fri Feb 28, 2020 8:45 pm

Ah okay cool. Thanks for the response. I'm assuming I'll have to wait for an update on the skin helper. I don't see any issues other that there are error warnings every time I start Kodi

Return to “Raspberry Pi OS”