TBSniller / piccap

PicCap - Hyperion Sender App | Ambilight for LG WebOS TVs
MIT License
296 stars 30 forks source link

is it a possible to add sypport for WebOS 1-2? #29

Closed PaveLGIL closed 2 years ago

PaveLGIL commented 2 years ago

I have root access on my TV, and Homebrew installed. PicCap also installed, but not all setting available for me.. Is it a possible to add 1-2 WebOs versions support? IMG_8017

Informatic commented 2 years ago

Yeah, this is fairly likely. You'll need to SSH onto the TV and try running hyperion-webos via CLI to check if it's just the GUI that's broken. For example like this:

/media/developer/apps/usr/palm/services/org.webosbrew.piccap.service/hyperion-webos -S --verbose --backend libdile_vt --address 10.2.3.4 --fps 30 -x 192 -y 108
PaveLGIL commented 2 years ago

Sure, will try! Thank you!

PaveLGIL commented 2 years ago

Unfortunately see ./hyperion-webos: /lib/libc.so.6: version `GLIBC_2.17' not found (required by ./hyperion-webos)

PaveLGIL commented 2 years ago

Could you please help me install this lib? Or maybe you can tell me where I can find instruction for it..

Informatic commented 2 years ago

This should probably be fixable fairly easily by rebuilding hyperion-webos using a toolchain that uses older glibc. (eg. this one → https://github.com/openlgtv/buildroot-nc4/releases/tag/webos-0d62420) You generally can't "upgrade" glibc on the TV itself.

PaveLGIL commented 2 years ago

Oh.. I really sorry, but, could you please share short instruction for me? How can I do this?

PaveLGIL commented 2 years ago

I really need help on it.. If you can provide any help, I will be really appreciated..

Informatic commented 2 years ago

I will try to make a test build for you tonight.

On Tue, 8 Feb 2022, 10:41 Pavel Puker, @.***> wrote:

I really need help on it.. If you can provide any help, I will be really appreciated..

— Reply to this email directly, view it on GitHub https://github.com/TBSniller/piccap/issues/29#issuecomment-1032406030, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIUEXWNQHMSZJPZ2KCB67DU2DQNTANCNFSM5NT6W2GQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

PaveLGIL commented 2 years ago

Thank you, so much! Will wait)

Informatic commented 2 years ago

Download and extract contents of this package to /media/developer/apps/usr/palm/services/org.webosbrew.piccap.service hyperion-webos-092b13c-buildroot.tar.gz and test again

PaveLGIL commented 2 years ago

Thank you so much! It is look really better) But have one more error(

hyperion-webos: symbol lookup error: /media/developer/apps/usr/palm/services/org.webosbrew.piccap.service/libdile_vt_backend.so: undefined symbol: DILE_VT_GetVideoFrameOutputDeviceLimitation

Screenshot 2022-02-08 at 21 03 44
Informatic commented 2 years ago

Oof. I am assuming you are running webOS 1.x?

On webOS 1.4.0
--------
File libdile_vt_backend.so:
Missing symbol: clock_gettime
Missing symbol: DILE_VT_GetVideoFrameOutputDeviceLimitation
Missing symbol: DILE_VT_SetVideoFrameOutputDeviceDumpLocation
Missing symbol: DILE_VT_SetVideoFrameOutputDeviceOutputRegion
Missing symbol: DILE_VT_Start
Missing symbol: DILE_VT_Stop
Missing symbol: DILE_VT_WaitVsync
Missing symbol: log_printf
Indirectly referencing: pthread_create
Indirectly referencing: pthread_join

That's not great, since these symbols are fairly crucial here (eg. DILE_VT_SetVideoFrameOutputDeviceOutputRegion is used for downscaling, and DILE_VT_WaitVsync is used for frame keeping), and I am not sure if we will be able to make it work on 1.x.

PaveLGIL commented 2 years ago

Oohh..(( Got it..( Thank you for your help.. I really appreciate it! Really big help from your side.. If nothing else can be done, write me please, I will close the task. Thank you again!

PaveLGIL commented 2 years ago

So, should I close this task? Or is there something else that can be done?)

Informatic commented 2 years ago

Not at this time. If anyone wanted to do some research around this themselves - feel free, but considering how little webOS 1.x users we have (since we don't have any user-friendly exploits there), I am not planning on working on this further, sorry :(

PaveLGIL commented 2 years ago

Got it) Thank you, so much!)

urkman5000 commented 1 year ago

Got a similar Problem running webos 1.4 Afro Ashley which cant be upgraded. Root Status is OK but cant find a Piccap Version which is displayed correctly. Can only See half of the UI screen Plus its frequently checking on root Status trying to evaluate the Status. Would be very nice If there would be a compatible Version for my TV.

smx-smx commented 1 year ago

I did some analysis not long ago, and the missing symbols are implemented in RELEASE/tvservice in older versions. This complicates the interactions because IPC or injection is required.

It's not impossible but needs a non negligible amount of work, and i don't have a device i could use to test