Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flickering / unable to grab image when using HDMI sources #22

Closed
LegendaryB opened this issue Dec 23, 2021 · 8 comments
Closed

Flickering / unable to grab image when using HDMI sources #22

LegendaryB opened this issue Dec 23, 2021 · 8 comments
Labels
dile_vt Issues related to webOS low-level capture backend

Comments

@LegendaryB
Copy link

The goal was to be able to capture HDMI sources for hyperion.
This resulted in a slow TV (lag), flickering and fragments all over the capture (image)

Command
LD_LIBRARY_PATH=. ./hyperion-webos --address 192.168.178.41 --port 19400 --backend libdile_vt --width 320 --height 240 --fps 10

System Information

"board_type": "M19_DVB",
"hardware_id": "HE_DTV_W19H_AFADABAA",
"product_id": "OLED55B9DLA",
"core_os_release": "4.9.0-53804",
"webos_manufacturing_version": "05.00.15",

Logs

[DILE_VT] supportScaleUp: 1; (3840x2160)
[DILE_VT] supportScaleDown: 1; (320x240)
[DILE_VT] maxResolution: 3840x2160
[DILE_VT] input deinterlace: 1; display deinterlace: 1
[DILE_VT] framerate divider: 6
[DILE_VT] frametime: 8216; estimated fps before divider: 121.71373
[DILE_VT] frametime: 8336; estimated fps after divider: 119.96161
[DILE_VT] vfbs: 5; planes: 2
[DILE_VT] pixelFormat: 1; width: 320; height: 240; stride: 320...
[DILE_VT] vfb[0][0] = 0x6e400000
[DILE_VT] vfb[0][1] = 0x6e45f000
[DILE_VT] vfb[1][0] = 0x6e413000
[DILE_VT] vfb[1][1] = 0x6e469000
[DILE_VT] vfb[2][0] = 0x6e426000
[DILE_VT] vfb[2][1] = 0x6e473000
[DILE_VT] vfb[3][0] = 0x6e439000
[DILE_VT] vfb[3][1] = 0x6e47d000
[DILE_VT] vfb[4][0] = 0x6e44c000
[DILE_VT] vfb[4][1] = 0x6e487000
[DILE_VT] framerate: 0.015774 FPS
[DILE_VT] framerate: 35.614649 FPS
[DILE_VT] framerate: 42.296890 FPS
[DILE_VT] framerate: 43.338823 FPS
[DILE_VT] framerate: 44.393737 FPS
[DILE_VT] framerate: 44.411678 FPS
[DILE_VT] framerate: 40.856794 FPS
[DILE_VT] framerate: 41.824846 FPS
[DILE_VT] framerate: 45.493767 FPS
[DILE_VT] framerate: 40.433610 FPS
[DILE_VT] framerate: 37.069255 FPS
[DILE_VT] framerate: 44.955404 FPS
[DILE_VT] framerate: 40.869874 FPS
[DILE_VT] framerate: 40.415308 FPS
[DILE_VT] framerate: 35.602984 FPS
[DILE_VT] framerate: 40.869596 FPS
[DILE_VT] framerate: 40.872102 FPS
[DILE_VT] framerate: 31.818220 FPS
[DILE_VT] framerate: 41.823388 FPS
[DILE_VT] framerate: 42.317952 FPS
[DILE_VT] framerate: 40.866033 FPS
[DILE_VT] framerate: 41.817442 FPS
[DILE_VT] framerate: 38.671804 FPS
[DILE_VT] framerate: 42.309656 FPS
[DILE_VT] framerate: 41.321745 FPS
[DILE_VT] framerate: 42.832606 FPS
[DILE_VT] framerate: 35.960573 FPS
[DILE_VT] framerate: 40.818492 FPS
[DILE_VT] framerate: 40.917870 FPS
[DILE_VT] framerate: 42.789596 FPS
[DILE_VT] framerate: 42.328162 FPS
[DILE_VT] framerate: 38.673349 FPS
[DILE_VT] framerate: 44.958908 FPS
[DILE_VT] framerate: 40.859298 FPS
[DILE_VT] framerate: 42.819034 FPS
[DILE_VT] framerate: 44.944157 FPS
[DILE_VT] framerate: 39.530483 FPS
[DILE_VT] framerate: 43.852405 FPS
Connection terminated.
@PinkyJie
Copy link

Got the same issue with PicCap.

@PinkyJie
Copy link

Hey @LegendaryB, I just realised our system information are almost the same, but mine got very lower FPS when using libdile_vt.

System information

"board_type": "M19_DVB",
"hardware_id": "HE_DTV_W19H_AFADABAA",
"product_id": "65SM8600PTA",
"core_os_release": "4.9.0-53804",
"webos_manufacturing_version": "05.00.15",

Logs

[DILE_VT] supportScaleUp: 1; (3840x2160)
[DILE_VT] supportScaleDown: 1; (320x240)
[DILE_VT] maxResolution: 3840x2160
[DILE_VT] input deinterlace: 1; display deinterlace: 1
[DILE_VT] scaledown limit, overriding to 320x240
[DILE_VT] framerate divider: 1
[DILE_VT] frametime: 10044; estimated fps before divider: 99.56193
[DILE_VT] frametime: 10000; estimated fps after divider: 100.00000
[DILE_VT] vfbs: 5; planes: 2
[DILE_VT] pixelFormat: 1; width: 320; height: 240; stride: 320...
[DILE_VT] vfb[0][0] = 0x6e400000
[DILE_VT] vfb[0][1] = 0x6e45f000
[DILE_VT] vfb[1][0] = 0x6e413000
[DILE_VT] vfb[1][1] = 0x6e469000
[DILE_VT] vfb[2][0] = 0x6e426000
[DILE_VT] vfb[2][1] = 0x6e473000
[DILE_VT] vfb[3][0] = 0x6e439000
[DILE_VT] vfb[3][1] = 0x6e47d000
[DILE_VT] vfb[4][0] = 0x6e44c000
[DILE_VT] vfb[4][1] = 0x6e487000
[DILE_VT] framerate: 0.025693 FPS
Start connection loop
[DILE_VT] framerate: 16.396776 FPS
[DILE_VT] framerate: 11.812019 FPS
[DILE_VT] framerate: 10.525104 FPS
[DILE_VT] framerate: 9.901020 FPS
[DILE_VT] framerate: 11.765970 FPS
[DILE_VT] framerate: 10.562350 FPS
[DILE_VT] framerate: 10.273944 FPS
[DILE_VT] framerate: 10.564057 FPS
[DILE_VT] framerate: 11.235972 FPS
[DILE_VT] framerate: 10.162715 FPS
Connection terminated.

@LegendaryB
Copy link
Author

Fixed for me with the following pull request: #34
At the moment I'm on the latest webOS, Piccap 2.2 and rooted via RootMyTV v2

@PinkyJie
Copy link

Thanks for letting me know @LegendaryB, the combination works to me as well!

@LegendaryB
Copy link
Author

@PinkyJie Great to hear that 👍

@Informatic
Copy link
Member

Whenever (any of) you have time, please fill out your system info in #16 and we'll close this issue :)

@Informatic Informatic added the dile_vt Issues related to webOS low-level capture backend label Jan 24, 2022
@PinkyJie
Copy link

@Informatic updated my info there, thanks!

@LegendaryB
Copy link
Author

@Informatic Added missing information. I close this ticket. Many thanks again :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dile_vt Issues related to webOS low-level capture backend
Projects
None yet
Development

No branches or pull requests

3 participants