hyperion-webos
hyperion-webos copied to clipboard
Known quirks for various TV models/WebOS versions
[DILE_VT] TVs of C9 series: If DILE_VT_Create function is called first, initialization of DILE_VT will fail most of the cases.
Solution: Call DILE_VT_CreateEx before DILE_VT_Create
https://github.com/webosbrew/hyperion-webos/blob/82234d978105e50ab804a59a6c0738a8d47ed2a5/src/backends/libdile_vt.c#L35-L40
(Reported via Discord)
Test branch that implements this workaround: https://github.com/webosbrew/hyperion-webos/tree/try/c9_createex_first
[DILE_VT] 4k content on some webOS 4.3.0 devices will be cropped to 1/4 of the picture when captured from VT.
Solution: Use (not-named) value 2 to pass as dump_location to DILE_VT_SetVideoFrameOutputDeviceDumpLocation
https://github.com/webosbrew/hyperion-webos/blob/82234d978105e50ab804a59a6c0738a8d47ed2a5/src/backends/libdile_vt.c#L64-L86
Reference: https://github.com/webosbrew/hyperion-webos/issues/45#issuecomment-1030630106
[General] Some (newer?) TVs: Checking the power state via luna://com.webos.service.tvpower/power/getPowerState and evaluating "state" for "Active"/"processing" and pausing capturing due to that criteria, to detect power state, causes flickering each 2 minutes.
chrischan — 02/28/2022 This shows up randomly and leads to hyperion-webos switch off/on: { "returnValue": true, "state": "Active", "processing": "Request Screen Saver" } { "returnValue": true, "state": "Active", "processing": "Screen On" } { "returnValue": true, "state": "Active" }
PowerOff: { "returnValue": true, "state": "Active", "processing": "Request Power Off", "onOff": "off", "reason": "remoteKey" } { "returnValue": true, "state": "Active", "processing": "Request Active Standby", "onOff": "off", "reason": "remoteKey" } { "returnValue": true, "state": "Active", "processing": "Prepare Active Standby", "onOff": "off", "reason": "remoteKey" } { "returnValue": true, "state": "Active Standby" } { "returnValue": true, "state": "Active Standby", "processing": "Request Suspend", "onOff": "off", "reason": "homekit" } { "returnValue": true, "state": "Active Standby", "processing": "Prepare Suspend", "onOff": "off", "reason": "homekit" } { "returnValue": true, "state": "Suspend" }
PowerOn: { "returnValue": true, "state": "Suspend", "processing": "Prepare Resume", "onOff": "on", "reason": "remoteKey" } { "returnValue": true, "state": "Suspend", "processing": "LastInput Ready", "onOff": "on", "reason": "remoteKey" } { "returnValue": true, "state": "Suspend", "processing": "Screen On", "onOff": "on", "reason": "remoteKey" } { "returnValue": true, "state": "Active" }
Reference: https://github.com/webosbrew/hyperion-webos/blob/82234d978105e50ab804a59a6c0738a8d47ed2a5/src/service.c#L342-L354 Issue #54
(Reported via Discord)
I have a C7 device and when the TV goes into screensaver the screen grabber does not work afterwards. Stopping and restarting the service is not working and a full tv reboot is needed.