Skip to content

camx: revision update for Hamoa, Lemans, Talos,Kodiak#2494

Merged
vkraleti merged 5 commits into
qualcomm-linux:masterfrom
gkhose-qipl:camx_downstream
Jun 19, 2026
Merged

camx: revision update for Hamoa, Lemans, Talos,Kodiak#2494
vkraleti merged 5 commits into
qualcomm-linux:masterfrom
gkhose-qipl:camx_downstream

Conversation

@gkhose-qipl

@gkhose-qipl gkhose-qipl commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

camxlib-kodiak: Update to the 1.0.24 revision

  • Enable Deep Learning based Face Detection in Kodiak.
  • Add support for 3-frame SHDR (YUV SHDR) pipeline on Kodiak.
  • Created a separate package for SKEL files and added INSANE_SKIP for "arch libdir" specifically for that package.
  • Disable auto-renaming for ${PN}-skel to preserve consistent package naming.
  • Link additional libraries and enable whole archive static linking for few libs required for CamX compilation.

camxlib-lemans: update to the 1.0.27 revision

  • jpeg corruption issue due to format mismatch
  • Add CAM0B support to enable OV9282 combo mode on Lemans.
  • Enable Deep Learning based Face Detection on Lemans.
  • Created a separate package for SKEL files and added INSANE_SKIP for "arch libdir" specifically for that package.
  • Disable auto-renaming for ${PN}-skel to preserve consistent package naming.

camxlib-talos: Update to the 1.0.27 revision

  • jpeg corruption issue due to format mismatch
  • Enable Electronic Image Stabilization (EIS) and Lens Distortion Correction (LDC) support for Talos.
  • Update recipe to include EGL and GLES dependencies, and conditionally add OpenCL support based on DISTRO_FEATURES.

camxlib-hamoa: update to the 1.0.27 revision

  • jpeg corruption issue due to format mismatch

camxcommon-headers: Update to the 1.0.11 revision

  • Source/header mismatch causes CamX compilation failure.
  • Update the headers tar to align with the sources.

qli-2.0 GA Critical Fix

@gkhose-qipl

gkhose-qipl commented Jun 17, 2026

Copy link
Copy Markdown
Contributor Author

@lumag / @ricardosalveti please help to add PR user "qli-2.0 GA Critical Fix" and "backport wrynose" labels/Milestone

@gkhose-qipl

Copy link
Copy Markdown
Contributor Author

qli-2.0 GA Critical Fix

@github-actions

Copy link
Copy Markdown

Test run workflow

Test jobs for commit 8ec96c3

nodistro
Pass: 9 | Fail: 0 | Total: 9
qcom-distro_linux-qcom-6.18
Pass: 196 | Fail: 1 | Total: 240
qcom-distro
Pass: 223 | Fail: 1 | Total: 277

@test-reporting-app

test-reporting-app Bot commented Jun 17, 2026

Copy link
Copy Markdown

Test Results

  105 files  +   78    634 suites  +607   4h 42m 58s ⏱️ + 3h 36m 23s
  125 tests +  112    125 ✅ +  116   0 💤 ± 0  0 ❌  -  4 
6 037 runs  +5 833  5 949 ✅ +5 757  88 💤 +88  0 ❌  - 12 

Results for commit a8bbce4. ± Comparison against base commit 7b61b62.

This pull request removes 2 and adds 114 tests. Note that renamed tests count towards both.
lava ‑ auto-login-action
lava ‑ minimal-boot
0_AudioRecord_Config01 ‑ AudioRecord_Config01
0_BT_FW_KMD_Service ‑ BT_FW_KMD_Service
0_GStreamer_Video_Encode_h264_480p ‑ GStreamer_Video_Encode_h264_480p
0_Libcamera_cam ‑ Libcamera_cam
0_Weston_Runtime_Preflight ‑ Weston_Runtime_Preflight
0_hotplug ‑ hotplug
10_AudioRecord ‑ AudioRecord
10_Kubernetes_Kernel_Config ‑ Kubernetes_Kernel_Config
11_DSP_AudioPD ‑ DSP_AudioPD
11_Ethernet ‑ Ethernet
…

♻️ This comment has been updated with latest results.

@gkhose-qipl gkhose-qipl marked this pull request as ready for review June 17, 2026 11:56

@lumag 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.

As discussed during the meeting today, that's too many new features to be submitted after 2.0 deadline. Please provide separate patch releases (1.0.x.y) fixing only the bugs (e.g. jpeg corruption issue due to format mismatch). This can go in after 2.0 GA.

@github-actions

Copy link
Copy Markdown

Test run workflow

Test jobs for commit 2ca6d44

nodistro
Pass: 9 | Fail: 0 | Total: 9
qcom-distro_linux-qcom-6.18
Pass: 206 | Fail: 0 | Total: 250
qcom-distro
Pass: 228 | Fail: 1 | Total: 283

jpeg corruption issue due to format mismatch

Signed-off-by: Ganesh Khose <gkhose@qti.qualcomm.com>
- jpeg corruption issue due to format mismatch
- Enable Electronic Image Stabilization (EIS) and Lens Distortion
Correction (LDC) support for Talos.
- Update recipe to include EGL and GLES dependencies, and
conditionally add OpenCL support based on DISTRO_FEATURES.

Signed-off-by: Ganesh Khose <gkhose@qti.qualcomm.com>
@gkhose-qipl gkhose-qipl force-pushed the camx_downstream branch 2 times, most recently from bcb2952 to c117c3f Compare June 18, 2026 05:49
SRC_URI[chicdk.sha256sum] = "9b08fe81bc9177826fe5d9aff185de16bdb216cab20304bfea60a8c8a5c2eb48"
SRC_URI[camxcommon.sha256sum] = "9e8a7b595242916962bb018f2dffc3136c399f1bf80b0aecd91f4ac97f6293f9"

DEPENDS += "virtual/egl virtual/libgles2 ${@bb.utils.contains('DISTRO_FEATURES', 'opencl', 'qcom-adreno virtual/libopencl1', '', d)}"

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.

Why do you need qcom-adreno as a build-time dependency?
Also, EGL and GL ES2 are optional features which can be disabled on a distro level.

@kripal-qipl kripal-qipl Jun 18, 2026

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.

qcom-adreno is needed here because the Talos EIS/LDC build compiles OpenCL-based code and currently fails without the Qualcomm OpenCL extension headers.
"fatal error: CL/cl_ext_qcom.h: No such file or directory"
EGL and GLES2 features are enabled by default in the base Config1 image; therefore, the required graphics stack is already available in the standard build configuration.
Also we are getting error for all dependent library on meta qcom if we don't include in DEPENDS.

ERROR: camxlib-talos-1.0.27-r0 do_package_qa: QA Issue: /usr/lib/camx/talos/camera/components/libiwarp.so.0.1.0 contained in package camxlib-talos requires libOpenCL.so.1(OPENCL_1.1)(64bit), but no providers found in RDEPENDS:camxlib-talos? [file-rdeps]
ERROR: camxlib-talos-1.0.27-r0 do_package_qa: QA Issue: /usr/lib/camx/talos/camera/components/libiwarp.so.0.1.0 contained in package camxlib-talos requires libEGL.so.1()(64bit), but no providers found in RDEPENDS:camxlib-talos? [file-rdeps]
ERROR: camxlib-talos-1.0.27-r0 do_package_qa: QA Issue: /usr/lib/camx/talos/camera/components/libiwarp.so.0.1.0 contained in package camxlib-talos requires libGLESv2.so.2()(64bit), but no providers found in RDEPENDS:camxlib-talos? [file-rdeps]

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.

What exactly are you building here? Move build dependencies to the place where the build happens.
Regarding the link errors. Guard your additions by the DISTRO_FEATURES check. You can check that it works by performing a nodistro build and removing the opengl and opencl features from the nodistro. The build should succeed without requiring non-existing libs.

@kripal-qipl kripal-qipl Jun 18, 2026

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.

are you looking to add condition check for virtual/egl virtual/libgles2 package just like virtual/libopencl1

DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virtual/egl virtual/libgles2', '', d)}
${@bb.utils.contains('DISTRO_FEATURES', 'opencl', 'virtual/libopencl1', '', d)}"

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.

Yes. Also please, check it without those distro features, as I wrote before.




DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'opencl', 'qcom-adreno virtual/libopencl1', '', d)}"

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.

Why?

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.

similar we have Opencl dependency for SWMCTF feature on lemans.

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.

What is SWMCTF?

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.

It is software solution for Temporal Noise Reduction.

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.

Ok. Anyway, make sure that the package actually builds if opencl and opengl are disabled.

@github-actions

Copy link
Copy Markdown

Test run workflow

Test jobs for commit c117c3f

nodistro
Pass: 9 | Fail: 0 | Total: 9
qcom-distro_linux-qcom-6.18
Pass: 207 | Fail: 0 | Total: 245
qcom-distro
Pass: 252 | Fail: 1 | Total: 297

- jpeg corruption issue due to format mismatch
- Add CAM0B support to enable OV9282 combo mode on Lemans.
- Enable Deep Learning based Face Detection on Lemans.
- Created a separate package for SKEL files and added INSANE_SKIP for
  "arch libdir" specifically for that package.
- Disable auto-renaming for ${PN}-skel to preserve consistent package
  naming.

Signed-off-by: Ganesh Khose <gkhose@qti.qualcomm.com>
- Enable Deep Learning based Face Detection in Kodiak.
- Add support for 3-frame SHDR (YUV SHDR) pipeline on Kodiak.
- Created a separate package for SKEL files and added INSANE_SKIP for
  "arch libdir" specifically for that package.
- Disable auto-renaming for ${PN}-skel to preserve consistent package
  naming.
- Link additional libraries and enable whole archive static linking for
  few libs required for CamX compilation.

Signed-off-by: Ganesh Khose <gkhose@qti.qualcomm.com>
- Source/header mismatch causes CamX compilation failure.
- Update the headers tar to align with the sources.

Signed-off-by: Ganesh Khose <gkhose@qti.qualcomm.com>
@gkhose-qipl gkhose-qipl requested a review from lumag June 18, 2026 15:33
@github-actions

Copy link
Copy Markdown

Test run workflow

Test jobs for commit a8bbce4

nodistro
Pass: 9 | Fail: 0 | Total: 9
qcom-distro_linux-qcom-6.18
Pass: 199 | Fail: 0 | Total: 243
qcom-distro
Pass: 248 | Fail: 0 | Total: 287

@gkhose-qipl

Copy link
Copy Markdown
Contributor Author

@lumag / @ricardosalveti ,
can i mark conversation as resolved to merge PR and share fix in follow-up for "Guard your additions by the DISTRO_FEATURES check"?

@github-actions

Copy link
Copy Markdown

Test run workflow

Test jobs for commit a8bbce4

nodistro
Pass: 9 | Fail: 0 | Total: 9
qcom-distro_linux-qcom-6.18
Pass: 201 | Fail: 0 | Total: 245
qcom-distro
Pass: 253 | Fail: 0 | Total: 292

@github-actions

Copy link
Copy Markdown

Test run workflow

Test jobs for commit a8bbce4

nodistro
Pass: 9 | Fail: 0 | Total: 9
qcom-distro_linux-qcom-6.18
Pass: 206 | Fail: 0 | Total: 250
qcom-distro
Pass: 253 | Fail: 0 | Total: 297

@vkraleti

Copy link
Copy Markdown
Contributor

@p-badge requested to pick this up, as some of the features planned for GA depend on it.
Hence, merging this change even though the new feature submission deadline has passed.

@vkraleti vkraleti merged commit c92a72c into qualcomm-linux:master Jun 19, 2026
253 checks passed
@quic-yocto-ci

Copy link
Copy Markdown
Contributor

Successfully created backport PR for wrynose:

@lumag

lumag commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

@lumag / @ricardosalveti , can i mark conversation as resolved to merge PR and share fix in follow-up for "Guard your additions by the DISTRO_FEATURES check"?

My answer would have been, no. You have submitted and now we have merged a PR which is likely broken in some configurations.

@lumag

lumag commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

With the opengl feature being disabled, this fails with:

ERROR: Nothing PROVIDES 'virtual/egl' (but /home/lumag/Projects/RPB/build/conf/../../layers/meta-qcom/dynamic-layers/openembedded-layer/recipes-multimedia/camx/camxlib-kodiak_1.0.24.bb DEPENDS on or otherwise requires it). Close matches:
  virtual/kernel
  virtual/perf
  virtual/rtla
ERROR: Required build target 'camxlib-kodiak' has no buildable providers.
Missing or unbuildable dependency chain was: ['camxlib-kodiak', 'virtual/egl']

With opengl being in place, but without opencl it fails with:

ERROR: camxlib-kodiak-1.0.24-r0 do_package: QA Issue: camxlib-kodiak: Files/directories were installed but not shipped in any package:
  /usr/lib/camx/kodiak/shdr-gpu-pass-decompand-and-tm-fast.cl
  /usr/lib/camx/kodiak/shdr-gpu-pass-decompand-and-tm.cl
  /usr/lib/camx/kodiak/shdr-gpu-pass-fusion-and-tm.cl
  /usr/lib/camx/kodiak/shdr-gpu-pass-fusion-and-tm-fast.cl
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
camxlib-kodiak: 4 installed and not shipped files. [installed-vs-shipped]
ERROR: camxlib-kodiak-1.0.24-r0 do_package: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in: /home/lumag/Projects/RPB/build/tmp-nodistro/work/armv8a-oe-linux/camxlib-kodiak/1.0.24/temp/log.do_package.1542429
ERROR: Task (/home/lumag/Projects/RPB/build/conf/../../layers/meta-qcom/dynamic-layers/openembedded-layer/recipes-multimedia/camx/camxlib-kodiak_1.0.24.bb:do_package) failed with exit code '1'

@kripal-qipl

Copy link
Copy Markdown
Contributor

With the opengl feature being disabled, this fails with:

ERROR: Nothing PROVIDES 'virtual/egl' (but /home/lumag/Projects/RPB/build/conf/../../layers/meta-qcom/dynamic-layers/openembedded-layer/recipes-multimedia/camx/camxlib-kodiak_1.0.24.bb DEPENDS on or otherwise requires it). Close matches:
  virtual/kernel
  virtual/perf
  virtual/rtla
ERROR: Required build target 'camxlib-kodiak' has no buildable providers.
Missing or unbuildable dependency chain was: ['camxlib-kodiak', 'virtual/egl']

With opengl being in place, but without opencl it fails with:

ERROR: camxlib-kodiak-1.0.24-r0 do_package: QA Issue: camxlib-kodiak: Files/directories were installed but not shipped in any package:
  /usr/lib/camx/kodiak/shdr-gpu-pass-decompand-and-tm-fast.cl
  /usr/lib/camx/kodiak/shdr-gpu-pass-decompand-and-tm.cl
  /usr/lib/camx/kodiak/shdr-gpu-pass-fusion-and-tm.cl
  /usr/lib/camx/kodiak/shdr-gpu-pass-fusion-and-tm-fast.cl
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
camxlib-kodiak: 4 installed and not shipped files. [installed-vs-shipped]
ERROR: camxlib-kodiak-1.0.24-r0 do_package: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in: /home/lumag/Projects/RPB/build/tmp-nodistro/work/armv8a-oe-linux/camxlib-kodiak/1.0.24/temp/log.do_package.1542429
ERROR: Task (/home/lumag/Projects/RPB/build/conf/../../layers/meta-qcom/dynamic-layers/openembedded-layer/recipes-multimedia/camx/camxlib-kodiak_1.0.24.bb:do_package) failed with exit code '1'

@lumag , Guard logic for opencl and opengl dependent lib is implemented on PR 2560
#2560
pls review above PR.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants