Skip to content

intel-ipu7-camera: use Dell's production OV08X40 tuning (XPS 14/16 webcam quality) - #2334

Open
encelyte-llc wants to merge 2 commits into
omacom:masterfrom
encelyte-llc:ipu7-dell-ov08x40-tuning
Open

encelyte-llc wants to merge 2 commits into
omacom:masterfrom
encelyte-llc:ipu7-dell-ov08x40-tuning

Conversation

@encelyte-llc

@encelyte-llc encelyte-llc commented Nov 8, 2026 •

Copy link
Copy Markdown

Problem

On the Dell XPS 14 (DA14260) the IPU7 webcam still looks noticeably worse on Omarchy than on Windows, even with the 1.0.6-3 fixes from #723 installed.

The OV08X40 tuning the package ships, OV08X40_KAFE799_PTL.aiqb from intel/ipu7-camera-hal, is an early bring-up build. Its header reads IQStudio 24.15.4.0, built 2024-04-17, with the comment Default comment. Intel has not published a newer one: ipu7-camera-hal HEAD carries the same 456,907-byte file, and ipu7-camera-bins carries none.

Dell's Windows camera driver for the XPS 14 / 16 ships the production tuning of the same module, under the same file name:

  • Driver: YMY0G, Intel 2D Imaging/USB IO/Vision Driver for Camera 81.26100.0.13, A01. Its ov08x40.inf binds to ACPI\VEN_OVTI&DEV_08F4&SUBSYS_0DB91028 / 0DBA1028, the XPS 14 and XPS 16.
  • Tuning header: IQStudio 25.35.4.0, built 2025-11-04, [PTL][POR][OV08x40][1C/DOL] 25ww45_3_new_FF_CR_DR.
  • Its embedded change log covers a year of image work the bring-up file predates, for example update LSC, mode 0 TNR update, less_noise gain 8 - 62, Re-caluculate CMC, Adjust AWB banana, update ISP and New ISP.
  • Both files are LibIQ 2.0.359.0 / ATE 18.33.2.0 CPFF containers with the same top-level sections (LCMC, LAIQ, LISP, LTHR). The production file's default ISP container grows from 99 KB to 140 KB.

Change (intel-ipu7-camera 1.0.6-4)

  • New source: Dell's installer from dl.dell.com, pinned to the SHA-256 Dell publishes (510eb985…99d8), listed in noextract.
  • prepare() unpacks only OV08X40_KAFE799_PTL.aiqb from it with 7z, without running anything, and checks that file against the SHA-256 it was matched to (228db510…6e38). Any other content fails the build.
  • package() installs it over the bring-up file in both places it lands: /etc/camera/ipu75xa/ and /usr/share/defaults/etc/camera/.
  • makedepends gains 7zip. The approach follows acer-aspire-14-ai-firmware, which already unpacks OEM Windows driver downloads the same way.
  • The HAL, graph (gcss/OV08X40_KAFE799.IPU75XA.bin), sensor JSON and relay config are unchanged. Lunar Lake (ipu7x, OV08X40_BBG802N3_LNL.aiqb) is unchanged.

Testing

  • Dell XPS 14 DA14260 (Core Ultra X7 358H, Panther Lake), linux-omarchy 7.2, intel-ipu7-camera 1.0.6-3. I installed the Dell file over /etc/camera/ipu75xa/OV08X40_KAFE799_PTL.aiqb and restarted v4l2-relayd@ipu7.
    • The relay came up and streamed 1920x1080 NV12 through /dev/video50.
    • Same room, compared by eye against the bring-up tuning: clearly better. That comparison is the only image-quality evidence here. There are no noise or ColorChecker measurements, and no images are attached.
  • bin/build --package intel-ipu7-camera --arch x86_64 built intel-ipu7-camera-1.0.6-4.
    • The first run failed: dl.dell.com answers curl's default user agent with 403. The second commit adds the DLAGENTS line the Dell firmware packages use, and the source then validated against its pinned SHA-256.
    • In the built package, both etc/camera/ipu75xa/OV08X40_KAFE799_PTL.aiqb and usr/share/defaults/etc/camera/OV08X40_KAFE799_PTL.aiqb hash to 228db510…6e38, owned by root:root.
    • The built package itself has not been installed and booted. Only the file swap on 1.0.6-3 above has run on hardware.
    • CI builds need the build-approved label, since this account is not in VOUCHED.td.
  • tests/ipu7-headers.sh, tests/ipu7-install.sh, tests/pinned-sources.sh: pass.
  • prepare()'s extract-and-verify step, run on its own against the downloaded installer: it yields exactly the one file, and the hash matches.

Open questions for maintainers

  • Redistribution. This puts a file from Dell's Windows driver into the binary package on pkgs.omarchy.org. The git repo only carries the download URL and checksums. It is the same model as acer-aspire-14-ai-firmware, but please confirm that is acceptable for this file.
  • Scope. The file replaces the tuning for every Panther Lake board the package drives with ov08x40-uf, not only Dell's. Those boards all load the same KAFE799 tuning today, so a board with a different module was already on a mismatched one. Only the XPS 14 is tested; the XPS 16 uses the same Dell driver (SUBSYS 0DBA). Gating it per board would need a mechanism like camera-videosrc-init.
  • Gain units. Apply the IPU7 camera's ISP tuning, fix its gain, range and exposure, harden PSYS pinning, and support Lunar Lake #723's analogGainCodeShift = 1 assumes the tuning's gain table emits raw 0x3508 codes. Exposure looked right on the XPS 14 by eye, but nobody has rerun the 4x / 8x / 15.5x manual-gain linearity check from Apply the IPU7 camera's ISP tuning, fix its gain, range and exposure, harden PSYS pinning, and support Lunar Lake #723 with this file.
  • Pipeline modes. The production file carries DFLT plus LMOD 1 in its ISP section. The bring-up file carried LMOD 1 and LMOD 2. Modes the graph asks for that are missing still fall back to DFLT through 0011.

…er Lake

The shipped OV08X40_KAFE799_PTL.aiqb is a 2024-04-17 bring-up build. Dell's
Windows driver for the XPS 14/16 (YMY0G) carries the 2025-11-04 production
tuning of the same module and LibIQ version. Unpack that one file from the
pinned installer at build time, verify its SHA-256, and install it over the
bring-up file.
@greptile-apps

greptile-apps Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The reviewed changes appear safe to merge.

Summary

intel-ipu7-camera now installs Dell’s production OV08X40 tuning in both packaged locations.

  • Panther Lake OV08X40 webcams use Dell’s production tuning file.

Reviews (3) · Last reviewed commit: "fix(intel-ipu7-camera): send a browser u..." · Reviewed by Greptile

Comment thread pkgbuilds/intel-ipu7-camera/PKGBUILD Resolved
Dell's CDN answers curl's default user agent with 403, which failed the
source download. Use the DLAGENTS line the Dell firmware packages use.

This branch has not been deployed

No deployments
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.

1 participant