Replies: 15 comments 30 replies
-
I always recommend and recommended using a hardware USB grabber. The use of software grabbers has its limitations, especially when hardware acceleration is used (playing movies or games). If you still want to try using them, you can test Windows and the built-in DirectX grabber. The difference in quality and API capabilities is currently huge between these systems. BTW, people used to joke about Windows and its DirectX that you had to write many times more code to achieve the same thing as you can achieve in Linux. Nowadays, things have changed and in Linux you sometimes have to write several times more code (e.g. Wayland) and even this does not guarantee that we will achieve similar functionality as under Windows. And there's not much you can do about it. |
Beta Was this translation helpful? Give feedback.
-
Thanks! I'm away from my laptop for a few hours, but will give that a whirl
later. I'm guessing the GPIO configuration change is easy enough to locate?
…On Tue, Dec 5, 2023, 5:39 PM Awawa ***@***.***> wrote:
I usually use CLI, but you can try another, simpler way and we'll see if
it works: fork HyperSerialPico (button on the project page), then on your
own fork: enable github action in its properties, on main fork page click
the releases tab -> new release, create a new tag and be sure to select the
following in the target: classic_adalight, commit it and github should
compile it. Result in the Github Action tab and in draft releases.
—
Reply to this email directly, view it on GitHub
<#684 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASOHT66F7XOE7COCVSXWX5DYH7EEPAVCNFSM6AAAAABAEUBOJOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TONZQGYZTM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Nice! So I've run that build and it generated a zip release but I don't
see any .uf2 file to flash with.[image: Screen Shot 2023-12-05 at 7.01.27
pm.png]
…On Tue, Dec 5, 2023 at 5:39 PM Awawa ***@***.***> wrote:
I usually use CLI, but you can try another, simpler way and we'll see if
it works: fork HyperSerialPico (button on the project page), then on your
own fork: enable github action in its properties, on main fork page click
the releases tab -> new release, create a new tag and be sure to select the
following in the target: classic_adalight, commit it and github should
compile it. Result in the Github Action tab and in draft releases.
—
Reply to this email directly, view it on GitHub
<#684 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASOHT66F7XOE7COCVSXWX5DYH7EEPAVCNFSM6AAAAABAEUBOJOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TONZQGYZTM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I saw that Actions were Allowed in the settings, but perhaps that didn't
mean they were Enabled. I didn't see anywhere to explicitly set this.
…On Wed, Dec 6, 2023, 2:27 AM Awawa ***@***.***> wrote:
The order of actions is important: are you sure you enabled Github Action
before releasing the test version? Because your Github Action didn't start
https://github.com/jtmarcot/HyperSerialPico/actions Try creating a new
draft then we will see.
—
Reply to this email directly, view it on GitHub
<#684 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASOHT6364J6MQKW4TRRPHBLYIBCBXAVCNFSM6AAAAABAEUBOJOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TONZUG4ZDO>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
OK - new draft successfully ran the build! Flashed the Pico
with classic_adalight_HyperSerialPico_sk6812Cold.uf2, and ... well... no
change.
HyperHDR sees the device, as before, but still no lights coming on.
2023-12-06T17:23:59.535Z [LEDDEVICE_ADALIGHT] (LedDevice.cpp:102) Enable
device 2023-12-06T17:23:59.535Z [LEDDEVICE_ADALIGHT] Opening UART:
ttyACM0 2023-12-06T17:23:59.535Z
[LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:138)
_rs232Port.open(QIODevice::ReadWrite): ttyACM0, Baud rate [2000000]bps
2023-12-06T17:23:59.565Z
[LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:143) portName: ttyACM0
2023-12-06T17:23:59.565Z
[LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:144) systemLocation:
/dev/ttyACM0 2023-12-06T17:23:59.565Z
[LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:145) description: Pico
2023-12-06T17:23:59.565Z
[LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:146) manufacturer: Raspberry
Pi 2023-12-06T17:23:59.565Z
[LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:147) productIdentifier: 0xa
2023-12-06T17:23:59.565Z
[LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:148) vendorIdentifier: 0x2e8a
2023-12-06T17:23:59.565Z
[LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:149) serialNumber:
E66141040373B430 2023-12-06T17:23:59.566Z
[LEDDEVICE_ADALIGHT] (LedDevice.cpp:310) Switch on 2023-12-06T17:23:59.566Z
[LEDDEVICE_ADALIGHT] (LedDevice.cpp:386) Power On 2023-12-06T17:23:59.567Z
[SMOOTHING0] Using alternative smoothing procedure (0) 2023-12-06T17:23:59.567Z
[COMPONENTREG0] LED device: enabled 2023-12-06T17:23:59.568Z [SMOOTHING0]
Using alternative smoothing input (0) 2023-12-06T17:24:10.498Z [WEBSOCKET]
(JsonAPI.cpp:1258) log streaming activated for client
::ffff:192.168.1.212 2023-12-06T17:25:00.036Z
[PERFORMANCE] [INSTANCE0: FPS = 10.00, processed = 600], [LED0: FPS =
50.00, send = 3000, processed = 3000]
…On Wed, Dec 6, 2023, 7:55 AM Awawa ***@***.***> wrote:
If you allowed it, it should work next time.
—
Reply to this email directly, view it on GitHub
<#684 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASOHT63QJ35G2FF5ABGIELTYICIQ7AVCNFSM6AAAAABAEUBOJOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TONZYGAZDM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Yep. High speed serial AWA protocol with data integrity check is disabled.
I flashed the classic_adalight_HyperSerialPico_sk6812Cold.uf2 from the
forked firmware release.
…On Wed, Dec 6, 2023, 9:35 AM Awawa ***@***.***> wrote:
Did you disable AWA protocol? Which firmware do you use from latest build?
—
Reply to this email directly, view it on GitHub
<#684 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASOHT67NOO6HBK4TSNSCVZ3YICUFVAVCNFSM6AAAAABAEUBOJOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TONZZGEYTI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
And we have lights! Thanks for your patience :-)
Now my lights are caught up to the visualizer, efficiently working with the
kodi menus and my Google Earth screensaver - and doing nothing during video
playback.
Is this where I stop? Or is there anything more worth trying before I
upgrade to a USB splitter and separate hardware capture device?
…On Wed, Dec 6, 2023, 9:45 AM Awawa ***@***.***> wrote:
from your Pimoroni_Plasma_Stick_2040_W.zip?
—
Reply to this email directly, view it on GitHub
<#684 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASOHT642PW65PSLY5SVDCOLYICVKLAVCNFSM6AAAAABAEUBOJOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TONZZGIYTA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Yeah it ran for about 15 minutes, locked into the kodi menu and freezing
there during video playback. The LEDs eventually blacked out and needed a
restart.
My kodi addon says that it's hyperhdr version 20 on the download, but the
menu claims otherwise (18.0). It would be nice to see a low res video
getting piped through, but I'm guessing it's not worth the drama.
From here, would you recommend going with a separate RPi grabber? Or should
I wait for your N100 tests and scrap my odroid completely?
Thanks for the help this far!
…On Wed, Dec 6, 2023, 10:16 AM Awawa ***@***.***> wrote:
If it's working properly, there's probably not much more that can be done.
You can still test this system for a longer time on the effects and make
sure there will be no problems (for example: random flashes), because the
classic version of the firmware does not have communication error
detection. Although this generally applies to larger setups and the CDC
serial driver used by Pico is quite solid.
—
Reply to this email directly, view it on GitHub
<#684 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASOHT66X4G4MLIE4U3BEUALYICY77AVCNFSM6AAAAABAEUBOJOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TONZZGUYTS>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Makes sense. Thanks!
Btw I managed to get a low-res ambilight test YouTube up and running with
the LEDs. They run fine until any substantial amount of brightness (white
or yellow) come up. They immediately go black and the Pico needs a restart.
No info in the logs in debug mode.
…On Wed, Dec 6, 2023, 2:44 PM Awawa ***@***.***> wrote:
The USB + HDMI grabber provides a more flexible solution that can also be
used for other video sources. An HDMI splitter can also bypass that
unfortunate Intel HDCP. Moreover, software grabbers, even if they work
properly, always additionally load the system on which they work, although
on the other hand I know users on Windows who, when gaming on powerful
machines, set the capture frequency to up to 120Hz.
The Coreelec20 plugin is based on HyperHDR v18. You can change it but you
need a Ubuntu machine (or Virtual Box with Ubuntu) to recompile it.
That line needs to be changed:
https://github.com/awawa-dev/CoreELEC/blob/a121349f347df25acabb0998bbf11a38bf97ac06/projects/Amlogic-ce/packages/addons/service/hyperhdr/package.mk#L5
last v20beta commit to replace the old one is
6aed7e9 Branch hyperhdr-coreelec20 .
Follow CoreElec generic tutorial/manual how to compile. Currently I dont
have resources and time to do it myself.
—
Reply to this email directly, view it on GitHub
<#684 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASOHT66SUYCBWKA7VPUWHHLYIDYN7AVCNFSM6AAAAABAEUBOJOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TOOBRHE4TK>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
The Pico is only connected via the usb-mini to the Odroid usb port for both
data and power. The LED goes all white with no problem. I was surprised
the entire 5m x 60 string goes pretty bright with no dimming on the limited
power supply. That said, perhaps it doesn't have enough juice to manage
the sudden brightness changes. I'd think it would dim, though, instead of
crashing.
…On Wed, Dec 6, 2023, 5:57 PM Awawa ***@***.***> wrote:
I'm not sure what it might be software or hardware, but LED brightness
correlates with power consumption, so maybe it's an electrical problem? I
hope you didn't connect the positive of the LED power supply to any other
element apart from the LED strip?
—
Reply to this email directly, view it on GitHub
<#684 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASOHT626NCLZIN7S4VO5AWDYIEO7RAVCNFSM6AAAAABAEUBOJOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TOOBTGE4DM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I've got the LED plugged in through the set of screw terminals - red to 5v,
green to Pixels, white to negative. They appear well connected.
…On Thu, Dec 7, 2023, 12:43 AM Awawa ***@***.***> wrote:
What exactly and how is it connected to the second Pimoroni output (on the
opposite side from the USB socket)?
I'd think it would dim, though, instead of crashing.
Typically, cheap LED power supplies may respond with a voltage spike in
response to sudden overloads. And the sk6812 light will first shift towards
red rather than elegantly dim. Too few details but there is a risk that you
are testing how reliable and fast the overload/overvoltage power supply
protection is.
—
Reply to this email directly, view it on GitHub
<#684 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASOHT646J3YS4XNMMKEV5QDYIF6S7AVCNFSM6AAAAABAEUBOJOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TOOBVGY2DE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
So just to circle back, I did finally get this setup fully operational. A 90W Meanwell added to power the LEDs was all it needed to bring stability to the setup. As it currently stands, I'm running an Odroid N2 with the "latest" (v18) hyperhdr kodi addon and the Pimoroni 2040 W plasma stick (with the above hand-cranked firmware) to drive 5 meters (60 LED/m) of SK6812 LEDs. The only bit of crafting I needed to add was for powering up/down the LEDs as my N2 runs 24/7. As a hack, I added a smart plug to the power supply to make it easy to control. Then, as a shortcut, I created a "room" in Google Home with the name "TV" to on/off both my Sony TV and the LED strip with a single request. Thanks for the help! |
Beta Was this translation helpful? Give feedback.
-
@jtmarcot
I use a similar approach using PowerCube Remote (a physical remote control). Perhaps in the future I will add external power relay control support (HyperSerialESp32 already has it), but Pimoroni does not have free GPIO available due to its specific design. Although I managed to solder the pins to this board, it requires some skill and you have to handle it carefully later. |
Beta Was this translation helpful? Give feedback.
-
I haven't done anything special to either the kodi hyperhdr addon (built
from v18) nor the Pimoroni firmware that you walked me through back in
December (built from github source).
For me, as my kodi box runs 24x7 I'm not sure the relay support would help.
I simply say "hey Google turn on my TV" and both the Bravia and LEDs power
up (my room of 2 devices is named TV). Simple, but hacky.
…On Sat, Jan 20, 2024, 5:40 AM Awawa ***@***.***> wrote:
@jtmarcot <https://github.com/jtmarcot>
Are you using custom HyperSerialPico firmware for Pimoroni, or does stock
work without "rp2040 handshake" (absent in v18)? Since no one is interested
in including the already made commits building HyperHDR
https://github.com/awawa-dev/CoreELEC/tree/hyperhdr-coreelec20 into
Coreelec, I will build it myself in version 20, but after the stable
release (although there is no time frame , because the compilation process
itself takes a lot of resources)
The only bit of crafting I needed to add was for powering up/down the LEDs
as my N2 runs 24/7. As a hack, I added a smart plug to the power supply to
make it easy to control. Then, as a shortcut, I created a "room" in Google
Home with the name "TV" to on/off both my Sony TV and the LED strip with a
single request.
I use a similar approach using PowerCube Remote (a physical remote
control). Perhaps in the future I will add external power relay control
support (HyperSerialESp32 already has it), but Pimoroni does not have free
GPIO available due to its specific design. Although I managed to solder the
pins to this board, it requires some skill and you have to handle it
carefully later.
—
Reply to this email directly, view it on GitHub
<#684 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASOHT6YSTYZN6N7MBODEJ2LYPPCNRAVCNFSM6AAAAABAEUBOJOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DCOJQGM3DE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I'm pretty sure that's the one I use on my N2 coreelec v20, without too
many issues (build 20.0.185). I'm not sure what improvements have been
implemented since, but it seems to be fairly stable.
I haven't upgraded to CoreELEC v21, yet, so if you happen to I'd love to
hear how it goes.
…On Tue, May 14, 2024, 2:48 PM Awawa ***@***.***> wrote:
@dekesone <https://github.com/dekesone> Personally, I no longer support
Coreelec as interest in this LibreELEC fork here has been zero to none. I
prefer to focus on LibreELEC, but it is possible that since CoreELEC
mirrors LibreELEC versions, add-ons for the latter may work on the
appropriate version of CoreELEC. However, in the past I worked on a plugin
for CoreELEC, if anyone is interested, they can revive it.
https://github.com/awawa-dev/CoreELEC/tree/hyperhdr-coreelec20
—
Reply to this email directly, view it on GitHub
<#684 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASOHT6ZN3L66Q7HSTVZPRXDZCKBBZAVCNFSM6AAAAABAEUBOJOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TIMZYHAZDA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I'm in the initial setup on hyperhdr on Coreelec (odroid n2 box) thru the kodi addon. I've got a pimroni plasma stick setup on the USB port, and am waiting on the LEDs coming in a few days.
I'm testing what I've got using the hyperhdr visualizer tool. So far, kodi menu items seem to work perfectly - projecting the edge to the virtual LEDs I've defined. Even kodi's screensaver projects correctly.
When I play content, though, the visualizer immediately goes black. It seems to be the case with any content - I've tried SDR and various HDR resolutions. No errors pop up in the log on either hyperhdr or kodi. I'm a bit stuck what to try next.
Any help would be appreciated!
Hyperhdr version: 20 (latest)
CoreELEC (official): 20.2-Nexus (Amlogic-ng.arm)
Machine model: Hardkernel ODROID-N2
CoreELEC dt-id: g12b_s922x_odroid_n2
Amlogic dt-id: g12b_w400_a
Beta Was this translation helpful? Give feedback.
All reactions