Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 14
  • 15
  • 16(current)
  • 17
  • 18
  • 73
Req Kodi on LG Web OS
That's what they claim officially, but the limit is a lot higher
Reply
@sundermann I don't know if I understand correctly, I'm still compiling the forked repository, the difference between the acceleration of webos 4/4.5 and version 5 is that they use different APIs, webos 4 uses acbAPI and webos 5 videoplayAPI, right?
Reply
Yes, webOS < 5 uses libACB to export the video surface whilst from webOS 5+ video surfaces are exported by a custom wayland protocol
Reply
The repository acceleration you passed me works perfectly. I only had to make 3 changes.
1.- modify the code to set the HOME environment variable in /media/developer/apps/usr/palm/applications/org.xbmc.kodi, in my version of webos HOME is /media/developer
2.- use patchelf to add the '$ORIGIN/lib' rpath to kodi-webos
3.- create the symbolic link to libwayland-egl.so.1

diff --git a/xbmc/platform/linux/PlatformLinux.cpp b/xbmc/platform/linux/PlatformLinux.cpp
index 9a2d148f4b..346d243aba 100644
--- a/xbmc/platform/linux/PlatformLinux.cpp
+++ b/xbmc/platform/linux/PlatformLinux.cpp
@@ -65,6 +65,7 @@ bool CPlatformLinux::InitStageOne()

#if defined(TARGET_WEBOS)
// WebOS ipks run in a chroot like environment. $HOME is set to the ipk dir and $LD_LIBRARY_PATH is lib
+ setenv("HOME", "/media/developer/apps/usr/palm/applications/org.xbmc.kodi", 1);
auto HOME = std:Confusedtring(getenv("HOME"));
setenv("XDG_RUNTIME_DIR", "/tmp/xdg", 1);
setenv("XKB_CONFIG_ROOT", "/usr/share/X11/xkb", 1);
Reply
@sergio151179 Can you share .ipk file?
Reply
Check the releases in that repository

@sergio151179 HOME points to the application installation directory by default, so your change doesn't have any effect, neither does the rpath change as the lib folder is in LD_LIBRARY_PATH by default too
Reply
In my version of webos it is not like that, that is why the change, in my HOME version it points to /media/developer and LD_LIBRARY_PATH does not point to the ipk libraries, that is why it gives the error libatomic.so.1 not found, and when it I solve it with RPATH, it does not find python, because it looks for it in /media/developer/lib.

I don't know what my version of webos is, I guess it's 4.5 but I don't know for sure. My LG is model OLED55B8PLA from 2018 and the firmware version is 5.50.15

Regarding sharing the IPK, I have no problem with it as long as the forum rules allow it (I haven't read the rules).
Reply
org.xbmc.kodi_20.90.201_arm.ipk this is webos <5 version, is necesary fix libwayland-egl.so.1
Code:
ln -s /usr/lib/libwayland-egl.so.0 /media/developer/apps/usr/palm/applications/org.xbmc.kodi/lib/libwayland-egl.so.1
Reply
@-Dis  can test ipk.

@sundermann I don't know how to fix libwayland-egl.so.1, if I create a symbolic link in the ipk ares-package deletes it, and if I patch the name of the library with patchelf another library may not be able to find it. any suggestion
Reply
On my 77 C9 I can finally see the picture, but for Dolby Vision mkv files, it freezes.
Thank you for sharing this IPK file。
Thank all member of Kodi ,too.
Reply
(2023-09-22, 20:07)sundermann Wrote: Check the releases in that repository

@sergio151179 HOME points to the application installation directory by default, so your change doesn't have any effect, neither does the rpath change as the lib folder is in LD_LIBRARY_PATH by default too

Thanks it’s working Smile Is there any builds with inputstream adaptive available?
Reply
(2023-09-21, 13:11)hranata_cikula Wrote: With cable it works without buffering Smile  
However new issue popped-up. After some time (~30min), Kodi app closes with message "This app will now restart to free up more memory" comming from LG. Only YouTube and Kodi is installed on my tv. Will try to find a solution
So I did some observation regarding this issue, and the memory leak is happening constantly after 25~30minutes (either 4K with 70+Mbit bitrate or simple SD with really low bitrate). Once the Kodi memory usage goes over 94%, it will crash and restart the app. Will try to post the debug log
Reply
@sergio151179 Use the newest toolchain release
@saiweng As I said, it's WIP and I can't help because I do not own such a TV Sad
@-Dis Not yet, you can build it yourself but if you intend to use it for DRM streams that is not (yet) working at all
@hranata_cikula I doubt kodi's memory usage can be 95%, do you mean the whole system's memory?
Reply
(2023-09-23, 13:29)sundermann Wrote: @sergio151179 Use the newest toolchain release
@saiweng As I said, it's WIP and I can't help because I do not own such a TV Sad
@-Dis Not yet, you can build it yourself but if you intend to use it for DRM streams that is not (yet) working at all
@hranata_cikula I doubt kodi's memory usage can be 95%, do you mean the whole system's memory?

You are referring to the package/webos-userland/Config.in patch to link libwayland-egl.so instead of libwayland-egl.so.1 in webos, right?
Reply
Yes you need a recent version of webos-userland in kodi and the toolchain
Reply
  • 1
  • 14
  • 15
  • 16(current)
  • 17
  • 18
  • 73

Logout Mark Read Team Forum Stats Members Help
Kodi on LG Web OS0
This forum uses Lukasz Tkacz MyBB addons.