Open denimjeans opened 1 year ago
I think I have seen this before. But sadly I don't have a DILE_VT supported TV so I can't even test.
@tuxuser: Wasn't the Create_Ex quirk for this kind of situation?
It could help, yea.
Unfortunately the same:
Please let me know if I can test or do anything else or provide you more detailed information? A hint could be: when I reboot the while TV then it works fine (until the next standby). Also, with the old version from January, a reload did always worked. But with the new version from Sep reload does not work anymore, only reboot. What now is working good is the gui capturing. This never worked before, thanks for that!
Unfortunately the same:
Please let me know if I can test or do anything else or provide you more detailed information? A hint could be: when I reboot the while TV then it works fine (until the next standby). Also, with the old version from January, a reload did always worked. But with the new version from Sep reload does not work anymore, only reboot. What now is working good is the gui capturing. This never worked before, thanks for that!
Can you please see what happens, when you hit full service restart? This will kill fully kill hyperion-webos, so we might see if its a problem related to hyperion-webos, or TV internally
Also seen this ticket right now: https://github.com/webosbrew/hyperion-webos/issues/81 Do you receive the same image?
Also seen this ticket right now: #81 Do you receive the same image?
no, for me it's black. Only when I open the GUI, the GUI becomes visible in Hyperion.
Also, the screenshot above is from a full restart. I got back to 0.2.3. So I dont need to reboot the TV all the time but reload via remote control the plugin, its anoying but better than rebooting the TV
Any further idea? I can also grant SSH access to my TV if needed. BTW. I cant write anything in discord, do i need to have been enabled or so?
Hey @denimjeans, can you please test out this build: https://github.com/webosbrew/hyperion-webos/actions/runs/3168760399
@TBSniller Hi, I have the exact same problem. GUI Capturing works great:
Video capture not at all. In Hyperion, the live preview is black:
My tv version is the same as mentioned above:
"board_type": "M16P_DVB",
"hardware_id": "HE_DTV_W18H_AFADABAA",
"product_id": "65SK8500LLA",
"core_os_release": "4.4.0-9",
"webos_manufacturing_version": "05.40.09",
These are the logs with the installed version via homebrew:
root@LGwebOSTV:/media/developer/apps/usr/palm/services/org.webosbrew.piccap.service# ./hyperion-webos
0.000s [INFO main ] Starting up (version: tags/0.1.1-0-gf7caa9a)...
0.003s [INFO main ] Running via CLI
0.004s [INFO service_init ] Autodetecting UI backend...
[000053.232822:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x63d60
[000053.232914:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x64190
[000053.232957:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x65680
[000053.233074:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x65ab0
[000053.233125:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x64e20
[000053.233168:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x65250
[000053.233226:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x66b48
[000053.233272:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x66f78
[000053.233315:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x66b48
[000053.233355:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x66f78
[000053.233397:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x63d60
[000053.233442:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x64190
[000053.233492:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x673a8
[000053.233537:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x677d8
[000053.233578:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x65680
[000053.233618:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x65ab0
[000053.234102:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x673a8
[000053.234154:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x677d8
[000053.234196:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x673a8
[000053.234237:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x677d8
[000053.234277:hyperion-webos->hyperion-webos] [_GM_UseGFXHWDirectly][905] _GM_UseGFXHWDirectly OK
0.042s [INFO service_init ] Autodetecting video backend...
0.048s [WARN unicapture_init_backend] Unable to load libvtcapture_backend.so: libvtcapture.so.1: cannot open shared object file: No such file or directory
0.049s [WARN unicapture_try_backends] try_backends: backend: libvtcapture_backend.so failed with code: -1
0.058s [INFO capture_init ] Capture init called.
0.058s [INFO dile_init ] Attempting DILE_VT_Create...
0.430s [WARN dile_init ] scaledown is limited to 320x240 while 320x180 has been chosen - there's a chance this will crash!
0.490s [INFO dile_init ] [DILE_VT] framerate divider: 2
0.530s [INFO dile_init ] [DILE_VT] frametime: 19979; estimated fps before divider: 50.05256
0.669s [INFO dile_init ] [DILE_VT] frametime: 39998; estimated fps after divider: 25.00125
0.670s [INFO dile_init ] [DILE_VT] vfbs: 5; planes: 2
0.671s [INFO dile_init ] [DILE_VT] pixelFormat: 1; width: 320; height: 180; stride: 320...
0.678s [INFO unicapture_run ] UI capture started
0.679s [INFO unicapture_run ] Video capture started
0.684s [INFO power_callback ] Power status callback message: { "subscribed": true, "returnValue": true, "state": "Active" }
0.686s [INFO connection_loop ] Connecting hyperion-client..
0.686s [WARN hyperion_client ] inet_pton error occured (hostname: ): Success
0.686s [ ERR connection_loop ] Error! hyperion_client.
0.686s [INFO connection_loop ] Connection destroyed, waiting...
0.686s [INFO unicapture_vsync_handler] vsync thread starting...
0.776s [INFO picture_callback ] picture_callback: dynamicRange: sdr --> SDR mode
0.841s [ ERR do_http_post ] Curl process failed! Code: 0x600
0.841s [WARN send_rpc_message ] send_rpc_message: HTTP POST request failed, ret: -3
0.841s [WARN get_daemon_flavor ] get_daemon_flavor: Failed to send RPC message, code: -3
0.841s [ ERR set_hdr_state ] set_hdr_state: Failed to fetch daemon flavor, ret: -1
0.842s [ ERR picture_callback ] videooutput_callback: set_hdr_state failed, ret: -1
1.686s [INFO connection_loop ] Connecting hyperion-client..
1.686s [WARN hyperion_client ] inet_pton error occured (hostname: ): Success
1.687s [ ERR connection_loop ] Error! hyperion_client.
1.687s [INFO connection_loop ] Connection destroyed, waiting...
2.687s [INFO connection_loop ] Connecting hyperion-client..
2.687s [WARN hyperion_client ] inet_pton error occured (hostname: ): Success
2.687s [ ERR connection_loop ] Error! hyperion_client.
2.687s [INFO connection_loop ] Connection destroyed, waiting...
3.687s [INFO connection_loop ] Connecting hyperion-client..
3.687s [WARN hyperion_client ] inet_pton error occured (hostname: ): Success
3.687s [ ERR connection_loop ] Error! hyperion_client.
3.687s [INFO connection_loop ] Connection destroyed, waiting...
4.688s [INFO connection_loop ] Connecting hyperion-client..
4.688s [WARN hyperion_client ] inet_pton error occured (hostname: ): Success
And these are the results with the version you provided in the previous comment:
root@LGwebOSTV:~/hyperion# ./hyperion-webos
0.001s [INFO main ] Starting up (version: heads/fix/low_webos_quickstart-0-gf4bd001)...
0.001s [INFO main ] Running via CLI
0.002s [INFO service_init ] Autodetecting UI backend...
[107931.705129:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x63cf8
[107931.705190:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x64128
[107931.705515:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x65618
[107931.705610:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x65a48
[107931.705645:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x64db8
[107931.705666:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x651e8
[107931.705950:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x66ae0
[107931.706045:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x66f10
[107931.706134:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x66ae0
[107931.706226:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x66f10
[107931.706252:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x63cf8
[107931.706273:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x64128
[107931.706465:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x67340
[107931.706490:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x67770
[107931.706511:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x65618
[107931.706666:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x65a48
[107931.706691:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x67340
[107931.706712:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x67770
[107931.706732:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x67340
[107931.706913:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x67770
[107931.707000:hyperion-webos->hyperion-webos] [_GM_UseGFXHWDirectly][905] _GM_UseGFXHWDirectly OK
0.018s [INFO service_init ] Autodetecting video backend...
0.019s [WARN unicapture_init_backend] Unable to load libvtcapture_backend.so: libvtcapture.so.1: cannot open shared object file: No such file or directory
0.019s [WARN unicapture_try_backends] try_backends: backend: libvtcapture_backend.so failed with code: -1
0.022s [INFO capture_init ] Capture init called.
0.022s [INFO dile_init ] Attempting DILE_VT_Create...
0.030s [WARN dile_init ] Failed to get DILE_VT context!
0.030s [ ERR unicapture_init_backend] libdile_vt_backend.so: init failure, code: -1
0.031s [WARN unicapture_try_backends] try_backends: backend: libdile_vt_backend.so failed with code: -1
0.031s [ ERR unicapture_try_backends] Try backends failed!
0.038s [ ERR service_register ] Unable to register on Luna bus: Invalid permissions for org.webosbrew.piccap.service
0.040s [WARN main ] Service register failed: -1
0.040s [INFO unicapture_run ] UI capture started
0.040s [INFO unicapture_vsync_handler] vsync thread starting...
0.041s [INFO connection_loop ] Connecting hyperion-client..
0.041s [WARN hyperion_client ] inet_pton error occured (hostname: ): Success
0.041s [ ERR connection_loop ] Error! hyperion_client.
0.041s [INFO connection_loop ] Connection destroyed, waiting...
Unlike @denimjeans a reboot does not work for me. After updating picap to 0.4.2 it works for 1 day, then it stopped. Before updating picap everything was good. Do you have any suggestions?
Let me know if you need any help.
I started debugging this issue and well ... In my previous comment i forgot to provide the config file. With the config file I get the following logs:
root@LGwebOSTV:/media/developer/apps/usr/palm/services/org.webosbrew.piccap.service# ./hyperion-webos -c config.json
0.001s [INFO main ] Starting up (version: tags/0.1.1-0-gf7caa9a)...
0.001s [INFO main ] Running via CLI
0.003s [INFO service_init ] Autodetecting UI backend...
[000031.770592:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x64618
[000031.773779:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x64a48
[000031.774237:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x65f38
[000031.774544:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x66368
[000031.775130:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x656d8
[000031.775407:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x65b08
[000031.779318:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x67400
[000031.779663:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x67830
[000031.780323:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x67400
[000031.780595:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x67830
[000031.780909:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x64618
[000031.781240:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x64a48
[000031.783834:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x67c60
[000031.784166:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x68090
[000031.784578:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x65f38
[000031.784906:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x66368
[000031.785290:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x67c60
[000031.785578:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x68090
[000031.788682:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x67c60
[000031.789502:hyperion-webos->hyperion-webos] <warning> GM_TEMPLATE_HASH_Insert : node already found..ptr = 0x68090
[000031.790561:hyperion-webos->hyperion-webos] [_GM_UseGFXHWDirectly][905] _GM_UseGFXHWDirectly OK
0.156s [INFO service_init ] Autodetecting video backend...
0.162s [WARN unicapture_init_backend] Unable to load libvtcapture_backend.so: libvtcapture.so.1: cannot open shared object file: No such file or directory
0.162s [WARN unicapture_try_backends] try_backends: backend: libvtcapture_backend.so failed with code: -1
0.182s [INFO capture_init ] Capture start called.
0.183s [INFO capture_init ] Attempting DILE_VT_Create...
0.626s [WARN capture_init ] scaledown is limited to 320x240 while 320x180 has been chosen - there's a chance this will crash!
0.684s [INFO capture_init ] [DILE_VT] framerate divider: 2
0.723s [INFO capture_init ] [DILE_VT] frametime: 19708; estimated fps before divider: 50.74082
0.863s [INFO capture_init ] [DILE_VT] frametime: 40028; estimated fps after divider: 24.98251
0.864s [INFO capture_init ] [DILE_VT] vfbs: 5; planes: 2
0.864s [INFO capture_init ] [DILE_VT] pixelFormat: 1; width: 320; height: 180; stride: 320...
0.879s [INFO power_callback ] Power status callback message: { "subscribed": true, "returnValue": true, "state": "Active" }
0.879s [INFO unicapture_run ] UI capture started
0.881s [INFO connection_loop ] Connecting hyperion-client..
0.883s [INFO connection_loop ] hyperion-client connected!
0.887s [INFO unicapture_run ] Video capture started
0.904s [INFO unicapture_vsync_handler] vsync thread starting...
0.950s [INFO picture_callback ] picture_callback: dynamicRange: sdr --> SDR mode
1.109s [INFO set_hdr_state ] Detected daemon flavor: 1 (Hyperion.NG)
1.109s [WARN set_hdr_state ] set_hdr_state: Daemon is not HyperHDR -> Not submitting HDR state!
1.109s [ ERR picture_callback ] videooutput_callback: set_hdr_state failed, ret: -2
14.651s [INFO picture_callback ] picture_callback: dynamicRange: sdr --> SDR mode
14.652s [WARN set_hdr_state ] set_hdr_state: Daemon is not HyperHDR -> Not submitting HDR state!
14.652s [ ERR picture_callback ] videooutput_callback: set_hdr_state failed, ret: -2
16.794s [INFO picture_callback ] picture_callback: dynamicRange: sdr --> SDR mode
16.794s [WARN set_hdr_state ] set_hdr_state: Daemon is not HyperHDR -> Not submitting HDR state!
16.794s [ ERR picture_callback ] videooutput_callback: set_hdr_state failed, ret: -2
17.945s [INFO picture_callback ] picture_callback: dynamicRange: sdr --> SDR mode
17.945s [WARN set_hdr_state ] set_hdr_state: Daemon is not HyperHDR -> Not submitting HDR state!
17.945s [ ERR picture_callback ] videooutput_callback: set_hdr_state failed, ret: -2
18.703s [INFO picture_callback ] picture_callback: dynamicRange: sdr --> SDR mode
18.703s [WARN set_hdr_state ] set_hdr_state: Daemon is not HyperHDR -> Not submitting HDR state!
18.703s [ ERR picture_callback ] videooutput_callback: set_hdr_state failed, ret: -2
20.121s [INFO picture_callback ] picture_callback: dynamicRange: sdr --> SDR mode
20.121s [WARN set_hdr_state ] set_hdr_state: Daemon is not HyperHDR -> Not submitting HDR state!
20.121s [ ERR picture_callback ] videooutput_callback: set_hdr_state failed, ret: -2
143.998s [INFO picture_callback ] picture_callback: dynamicRange: sdr --> SDR mode
143.999s [WARN set_hdr_state ] set_hdr_state: Daemon is not HyperHDR -> Not submitting HDR state!
143.999s [ ERR picture_callback ] videooutput_callback: set_hdr_state failed, ret: -2
195.717s [INFO picture_callback ] picture_callback: dynamicRange: sdr --> SDR mode
195.717s [WARN set_hdr_state ] set_hdr_state: Daemon is not HyperHDR -> Not submitting HDR state!
195.717s [ ERR picture_callback ] videooutput_callback: set_hdr_state failed, ret: -2
Because of the logs
1.109s [INFO set_hdr_state ] Detected daemon flavor: 1 (Hyperion.NG)
1.109s [WARN set_hdr_state ] set_hdr_state: Daemon is not HyperHDR -> Not submitting HDR state!
I dicide to uninstall hyperion.ng and picap. After that, i installed HyperHDR but not Hyperion.Ng. Rebooting the TV multiple times after each step. Same result, Hyperion is black. As you can see, the line set_hdr_state: Daemon is not HyperHDR -> Not submitting HDR state!
is logged multiple times. Every line was logged after I changed the picture mode via the quick settings (disabled HDR, switched to default, sport, enabled HDR etc.). Picap still logs "Daemon is not HyperHDR" even Hyperion.Ng was uninstalled.
Then I switched to the advanced tv settings. In the TV settings I changed the picture mode again. I dont know what I have changed exactly, but now the video capturing is working again. Even with "Daemon is not HyperHDR" logs.
Guys, I believe I found the solution.for me it works very well if I disable Quickstart+ At least with a special version I got at discord Kindly, let me know if it works for you as well.
Cannot confirm. I disabled Quickstart+ but still have to reboot the TV after standby to make hyperion working. Additionally, i updated the config (set fps to 1) and restarted piccap. Hyperion doesn't work (before config Update it worked). After a reboot every Thing works fine
@wehrstedt I used this one here, then it started workig for me, maybe you want to try it as well https://discord.com/channels/407937994037919756/931706504627773450/1025128603412877442 you only reaplce: libdile_vt_backend.so https://cdn.discordapp.com/attachments/931706504627773450/1025128602997620806/libdile_vt_backend.so
probably a better version is here, I did not tested it out yet, as the above one works for most of the time since I disabled quickstart+: https://github.com/webosbrew/hyperion-webos/actions/runs/3168760399
good luck, i know it's annoying when it's not working :-)
@denimjeans sorry for not responding ... Currently, its working, but I dont know whyy or whats the difference between now and the last attempts. I uninstalled hyperion, piccap and hyper hdr again. Removed everything in /media/developer/apps/usr/palm/services/org.webosbrew.piccap.service
. Double checked that quickstart+ is disabled. Rebooted the tv. Installed hyper hdr and piccap and know its working...
Hi, I was using PicCap v0.23 now for like few month. Autostart was not working for hyperion, but was like ok-ish to go in to settings and manually re-start the hyperion service. But with the latest update of PicCap v0.41 it is even not possible to restart it via the PicCap gui. Only a Full TV reboot does help. The GUI capture is working fine since the latest update incl autostart, but not the video capture. Reloading, restarting the service does not help, only a FULL TV reboot, then it works fine, till standby. By returning from standby the video capture does not work anymore (only gui capture). I'd really appreciate if you could help.
Here are some details, my TV
here is the log