Hi,
I'm trying to test HDMI output from my DUT. The HDMI-USB capture device is plugged to the dispatcher. The test is simple: it captures a frame from the video device on the dispatcher and compares it to the reference. If the difference is below threshold, the test is passed. Is there an easy way of running such a test without starting all multi-node + docker machinery?
Best Regards, Milosz
Hi Milosz,
Is there an easy way of running such a test without starting all multi-node + docker machinery?
Wouldn't be possible to fully drive the test from the DUT:
The DUT starts display output, connects to the 'hdmi-tested' (dispatcher), either via ssh or custom service, runs the remote HDMI test, and reports PASS/FAIL locally in its test-shell.
That's a complex script, but at least you don't need multi-node.
Regards, Loic
On Fri, Apr 29, 2022 at 11:05 AM Loic Poulain loic.poulain@linaro.org wrote:
Hi Milosz,
Is there an easy way of running such a test without starting all multi-node + docker machinery?
Wouldn't be possible to fully drive the test from the DUT:
The DUT starts display output, connects to the 'hdmi-tested' (dispatcher), either via ssh or custom service, runs the remote HDMI test, and reports PASS/FAIL locally in its test-shell.
That's a complex script, but at least you don't need multi-node.
Sounds like an option but might not work for me. My dispatcher runs inside a container. Host is very limited and wouldn't allow remote user to clone a repository or run a script. Good news is my use case is already covered in the docs (silly me, I didn't check before asking): https://lava.readthedocs.io/en/latest/user/advanced-tutorials/running-arbitr... (Use case 3)
I didn't try that yet as I'm struggling with my USB-HDMI capture device. It works well when I open the stream with VLC but capturing a single frame usually produces an empty image (or all black image).
I'll post an update when I try this out in a real LAVA job.
Best Regards, MIlosz
Regards, Loic
lava-users@lists.lavasoftware.org