Skip to content

qcom-sv-binaries: Release initial sv binaries recipe - #2968

Open
sasingh-cv wants to merge 1 commit into
qualcomm-linux:masterfrom
sasingh-cv:meta-qcom-add-sv-recipe
Open

qcom-sv-binaries: Release initial sv binaries recipe#2968
sasingh-cv wants to merge 1 commit into
qualcomm-linux:masterfrom
sasingh-cv:meta-qcom-add-sv-recipe

Conversation

@sasingh-cv

@sasingh-cv sasingh-cv commented Aug 19, 2026

Copy link
Copy Markdown

Add a recipe for the Snapdragon Vision API runtime libraries.

The SV API provides a client interface to Qualcomm EVA
hardware-accelerated vision features. It enables Camera, Video,
and CV applications to configure EVA features, submit buffers,
communicate with the EVA driver and firmware stack, and retrieve
hardware-generated outputs and metadata.

The SV API complements OpenCV and FastCV. OpenCV provides
general-purpose computer-vision algorithms, while FastCV
provides Qualcomm-optimized CV primitives. Neither provides the
complete EVA-specific hardware, buffer, metadata, and firmware
integration required by EVA workloads.

@lumag Dmitry Baryshkov (lumag) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix your editor configuration, commit message has incorrect text wrapping.

Also, please mention why SV API is better than OpenCV. Also, we already provide FastCV, why do we need another API?

Comment thread recipes-multimedia/sv/qcom-sv-binaries_1.0.0.bb Outdated
Comment thread recipes-multimedia/sv/qcom-sv-binaries_1.0.0.bb Outdated
@sasingh-cv
sasingh-cv force-pushed the meta-qcom-add-sv-recipe branch from 8fd7e56 to 34a0568 Compare August 29, 2026 11:27
@github-actions

github-actions Bot commented Aug 29, 2026

Copy link
Copy Markdown

Test run workflow

Test jobs for commit f34e690

qcom-distro
Pass: 10 | Fail: 2 | Total: 12
qcom-distro_linux-qcom-6.18
Pass: 199 | Fail: 37 | Total: 259
nodistro
Pass: 9 | Fail: 1 | Total: 10

@test-reporting-app

test-reporting-app Bot commented Aug 29, 2026

Copy link
Copy Markdown

Test Results

   68 files   -    51    319 suites   - 396   9h 26m 48s ⏱️ - 6h 40m 24s
  151 tests  -    24    111 ✅ +    3   1 💤 ± 0  39 ❌  - 27 
2 070 runs   - 2 487  1 977 ✅  - 2 385  23 💤  - 22  70 ❌  - 80 

For more details on these failures, see this check.

Results for commit f34e690. ± Comparison against base commit 7659417.

This pull request removes 24 tests.
10_Logging_Journalctl_Validation ‑ Logging_Journalctl_Validation
11_Partition_PostBoot_Validation ‑ Partition_PostBoot_Validation
12_Boot_Systemd_KPI_Loop ‑ Boot_Systemd_KPI_Loop
5_OpenCV ‑ OpenCV
6_Ethernet ‑ Ethernet
6_irq ‑ irq
7_BT_ON_OFF ‑ BT_ON_OFF
7_Docker_Kernel_Config ‑ Docker_Kernel_Config
8_AudioRecord ‑ AudioRecord
8_EFI_Variable_Validation ‑ EFI_Variable_Validation
…
This pull request skips 1 test.
7_Ethernet ‑ Ethernet

♻️ This comment has been updated with latest results.

@qcomlnxci

Copy link
Copy Markdown

Test Coral run workflow

Test jobs for commit 34a0568

  • qcomdistro: multimedia image-prop
    Pass: 36 | Fail: 0 | Total: 36
  • qcomdistro: multimedia image
    Pass: 9 | Fail: 0 | Total: 9

@lumag Dmitry Baryshkov (lumag) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The SV API complements OpenCV and FastCV. OpenCV provides
general-purpose computer-vision algorithms.

What is the plan for the further integration? Will it be usable through the OpenCV? Where is the EVA kernel driver? Is it a part of qcom-next or will it come as a separate dlkm recipe?

install -m 0644 ${S}/usr/lib/pkgconfig/qcom-sv-binaries.pc ${D}${libdir}/pkgconfig/
install -m 0644 ${S}/usr/share/doc/${PN}/NOTICE ${D}${datadir}/doc/${PN}
install -m 0644 ${S}/usr/share/doc/${PN}/LICENSE.qcom-2.txt ${D}${datadir}/doc/${PN}
install -m 0644 ${S}/usr/include/sv/svBuffer.h ${D}${includedir}/sv/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use wildcards to install those.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

Add a recipe for the Snapdragon Vision API runtime libraries.

The SV API provides a client interface to Qualcomm EVA
hardware-accelerated vision features. It enables Camera, Video,
and CV applications to configure EVA features, submit buffers,
communicate with the EVA driver and firmware stack, and retrieve
hardware-generated outputs and metadata.

The SV API complements OpenCV and FastCV. OpenCV provides
general-purpose computer-vision algorithms, while FastCV
provides Qualcomm-optimized CV primitives. Neither provides the
complete EVA-specific hardware, buffer, metadata, and firmware
integration required by EVA workloads.

Signed-off-by: Sandeep Singh <sasingh@qti.qualcomm.com>
@sasingh-cv
sasingh-cv force-pushed the meta-qcom-add-sv-recipe branch from 34a0568 to f34e690 Compare September 8, 2026 07:27
@sasingh-cv

Copy link
Copy Markdown
Author

The SV API complements OpenCV and FastCV. OpenCV provides
general-purpose computer-vision algorithms.

What is the plan for the further integration? Will it be usable through the OpenCV? Where is the EVA kernel driver? Is it a part of qcom-next or will it come as a separate dlkm recipe?

For EVA/SV overlays enablement in meta-qcom , we need overlays exception jira to be approved , for which as per current guidance we are working on RFC preparation for driver architecture alignment discussions in upstream , HFI alignment discussions meant for upstream.
Since the Glymur and Nord IQ10 timelines are nearby and short runway , in the meanwhile we thought of atleast completing SV userspace and EVA KMD bb recipes reviews ahead. In future , once the EVA Driver overlay exception discussions are concluded and we are allowed to enable in meta-qcom , This will allow us to proceed directly with merging since reviews will be completed by that time.

The SV library may be used by OpenCV in the future; however, its current purpose is to provide communication with the EVA hardware driver.
The EVA kernel driver will be provided through a separate recipe. I have raised a separate PR (3086) for review of the EVA driver recipe.
Could you please share your guidance on whether we should wait until the overlay exception is approved before requesting reviews, or whether it is preferable to complete the reviews now so that the recipes are ready to merge immediately once the exception is granted?

@lumag

Copy link
Copy Markdown
Contributor

What would be the point of merging a half-baked solution? Yes, the kernel driver must come along with the binaries. Also, what is the proposed way to use those libraries? If SV isn't supported as an OpenCV backend, do we want to force customers to use SV directly? That doesn't sound like a viable solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants