webosbrew/hyperion-webos

Error on OLED55C8LLA

h4de5 opened this issue · 4 comments

h4de5 commented
    "board_type": "O18_DVB",
    "hardware_id": "HE_DTV_W18O_AFABABAA",
    "product_id": "OLED55C8LLA",
    "core_os_release": "4.4.0-9",
    "webos_manufacturing_version": "05.40.09",

hi,

device is rooted. i tried several resolutions and fps settings - none seem to work. any ideas are welcome.

libvtcapture

/media/developer/apps/usr/palm/services/org.webosbrew.piccap.service/hyperion-webos -S --no-service --verbose --
backend libvtcapture --address 192.168.0.10 -p 19400 -x 180 -y 90
     0.000s [INFO main                ] Starting up...
     0.001s [ DBG parse_options       ] Finished parsing arguments
     0.001s [ DBG capture_main        ] Using these values: Address: 192.168.0.10 | Port: 19400 | Width: 180 | Height: 90 | FPS: 0 | Backend: libvtcapture | NoVideo: 0 | NoGUI: 0 | Autostart: 0
     0.001s [ DBG capture_main        ] Detecting backend...
     0.001s [ DBG import_backend_library] Full library path: /media/developer/apps/usr/palm/services/org.webosbrew.piccap.service/libvtcapture_backend.so
     0.002s [ ERR import_backend_library] Failed to load backend library: /media/developer/apps/usr/palm/services/org.webosbrew.piccap.service/libvtcapture_backend.so, error: libvtcapture.so.1: cannot open shared object file: No such file or directory
     0.002s [ ERR capture_main        ] Error! detect_backend.
     0.002s [ DBG cleanup             ] Starting cleanup... isRunning: 0
     0.002s [ DBG cleanup             ] Destroying hyperion-client...
     0.002s [ DBG cleanup             ] Cleanup finished.
     0.002s [ ERR main                ] ERROR: Capture main init failed!

libdile_vt

/media/developer/apps/usr/palm/services/org.webosbrew.piccap.service/hyperion-webos -S --no-service --verbose --
backend libdile_vt --address 192.168.0.10 -p 19400 -x 180 -y 90
     0.000s [INFO main                ] Starting up...
     0.001s [ DBG parse_options       ] Finished parsing arguments
     0.001s [ DBG capture_main        ] Using these values: Address: 192.168.0.10 | Port: 19400 | Width: 180 | Height: 90 | FPS: 0 | Backend: libdile_vt | NoVideo: 0 | NoGUI: 0 | Autostart: 0
     0.001s [ DBG capture_main        ] Detecting backend...
     0.001s [ DBG import_backend_library] Full library path: /media/developer/apps/usr/palm/services/org.webosbrew.piccap.service/libdile_vt_backend.so
     0.016s [ DBG capture_main        ] Backend preinit...
     0.017s [INFO capture_preinit     ] Preinit called. Copying config..
     0.018s [ DBG capture_main        ] Initiating capture...
     0.018s [INFO capture_init        ] Init called
     0.018s [ DBG capture_main        ] Starting capture..
     0.018s [INFO capture_start       ] Capture start called.
     0.027s [WARN capture_start       ] DILE_VT_CreateEx failed, attempting DILE_VT_Create...
     0.037s [WARN capture_start       ] Failed to get DILE_VT context!
     0.037s [ ERR capture_main        ] Error! capture_start. Code: -1
     0.038s [ DBG cleanup             ] Starting cleanup... isRunning: 0
     0.038s [ DBG cleanup             ] Destroying hyperion-client...
     0.038s [ DBG cleanup             ] Cleanup capture within library...
     0.038s [ DBG cleanup             ] Cleanup finished.
     0.038s [ ERR main                ] ERROR: Capture main init failed!

libvt

/media/developer/apps/usr/palm/services/org.webosbrew.piccap.service/hyperion-webos -S --no-service --verbose --
backend libvt --address 192.168.0.10 -p 19400 -x 180 -y 90
     0.000s [INFO main                ] Starting up...
     0.001s [ DBG parse_options       ] Finished parsing arguments
     0.001s [ DBG capture_main        ] Using these values: Address: 192.168.0.10 | Port: 19400 | Width: 180 | Height: 90 | FPS: 0 | Backend: libvt | NoVideo: 0 | NoGUI: 0 | Autostart: 0
     0.001s [ DBG capture_main        ] Detecting backend...
     0.001s [ DBG import_backend_library] Full library path: /media/developer/apps/usr/palm/services/org.webosbrew.piccap.service/libvt_backend.so
     0.043s [ DBG capture_main        ] Backend preinit...
     0.043s [INFO capture_preinit     ] Preinit called. Copying config..
     0.078s [INFO egl_init            ] [EGL] Display, major = 1, minor = 4
     0.082s [INFO egl_init            ] [EGL] Surface size: 180x90
     0.083s [INFO egl_init            ] [EGL] init complete
     0.083s [ DBG capture_main        ] Initiating capture...
     0.083s [INFO capture_init        ] [VT] VT_CreateVideoWindow
     0.084s [INFO capture_init        ] [VT] window_id=0
     0.084s [INFO capture_init        ] [VT] VT_AcquireVideoWindowResource
     0.084s [INFO capture_init        ] [VT] resource_id=85
     0.085s [INFO capture_init        ] [VT] VT_CreateContext
     0.088s [ ERR capture_init        ] [VT] VT_CreateContext Failed
     0.089s [ ERR capture_main        ] Error! capture_init: -1
     0.089s [ DBG cleanup             ] Starting cleanup... isRunning: 0
     0.089s [ DBG cleanup             ] Destroying hyperion-client...
     0.089s [ DBG cleanup             ] Cleanup capture within library...
     0.089s [ DBG cleanup             ] Cleanup finished.
     0.090s [ ERR main                ] ERROR: Capture main init failed!

even making screenshot seem not to work

luna-send -n 1 -f 'luna://com.webos.service.tv.capture/executeOneShot' '{"path":"/tmp/capture.png","method":"DISPLAY","format":"PNG"}'
{
    "errorCode": "CAPTURE_ERROR_03",
    "returnValue": false,
    "errorText": "Specified size is out of range"
}
h4de5 commented

one more: in the webos app it says "capture started.." but it does not send any video to hyperion.

Your Hyperion setting are important to. Did you enable the proto service that has the 19400 port.

h4de5 commented

finally.
i was testing with the plex app open. which is not a video but a GUI element that is not supported on my tv. (rather clear when i think about it)
i don't know why the cli didn't work. but the setup is now complete ;)

PXL_20220226_153436725

thanks for that great software!
christmas ligths now have a proper use during the year ;?

Great! FYI next release will probably contain UI layer capture as well. (via #43)