[App] libSambilight E/F/H (MST-only)

Here are software that related with Samsung F series TVs.
Please don't create any new topic here unless you have software to post/release.

fromul
SamyGO Project Donor
Posts: 47
Joined: Sat Feb 01, 2020 11:07 am
Location: Czech Republic

Re: [App] libSambilight E/F/H (MST-only)

Post by fromul »

tasshack wrote: Sat Feb 19, 2022 7:30 am If you start libSambilight from telnet it will be very slow compared to init.d that is normal and you should be enable gfx_lib to 1 for TV performance.

I think you should create a new init file from telnet. Text files can act differently on linux when edited from windows.
yes, you had true, i maked all changeds in 01_99_Sambilight.init file under Ubuntu - Gedit and now autostart run correctly. But only if i have value GFX_LIB:0 and it is still jerky, if i tried it with GFX_LIB:1 get reboot cycling (i had short time for deleting 01_99_Sambilight.init, but I did it).
UE46H7000 T-MST14DEUC 2130.0 rooted, OSCam r11704, Sambilight preparation in progress
tasshack
SamyGO Project Donor
Posts: 65
Joined: Thu Aug 23, 2018 5:54 am
Location: Istanbul, TURKEY

Re: [App] libSambilight E/F/H (MST-only)

Post by tasshack »

fromul wrote: Sat Feb 19, 2022 10:55 am
tasshack wrote: Sat Feb 19, 2022 7:30 am If you start libSambilight from telnet it will be very slow compared to init.d that is normal and you should be enable gfx_lib to 1 for TV performance.

I think you should create a new init file from telnet. Text files can act differently on linux when edited from windows.
yes, you had true, i maked all changeds in 01_99_Sambilight.init file under Ubuntu - Gedit and now autostart run correctly. But only if i have value GFX_LIB:0 and it is still jerky, if i tried it with GFX_LIB:1 get reboot cycling (i had short time for deleting 01_99_Sambilight.init, but I did it).
Can you share both logs with gfx_lib 1 and 0. Also please check the baudrate is 921600 and led count is correct on the sketch.
You can try increasing capture_rate to 60 or 90 and decreasing capture_size to 2 or 3 for preformance improvement with gfx_lib 0.
fromul
SamyGO Project Donor
Posts: 47
Joined: Sat Feb 01, 2020 11:07 am
Location: Czech Republic

Re: [App] libSambilight E/F/H (MST-only)

Post by fromul »

no, is possible share only log from GFX_LIB=0 ...here:

Code: Select all

[Sambilight] SamyGO E/F/H libSambilight v1.2.11 - (c) tasshack 2019 - 2021
[Sambilight] _Z23SdDisplay_CaptureScreenP8SdSize_tPhP23SdDisplay_CaptureInfo_t [0xf38d30].
[Sambilight] dlsym '_Z23SdDisplay_CaptureScreenP8SdSize_tPhP23SdDisplay_CaptureInfo_t12SdMainChip_k' failed.
[Sambilight] dlsym '_Z23SdDisplay_CaptureScreenP8SdSize_tPhP24SdVideoCommonFrameData_tP8SdRect_t12SdMainChip_k' failed.
[Sambilight] _Znwj [0xf3fc04].
[Sambilight] _ZN4SCGCC2El [0x1c40608].
[Sambilight] _ZN8SCBaseGC6CreateEv [0x1c4c540].
[Sambilight] _ZN4SCGC7DestroyEv [0x1c403cc].
[Sambilight] _ZN4SCGCD2Ev [0x1c4065c].
[Sambilight] _ZN4SCGC5ClearEPN6Shadow9BasicType4RectE [0x1c40ff4].
[Sambilight] _ZN8SCBaseGC5FlushEPN6Shadow9BasicType4RectE [0x1c4bc54].
[Sambilight] _ZN4SCGC8FillRectEN6Shadow5ColorEllll [0x1c4b528].
[Sambilight] _ZN4SCGC8DrawTextEllPtl [0x1c3cc7c].
[Sambilight] _ZN4SCGC11SetFontSizeEl [0x1c3d2dc].
[Sambilight] _ZN4SCGC7SetFontEP6SCFont [0x1c3c0dc].
[Sambilight] _ZN4SCGC12SetFontStyleEl [0x1c3ba8c].
[Sambilight] _ZN4SCGC10SetFgColorEN6Shadow5ColorE [0x3836a14].
[Sambilight] _ZN14CUSBAppResUtil14GetDefaultFontEv [0x256ca08].
[Sambilight] g_IPanel [0x420397a0].
[Sambilight] dlsym 'g_TaskManager' failed.
[Sambilight] g_pTaskManager [0x7302e54].
[Sambilight] g_TVViewerMgr [0x730deb8].
[Sambilight] dlsym 'g_pTVViewerMgr' failed.
[Sambilight] g_TVViewerWStringEng [0x719f928].
[Sambilight] dlsym 'g_WarningWStringEng' failed.
[Sambilight] dlsym 'g_pCustomTextResMgr' failed.
[Sambilight] dlsym 'g_CustomTextWStringEng' failed.
[Sambilight] _ZN16CResourceManager10GetWStringEi [0x150e41c].
[Sambilight] _ZN9PCWString7ConvertEPtPKciiPi [0xf419a8].
[Sambilight] _ZN12CTaskManager14GetApplicationE15DTV_APPLICATION [0x150fd84].
[Sambilight] _ZN10CViewerApp16GetViewerManagerEv [0x1980840].
[Sambilight] dlsym '_ZN10ALMOND030015CDesktopManager11GetInstanceENS_13EDesktopIndexE' failed.
[Sambilight] dlsym '_ZN10ALMOND030015CDesktopManager14GetApplicationEPKcS2_' failed.
[Sambilight] _ZN14CViewerManager15ShowSystemAlertEii [0x19c916c].
[Sambilight] dlsym '_ZN14CViewerManager15ShowSystemAlertEi' failed.
[Sambilight] _ZN14CViewerManager14ShowCustomTextEi [0x19c608c].
[Sambilight] dlsym '_ZN14CViewerManager14ShowCustomTextEib' failed.
[Sambilight] dlsym '_ZN14CViewerManager10ShowRCModeEi' failed.
[Sambilight] dlsym '_ZN14CCustomTextApp13t_OnActivatedEPKci' failed.
[Sambilight] MsOS_PA2KSEG0 [0x41df6afc].
[Sambilight] MsOS_Dcache_Flush [0x41df6b2c].
[Sambilight] MApi_MMAP_GetInfo [0x41db9b24].
[Sambilight] MApi_XC_W2BYTEMSK [0x41ee7d64].
[Sambilight] gfx_InitNonGAPlane [0x41dcc1a8].
[Sambilight] gfx_ReleasePlane [0x41dd361c].
[Sambilight] gfx_CaptureFrame [0x41dc789c].
[Sambilight] gfx_BitBltScale [0x41dcdf2c].
[Sambilight] MApi_GOP_DWIN_CaptureOneFrame [0x41e10680].
[Sambilight] MApi_GOP_DWIN_GetWinProperty [0x41e0fe0c].
[Sambilight] _ZN10CViewerApp14t_OnInputOccurEPK7PTEvent [0x1996b04].
[Sambilight] Sambilight started
[Sambilight] H_LEDS: 59, V_LEDS: 32, BOTTOM_GAP: 0, START_OFFSET: 150, COLOR_ORDER: RGB, CAPTURE_POS: 0, CLOCKWISE: 0
[Sambilight] 480x270 30ms
[Sambilight] Black border detection enabled
[Sambilight] TV Remote control support enabed
[Sambilight] -------------1-------------
[Sambilight] Name: 16:9
[Sambilight] Saturation Gain: 130%
[Sambilight] Value Gain: 90%
[Sambilight] Brightness Correction: -7
[Sambilight] Horizontal Depth: 26%
[Sambilight] Vertical Depth: 15%
[Sambilight] Overlap: 0%
[Sambilight] Horizontal Padding: 0%
[Sambilight] Vertical Padding: 0%
[Sambilight] -------------2-------------
[Sambilight] Name: 21:9
[Sambilight] Saturation Gain: 120%
[Sambilight] Value Gain: 90%
[Sambilight] Brightness Correction: -7
[Sambilight] Horizontal Depth: 15%
[Sambilight] Vertical Depth: 7%
[Sambilight] Overlap: 0%
[Sambilight] Horizontal Padding: 12%
[Sambilight] Vertical Padding: 0%
[Sambilight] -------------3-------------
[Sambilight] Name: 4:3
[Sambilight] Saturation Gain: 100%
[Sambilight] Value Gain: 100%
[Sambilight] Brightness Correction: 0
[Sambilight] Horizontal Depth: 12%
[Sambilight] Vertical Depth: 12%
[Sambilight] Overlap: 0%
[Sambilight] Horizontal Padding: 0%
[Sambilight] Vertical Padding: 12%
[Sambilight] -------------4-------------
[Sambilight] Name: 3:2
[Sambilight] Saturation Gain: 100%
[Sambilight] Value Gain: 100%
[Sambilight] Brightness Correction: 0
[Sambilight] Horizontal Depth: 12%
[Sambilight] Vertical Depth: 12%
[Sambilight] Overlap: 0%
[Sambilight] Horizontal Padding: 0%
[Sambilight] Vertical Padding: 8%
[Sambilight] 4 Profile(s) Loaded From Config
[Sambilight] Serial available /dev/ttyUSB0 @921600
[Sambilight] Serial open
[Sambilight] Led manager init
[Sambilight] Panel size 1920x1080
[Sambilight] gfx_lib not enabled
[Sambilight] Grabbing started
sharing log with GFX_LIB=1 is´t possible, after running get TV crashed (log file was´t created).

I tried change values of :
CAPTURE_FREQ=90 | CAPTURE_FREQ=60
CAPTURE_SIZE=2 and 3 | CAPTURE_SIZE= 2 and 3

result is better, but still is visible jerking, most of all when leds lightning up from 0 - 255 and same by leds lightning out
UE46H7000 T-MST14DEUC 2130.0 rooted, OSCam r11704, Sambilight preparation in progress
fromul
SamyGO Project Donor
Posts: 47
Joined: Sat Feb 01, 2020 11:07 am
Location: Czech Republic

Re: [App] libSambilight E/F/H (MST-only)

Post by fromul »

today i maked (via service menu) "factory reset" and uploaded fw 0000 and back 2007 - rooted with last SamyGO files. Before i had only telnet and ftp connection. Now i have SSH too :-). But after installing oscam i tried again Sambilight, but after injecting of Sambilight with GFX_LIB=1 gave my TV again crash = reboot.
i mean, the problem is in GFX library. Is possible test only this library? ...and how?

maybe is important the comment of GFX_LIB function in 01_99_Sambiligt.init file:
GFX_LIB=1; # Capture directly from graphics driver resulting +50 FPS and prevents UI from lagging during capture (Experimental! Tested on F)
...i mean, it is unusable for E series
Last edited by fromul on Thu Feb 24, 2022 9:36 am, edited 2 times in total.
UE46H7000 T-MST14DEUC 2130.0 rooted, OSCam r11704, Sambilight preparation in progress
ilcristofer
Posts: 3
Joined: Wed Feb 16, 2022 11:54 pm

Re: [App] libSambilight E/F/H (MST-only)

Post by ilcristofer »

Hello
Good job. Congrats looks great.
Works like a charm
Only one thing
it is normal that from the moment the TV is switched on it takes 1 minute to start the LEDs

Thanks
tasshack
SamyGO Project Donor
Posts: 65
Joined: Thu Aug 23, 2018 5:54 am
Location: Istanbul, TURKEY

Re: [App] libSambilight E/F/H (MST-only)

Post by tasshack »

ilcristofer wrote: Mon Feb 21, 2022 1:24 am Hello
Good job. Congrats looks great.
Works like a charm
Only one thing
it is normal that from the moment the TV is switched on it takes 1 minute to start the LEDs

Thanks
Yes that is normal and happens on all apps working with samygo.
When you turn on your TV, it is still booting in the background. It takes about a minute to complete booting and start all widgets and other apps.
ilcristofer
Posts: 3
Joined: Wed Feb 16, 2022 11:54 pm

Re: [App] libSambilight E/F/H (MST-only)

Post by ilcristofer »

I get it

Another question. How can I adjust the white point like I did with hyperion?
Is there any way to do this?
Thank you

tasshack wrote: Mon Feb 21, 2022 10:37 am
ilcristofer wrote: Mon Feb 21, 2022 1:24 am Hello
Good job. Congrats looks great.
Works like a charm
Only one thing
it is normal that from the moment the TV is switched on it takes 1 minute to start the LEDs

Thanks
Yes that is normal and happens on all apps working with samygo.
When you turn on your TV, it is still booting in the background. It takes about a minute to complete booting and start all widgets and other apps.
tasshack
SamyGO Project Donor
Posts: 65
Joined: Thu Aug 23, 2018 5:54 am
Location: Istanbul, TURKEY

Re: [App] libSambilight E/F/H (MST-only)

Post by tasshack »

ilcristofer wrote: Mon Feb 21, 2022 12:43 pm I get it

Another question. How can I adjust the white point like I did with hyperion?
Is there any way to do this?
Thank you

tasshack wrote: Mon Feb 21, 2022 10:37 am
ilcristofer wrote: Mon Feb 21, 2022 1:24 am Hello
Good job. Congrats looks great.
Works like a charm
Only one thing
it is normal that from the moment the TV is switched on it takes 1 minute to start the LEDs

Thanks
Yes that is normal and happens on all apps working with samygo.
When you turn on your TV, it is still booting in the background. It takes about a minute to complete booting and start all widgets and other apps.
Unfortunately you can only adjust saturation and value gains from sambilight (like HSL adjustment on hyperion) but you can add color correction and color temperature parameters to the arduino sketch from fastled.

https://github.com/FastLED/FastLED/wiki ... Correction
https://github.com/FastLED/FastLED/blob ... rature.ino
https://fastled.io/docs/3.1/group___color_enums.html
ilcristofer
Posts: 3
Joined: Wed Feb 16, 2022 11:54 pm

Re: [App] libSambilight E/F/H (MST-only)

Post by ilcristofer »

Very interesting
Thanks
tasshack wrote: Mon Feb 21, 2022 2:53 pm
ilcristofer wrote: Mon Feb 21, 2022 12:43 pm I get it

Another question. How can I adjust the white point like I did with hyperion?
Is there any way to do this?
Thank you

tasshack wrote: Mon Feb 21, 2022 10:37 am

Yes that is normal and happens on all apps working with samygo.
When you turn on your TV, it is still booting in the background. It takes about a minute to complete booting and start all widgets and other apps.
Unfortunately you can only adjust saturation and value gains from sambilight (like HSL adjustment on hyperion) but you can add color correction and color temperature parameters to the arduino sketch from fastled.

https://github.com/FastLED/FastLED/wiki ... Correction
https://github.com/FastLED/FastLED/blob ... rature.ino
https://fastled.io/docs/3.1/group___color_enums.html
fromul
SamyGO Project Donor
Posts: 47
Joined: Sat Feb 01, 2020 11:07 am
Location: Czech Republic

Re: [App] libSambilight E/F/H (MST-only)

Post by fromul »

is there anyone here whose sambilight fully works on E series (with GFX_LIB=1) ?
UE46H7000 T-MST14DEUC 2130.0 rooted, OSCam r11704, Sambilight preparation in progress

Post Reply

Return to “[F] Software”