TBSniller / piccap

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

Only UI capture, no video #77

Open 00svd00 opened 1 year ago

00svd00 commented 1 year ago

"board_type": "K5LP_DVB", "hardware_id": "HE_DTV_W19P_AFADABAA", "product_id": "49UM7100PLB", "core_os_release": "4.8.0-52106", "webos_manufacturing_version": "04.80.15", Tried all possible mods and resolutions If I'll try to start process manually - I'll get this error:

`root@LGwebOSTV:/media/developer/apps/usr/palm/services/org.webosbrew.piccap.service# ./hyperion-webos -a 127.0 .0.1 -s -r -n -v -b libdile_vt -x 192 -y 108 0.001s [INFO main ] Starting up (version: tags/0.2.1-0-g10b638f)... 0.001s [INFO main ] Running via CLI 0.001s [INFO service_init_backends] Autodetecting UI backend... 0.022s [ DBG unicapture_init_backend] libgm_backend.so: loading... 0.022s [ DBG unicapture_init_backend] libgm_backend.so: loaded, initializing... The ppid=9339, pid=9439, tid=9439 open GAL-SE/mmap success. [001278.572398:hyperion-webos->hyperion-webos] GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x996e0

[001278.572463:hyperion-webos->hyperion-webos] GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x99b10

[001278.572498:hyperion-webos->hyperion-webos] GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x9a7a0

[001278.572536:hyperion-webos->hyperion-webos] GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x9abd0

[001278.572588:hyperion-webos->hyperion-webos] GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x9b000

[001278.572628:hyperion-webos->hyperion-webos] GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x9b430

[001278.572659:hyperion-webos->hyperion-webos] GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x9b000

[001278.572694:hyperion-webos->hyperion-webos] GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x9b430

[001278.572733:hyperion-webos->hyperion-webos] GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x996e0

[001278.572760:hyperion-webos->hyperion-webos] GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x99b10

[001278.572781:hyperion-webos->hyperion-webos] [_GM_UseGFXHWDirectly][905] _GM_UseGFXHWDirectly OK

 0.027s [ DBG unicapture_init_backend] libgm_backend.so: success
 0.027s [ DBG unicapture_try_backends] try_backends: libgm_backend.so succeeded
 0.028s [ DBG unicapture_init_backend] libdile_vt_backend.so: loading...
 0.028s [ DBG unicapture_init_backend] libdile_vt_backend.so: loaded, initializing...
 0.029s [INFO capture_init        ] Capture start called.
 0.029s [INFO capture_init        ] Attempting DILE_VT_Create...
 0.029s [WARN capture_init        ] Failed to get DILE_VT context!
 0.030s [ ERR unicapture_init_backend] libdile_vt_backend.so: init failure, code: -1
 0.030s [ DBG service_register    ] Try register on LSRegister
 0.037s [ DBG unicapture_init_backend] libdile_vt_backend.so: loading...
 0.037s [ DBG unicapture_init_backend] libdile_vt_backend.so: loaded, initializing...
 0.037s [INFO capture_init        ] Capture start called.
 0.037s [INFO capture_init        ] Attempting DILE_VT_Create...
 0.038s [WARN capture_init        ] Failed to get DILE_VT context!
 0.038s [ ERR unicapture_init_backend] libdile_vt_backend.so: init failure, code: -1
 0.039s [ DBG unicapture_run      ] Attempting UI capture init...
 0.039s [ DBG main                ] Going into main loop..
 0.039s [INFO unicapture_run      ] UI capture started
 0.039s [ DBG connection_loop     ] Starting connection loop
 0.040s [INFO unicapture_vsync_handler] vsync thread starting...
 0.040s [INFO connection_loop     ] Connecting hyperion-client..`
CptWindows commented 12 months ago

Hi,

i have the same problem with the libdile_vt. But only when I choose libdile_vt (video capture) and libhalgal (UI capture) the UI capture works for me. With libvtcapture nothing is working...

But my TV should support libvtcapture:

"board_type": "LM21A_DVB",
"hardware_id": "HE_DTV_W23A_AFADATAA",
"product_id": "55UR73006LA",
"core_os_release": "8.1.0-38",
"webos_manufacturing_version": "03.11.00"

Edit: Video Capture is possible after an available system update (even if it is not recommended), no UI capture now (except If I do it like described above.) But I will look further if i can do something for UI capture. But at the moment it is ok for me with Video capture only