Jump to content


Photo

devel: kodi_18 vs mipsel


  • Please log in to reply
124 replies to this topic

#1 A.A.

  • Senior Member
  • 251 posts

+5
Neutral

Posted 16 January 2021 - 12:23

Hi,

 

kodi_18 is still failing on vuduo2 (and probably on vusolo2 and vusolose as well).

 

With the latest changes and fixes kodi spits out this crashlog:

 

/home/root/kodi_crashlog-20210116_120846.log
############## Kodi CRASH LOG ###############

################ SYSTEM INFO ################
 Date: Sat Jan 16 12:08:46 CET 2021
 Kodi Options:
 Arch: mips
 Kernel: Linux 3.13.5 #1 SMP Sat Jan 9 08:54:43 UTC 2021
 Release: openpli homebuild
############## END SYSTEM INFO ##############

############### STACK TRACE #################
=====>  Core file: /home/root/core (2021-01-16 12:08:46.000000000)
        =========================================
[New LWP 1037]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/usr/lib/kodi/kodi-stb'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000ca62 in ?? ()

Thread 1 (Thread 0x73bec010 (LWP 1037)):
#0  0x0000ca62 in ?? ()
#1  0x009f9738 in CLinuxTimezone::CLinuxTimezone() ()
warning: GDB can't find the start of the function at 0x7fabe467.

    GDB is unable to find the start of the function at 0x7fabe467
and thus can't determine the size of that function's stack frame.
This means that GDB may be unable to access that stack frame, or
the frames below it.
    This problem is most likely caused by an invalid program counter or
stack pointer.
    However, if you think GDB should simply search farther back
from 0x7fabe467 for code which looks like the beginning of a
function, you can increase the range of the search using the `set
heuristic-fence-post' command.
#2  0x7fabe468 in ?? ()
############# END STACK TRACE ###############

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

Logfile not found in the usual place.
Please attach it separately.

Now to rule out the differences with other distros:

- toolchain seems the same, verify again...

- version of ancillary utils (libfmt, libmicrohttpd, libnfs, etc)

- different egl patch,  outstanding this diff: 

 + list(APPEND DEPLIBS ${CMAKE_SOURCE_DIR}/xbmc/windowing/egl/gles_init.a EGL GLESv2 dvb_base nxpl xbmc_base dvb_client)

 

I have been suggested to totally rule out gold linker, not only for kodi.

I'll probably try a rebuild forcing bfd.

 

Cheers

A.A.

 



Re: devel: kodi_18 vs mipsel #2 WanWizard

  • PLi® Core member
  • 58,392 posts

+1,273
Excellent

Posted 16 January 2021 - 16:07

What a nightmare. :thumbsup for all your work !

 

There are a lot of complaints about no audio on the VU+ 4K models, any idea what that could be? Missing dependency? Incorrect alsa config?


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2+fallback), Octagon SF8008 (S2+T2), Zgemma H9.2H (T2+fallback)

Many answers to your question can be found in our new and improved wiki.

Because to health reasons, I will not be active online very often anymore.


Re: devel: kodi_18 vs mipsel #3 foxbob

  • Senior Member
  • 516 posts

+17
Neutral

Posted 16 January 2021 - 16:53

It works for me:

 

asound.conf

pcm.!default {
    type oss
    device /dev/dsp
}

ctl.!default {
    type oss
    device /dev/mixer
}


Re: devel: kodi_18 vs mipsel #4 A.A.

  • Senior Member
  • 251 posts

+5
Neutral

Posted 16 January 2021 - 17:49

...

- different egl patch,  outstanding this diff: 

 + list(APPEND DEPLIBS ${CMAKE_SOURCE_DIR}/xbmc/windowing/egl/gles_init.a EGL GLESv2 dvb_base nxpl xbmc_base dvb_client)

 

argh, I meant one line later:

 

+elseif(WITH_PLATFORM STREQUAL "vuplus-mipsel") + list(APPEND PLATFORM_DEFINES "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX -DTARGET_STB -DTARGET_STB_EXTEND -DTARGET_V3D -DTARGET_VUPLUS -DTARGET_VUPLUS_MIPSEL")

+ list(APPEND DEPLIBS ${CMAKE_SOURCE_DIR}/xbmc/windowing/egl/gles_init.a EGL GLESv2 dvb_base nxpl xbmc_base dvb_client)

+ list(APPEND SYSTEM_LDFLAGS -L${CMAKE_SOURCE_DIR}/../xbmc-support)

 

I mean this last one, where they help the linker.

Sorry but CMake is not my cup of tea...

 

Cheers

A.A.

 

P.S.

the  -DTARGET_POSIX -DTARGET_LINUX -D_LINUX  are implicit, no need to add here


Edited by A.A., 16 January 2021 - 17:51.


Re: devel: kodi_18 vs mipsel #5 WanWizard

  • PLi® Core member
  • 58,392 posts

+1,273
Excellent

Posted 16 January 2021 - 17:58

 

It works for me:

 

asound.conf

pcm.!default {
    type oss
    device /dev/dsp
}

ctl.!default {
    type oss
    device /dev/mixer
}

Specific for the VU+ 4K, or for all hardware?

 

And if so, how do we get that in the image when kodi is installed, if it is box specific (meaning it has to go into the BSP)?


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2+fallback), Octagon SF8008 (S2+T2), Zgemma H9.2H (T2+fallback)

Many answers to your question can be found in our new and improved wiki.

Because to health reasons, I will not be active online very often anymore.


Re: devel: kodi_18 vs mipsel #6 foxbob

  • Senior Member
  • 516 posts

+17
Neutral

Posted 16 January 2021 - 18:03

This is for everyone VU+ and my gi et110004k.

Need to check.

2021-01-15 20:18:54.993 T:2974598176  NOTICE: -----------------------------------------------------------------------
2021-01-15 20:18:54.993 T:2974598176  NOTICE: Starting Kodi (18.9 (18.9.0) Git:20210114-95ec5268271-dirty). Platform: Linux ARM 32-bit
2021-01-15 20:18:54.993 T:2974598176  NOTICE: Using Release Kodi x32 build
2021-01-15 20:18:54.993 T:2974598176  NOTICE: Kodi compiled 2021-01-14 by GCC 9.3.0 for Linux ARM 32-bit version 5.4.0 (328704)
2021-01-15 20:18:54.993 T:2974598176  NOTICE: Running on 7439 72511 device with openpli-develop, kernel: Linux ARM 32-bit version 4.1.37
2021-01-15 20:18:54.995 T:2974598176  NOTICE: FFmpeg version/source: n4.3.1-29-g89daac5fe2
2021-01-15 20:18:54.995 T:2974598176  NOTICE: Host CPU: ARMv7 Processor rev 3 (v7l), 2 cores available
2021-01-15 20:18:54.995 T:2974598176  NOTICE: ARM Features: Neon enabled
2021-01-15 20:18:54.995 T:2974598176  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
2021-01-15 20:18:54.995 T:2974598176  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/kodi
2021-01-15 20:18:54.995 T:2974598176  NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib/kodi/addons
2021-01-15 20:18:54.995 T:2974598176  NOTICE: special://masterprofile/ is mapped to: /media/hdd/.kodi/userdata
2021-01-15 20:18:54.996 T:2974598176  NOTICE: special://envhome/ is mapped to: /media/hdd
2021-01-15 20:18:54.996 T:2974598176  NOTICE: special://home/ is mapped to: /media/hdd/.kodi
2021-01-15 20:18:54.996 T:2974598176  NOTICE: special://temp/ is mapped to: /tmp/kodi
2021-01-15 20:18:54.996 T:2974598176  NOTICE: special://logpath/ is mapped to: /tmp/kodi
2021-01-15 20:18:54.996 T:2974598176  NOTICE: The executable running is: /usr/lib/kodi/kodi-stb
2021-01-15 20:18:54.996 T:2974598176  NOTICE: Local hostname: et1x000
2021-01-15 20:18:54.996 T:2974598176  NOTICE: Log File is located: /tmp/kodi/kodi.log
2021-01-15 20:18:54.996 T:2974598176  NOTICE: -----------------------------------------------------------------------
2021-01-15 20:18:55.001 T:2974598176    INFO: loading settings
2021-01-15 20:18:55.004 T:2974598176  NOTICE: special://profile/ is mapped to: special://masterprofile/
2021-01-15 20:18:55.021 T:2974598176   DEBUG: CSkinSettings: no <skinsettings> tag found
2021-01-15 20:18:55.022 T:2974598176  NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
2021-01-15 20:18:55.022 T:2974598176  NOTICE: Contents of special://xbmc/system/advancedsettings.xml are...
                                            <advancedsettings>
                                              <video>
                                                <defaultplayer>E2Player</defaultplayer>
                                              </video>
                                            </advancedsettings>
2021-01-15 20:18:55.022 T:2974598176 WARNING: CSettingsManager: missing version attribute
2021-01-15 20:18:55.023 T:2974598176  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
2021-01-15 20:18:55.024 T:2974598176  NOTICE: Default Video Player: E2Player
2021-01-15 20:18:55.024 T:2974598176  NOTICE: Default Audio Player: paplayer
2021-01-15 20:18:55.024 T:2974598176  NOTICE: Disabled debug logging due to GUI setting. Level 0.
2021-01-15 20:18:55.024 T:2974598176  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
2021-01-15 20:18:55.048 T:2974598176  NOTICE: Running database version Addons27
2021-01-15 20:18:55.312 T:2974598176  NOTICE: ADDON: audioencoder.kodi.builtin.aac v1.0.0 installed
2021-01-15 20:18:55.312 T:2974598176  NOTICE: ADDON: audioencoder.kodi.builtin.wma v1.0.0 installed
2021-01-15 20:18:55.312 T:2974598176  NOTICE: ADDON: game.controller.default v1.0.8 installed
2021-01-15 20:18:55.312 T:2974598176  NOTICE: ADDON: game.controller.snes v1.0.8 installed
2021-01-15 20:18:55.312 T:2974598176  NOTICE: ADDON: inputstream.adaptive v2.4.6 installed
2021-01-15 20:18:55.312 T:2974598176  NOTICE: ADDON: inputstream.rtmp v2.0.9 installed
2021-01-15 20:18:55.312 T:2974598176  NOTICE: ADDON: kodi.binary.global.audioengine v1.0.1 installed
2021-01-15 20:18:55.312 T:2974598176  NOTICE: ADDON: kodi.binary.global.filesystem v1.0.2 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: kodi.binary.global.general v1.0.3 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: kodi.binary.global.gui v5.12.0 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: kodi.binary.global.main v1.0.14 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: kodi.binary.global.network v1.0.0 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: kodi.binary.instance.audiodecoder v2.0.0 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: kodi.binary.instance.audioencoder v2.0.0 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: kodi.binary.instance.game v1.1.0 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: kodi.binary.instance.imagedecoder v2.0.0 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: kodi.binary.instance.inputstream v2.0.8 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: kodi.binary.instance.peripheral v1.3.7 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: kodi.binary.instance.pvr v5.10.3 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: kodi.binary.instance.screensaver v2.0.0 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: kodi.binary.instance.vfs v2.0.0 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: kodi.binary.instance.videocodec v1.0.1 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: kodi.binary.instance.visualization v2.0.1 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: kodi.resource v1.0.0 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: metadata.album.universal v3.1.3 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: metadata.artists.universal v4.3.3 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: metadata.common.allmusic.com v3.2.2 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: metadata.common.fanart.tv v3.6.3 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: metadata.common.imdb.com v3.1.6 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: metadata.common.musicbrainz.org v2.2.4 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: metadata.common.theaudiodb.com v2.0.3 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: metadata.common.themoviedb.org v3.2.13 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: metadata.local v1.0.0 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: metadata.themoviedb.org v5.2.6 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: metadata.tvshows.themoviedb.org v3.5.12 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: plugin.video.playthis v5.0.3 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: plugin.video.youtube v6.8.9 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: pvr.iptvsimple v3.10.0 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: pvr.vuplus v3.28.9 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: repository.anxdpanic v2.0.0 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: repository.xbmc.org v3.1.6 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: resource.images.weathericons.default v1.1.8 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: resource.language.en_gb v2.0.1 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: resource.language.ru_ru v9.0.18 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: resource.uisounds.kodi v1.0.0 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: screensaver.xbmc.builtin.black v1.0.33 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: screensaver.xbmc.builtin.dim v1.0.59 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: script.module.addon.signals v0.0.6 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: script.module.certifi v2019.9.11 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: script.module.chardet v3.0.4 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: script.module.idna v2.8 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: script.module.inputstreamhelper v0.5.2 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: script.module.kodi-six v0.1.3 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: script.module.pil v1.1.7 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: script.module.pycryptodome v3.4.3 installed
2021-01-15 20:18:55.313 T:2974598176  NOTICE: ADDON: script.module.requests v2.22.0 installed
2021-01-15 20:18:55.314 T:2974598176  NOTICE: ADDON: script.module.six v1.13.0 installed
2021-01-15 20:18:55.314 T:2974598176  NOTICE: ADDON: script.module.urllib3 v1.25.6 installed
2021-01-15 20:18:55.314 T:2974598176  NOTICE: ADDON: script.module.youtube.dl v20.616.0 installed
2021-01-15 20:18:55.314 T:2974598176  NOTICE: ADDON: service.xbmc.versioncheck v0.5.12 installed
2021-01-15 20:18:55.314 T:2974598176  NOTICE: ADDON: skin.estouchy v2.0.28 installed
2021-01-15 20:18:55.314 T:2974598176  NOTICE: ADDON: skin.estuary v2.0.27 installed
2021-01-15 20:18:55.314 T:2974598176  NOTICE: ADDON: webinterface.default v18.x-2.4.6 installed
2021-01-15 20:18:55.314 T:2974598176  NOTICE: ADDON: xbmc.addon v18.9 installed
2021-01-15 20:18:55.314 T:2974598176  NOTICE: ADDON: xbmc.core v0.1.0 installed
2021-01-15 20:18:55.314 T:2974598176  NOTICE: ADDON: xbmc.gui v5.14.0 installed
2021-01-15 20:18:55.314 T:2974598176  NOTICE: ADDON: xbmc.json v10.3.0 installed
2021-01-15 20:18:55.314 T:2974598176  NOTICE: ADDON: xbmc.metadata v2.1.0 installed
2021-01-15 20:18:55.314 T:2974598176  NOTICE: ADDON: xbmc.python v2.26.0 installed
2021-01-15 20:18:55.314 T:2974598176  NOTICE: ADDON: xbmc.webinterface v1.0.0 installed
2021-01-15 20:18:55.361 T:2974598176   ERROR: DBus error: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.login1 was not provided by any .service files
2021-01-15 20:18:57.492 T:2964321168  NOTICE: Found 1 Lists of Devices
2021-01-15 20:18:57.492 T:2964321168  NOTICE: Enumerated ALSA devices:
2021-01-15 20:18:57.493 T:2964321168  NOTICE:     Device 1
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_deviceName      : default
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_displayName     : Default (BRCM PCM BRCM PCM) ()
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_displayNameExtra:
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_channels        : FL, FR, BL, BR, FC, LFE, SL, SR, UNKNOWN1, UNKNOWN2, UNKNOWN3, UNKNOWN4, UNKNOWN5, UNKNOWN6, UNKNOWN7, UNKNOWN8
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_dataFormats     : AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_streamTypes     : No passthrough capabilities
2021-01-15 20:18:57.493 T:2964321168  NOTICE:     Device 2
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_deviceName      : samplerate
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_displayName     : BRCM PCM (samplerate) ()
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_displayNameExtra: BRCM PCM
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_channels        : FL, FR, BL, BR, FC, LFE, SL, SR, UNKNOWN1, UNKNOWN2, UNKNOWN3, UNKNOWN4, UNKNOWN5, UNKNOWN6, UNKNOWN7, UNKNOWN8
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_dataFormats     : AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_streamTypes     : No passthrough capabilities
2021-01-15 20:18:57.493 T:2964321168  NOTICE:     Device 3
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_deviceName      : speexrate
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_displayName     : BRCM PCM (speexrate) ()
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_displayNameExtra: BRCM PCM
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_channels        : FL, FR, BL, BR, FC, LFE, SL, SR, UNKNOWN1, UNKNOWN2, UNKNOWN3, UNKNOWN4, UNKNOWN5, UNKNOWN6, UNKNOWN7, UNKNOWN8
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_dataFormats     : AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_streamTypes     : No passthrough capabilities
2021-01-15 20:18:57.493 T:2964321168  NOTICE:     Device 4
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_deviceName      : speex
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_displayName     : BRCM PCM (speex) ()
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_displayNameExtra: BRCM PCM
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
2021-01-15 20:18:57.493 T:2964321168  NOTICE:         m_channels        : FL
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_streamTypes     : No passthrough capabilities
2021-01-15 20:18:57.494 T:2964321168  NOTICE:     Device 5
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_deviceName      : upmix
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_displayName     : BRCM PCM (upmix) ()
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_displayNameExtra: BRCM PCM
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_channels        : UNKNOWN1, FL, FR, FC, BL, BR, LFE, SL, SR
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_streamTypes     : No passthrough capabilities
2021-01-15 20:18:57.494 T:2964321168  NOTICE:     Device 6
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_deviceName      : vdownmix
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_displayName     : BRCM PCM ()
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_displayNameExtra: BRCM PCM
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_channels        : FL, FR, BL, BR, FC, LFE
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_streamTypes     : No passthrough capabilities
2021-01-15 20:18:57.494 T:2964321168  NOTICE:     Device 7
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_deviceName      : sysdefault:CARD=PCM
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_displayName     : BRCM PCM (PCM)
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_displayNameExtra: BRCM PCM
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_channels        : FL, FR, BL, BR, FC, LFE, SL, SR, UNKNOWN1, UNKNOWN2, UNKNOWN3, UNKNOWN4, UNKNOWN5, UNKNOWN6, UNKNOWN7, UNKNOWN8
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_dataFormats     : AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
2021-01-15 20:18:57.494 T:2964321168  NOTICE:         m_streamTypes     : No passthrough capabilities
2021-01-15 20:18:57.738 T:2974598176  NOTICE: InitWindowSystem: Using EGL Implementation: NexTV
2021-01-15 20:18:57.757 T:2974598176  NOTICE: Found (1280x720@50.000000) at 16, setting to RES_DESKTOP at 16
2021-01-15 20:18:57.757 T:2974598176  NOTICE: Checking resolution 19
2021-01-15 20:18:57.759 T:2974598176  NOTICE: GL_VENDOR = Broadcom
2021-01-15 20:18:57.759 T:2974598176  NOTICE: GL_RENDERER = VideoCore V HW (V3D-530)
2021-01-15 20:18:57.759 T:2974598176  NOTICE: GL_VERSION = OpenGL ES 3.1
2021-01-15 20:18:57.759 T:2974598176  NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 3.10
2021-01-15 20:18:57.759 T:2974598176  NOTICE: GL_EXTENSIONS = GL_BRCM_mirror_once_border GL_BRCM_polygon_mode GL_BRCM_texture_1D GL_BRCM_texture_norm16 GL_EXT_color_buffer_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_draw_elements_base_vertex GL_EXT_multi_draw_indirect GL_EXT_multisampled_render_to_texture GL_EXT_primitive_bounding_box GL_EXT_protected_textures GL_EXT_robustness GL_EXT_shader_integer_mix GL_EXT_shader_texture_lod GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_debug GL_KHR_texture_compression_astc_ldr GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_depth24 GL_OES_draw_elements_base_vertex GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_primitive_bounding_box GL_OES_rgb8_rgba8 GL_OES_shader_image_atomic GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_npot GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_vertex_array_object GL_OES_vertex_half_float
2021-01-15 20:18:58.260 T:2974598176 WARNING: Repository add-on repository.anxdpanic uses plain HTTP for add-on downloads in path http://panicked.xyz/repository/anxdpanic/python2/zips/ - this is insecure and will make your Kodi installation vulnerable to attacks if enabled!
2021-01-15 20:18:58.403 T:2675950480  NOTICE: Running database version Addons27
2021-01-15 20:18:58.412 T:2675950480  NOTICE: Running database version ViewModes6
2021-01-15 20:18:58.415 T:2675950480  NOTICE: Running database version Textures13
2021-01-15 20:18:58.418 T:2675950480  NOTICE: Running database version MyMusic72
2021-01-15 20:18:58.424 T:2675950480  NOTICE: Running database version MyVideos116
2021-01-15 20:18:58.427 T:2675950480  NOTICE: Running database version TV32
2021-01-15 20:18:58.444 T:2675950480  NOTICE: Running database version Epg12
2021-01-15 20:18:58.483 T:2675950480 WARNING: Repository add-on repository.anxdpanic uses plain HTTP for add-on downloads in path http://panicked.xyz/repository/anxdpanic/python2/zips/ - this is insecure and will make your Kodi installation vulnerable to attacks if enabled!
2021-01-15 20:18:58.489 T:2974598176  NOTICE:   load skin from: /usr/share/kodi/addons/skin.estuary (version: 2.0.27)
2021-01-15 20:18:58.923 T:2675950480 WARNING: Repository add-on repository.anxdpanic uses plain HTTP for add-on downloads in path http://panicked.xyz/repository/anxdpanic/python2/zips/ - this is insecure and will make your Kodi installation vulnerable to attacks if enabled!
2021-01-15 20:18:59.028 T:2974598176 WARNING: Previous line repeats 2 times.
2021-01-15 20:18:59.028 T:2974598176 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"
2021-01-15 20:18:59.100 T:2974598176  NOTICE: Register - new keyboard device registered on application->keyboard: Клавиатура (0000:0000)
2021-01-15 20:18:59.100 T:2974598176  NOTICE: Register - new mouse device registered on application->mouse: Мышь (0000:0000)
2021-01-15 20:18:59.105 T:2974598176  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
2021-01-15 20:18:59.106 T:2974598176 WARNING: CPlayerCoreFactory::GetPlayer(E2Player): no such player: E2Player
2021-01-15 20:18:59.106 T:2974598176  NOTICE: Loaded playercorefactory configuration
2021-01-15 20:18:59.108 T:2974598176  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
2021-01-15 20:18:59.108 T:2974598176  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
2021-01-15 20:18:59.121 T:2974598176 WARNING: Repository add-on repository.anxdpanic uses plain HTTP for add-on downloads in path http://panicked.xyz/repository/anxdpanic/python2/zips/ - this is insecure and will make your Kodi installation vulnerable to attacks if enabled!
2021-01-15 20:18:59.149 T:2974598176 WARNING: Previous line repeats 1 times.
2021-01-15 20:18:59.149 T:2974598176  NOTICE: initialize done

Attached Files


Edited by foxbob, 16 January 2021 - 18:07.


Re: devel: kodi_18 vs mipsel #7 A.A.

  • Senior Member
  • 251 posts

+5
Neutral

Posted 17 January 2021 - 01:06

Well, I removed the libfmt from recipes-support and using the OE's provided fmt (v. 6.0) with a .bbappend and a patch things are more verbose:

 

/home/root/kodi_crashlog-20210117_005720.log
############## Kodi CRASH LOG ###############

################ SYSTEM INFO ################
 Date: Sun Jan 17 00:57:20 CET 2021
 Kodi Options:
 Arch: mips
 Kernel: Linux 3.13.5 #1 SMP Sat Jan 9 08:54:43 UTC 2021
 Release: openpli homebuild
############## END SYSTEM INFO ##############

############### STACK TRACE #################
=====>  Core file: /home/root/core (2021-01-17 00:57:20.000000000)
        =========================================
[New LWP 810]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/usr/lib/kodi/kodi-stb'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000ca62 in ?? ()

Thread 1 (Thread 0x73fe6010 (LWP 810)):
#0  0x0000ca62 in ?? ()
#1  0x0094f1dc in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::cha
r_traits<char>, std::allocator<char> > > >::operator=(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::
__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) ()
#2  0x009fcc98 in CLinuxTimezone::CLinuxTimezone() ()
#3  0x00747a10 in ?? ()
#4  0x018b3f54 in __libc_csu_init ()
#5  0x75839328 in __libc_start_main (main=0x743f54 <main>, argc=1, argv=0x7fef4d84, init=0x18b3eb0 <__libc_csu_init>, fini=0x18b3f5c <__libc_csu_fini>, rtld_fini=0x777
7cbe0 <_dl_fini>, stack_end=0x7fef4d60) at libc-start.c:264
#6  0x0078a2a0 in __start ()
Backtrace stopped: frame did not save the PC
############# END STACK TRACE ###############

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

Logfile not found in the usual place.
Please attach it separately.
Use pastebin.com or similar for forums or IRC.

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



 



Re: devel: kodi_18 vs mipsel #8 Erik Slagter

  • PLi® Core member
  • 46,681 posts

+534
Excellent

Posted 17 January 2021 - 12:24

I don't want to be patronising, but this is exactly the problem with using and linking together binary blobs. E.g. debugging is next to impossible and just one symbol in a library that's not version-compatible can and will yield segmentation violations.

 

I admire your perseverence though  ;)


* Wavefrontier T90 with 28E/23E/19E/13E/9E/4.8E/0.8W/5W via SCR switches 2 x 2 x 6 user bands
* Ziggo digital cable TV (FTA)
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.

Re: devel: kodi_18 vs mipsel #9 A.A.

  • Senior Member
  • 251 posts

+5
Neutral

Posted 17 January 2021 - 16:50

Erik,

I know it runs on this hardware with a cloned toolchain so it's more a personal thing now :)



Re: devel: kodi_18 vs mipsel #10 Erik Slagter

  • PLi® Core member
  • 46,681 posts

+534
Excellent

Posted 18 January 2021 - 17:45

Ah I know what you mean. Don't let go  ;)


* Wavefrontier T90 with 28E/23E/19E/13E/9E/4.8E/0.8W/5W via SCR switches 2 x 2 x 6 user bands
* Ziggo digital cable TV (FTA)
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.

Re: devel: kodi_18 vs mipsel #11 Pr2

  • PLi® Contributor
  • 4,752 posts

+197
Excellent

Posted 19 January 2021 - 13:29

 

 

It works for me:

 

asound.conf

pcm.!default {
    type oss
    device /dev/dsp
}

ctl.!default {
    type oss
    device /dev/mixer
}

Specific for the VU+ 4K, or for all hardware?

 

And if so, how do we get that in the image when kodi is installed, if it is box specific (meaning it has to go into the BSP)?

 

 

This doesn't work. There is no /dev/dsp nor /dev/mixer on an OpenPLi based image.

May be it works because your are using some other images and use the "fake" multiboot to install OpenPLi so you have those files available because you are using the other image kernel/drivers.


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: devel: kodi_18 vs mipsel #12 A.A.

  • Senior Member
  • 251 posts

+5
Neutral

Posted 19 January 2021 - 18:55

...

This doesn't work. There is no /dev/dsp nor /dev/mixer on an OpenPLi based image.

...

 

It depends...here on vuduo2 :

 

root@vuduo2:~# ls -al /dev/ds*
crw-rw----    1 root     audio      14,   3 Jan 18 23:40 /dev/dsp
root@vuduo2:~# ls -al /dev/mix*
crw-rw----    1 root     audio      14,   0 Jan 18 23:40 /dev/mixer

 

The point is that for i.e. vuduo4k the kernel defconfig does not enable oss emulation.



Re: devel: kodi_18 vs mipsel #13 A.A.

  • Senior Member
  • 251 posts

+5
Neutral

Posted 19 January 2021 - 19:05

@Erik:

 

you know the linker is basically stupid...now I am changing the order of the libs mimicking th eother patchset around.

So I get

root@vuduo2:~# ldd /usr/lib/kodi/kodi-stb
    libatomic.so.1 => /usr/lib/libatomic.so.1 (0x77456000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x77428000)
    libEGL.so => /usr/lib/libEGL.so (0x7723c000)
    libdvb_base.so => /usr/lib/libdvb_base.so (0x76dd2000)
    libnxpl.so => /usr/lib/libnxpl.so (0x76dbd000)
    libxbmc_base.so => /usr/lib/libxbmc_base.so (0x76da1000)
    libdvb_client.so => /usr/lib/libdvb_client.so (0x76d8a000)
    libasound.so.2 => /usr/lib/libasound.so.2 (0x76ca0000)
...

 

 

almost exactly like OpenATV

root@vuduo2:~# ldd -v /usr/lib/kodi/kodi-stb
        libatomic.so.1 => /usr/lib/libatomic.so.1 (0x77a2f000)
        libEGL.so => /usr/lib/libEGL.so (0x77843000)
        libdvb_base.so => /usr/lib/libdvb_base.so (0x773d9000)
        libnxpl.so => /usr/lib/libnxpl.so (0x773c4000)
        libxbmc_base.so => /usr/lib/libxbmc_base.so (0x773a8000)
        libdvb_client.so => /usr/lib/libdvb_client.so (0x77391000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x77363000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0x77279000)

...

it is just that lpthread is added later in the other distros (I had to add -lpthread to EXTRA_OECMAKE for mipsel).

 

Apart this the big problem here is that changing one or more build tools like fmt/libfmt 4->6 has a result that kodi just crashes with a core and not with crashdump.

One other intriguing thing: updating libnfs to 4 I get SIGBUS instead of SEGFAULT...need a bit more time to match the pieces...

 

A.A.

 

 

 



Re: devel: kodi_18 vs mipsel #14 Erik Slagter

  • PLi® Core member
  • 46,681 posts

+534
Excellent

Posted 19 January 2021 - 19:10

 

...

This doesn't work. There is no /dev/dsp nor /dev/mixer on an OpenPLi based image.

...

 

It depends...here on vuduo2 :

 

root@vuduo2:~# ls -al /dev/ds*
crw-rw----    1 root     audio      14,   3 Jan 18 23:40 /dev/dsp
root@vuduo2:~# ls -al /dev/mix*
crw-rw----    1 root     audio      14,   0 Jan 18 23:40 /dev/mixer
 

The point is that for i.e. vuduo4k the kernel defconfig does not enable oss emulation.

 

I don't think any program still uses OSS, really.

 

For ALSA to be available, I don't think any STB SoC has a "standard" audio interface, so that will have to be supplied in the manufacturers' drivers. No driver ALSA support -> no ALSA devices. Just a framework/interface, but that doesn't buy you much.


* Wavefrontier T90 with 28E/23E/19E/13E/9E/4.8E/0.8W/5W via SCR switches 2 x 2 x 6 user bands
* Ziggo digital cable TV (FTA)
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.

Re: devel: kodi_18 vs mipsel #15 Erik Slagter

  • PLi® Core member
  • 46,681 posts

+534
Excellent

Posted 19 January 2021 - 19:15

@Erik:

 

you know the linker is basically stupid...now I am changing the order of the libs mimicking th eother patchset around.

So I get

root@vuduo2:~# ldd /usr/lib/kodi/kodi-stb
    libatomic.so.1 => /usr/lib/libatomic.so.1 (0x77456000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x77428000)
    libEGL.so => /usr/lib/libEGL.so (0x7723c000)
    libdvb_base.so => /usr/lib/libdvb_base.so (0x76dd2000)
    libnxpl.so => /usr/lib/libnxpl.so (0x76dbd000)
    libxbmc_base.so => /usr/lib/libxbmc_base.so (0x76da1000)
    libdvb_client.so => /usr/lib/libdvb_client.so (0x76d8a000)
    libasound.so.2 => /usr/lib/libasound.so.2 (0x76ca0000)
...

 

 

almost exactly like OpenATV

root@vuduo2:~# ldd -v /usr/lib/kodi/kodi-stb
        libatomic.so.1 => /usr/lib/libatomic.so.1 (0x77a2f000)
        libEGL.so => /usr/lib/libEGL.so (0x77843000)
        libdvb_base.so => /usr/lib/libdvb_base.so (0x773d9000)
        libnxpl.so => /usr/lib/libnxpl.so (0x773c4000)
        libxbmc_base.so => /usr/lib/libxbmc_base.so (0x773a8000)
        libdvb_client.so => /usr/lib/libdvb_client.so (0x77391000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x77363000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0x77279000)

...

it is just that lpthread is added later in the other distros (I had to add -lpthread to EXTRA_OECMAKE for mipsel).

 

Apart this the big problem here is that changing one or more build tools like fmt/libfmt 4->6 has a result that kodi just crashes with a core and not with crashdump.

One other intriguing thing: updating libnfs to 4 I get SIGBUS instead of SEGFAULT...need a bit more time to match the pieces...

 

A.A.

 

I don't think the order of the linked so's may make any difference. If it does, you have found bug and probably some code writing to an address it shouldn't be writing to. The addresses where the so's reside in (virtual) memory is dynamic, if you see them equal on two machines for a certain so, it's pure coincidence. It's something ldconfig does and may determine by itself.

 

I think what's really going on here is that OpenPLi uses a different (minor) version of some lib, that in combination with sloppy coding may very well result in a segfault and it just may not be triggered in another version.

 

IIRC you're seeing trashed stacks, so it's probably a stray pointer somewhere, writing to random locations in the process' memory. That's a pity because you can't backtrace the stack. On top of that you don't have debugging symbols available because you have no debug version of the libs nor sources.


* Wavefrontier T90 with 28E/23E/19E/13E/9E/4.8E/0.8W/5W via SCR switches 2 x 2 x 6 user bands
* Ziggo digital cable TV (FTA)
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.

Re: devel: kodi_18 vs mipsel #16 A.A.

  • Senior Member
  • 251 posts

+5
Neutral

Posted 19 January 2021 - 19:25

I don't see mismatches here:

 

    /usr/lib/libEGL.so:
        librt.so.1 (GLIBC_2.2) => /lib/librt.so.1
        libdl.so.2 (GLIBC_2.0) => /lib/libdl.so.2
        libdl.so.2 (GLIBC_2.2) => /lib/libdl.so.2
        libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
        libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
        libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        libpthread.so.0 (GLIBC_2.3.3) => /lib/libpthread.so.0
        libpthread.so.0 (GLIBC_2.3.2) => /lib/libpthread.so.0
        libpthread.so.0 (GLIBC_2.3.4) => /lib/libpthread.so.0
        libpthread.so.0 (GLIBC_2.2) => /lib/libpthread.so.0
        libpthread.so.0 (GLIBC_2.0) => /lib/libpthread.so.0
    /usr/lib/libdvb_base.so:
        libc.so.6 (GLIBC_2.3.3) => /lib/libc.so.6
        libc.so.6 (GLIBC_2.3.2) => /lib/libc.so.6
        libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
        libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
    /usr/lib/libnxpl.so:
        libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
        libpthread.so.0 (GLIBC_2.0) => /lib/libpthread.so.0
        libpthread.so.0 (GLIBC_2.2) => /lib/libpthread.so.0
    /usr/lib/libxbmc_base.so:
        ld.so.1 (GLIBC_2.4) => /lib/ld.so.1
        libc.so.6 (GLIBC_2.4) => /lib/libc.so.6
        libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
        libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        libpthread.so.0 (GLIBC_2.0) => /lib/libpthread.so.0
        libpthread.so.0 (GLIBC_2.2) => /lib/libpthread.so.0
    /usr/lib/libdvb_client.so:
        libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
        libpthread.so.0 (GLIBC_2.2) => /lib/libpthread.so.0
        libpthread.so.0 (GLIBC_2.0) => /lib/libpthread.so.0

 

The 'key' for vuxxo2 is the damned   ${CMAKE_SOURCE_DIR}/xbmc/windowing/egl/gles_init.a  providing

 

gles_init.o:
         U fclose
         U fopen64
         U fprintf
         U fread
         U fwrite
00000850 T GLES_Native_CreateNativeDisplay
000009d0 T GLES_Native_CreateNativeWindow
00000a84 T GLES_Native_DestroyNativeDisplay
00000b0c T GLES_Native_DestroyNativeWindow
00000764 T GLES_Native_Init

^^^^

 

Cheers

A.A.



Re: devel: kodi_18 vs mipsel #17 Erik Slagter

  • PLi® Core member
  • 46,681 posts

+534
Excellent

Posted 19 January 2021 - 21:10

What you see here, in the ldd output, is just major version numbers. Two so's may have a minor version difference and ldconfig will accept them happily. It means the ABI is (should be) the same.

 

You could trying comparing the actual symlinks to the so's, these will include both major and minor version numbers.

 

Also apparently drivers reserve some physical memory for themselves and for the SoC hardware (demux, decoders etc.) How much that is and where it is reserved is specified on the kernel command line. It seems that kernel command line is not always the same between various images, so the assigned memory regions may differ and who knows what that causes on low level (e.g. OpenGL etc.) stuff.

 

At OpenPLi we use the BSP as supplied by the manufacturer, so we really don't know why other images use other parameters, maybe some inside information, who knows...


* Wavefrontier T90 with 28E/23E/19E/13E/9E/4.8E/0.8W/5W via SCR switches 2 x 2 x 6 user bands
* Ziggo digital cable TV (FTA)
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.

Re: devel: kodi_18 vs mipsel #18 A.A.

  • Senior Member
  • 251 posts

+5
Neutral

Posted 20 April 2021 - 09:36

I can now look again at kodi vs. mipsel. Some news:

 

-comparing with OE-A I see that for mipsel they use the internal FFMPEG through patching...still the recipe keeps -DENABLE_INTERNAL_FFMPEG=OFF.

 I'll fix this in one next commit.

 

- there is an enigma2 patch to use v3d driver for UI animation. This should not affect kodi or am I wrong? Anyway, is it a fork or the code could be in openpli?

 

-  I'll push the vuplus gles cube-demo and the missing libs soon.

 

cheers

A.A.



Re: devel: kodi_18 vs mipsel #19 A.A.

  • Senior Member
  • 251 posts

+5
Neutral

Posted 23 April 2021 - 13:56

So I am now building an OE-A image for vuduo2 to see what really changes at runtime.

I'll do some transplant with our kodi recipe to see...I don't know why but the patches provided by WTE are a bit different (it is a pain to get diffs when the monster-patches are not split, sigh...).

 

Anyway I am still dubious about the tools we are using, some needed exsclusively by kodi apparently and not so widely tested in OE I bet.

 

I am talking about these tools which are on different versions in OE-A:

 

fmt/libfmt

jsonschemabuilder

 

and about

texturepacker

libnfs

 

The first two are especially dangerous for miscompilation: the commit notes of the upgrade of jsonschemabuilder in meta OE talk about fixes for SIGBUS and unaligned accesses on arm at least...

Well FFMPEG is another story.

 

I still hope someone from OE-A gives us a pointer...it cannot be that different for vuduo2...

 

 

Cheers

A.A.


Edited by A.A., 23 April 2021 - 13:59.


Re: devel: kodi_18 vs mipsel #20 A.A.

  • Senior Member
  • 251 posts

+5
Neutral

Posted 25 April 2021 - 11:41

Just a short update.

 

Things are not so easy building OE-A...one day I'll post here and there my suggestions to avoid to reinvent the wheel :)

 

I've already here the two kodi workdirs and I am comparing stuff.

What I had seen is in the OE's compile log of kodi there is an added pass for the linker but I tried that...

 

Now I'll disable smbclient both sides just to see...

 

I'll keep you updated.

A.A.

 

[1] https://github.com/o...oment/issues/46


Edited by A.A., 25 April 2021 - 11:42.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users