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.
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.
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.
At first I wanna thank you for your great work!
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.markush6302 wrote: ↑Tue Jan 04, 2022 3:07 pmAt 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
Thank you guys,tasshack wrote:APA102 is recommended for ESP8266 setup.