koying / SPMC

fork of xbmc/kodi
Other
634 stars 257 forks source link

Corrupted screen on odroid c2 (S905) on 16.6 and 16.7 #915

Open johnnygal opened 7 years ago

johnnygal commented 7 years ago

Platform: Odroid C2 (S905) with Android 5.1 (same issue on 6.0)

SPMC runs up but the screen is corrupt, kind of looks like a TV not tuned in properly/bad frequency. The mouse cursor moves and seems to be taking action to clicks, as sounds are heard.

I have tried spmc 16.6 and 16.7. I have tried installing from play store and directly using apk. I have tried 2 TVs, with and without an AV receiver. I tried renaming the .spmc directory and have it recreated at next start, but the same result.

In the debug log, the only non 'NOTICE' lines are: 14:20:54.025 T:18446744073425162752 NOTICE: Running database version Addons20 14:20:55.119 T:18446744073425162752 WARNING: CSkinInfo: failed to load skin settings 14:20:55.459 T:18446744073425162752 WARNING: Previous line repeats 1 times. 14:20:55.459 T:18446744073425162752 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList" 14:20:55.531 T:18446744073425162752 NOTICE: ActiveAE DSP - starting 14:20:55.542 T:18446744073425162752 NOTICE: initialize done 14:20:55.542 T:18446744073425162752 NOTICE: Running the application... 14:20:55.689 T:18446744073425162752 ERROR: Window Translator: Can't find window filestackingdialog 14:20:55.690 T:18446744073425162752 ERROR: Window Translator: Can't find window peripherals 14:20:55.905 T:18446744073425162752 NOTICE: starting zeroconf publishing 14:20:55.906 T:18446744073425162752 NOTICE: WebServer: Started the webserver 14:20:55.907 T:18446744073103181568 NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777 14:20:55.907 T:18446744073103181568 NOTICE: UDP: Listening on port 9777 14:20:55.908 T:18446744073425162752 NOTICE: CEGLNativeTypeAndroid: Current resolution: 1920x1080 @ 60.000004 - Full Screen 14:20:55.908 T:18446744073425162752 NOTICE: GL_VENDOR = ARM 14:20:55.908 T:18446744073425162752 NOTICE: GL_RENDERER = Mali-450 MP 14:20:55.909 T:18446744073425162752 NOTICE: GL_VERSION = OpenGL ES 2.0 14:20:55.909 T:18446744073425162752 NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 1.00 14:20:55.909 T:18446744073425162752 NOTICE: GL_EXTENSIONS = GL_EXT_debug_marker GL_OES_texture_npot GL_OES_vertex_array_object GL_OES_compressed_ETC1_RGB8_texture GL_EXT_compressed_ETC1_RGB8_sub_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_OES_vertex_half_float GL_EXT_blend_minmax GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_ARM_mali_program_binary GL_EXT_shader_texture_lod GL_EXT_robustness GL_OES_depth_texture_cube_map GL_KHR_debug GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_OES_mapbuffer 14:21:29.792 T:18446744073425162752 ERROR: Window Translator: Can't find window filestackingdialog 14:21:29.793 T:18446744073425162752 ERROR: Window Translator: Can't find window peripherals 14:21:29.834 T:18446744073425162752 ERROR: CGUITextureManager::GetTexturePath: could not find texture 'button-focus.png'

I have set debug level to 2 and the lines below are where there are warnings/errors:

15:52:38.319 T:18446744073167444272 DEBUG: ------ Window Init () ------ 15:52:38.320 T:18446744073167444272 INFO: load splash image: /data/user/0/com.semperpax.spmc16/cache/apk/assets/media/Splash.png 15:52:38.321 T:18446744073167444272 WARNING: CSkinInfo: failed to load skin settings 15:52:38.326 T:18446744073167444272 INFO: Unloading old skin ... 15:52:38.327 T:18446744073167444272 INFO: load skin from: /data/user/0/com.semperpax.spmc16/cache/apk/assets/addons/skin.re-touched (version: 5.1.2) 15:52:38.328 T:18446744073167444272 WARNING: CSkinInfo: failed to load skin settings 15:52:38.328 T:18446744073167444272 INFO: load fonts for skin... 15:52:38.336 T:18446744073167444272 INFO: Loading fonts from /data/user/0/com.semperpax.spmc16/cache/apk/assets/addons/skin.re-touched/16x9/Font.xml 15:52:38.469 T:18446744073167444272 DEBUG: POParser: loaded 84 strings from file /data/user/0/com.semperpax.spmc16/cache/apk/assets/addons/skin.re-touched/language/English/strings.po 15:52:38.470 T:18446744073167444272 INFO: Loading skin includes from /data/user/0/com.semperpax.spmc16/cache/apk/assets/addons/skin.re-touched/16x9/Includes.xml 15:52:38.599 T:18446744073167444272 INFO: load new skin... 15:52:38.599 T:18446744073167444272 INFO: Loading user windows, path /data/user/0/com.semperpax.spmc16/cache/apk/assets/addons/skin.re-touched/16x9 15:52:38.620 T:18446744073167444272 DEBUG: Load Skin XML: 21.24ms 15:52:38.620 T:18446744073167444272 INFO: initialize new skin... 15:52:38.620 T:18446744073167444272 DEBUG: guilib: Fill viewport on change for solving rendering passes 15:52:38.620 T:18446744073167444272 INFO: Loading skin file: Pointer.xml, load type: LOAD_ON_GUI_INIT 15:52:38.633 T:18446744073167444272 DEBUG: OpenBundle - Opened bundle /data/user/0/com.semperpax.spmc16/cache/apk/assets/addons/skin.re-touched/media/Textures.xbt 15:52:38.650 T:18446744073167444272 INFO: Loading skin file: DialogVolumeBar.xml, load type: LOAD_ON_GUI_INIT 15:52:38.657 T:18446744073167444272 INFO: Loading skin file: DialogKaiToast.xml, load type: LOAD_ON_GUI_INIT 15:52:38.662 T:18446744073167444272 INFO: Loading skin file: DialogMuteBug.xml, load type: LOAD_ON_GUI_INIT 15:52:38.665 T:18446744073167444272 INFO: Loading skin file: DialogSeekBar.xml, load type: LOAD_ON_GUI_INIT 15:52:38.676 T:18446744073167444272 INFO: Loading skin file: DialogBusy.xml, load type: LOAD_ON_GUI_INIT 15:52:38.681 T:18446744073167444272 INFO: Loading skin file: DialogExtendedProgressBar.xml, load type: LOAD_ON_GUI_INIT 15:52:38.687 T:18446744073167444272 INFO: Loading resource://resource.uisounds.confluence/sounds.xml 15:52:38.738 T:18446744073167444272 INFO: skin loaded... 15:52:38.738 T:18446744073167444272 DEBUG: Activating window ID: 12997 15:52:38.738 T:18446744073167444272 DEBUG: ------ Window Init () ------ 15:52:38.738 T:18446744073167444272 INFO: load splash image: /data/user/0/com.semperpax.spmc16/cache/apk/assets/media/Splash.png 15:52:38.786 T:18446744073167444272 DEBUG: JSONRPC: JSON schema type definition references an unknown type Setting.Details.Setting 15:52:38.786 T:18446744073167444272 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList" 15:52:38.786 T:18446744073167444272 INFO: JSONRPC: Adding type "Setting.Details.SettingList" to list of incomplete definitions (waiting for "Setting.Details.Setting") 15:52:38.787 T:18446744073167444272 INFO: JSONRPC: Resolving incomplete types/methods referencing Setting.Details.Setting 15:52:38.848 T:18446744073167444272 INFO: JSONRPC v6.32.5: Successfully initialized 15:52:38.848 T:18446744073167444272 DEBUG: ADDON: Starting service addons. 15:52:38.850 T:18446744073167444272 DEBUG: Activating window ID: 12999 15:52:38.850 T:18446744073167444272 DEBUG: ------ Window Init (Startup.xml) ------ 15:52:38.850 T:18446744073167444272 INFO: Loading skin file: Startup.xml, load type: LOAD_EVERY_TIME 15:52:38.871 T:18446744073167444272 NOTICE: ActiveAE DSP - starting 15:52:38.871 T:18446744073167444272 INFO: removing tempfiles 15:52:38.876 T:18446744073167444272 DEBUG: ADDON: Starting service addons. 15:52:38.882 T:18446744073167444272 DEBUG: CRepositoryUpdater: previous update at 05/31/2017 6:00:54 AM, next at 06/01/2017 6:00:54 AM 15:52:38.883 T:18446744073167444272 NOTICE: initialize done 15:52:38.883 T:18446744073117628720 DEBUG: Thread Timer start, auto delete: false 15:52:38.883 T:18446744073167444272 NOTICE: Running the application... 15:52:38.884 T:18446744073167444272 DEBUG: Activating window ID: 10000 15:52:38.944 T:18446744073167444272 INFO: GLES: Enabling VSYNC 15:52:38.944 T:18446744073167444272 INFO: GLES: Selected vsync mode 10 15:52:38.977 T:18446744073167444272 DEBUG: ------ Window Deinit (Startup.xml) ------ 15:52:38.978 T:18446744073167444272 DEBUG: ------ Window Init (Home.xml) ------ 15:52:38.979 T:18446744073167444272 INFO: Loading skin file: Home.xml, load type: KEEP_IN_MEMORY 15:52:39.039 T:18446744073167444272 ERROR: Window Translator: Can't find window filestackingdialog 15:52:39.040 T:18446744073167444272 ERROR: Window Translator: Can't find window peripherals 15:52:39.068 T:18446744073088530736 DEBUG: Thread JobWorker start, auto delete: true 15:52:39.085 T:18446744073088530736 DEBUG: CRecentlyAddedJob::UpdateMusic() - Running RecentlyAdded home screen update 15:52:39.085 T:18446744073167444272 DEBUG: no profile autoexec.py (/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/userdata/autoexec.py) found, skipping 15:52:39.085 T:18446744073167444272 DEBUG: NetworkMessage - Starting network services 15:52:39.101 T:18446744073088530736 DEBUG: GetRecentlyAddedAlbumSongs() query: SELECT songview., songartistview. FROM (SELECT idAlbum FROM album ORDER BY idAlbum DESC LIMIT 10) AS recentalbums JOIN songview ON songview.idAlbum = recentalbums.idAlbum JOIN songartistview ON songview.idSong = songartistview.idSong ORDER BY songview.idAlbum desc, songview.itrack, songartistview.iOrder 15:52:39.103 T:18446744073088530736 DEBUG: GetRecentlyAddedAlbums query: SELECT albumview., albumartistview. FROM (SELECT idAlbum FROM album WHERE strAlbum != '' ORDER BY idAlbum DESC LIMIT 10) AS recentalbums JOIN albumview ON albumview.idAlbum = recentalbums.idAlbum LEFT JOIN albumartistview ON albumview.idAlbum = albumartistview.idAlbum ORDER BY albumview.idAlbum desc, albumartistview.iOrder 15:52:39.108 T:18446744073088530736 DEBUG: CRecentlyAddedJob::UpdateVideos() - Running RecentlyAdded home screen update 15:52:39.138 T:18446744073088530736 DEBUG: CRecentlyAddedJob::UpdateTotal() - Running RecentlyAdded home screen update 15:52:39.292 T:18446744073167444272 NOTICE: starting zeroconf publishing 15:52:39.293 T:18446744073167444272 NOTICE: WebServer: Started the webserver 15:52:39.293 T:18446744073088530736 DEBUG: ZeroconfAndroid: identifier: servers.webserver type: _http._tcp name:Kodi port:8080 15:52:39.293 T:18446744073084328240 DEBUG: Thread JobWorker start, auto delete: true 15:52:39.293 T:18446744073167444272 INFO: JSONRPC Server: Successfully initialized 15:52:39.293 T:18446744073084328240 DEBUG: ZeroconfAndroid: identifier: servers.jsonrpc-http type: _xbmc-jsonrpc-h._tcp name:Kodi port:8080 15:52:39.293 T:18446744073083283760 DEBUG: Thread EventServer start, auto delete: false 15:52:39.294 T:18446744073082239280 DEBUG: Thread TCPServer start, auto delete: false 15:52:39.294 T:18446744073083283760 NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777 15:52:39.294 T:18446744073167444272 DEBUG: CWinSystemEGL::CreateNewWindow: No need to create a new window 15:52:39.294 T:18446744073083283760 NOTICE: UDP: Listening on port 9777 15:52:39.294 T:18446744073167444272 NOTICE: GL_VENDOR = ARM 15:52:39.294 T:18446744073167444272 NOTICE: GL_RENDERER = Mali-450 MP 15:52:39.294 T:18446744073167444272 NOTICE: GL_VERSION = OpenGL ES 2.0 15:52:39.294 T:18446744073167444272 NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 1.00 15:52:39.294 T:18446744073167444272 DEBUG: GLES: Extension Support Test - GL_NVX_gpu_memory_info NO 15:52:39.294 T:18446744073167444272 NOTICE: GL_EXTENSIONS = GL_EXT_debug_marker GL_OES_texture_npot GL_OES_vertex_array_object GL_OES_compressed_ETC1_RGB8_texture GL_EXT_compressed_ETC1_RGB8_sub_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_OES_vertex_half_float GL_EXT_blend_minmax GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_ARM_mali_program_binary GL_EXT_shader_texture_lod GL_EXT_robustness GL_OES_depth_texture_cube_map GL_KHR_debug GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_OES_mapbuffer 15:52:39.294 T:18446744073167444272 DEBUG: GLES: Extension Support Test - GL_EXT_texture_format_BGRA8888 YES 15:52:39.294 T:18446744073167444272 DEBUG: GLES: Extension Support Test - GL_IMG_texture_format_BGRA8888 NO 15:52:39.295 T:18446744073081194800 DEBUG: Thread JobWorker start, auto delete: true 15:52:39.295 T:18446744073167444272 DEBUG: GLES: Extension Support Test - GL_APPLE_texture_format_BGRA8888 NO 15:52:39.295 T:18446744073081194800 DEBUG: ZeroconfAndroid: identifier: servers.jsonrpc-tpc type: _xbmc-jsonrpc._tcp name:Kodi port:9090 15:52:39.295 T:18446744073167444272 DEBUG: GLES: Extension Support Test - GL_EXT_unpack_subimage NO 15:52:39.295 T:18446744073167444272 DEBUG: GUI Shader - Tried to Initialise again. Was this intentional? 15:52:39.300 T:18446744073088530736 DEBUG: ZeroconfAndroid: identifier: servers.eventserver type: _xbmc-events._udp name:Kodi port:9777 15:52:39.300 T:18446744073084328240 INFO: easy_aquire - Created session to http://www.msftncsi.com 15:52:39.324 T:18446744073167444272 INFO: GLES: Enabling VSYNC 15:52:39.324 T:18446744073167444272 INFO: GLES: Selected vsync mode 10 15:52:40.116 T:18446744073087486256 INFO: ZeroconfAndroid: Kodi. now registered and active

Any help appreciated.

Thanks, John

TinderboxUK commented 7 years ago

I had a problem on 16.7 on my 1080p TV, when i set the resolution in SPMC to 720p i get a garbled display horizontal lines, on my Samsung 55" TV with my S905X TV BOX.

John.

wrxtasy commented 7 years ago

These are all AMLogic Firmware problems and nothing to do with SPMC.

How do I know - well SPMC 16.7.0 works just fine on the AMLogic Android 6.0.1 Marshmallow platforms - the MINIX U9, Xiaomi Mi Box and the WeTek Hub. The Hub's a bit special as Amcodec Hardware acceleration still works on that for high quality hardware deinterlacing as well 👍

I suggest those using AMLogic that want a smooth Kodi experience use LibreELEC Kodi Krypton as I doubt Android Firmware causing Kodi/SPMC compatibility problems are going to get fixed in a hurry, if at all.

johnnygal commented 7 years ago

Ahh, ok. Now using LibreELEC and working fine. Thanks. I was hoping to have an android os so I could use browser, etc. Settled on an android/LibreELEC dual boot instead.