Open drmowinckels opened 6 years ago
What version of Kodi is installed?
Hi, I'm running into the same problem on my Raspberry Pi 3, but I did not even link to my Plex account! This is using Kodi 17.6 and the latest Plex-for-Kodi release.
Looking at the logs I do not see any interesting, except for some images not loading. It seems like the GPU does not support decoding the JPEGs. I would expect the decoding to fallback to the CPU if GPU decoding is not supported, but the absence of loaded JPEGs could explain the black screen.
00:13:23.132 T:1740702608 NOTICE: script.plex: [ STARTED: 0.1.3 -------------------------------------------------------------------- ]
00:13:23.132 T:1740702608 NOTICE: script.plex: USER-AGENT: Plex-for-Kodi/0.1.3 Kodi/17.6-Git:20171117-nogitfound CPython/2.7.14 Linux/4.9.76-1-ARCH
00:13:23.132 T:1740702608 NOTICE: script.plex: Initializing...
00:13:23.159 T:1740702608 NOTICE: script.plex: API: Starting selected server search, hoping for
00:13:23.177 T:1740702608 NOTICE: script.plex: Waiting for account initialization...
00:13:23.183 T:1740702608 WARNING: CSkinInfo: failed to load skin settings
00:13:23.193 T:1913749008 DEBUG: Activating window ID: 13001
00:13:23.193 T:1913749008 DEBUG: ------ Window Deinit (/home/domum/.kodi/addons/script.plex/resources/skins/Main/1080i/script-plex-background.xml) ------
00:13:23.193 T:1913749008 DEBUG: ------ Window Init (/home/domum/.kodi/addons/script.plex/resources/skins/Main/1080i/script-plex-signin_background.xml) ------
00:13:23.193 T:1913749008 INFO: Loading skin file: /home/domum/.kodi/addons/script.plex/resources/skins/Main/1080i/script-plex-signin_background.xml, load type: LOAD_ON_GUI_INIT
00:13:23.195 T:1913749008 DEBUG: CGUIMediaWindow::GetDirectory ()
00:13:23.195 T:1913749008 DEBUG: ParentPath = []
00:13:23.229 T:1740702608 WARNING: CSkinInfo: failed to load skin settings
00:13:23.229 T:1913749008 WARNING: COMXImageFile::GetCodingType progressive images not supported by decoder
00:13:23.229 T:1913749008 DEBUG: COMXImageFile::ReadFile /home/domum/.kodi/addons/script.plex/resources/skins/Main/media/script.plex/sign_in/back.jpg GetCodingType=0x7fffffff (1920x1080)
00:13:23.229 T:1913749008 NOTICE: LoadJpeg: unable to load /home/domum/.kodi/addons/script.plex/resources/skins/Main/media/script.plex/sign_in/back.jpg
00:13:23.951 T:1913749008 DEBUG: Activating window ID: 13002
00:13:23.952 T:1913749008 DEBUG: ------ Window Deinit (/home/domum/.kodi/addons/script.plex/resources/skins/Main/1080i/script-plex-signin_background.xml) ------
00:13:23.952 T:1913749008 DEBUG: ------ Window Init (/home/domum/.kodi/addons/script.plex/resources/skins/Main/1080i/script-plex-pre_signin.xml) ------
00:13:23.952 T:1913749008 INFO: Loading skin file: /home/domum/.kodi/addons/script.plex/resources/skins/Main/1080i/script-plex-pre_signin.xml, load type: LOAD_ON_GUI_INIT
00:13:23.954 T:1913749008 DEBUG: CGUIMediaWindow::GetDirectory ()
00:13:23.954 T:1913749008 DEBUG: ParentPath = []
00:13:23.990 T:1913749008 WARNING: COMXImageFile::GetCodingType progressive images not supported by decoder
00:13:23.990 T:1913749008 DEBUG: COMXImageFile::ReadFile /home/domum/.kodi/addons/script.plex/resources/skins/Main/media/script.plex/sign_in/pre-signin.jpg GetCodingType=0x7fffffff (1920x1080)
00:13:23.990 T:1913749008 NOTICE: LoadJpeg: unable to load /home/domum/.kodi/addons/script.plex/resources/skins/Main/media/script.plex/sign_in/pre-signin.jpg
00:13:28.967 T:1913749008 DEBUG: ------ Window Deinit (Pointer.xml) ------
00:13:31.757 T:1913749008 DEBUG: ------ Window Init (Pointer.xml) ------
00:13:38.482 T:1913749008 DEBUG: ProcessMouse: trying mouse action leftclick
00:13:39.260 T:1913749008 DEBUG: Previous line repeats 1 times.
00:13:39.260 T:1913749008 DEBUG: ProcessMouse: unknown mouse command 57605
00:13:39.261 T:1913749008 DEBUG: ------ Window Deinit (Pointer.xml) ------
I will try to re-encode the JPEGs tomorrow and see if that changes anything. If anyone has any other suggestions I would love to hear them!
I'm back with answers! Not sure if you were encountering the same errors in the logs, but your system's behaviour was identical to mine.
I re-encoded the two jpegs COMX was complaining in baseline encoding instead of progressive first. If anyone's interested:
~/.kodi/addons/script.plex/resources/skins/Main/media/script.plex/sign_in/pre-signin.jpg
~/.kodi/addons/script.plex/resources/skins/Main/media/script.plex/sign_in/back.jpg
After doing so, my original errors disappeared. I then logged the following:
19:52:48.269 T:1617568656 NOTICE: script.plex: [ STARTED: 0.1.3 -------------------------------------------------------------------- ]
19:52:48.279 T:1617568656 NOTICE: script.plex: USER-AGENT: Plex-for-Kodi/0.1.3 Kodi/17.6-Git:20171117-nogitfound CPython/2.7.14 Linux/4.9.76-1-ARCH
19:52:48.296 T:1617568656 NOTICE: script.plex: Initializing...
19:52:48.318 T:1617568656 NOTICE: script.plex: API: Starting selected server search, hoping for
19:52:48.329 T:1617568656 NOTICE: script.plex: Waiting for account initialization...
19:52:48.335 T:1617568656 WARNING: CSkinInfo: failed to load skin settings
19:52:48.345 T:1914572304 DEBUG: Activating window ID: 13001
19:52:48.345 T:1914572304 DEBUG: ------ Window Deinit (/home/domum/.kodi/addons/script.plex/resources/skins/Main/1080i/script-plex-background.xml) ------
19:52:48.346 T:1914572304 DEBUG: ------ Window Init (/home/domum/.kodi/addons/script.plex/resources/skins/Main/1080i/script-plex-signin_background.xml) ------
19:52:48.346 T:1914572304 INFO: Loading skin file: /home/domum/.kodi/addons/script.plex/resources/skins/Main/1080i/script-plex-signin_background.xml, load type: LOAD_ON_GUI_INIT
19:52:48.347 T:1914572304 DEBUG: CGUIMediaWindow::GetDirectory ()
19:52:48.347 T:1914572304 DEBUG: ParentPath = []
19:52:48.381 T:1617568656 WARNING: CSkinInfo: failed to load skin settings
19:52:48.394 T:1914572304 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.image_decode input port 320 output port 321 m_handle 0x4353690
19:52:48.395 T:1914572304 DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.image_decode) - port(320), nBufferCountMin(2), nBufferCountActual(2), nBufferSize(253328), nBufferAlignmen(16)
19:52:48.400 T:1914572304 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.resize input port 60 output port 61 m_handle 0x46bce78
19:52:48.402 T:1914572304 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.egl_render input port 220 output port 221 m_handle 0x4a926f8
19:52:48.403 T:1914572304 DEBUG: COMXCoreComponent::UseEGLImage component(OMX.broadcom.egl_render) - port(221), nBufferCountMin(1), nBufferCountActual(1), nBufferSize(15360) nBufferAlignmen(16)
19:52:48.432 T:1822421904 ERROR: COMXCoreComponent::DecoderEventHandler OMX.broadcom.egl_render - OMX_ErrorInsufficientResources, insufficient resources
19:52:48.432 T:1914572304 ERROR: COMXTexture::HandlePortSettingChange m_omx_tunnel_egl.Establish (80001000)
19:52:48.432 T:1914572304 ERROR: COMXTexture::Decode - HandlePortSettingChange failed (0)
19:52:48.432 T:1914572304 NOTICE: DecodeJpegToTexture: unable to decode to texture /home/domum/.kodi/addons/script.plex/resources/skins/Main/media/script.plex/sign_in/back.jpg 1280x720
19:52:48.436 T:1914572304 DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.image_decode handle 0x4353690
19:52:48.437 T:1914572304 DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.resize handle 0x46bce78
19:52:48.437 T:1914572304 DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.egl_render handle 0x4a926f8
19:52:49.074 T:1914572304 DEBUG: Activating window ID: 13002
19:52:49.074 T:1914572304 DEBUG: ------ Window Deinit (/home/domum/.kodi/addons/script.plex/resources/skins/Main/1080i/script-plex-signin_background.xml) ------
19:52:49.074 T:1914572304 DEBUG: ------ Window Init (/home/domum/.kodi/addons/script.plex/resources/skins/Main/1080i/script-plex-pre_signin.xml) ------
19:52:49.074 T:1914572304 INFO: Loading skin file: /home/domum/.kodi/addons/script.plex/resources/skins/Main/1080i/script-plex-pre_signin.xml, load type: LOAD_ON_GUI_INIT
19:52:49.076 T:1914572304 DEBUG: CGUIMediaWindow::GetDirectory ()
19:52:49.076 T:1914572304 DEBUG: ParentPath = []
19:52:49.126 T:1914572304 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.image_decode input port 320 output port 321 m_handle 0x4a5afb8
19:52:49.127 T:1914572304 DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.image_decode) - port(320), nBufferCountMin(2), nBufferCountActual(2), nBufferSize(663696), nBufferAlignmen(16)
19:52:49.134 T:1914572304 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.resize input port 60 output port 61 m_handle 0x4a18380
19:52:49.137 T:1914572304 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.egl_render input port 220 output port 221 m_handle 0x45a8738
19:52:49.138 T:1914572304 DEBUG: COMXCoreComponent::UseEGLImage component(OMX.broadcom.egl_render) - port(221), nBufferCountMin(1), nBufferCountActual(1), nBufferSize(15360) nBufferAlignmen(16)
19:52:49.140 T:1822421904 ERROR: COMXCoreComponent::DecoderEventHandler OMX.broadcom.egl_render - OMX_ErrorInsufficientResources, insufficient resources
19:52:49.140 T:1914572304 ERROR: COMXTexture::HandlePortSettingChange m_omx_tunnel_egl.Establish (80001000)
19:52:49.140 T:1914572304 ERROR: COMXTexture::Decode - HandlePortSettingChange failed (0)
19:52:49.140 T:1914572304 NOTICE: DecodeJpegToTexture: unable to decode to texture /home/domum/.kodi/addons/script.plex/resources/skins/Main/media/script.plex/sign_in/pre-signin.jpg 1280x720
19:52:49.144 T:1914572304 DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.image_decode handle 0x4a5afb8
19:52:49.145 T:1914572304 DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.resize handle 0x4a18380
19:52:49.145 T:1914572304 DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.egl_render handle 0x45a8738
19:53:00.074 T:1914572304 DEBUG: ------ Window Deinit (Pointer.xml) ------
The following error stood out to me:
COMXCoreComponent::DecoderEventHandler OMX.broadcom.egl_render - OMX_ErrorInsufficientResources, insufficient resources
I found out that I was setting gpu_mem
of my Raspberry Pi 3 to only a mere 64 megabytes, after increasing this number to 128 megabytes in /boot/config.txt
and rebooting I was able to sign in!
I hope this helps you, or someone else, as to why they might got a black screen! (Additionally you might want to check your permissions, my user account was not in the correct groups such as audio
and video
yet and also caused some issues)
I just installed plex for Kodi on my 2012 macmini media server. Link to plex account is successful, but when i launch the addon, the screen goes black (cursor still visible) and nothing happens. I need to force quit Kodi to get control over my system again.