webosbrew/hyperion-webos

Broken image in captured stream after turn on

mksy opened this issue · 16 comments

mksy commented

After turn on TV i'm getting this dynamic captured pictures:
image

PicCap 0.3.0
quick start enabled

this commands:
luna-send -n 1 'luna://org.webosbrew.piccap.service/stop' '{}'
luna-send -n 1 'luna://org.webosbrew.piccap.service/start' '{}'
doesn't help, my problem can only be solved by rebooting

my config.json
{"priority":150,
"backend":"libdile_vt",
"address":"127.0.0.1","port":19400,
"width":128,"height":72,
"quirks":0,
"fps":50,
"vsync":true,
"autostart":true,
"nogui":true,"novideo":false,
"uibackend":"auto"}

my TV:
"board_type": "K5LP_DVB",
"hardware_id": "HE_DTV_W19P_AFADABAA",
"product_id": "43UM7050PLF",
"core_os_release": "4.9.5-8",
"webos_manufacturing_version": "05.20.08"

Please try "quirks": 1 in your config.json.

See: https://github.com/webosbrew/hyperion-webos/tree/task/readme_update#quirks

This is needed on some TVs to init DILE_VT properly.

mksy commented

Please try "quirks": 1 in your config.json.

hyperion-webos does not want to capture at all, also after reboot

Revert to "quirks":0 then.

Is you TV by any chance autostarting into a DRM app (Netflix, Amazon Prime Video etc.) When the symptom above is occuring?

mksy commented

nope, not using any DRM app

mksy commented

some dmsg output, after turn on:
[ 2481.295281] (0)-1778 [VT] VT is not Inited So return False;HAL_VT_SetVideoFrameOutputDeviceState=2328
[ 2481.295386] (0)-1778 [VT] VT is not Inited So return False;HAL_VT_GetVideoFrameBufferIndex=2244
[ 2481.295747] (2)-1100 [S-HAL] ioctl VT_IOC_WAIT_VSYNC failed
[ 2481.295810] (2)-1100 [S-HAL] ioctl VT_IOC_WAIT_VSYNC failed

Try this build: https://github.com/tuxuser/hyperion-webos/actions/runs/2439749357

You can just use libdile_vt_backend.so from this archive and replace the existing one.

mksy commented

the same result 😢
an interesting thing, if I overwrite libdile_vt_backend.so with the same one while picture is crashed, I don't need to reboot the TV, the picture turns black and stop/start service helps. But only until the next TV turn off/on

mksy commented

are there any additional logs I can provide to help troubleshoot this issue?

The pattern in which you are seeing this issue occur are not clear to me yet.

  • When does it actually work
  • When does it not

How is it when you disable QuickStart?

mksy commented

When I disable QuickStart all works good.
With QuickStart enabled after turn on TV i can see only pixel mosaic and need to reboot TV or do killall -9 hyperion-webos

mksy commented

2022-08-20T12:50:59.074759Z [783.348028493] user.err hyperion-webos [] dileVt.error dileVt {} : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
after TV turn on with QuickStart enabled.
any solution?

mksy commented
root@LGwebOSTV:~# tail -f /var/log/messages |grep hyperion
2022-08-25T21:14:37.739513Z [130.183282439] user.info loader_service [] hyperion.ng-loader INFO {} power_callback: Power status callback message: { "returnValue": true, "state": "Active", "processing": "Request Power Off" }
2022-08-25T21:14:37.739735Z [130.183493291] user.info loader_service [] hyperion.ng-loader INFO {} power_callback: Power status callback message: { "returnValue": true, "state": "Active", "processing": "Request Active Standby" }
2022-08-25T21:14:37.745159Z [130.188934328] user.info hyperion-webos [] hyperion-webos INFO {} power_callback: Power status callback message: { "returnValue": true, "state": "Active", "processing": "Request Power Off" }
2022-08-25T21:14:37.756168Z [130.199925439] user.info hyperion-webos [] hyperion-webos INFO {} power_callback: Power status callback message: { "returnValue": true, "state": "Active", "processing": "Request Active Standby" }
2022-08-25T21:14:37.880246Z [130.324004179] user.info hyperion-webos [] hyperion-webos INFO {} power_callback: Power status callback message: { "returnValue": true, "state": "Active", "processing": "Request Suspend" }
2022-08-25T21:14:37.880342Z [130.324098550] user.info loader_service [] hyperion.ng-loader INFO {} power_callback: Power status callback message: { "returnValue": true, "state": "Active", "processing": "Request Suspend" }
2022-08-25T21:14:37.937677Z [130.381434031] user.info loader_service [] hyperion.ng-loader INFO {} power_callback: Power status callback message: { "returnValue": true, "state": "Active", "processing": "Prepare Suspend" }
2022-08-25T21:14:37.941827Z [130.385584957] user.info hyperion-webos [] hyperion-webos INFO {} power_callback: Power status callback message: { "returnValue": true, "state": "Active", "processing": "Prepare Suspend" }
2022-08-25T21:14:38.402779Z [130.846536957] user.info surface-manager-starfish [] LSM RECENTS_BACKUP {     "BACKUP": {         "APP_ID": "org.webosbrew.hyperion.ng.loader",         "FULLSCREEN": false,         "SNAPSHOT": "/media/developer/apps/usr/palm/applications/org.webosbrew.hyperion.ng.loader/assets/splash_1080p.png"     },     "CLOCK": 130.84399999999999 }
2022-08-25T21:14:38.451697Z [130.895465327] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:38.477356Z [130.921125253] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:38.506021Z [130.949788364] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:38.516784Z [130.960542697] user.info surface-manager-starfish [] LSM RECENTS_BACKUP {     "BACKUP": {         "APP_ID": "org.webosbrew.hyperion.ng.loader",         "FULLSCREEN": false,         "SNAPSHOT": "/media/developer/apps/usr/palm/applications/org.webosbrew.hyperion.ng.loader/assets/splash_1080p.png"     },     "CLOCK": 130.96000000000001 }
2022-08-25T21:14:38.520994Z [130.964752438] user.info surface-manager-starfish [] LSM RECENTS_BACKUP {     "BACKUP": {         "APP_ID": "org.webosbrew.hyperion.ng.loader",         "FULLSCREEN": false,         "SNAPSHOT": "/media/developer/apps/usr/palm/applications/org.webosbrew.hyperion.ng.loader/assets/splash_1080p.png"     },     "CLOCK": 130.964 }
2022-08-25T21:14:38.534680Z [130.978447068] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:38.563239Z [131.006998920] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:38.603711Z [131.047474512] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:38.620688Z [131.064454142] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:38.652300Z [131.096072327] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:38.686879Z [131.130659068] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:38.712988Z [131.156767401] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:38.767309Z [131.211074068] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:38.796502Z [131.240271697] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:38.828969Z [131.272883697] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:38.849503Z [131.293261031] user.info surface-manager-starfish [] LSM RECENTS_BACKUP {     "BACKUP": {         "APP_ID": "org.webosbrew.hyperion.ng.loader",         "FULLSCREEN": false,         "SNAPSHOT": "/media/developer/apps/usr/palm/applications/org.webosbrew.hyperion.ng.loader/assets/splash_1080p.png"     },     "CLOCK": 131.28800000000001 }
2022-08-25T21:14:38.855733Z [131.299489994] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:38.871623Z [131.315416105] user.info surface-manager-starfish [] LSM RECENTS_BACKUP {     "BACKUP": {         "APP_ID": "org.webosbrew.hyperion.ng.loader",         "FULLSCREEN": false,         "SNAPSHOT": "/media/developer/apps/usr/palm/applications/org.webosbrew.hyperion.ng.loader/assets/splash_1080p.png"     },     "CLOCK": 131.315 }
2022-08-25T21:14:38.881165Z [131.324940475] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:38.909598Z [131.353365253] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:38.943026Z [131.386793142] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:38.967313Z [131.411079031] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:38.995602Z [131.439367734] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.024266Z [131.468031882] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.052918Z [131.496683512] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.081542Z [131.525305549] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.110236Z [131.553999919] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.138865Z [131.582630512] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.167521Z [131.611288475] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.196107Z [131.639871216] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.224815Z [131.668582512] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.253451Z [131.697215845] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.282077Z [131.725838364] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.310786Z [131.754564623] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.339403Z [131.783164808] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.368175Z [131.811939290] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.397669Z [131.841427549] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.425650Z [131.869417030] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.454294Z [131.898059104] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.482945Z [131.926711882] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.511645Z [131.955413808] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.540220Z [131.983988993] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.568887Z [132.012667623] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.597541Z [132.041307808] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.626182Z [132.069944697] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.654911Z [132.098677882] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.683523Z [132.127284401] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.712288Z [132.156055400] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.740923Z [132.184689697] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.769533Z [132.213298400] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.799894Z [132.243660586] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.832784Z [132.276560178] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.858898Z [132.302663993] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.886041Z [132.329813586] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.921888Z [132.365696252] user.err hyperion-webos [] dileVt.error dileVt {}  : [DILE_VT_ERROR][func:DILE_VT_GetCurrentVideoFrameBufferProperty][line:1323] HAL_VT_GetVideoFrameBufferIndex error(ffffffff)
2022-08-25T21:14:39.931809Z [132.375566252] user.info loader_service [] hyperion.ng-loader INFO {} power_callback: Power status callback message: { "returnValue": true, "state": "Suspend" }
2022-08-25T21:14:39.932034Z [132.375791141] user.info hyperion-webos [] hyperion-webos INFO {} power_callback: Power status callback message: { "returnValue": true, "state": "Suspend" }
2022-08-25T21:14:39.937184Z [132.380939771] user.info loader_service [] hyperion.ng-loader INFO {} power_callback: Shutting down service due to power event...
2022-08-25T21:14:39.937356Z [132.381112437] user.info hyperion-webos [] hyperion-webos INFO {} power_callback: Pausing due to power event...
2022-08-25T21:14:39.944000Z [132.387756141] user.info hyperion-webos [] hyperion-webos INFO {} unicapture_run: Shutting down...
2022-08-25T21:14:39.947260Z [132.391026400] user.info hyperion-webos [] hyperion-webos INFO {} unicapture_vsync_handler: vsync thread finished
2022-08-25T21:14:39.947739Z [132.391500660] user.info hyperion-webos [] dileVt.info dileVt {}  : [DILE_VT_INFO][func:DILE_VT_Stop][line:2169] called
2022-08-25T21:14:39.947855Z [132.391614141] user.info hyperion-webos [] dileVt.info dileVt {}  : [DILE_VT_INFO][func:DILE_VT_LOCK_ReleaseLock][line:501] SEMA UNLOCK.
2022-08-25T21:14:39.947971Z [132.391729326] user.info hyperion-webos [] dileVt.info dileVt {}  : [DILE_VT_INFO][func:_DILE_VT_LOCK_CheckSemaLockState][line:454] sem_getvalue(0) [semaphore lock state:SEM LOCK ON]
2022-08-25T21:14:39.948057Z [132.391815252] user.info hyperion-webos [] dileVt.info dileVt {}  : [DILE_VT_INFO][func:_DILE_VT_LOCK_SysVSempost][line:407] Success to SEMA UNLOCK!
2022-08-25T21:14:39.948147Z [132.391938586] user.info hyperion-webos [] dileVt.info dileVt {}  : [DILE_VT_INFO][func:_DILE_VT_LOCK_CheckSemaLockState][line:454] sem_getvalue(1) [semaphore lock state:SEM LOCK OFF]
2022-08-25T21:14:39.948281Z [132.392040141] user.info hyperion-webos [] dileVt.info dileVt {}  : [DILE_VT_INFO][func:DILE_VT_Stop][line:2190] done.
2022-08-25T21:14:39.969119Z [132.412891548] user.info hyperion-webos [] hyperion-webos INFO {} connection_loop: Ending connection loop
2022-08-25T21:14:41.833213Z [134.276970288] user.info hyperion-webos [] hyperion-webos INFO {} power_callback: Power status callback message: { "returnValue": true, "state": "Suspend", "processing": "Prepare Resume" }
2022-08-25T21:14:41.926969Z [134.370730177] user.info sam [] SAM SET_RECENT_MASK {"app_id":"org.webosbrew.hyperion.ng.loader"}
^C
root@LGwebOSTV:~#
mksy commented

After implementing this, even qs+ enabled, I am able to fix the issue of colored noise after turning on the TV using these commands:

luna-send -n 1 'luna://org.webosbrew.piccap.service/stop' '{}'
luna-send -n 1 'luna://org.webosbrew.piccap.service/start' '{}'

without having to reboot the TV completely or kill hyperion-webos

mksy commented

In PicCap release version 0.4.3 my issue has been resolved, everything works without bugs when the "disable powerstate check" option is deactivated. Thank you for your hard work.