Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
PaveLGIL opened this issue Feb 5, 2022 · 18 comments
Closed

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

PaveLGIL opened this issue Feb 5, 2022 · 18 comments

Comments

@PaveLGIL
Copy link

PaveLGIL commented Feb 5, 2022

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
Copy link
Collaborator

Informatic commented Feb 5, 2022

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
Copy link
Author

PaveLGIL commented Feb 5, 2022

Sure, will try! Thank you!

@PaveLGIL
Copy link
Author

PaveLGIL commented Feb 5, 2022

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

@PaveLGIL
Copy link
Author

PaveLGIL commented Feb 5, 2022

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

@Informatic
Copy link
Collaborator

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
Copy link
Author

PaveLGIL commented Feb 5, 2022

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

@PaveLGIL
Copy link
Author

PaveLGIL commented Feb 8, 2022

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

@Informatic
Copy link
Collaborator

Informatic commented Feb 8, 2022 via email

@PaveLGIL
Copy link
Author

PaveLGIL commented Feb 8, 2022

Thank you, so much! Will wait)

@Informatic
Copy link
Collaborator

Informatic commented Feb 8, 2022

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
Copy link
Author

PaveLGIL commented Feb 8, 2022

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
Copy link
Collaborator

Informatic commented Feb 8, 2022

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
Copy link
Author

PaveLGIL commented Feb 8, 2022

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
Copy link
Author

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

@Informatic
Copy link
Collaborator

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
Copy link
Author

Got it) Thank you, so much!)

@urkman5000
Copy link

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
Copy link

smx-smx commented Nov 25, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants