TBSniller / piccap

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

libvt/libdile_vt webos 6.0-6.2 #22

Closed nnmdd closed 2 years ago

nnmdd commented 2 years ago

Hi i would provide errors from this libs on my webos tv oled55c1rla webos 6.2-32 22.01.2022 current piccap version 0.2.3

libdile

/media/developer/apps/usr/palm/services/org.webosbrew.piccap.service/hyperion-webos -S -x 128 -y 72 -a 192.168.1.75 -b libdile_vt
     0.000s [INFO main                ] Starting up...
     0.022s [INFO capture_preinit     ] Preinit called. Copying config..
     0.022s [INFO capture_init        ] Init called
     0.022s [INFO capture_start       ] Capture start called.
     0.025s [WARN capture_start       ] DILE_VT_CreateEx failed, attempting DILE_VT_Create...
     0.026s [WARN capture_start       ] Failed to get DILE_VT context!
     0.026s [ ERR capture_main        ] Error! capture_start. Code: -1
     0.026s [ ERR main                ] ERROR: Capture main init failed!

libvt

/media/developer/apps/usr/palm/services/org.webosbrew.piccap.service/hyperion-webos -S -x 128 -y 72 -a 192.168.1.75 -b libvt
     0.000s [INFO main                ] Starting up...
     0.026s [INFO capture_preinit     ] Preinit called. Copying config..
     0.030s [INFO egl_init            ] [EGL] Display, major = 1, minor = 4
     0.034s [INFO egl_init            ] [EGL] Surface size: 128x72
     0.034s [INFO egl_init            ] [EGL] init complete
     0.035s [INFO capture_init        ] [VT] VT_CreateVideoWindow
     0.035s [INFO capture_init        ] [VT] window_id=0
     0.035s [INFO capture_init        ] [VT] VT_AcquireVideoWindowResource
     0.052s [INFO capture_init        ] [VT] resource_id=1985336
     0.053s [INFO capture_init        ] [VT] VT_CreateContext
     0.149s [INFO capture_init        ] [VT] context_id=2044128
     0.151s [INFO capture_init        ] [VT] VT_SetTextureResolution
     0.151s [INFO capture_init        ] [VT] VT_SetTextureSourceRegion
     0.152s [INFO capture_init        ] [VT] VT_SetTextureSourceLocation
     0.152s [INFO capture_init        ] [VT] VT_RegisterEventHandler
     0.153s [INFO connection_loop     ] Connecting hyperion-client..
     0.156s [INFO connection_loop     ] hyperion-client connected!
     0.157s [ ERR capture_frame       ] VT_GenerateTexture failed
     0.174s [ ERR capture_frame       ] VT_GenerateTexture failed
     0.190s [ ERR capture_frame       ] VT_GenerateTexture failed
     0.207s [ ERR capture_frame       ] VT_GenerateTexture failed
     0.224s [ ERR capture_frame       ] VT_GenerateTexture failed
     0.240s [ ERR capture_frame       ] VT_GenerateTexture failed
...

libvtcapture works well even with autostart libvtcapture not working until reboot if libdile_vt called by hyperion-webos

TBSniller commented 2 years ago

Hey, what's the problem if libvtcapture is working? Not all libs will work on all TVs

nnmdd commented 2 years ago

not a problem and with latst fixes libvtcapture works flawleslly but without drm support. i just will put there every version logs from my tv and hope this help in libdile adaptation

TBSniller commented 2 years ago

Yeah DRM support is plattform specific, you can take a look here: https://github.com/webosbrew/hyperion-webos/issues/28 As far as we know using dilevt or vtcapture hasn't any impact on DRM content. If it's not working for the one, it wouldn't work for the other (at the moment) For webOS 6 and dilevt we have a issue here: https://github.com/webosbrew/hyperion-webos/issues/17 so I will close this