[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.
Post Reply

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 »

noobnoob wrote: Mon Jan 03, 2022 11:36 pm I’d love to try to set this up on my ue46es6300. Which strips are you recommending ?

Thanks
I highly recommend leds with SK6812 IC. It has builtin color correction for red led therefore it can produce much accurate white color than ws2812b.
Strips with 30 leds per meter has pretty much same spacing with philips TV's.
noobnoob
SamyGO Project Donor
Posts: 11
Joined: Sun Dec 27, 2015 10:46 pm

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

Post by noobnoob »

Thank you very much for the quick response! I’ll order the parts soon.

Do you have a picture or diagram how to connect the strips each other with ? Sorry for my noob questions, I’m not very familiar with such hardware wiring.

Thanks again!
TV: UE46ES6300 - T-MST10PDEUC-2004.1 // SamyGO
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 »

noobnoob wrote: Tue Jan 04, 2022 8:05 am Thank you very much for the quick response! I’ll order the parts soon.

Do you have a picture or diagram how to connect the strips each other with ? Sorry for my noob questions, I’m not very familiar with such hardware wiring.

Thanks again!
Actually, hardware setup is not scope of this library because it can be vary between different hardware. You can setup leds anyway you like and you need to tell your configuration to library.
You can easily find tutorial/guide on youtube by searching with diy ambilight or hyperion tutorial.
noobnoob
SamyGO Project Donor
Posts: 11
Joined: Sun Dec 27, 2015 10:46 pm

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

Post by noobnoob »

Hi tasshack,

thank you again for your clear answers. Just one more question... I just want to be sure I buy the right HW.. I found this:
- https://www.amazon.de/Micro-ATmega32U4- ... 412&sr=8-1
- https://www.amazon.de/BTF-LIGHTING-Indi ... 105&sr=8-3

is this all I need from HW? is 5v the right version ?

I'm excited to start this little project :)

Thanks
TV: UE46ES6300 - T-MST10PDEUC-2004.1 // SamyGO
aimaim
SamyGO Project Donor
Posts: 70
Joined: Wed Jan 02, 2013 10:46 pm

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

Post by aimaim »

The Arduino Pro Micro 5V, you posted, works for me.

There are lots of options regarding the LED-strips. Back when I bought the parts for the first iteration of my diy ambilight I opted for APA102 LEDs since someone had recommended them to me. I'm happy with them, but I lack the comparison to other types of strips.

Also you'll need a sufficient PSU if it doesn't come with the LEDs.
Another thing is the length of the strip and the resistance of your wires and connectors. My strip has 60 LEDs/meter (there are APA102 strips with 30 aswell). I had to solder all the corners (instead of using connector clips), use fairly thick wires from PSU to strip and connect the PSU to the beginning and end of the strip in order to sufficently power all the LEDs. Otherwise the strip would either strobe or have darker/ non color-accurate passages.

Good luck!
Last edited by aimaim on Wed Jan 05, 2022 10:24 am, edited 2 times in total.
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 »

APA102 is recommended for ESP8266 setup.
markush6302
Posts: 4
Joined: Fri Jan 06, 2017 7:17 pm

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

Post by markush6302 »

tasshack wrote: Mon Jan 03, 2022 10:52 pm New version released;
- Fixed green flashing after change channel while watching TV from tuner.
- Fixed black border detection interfering with brightness correction.
At first I wanna thank you for your great work!
I updated to the new version yesterday but I'm having issues with the new version on H-series.
When I inject with

# samyGOso -d -T -B -l /mnt/opt/privateer/usr/libso/libSambilight.so H_LEDS:60 V_LEDS:33 BOTTOM_GAP:0 START_OFFSET
:153 BAUDRATE:921600 CLOCKWISE:0 COLOR_ORDER:RGB CAPTURE_POS:1 BLACK_BORDER:1 CAPTURE_FREQ:30 TV_REMOTE:0 EXTERNAL
:0 CAPTURE_SIZE:5 OSD_CAPTURE:0 GFX_LIB:0 TEST_FRAMES:0 TEST_PROFILE:0 TEST_PATTERN:0 TEST_SAVE_CAPTURE:0


no LEDs light up and the TV reboots after a few seconds.

Can anyone please help me fixing this issue?

The log file:

Code: Select all

samyGOso v1.2.5 (c) bugficks 2013-2014, sectroyer 2014-2015
Injecting '/mnt/opt/privateer/usr/libso/libSambilight.so' resident: '0'
mprotect: 0x4227c020
dlopen: 0x424a0d80
dlclose: 0x424a0e14
dlsymaddr: 0x424a0e78
pc=42324eec lr=42324ed0 sp=bdccede0 fp=44d7408
r0=44d740c r1=80
r2=1 r3=0
stack: 0xbdcaf000-0xbdccf000 length = 131072
executing injection code at 0xbdcceb48
library injection completed!
Succeeded.
# cat /dtv/Sambilight.log
[Sambilight] SamyGO E/F/H libSambilight v1.2.9 - (c) tasshack 2019 - 2021
[Sambilight] dlsym '_Z23SdDisplay_CaptureScreenP8SdSize_tPhP23SdDisplay_CaptureInfo_t' failed.
[Sambilight] dlsym '_Z23SdDisplay_CaptureScreenP8SdSize_tPhP23SdDisplay_CaptureInfo_t12SdMainChip_k' failed.
[Sambilight] _Z23SdDisplay_CaptureScreenP8SdSize_tPhP24SdVideoCommonFrameData_tP8SdRect_t12SdMainChip_k [0x6dcd8c].
[Sambilight] _Znwj [0x10d8f58].
[Sambilight] dlsym '_ZN4SCGCC2El' failed.
[Sambilight] dlsym '_ZN8SCBaseGC6CreateEv' failed.
[Sambilight] dlsym '_ZN4SCGC7DestroyEv' failed.
[Sambilight] dlsym '_ZN4SCGCD2Ev' failed.
[Sambilight] dlsym '_ZN4SCGC5ClearEPN6Shadow9BasicType4RectE' failed.
[Sambilight] dlsym '_ZN8SCBaseGC5FlushEPN6Shadow9BasicType4RectE' failed.
[Sambilight] dlsym '_ZN4SCGC8FillRectEN6Shadow5ColorEllll' failed.
[Sambilight] dlsym '_ZN4SCGC8DrawTextEllPtl' failed.
[Sambilight] dlsym '_ZN4SCGC11SetFontSizeEl' failed.
[Sambilight] dlsym '_ZN4SCGC7SetFontEP6SCFont' failed.
[Sambilight] dlsym '_ZN4SCGC12SetFontStyleEl' failed.
[Sambilight] dlsym '_ZN4SCGC10SetFgColorEN6Shadow5ColorE' failed.
[Sambilight] dlsym '_ZN14CUSBAppResUtil14GetDefaultFontEv' failed.
[Sambilight] g_IPanel [0x43495670].
[Sambilight] dlsym 'g_TaskManager' failed.
[Sambilight] dlsym 'g_pTaskManager' failed.
[Sambilight] dlsym 'g_TVViewerMgr' failed.
[Sambilight] dlsym 'g_pTVViewerMgr' failed.
[Sambilight] dlsym 'g_TVViewerWStringEng' failed.
[Sambilight] dlsym 'g_WarningWStringEng' failed.
[Sambilight] dlsym 'g_pCustomTextResMgr' failed.
[Sambilight] dlsym 'g_CustomTextWStringEng' failed.
[Sambilight] dlsym '_ZN16CResourceManager10GetWStringEi' failed.
[Sambilight] _ZN9PCWString7ConvertEPtPKciiPi [0x10dabd0].
[Sambilight] dlsym '_ZN12CTaskManager14GetApplicationE15DTV_APPLICATION' failed.
[Sambilight] dlsym '_ZN10CViewerApp16GetViewerManagerEv' failed.
[Sambilight] dlsym '_ZN10ALMOND030015CDesktopManager11GetInstanceENS_13EDesktopIndexE' failed.
[Sambilight] dlsym '_ZN10ALMOND030015CDesktopManager14GetApplicationEPKcS2_' failed.
[Sambilight] dlsym '_ZN14CViewerManager15ShowSystemAlertEii' failed.
[Sambilight] dlsym '_ZN14CViewerManager15ShowSystemAlertEi' failed.
[Sambilight] dlsym '_ZN14CViewerManager14ShowCustomTextEi' failed.
[Sambilight] dlsym '_ZN14CViewerManager14ShowCustomTextEib' failed.
[Sambilight] dlsym '_ZN14CViewerManager10ShowRCModeEi' failed.
[Sambilight] dlsym '_ZN14CCustomTextApp13t_OnActivatedEPKci' failed.
[Sambilight] MsOS_PA2KSEG0 [0x430c8408].
[Sambilight] MsOS_Dcache_Flush [0x430c823c].
[Sambilight] MApi_MMAP_GetInfo [0x43061664].
[Sambilight] MApi_XC_W2BYTEMSK [0x43259f64].
[Sambilight] gfx_InitNonGAPlane [0x4307548c].
[Sambilight] gfx_ReleasePlane [0x43080770].
[Sambilight] gfx_CaptureFrame [0x43087d78].
[Sambilight] gfx_BitBltScale [0x4307e354].
[Sambilight] MApi_GOP_DWIN_CaptureOneFrame [0x430df7a0].
[Sambilight] MApi_GOP_DWIN_GetWinProperty [0x430e1c1c].
[Sambilight] Sambilight started
[Sambilight] H_LEDS: 60, V_LEDS: 33, BOTTOM_GAP: 0, START_OFFSET: 153, COLOR_ORDER: RGB, CAPTURE_POS: 1, CLOCKWISE: 0
[Sambilight] 480x270 30ms
[Sambilight] Black border detection enabled
[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] lib_deinit
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 »

markush6302 wrote: Tue Jan 04, 2022 3:07 pm
tasshack wrote: Mon Jan 03, 2022 10:52 pm New version released;
- Fixed green flashing after change channel while watching TV from tuner.
- Fixed black border detection interfering with brightness correction.
At first I wanna thank you for your great work!
I updated to the new version yesterday but I'm having issues with the new version on H-series.
When I inject with

# samyGOso -d -T -B -l /mnt/opt/privateer/usr/libso/libSambilight.so H_LEDS:60 V_LEDS:33 BOTTOM_GAP:0 START_OFFSET
:153 BAUDRATE:921600 CLOCKWISE:0 COLOR_ORDER:RGB CAPTURE_POS:1 BLACK_BORDER:1 CAPTURE_FREQ:30 TV_REMOTE:0 EXTERNAL
:0 CAPTURE_SIZE:5 OSD_CAPTURE:0 GFX_LIB:0 TEST_FRAMES:0 TEST_PROFILE:0 TEST_PATTERN:0 TEST_SAVE_CAPTURE:0


no LEDs light up and the TV reboots after a few seconds.

Can anyone please help me fixing this issue?

The log file:

Code: Select all

samyGOso v1.2.5 (c) bugficks 2013-2014, sectroyer 2014-2015
Injecting '/mnt/opt/privateer/usr/libso/libSambilight.so' resident: '0'
mprotect: 0x4227c020
dlopen: 0x424a0d80
dlclose: 0x424a0e14
dlsymaddr: 0x424a0e78
pc=42324eec lr=42324ed0 sp=bdccede0 fp=44d7408
r0=44d740c r1=80
r2=1 r3=0
stack: 0xbdcaf000-0xbdccf000 length = 131072
executing injection code at 0xbdcceb48
library injection completed!
Succeeded.
# cat /dtv/Sambilight.log
[Sambilight] SamyGO E/F/H libSambilight v1.2.9 - (c) tasshack 2019 - 2021
[Sambilight] dlsym '_Z23SdDisplay_CaptureScreenP8SdSize_tPhP23SdDisplay_CaptureInfo_t' failed.
[Sambilight] dlsym '_Z23SdDisplay_CaptureScreenP8SdSize_tPhP23SdDisplay_CaptureInfo_t12SdMainChip_k' failed.
[Sambilight] _Z23SdDisplay_CaptureScreenP8SdSize_tPhP24SdVideoCommonFrameData_tP8SdRect_t12SdMainChip_k [0x6dcd8c].
[Sambilight] _Znwj [0x10d8f58].
[Sambilight] dlsym '_ZN4SCGCC2El' failed.
[Sambilight] dlsym '_ZN8SCBaseGC6CreateEv' failed.
[Sambilight] dlsym '_ZN4SCGC7DestroyEv' failed.
[Sambilight] dlsym '_ZN4SCGCD2Ev' failed.
[Sambilight] dlsym '_ZN4SCGC5ClearEPN6Shadow9BasicType4RectE' failed.
[Sambilight] dlsym '_ZN8SCBaseGC5FlushEPN6Shadow9BasicType4RectE' failed.
[Sambilight] dlsym '_ZN4SCGC8FillRectEN6Shadow5ColorEllll' failed.
[Sambilight] dlsym '_ZN4SCGC8DrawTextEllPtl' failed.
[Sambilight] dlsym '_ZN4SCGC11SetFontSizeEl' failed.
[Sambilight] dlsym '_ZN4SCGC7SetFontEP6SCFont' failed.
[Sambilight] dlsym '_ZN4SCGC12SetFontStyleEl' failed.
[Sambilight] dlsym '_ZN4SCGC10SetFgColorEN6Shadow5ColorE' failed.
[Sambilight] dlsym '_ZN14CUSBAppResUtil14GetDefaultFontEv' failed.
[Sambilight] g_IPanel [0x43495670].
[Sambilight] dlsym 'g_TaskManager' failed.
[Sambilight] dlsym 'g_pTaskManager' failed.
[Sambilight] dlsym 'g_TVViewerMgr' failed.
[Sambilight] dlsym 'g_pTVViewerMgr' failed.
[Sambilight] dlsym 'g_TVViewerWStringEng' failed.
[Sambilight] dlsym 'g_WarningWStringEng' failed.
[Sambilight] dlsym 'g_pCustomTextResMgr' failed.
[Sambilight] dlsym 'g_CustomTextWStringEng' failed.
[Sambilight] dlsym '_ZN16CResourceManager10GetWStringEi' failed.
[Sambilight] _ZN9PCWString7ConvertEPtPKciiPi [0x10dabd0].
[Sambilight] dlsym '_ZN12CTaskManager14GetApplicationE15DTV_APPLICATION' failed.
[Sambilight] dlsym '_ZN10CViewerApp16GetViewerManagerEv' failed.
[Sambilight] dlsym '_ZN10ALMOND030015CDesktopManager11GetInstanceENS_13EDesktopIndexE' failed.
[Sambilight] dlsym '_ZN10ALMOND030015CDesktopManager14GetApplicationEPKcS2_' failed.
[Sambilight] dlsym '_ZN14CViewerManager15ShowSystemAlertEii' failed.
[Sambilight] dlsym '_ZN14CViewerManager15ShowSystemAlertEi' failed.
[Sambilight] dlsym '_ZN14CViewerManager14ShowCustomTextEi' failed.
[Sambilight] dlsym '_ZN14CViewerManager14ShowCustomTextEib' failed.
[Sambilight] dlsym '_ZN14CViewerManager10ShowRCModeEi' failed.
[Sambilight] dlsym '_ZN14CCustomTextApp13t_OnActivatedEPKci' failed.
[Sambilight] MsOS_PA2KSEG0 [0x430c8408].
[Sambilight] MsOS_Dcache_Flush [0x430c823c].
[Sambilight] MApi_MMAP_GetInfo [0x43061664].
[Sambilight] MApi_XC_W2BYTEMSK [0x43259f64].
[Sambilight] gfx_InitNonGAPlane [0x4307548c].
[Sambilight] gfx_ReleasePlane [0x43080770].
[Sambilight] gfx_CaptureFrame [0x43087d78].
[Sambilight] gfx_BitBltScale [0x4307e354].
[Sambilight] MApi_GOP_DWIN_CaptureOneFrame [0x430df7a0].
[Sambilight] MApi_GOP_DWIN_GetWinProperty [0x430e1c1c].
[Sambilight] Sambilight started
[Sambilight] H_LEDS: 60, V_LEDS: 33, BOTTOM_GAP: 0, START_OFFSET: 153, COLOR_ORDER: RGB, CAPTURE_POS: 1, CLOCKWISE: 0
[Sambilight] 480x270 30ms
[Sambilight] Black border detection enabled
[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] lib_deinit
The problem is with the TEST_FRAMES:0. If you want to test the library on singleshot mode, test frames should be set to 1. But if you want to run the library on normal mode you should inject with -r (Resident mode) and test frames should be set to 0 for continuous capturing.
When you try to run library with test frames 0 without the -r parameter, TV deinitializes the library while it is capturing frames and that causes TV to crash.
noobnoob
SamyGO Project Donor
Posts: 11
Joined: Sun Dec 27, 2015 10:46 pm

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

Post by noobnoob »

tasshack wrote:APA102 is recommended for ESP8266 setup.
Thank you guys,

I’ll keep you posted.

Cheers


Gesendet von iPhone mit Tapatalk
TV: UE46ES6300 - T-MST10PDEUC-2004.1 // SamyGO
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 »

New version released;
- Fixed green flashing after change channel while watching TV from tuner.
- Fixed brightness correction not working from previous version.
- Fixed sometimes leds doesn't light up after boot.

Post Reply

Return to “[F] Software”