Repository navigation
intel-ipu7-camera: use Dell's production OV08X40 tuning (XPS 14/16 webcam quality) - #2334
Open
encelyte-llc wants to merge 2 commits into
Open
encelyte-llc wants to merge 2 commits into
encelyte-llc wants to merge 2 commits into
Conversation
…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.
[Medium impact] The reviewed changes appear safe to merge. Summary
Reviews (3) · Last reviewed commit: "fix(intel-ipu7-camera): send a browser u..." · Reviewed by Greptile |
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.aiqbfromintel/ipu7-camera-hal, is an early bring-up build. Its header reads IQStudio 24.15.4.0, built 2024-04-17, with the commentDefault comment. Intel has not published a newer one:ipu7-camera-halHEAD carries the same 456,907-byte file, andipu7-camera-binscarries none.Dell's Windows camera driver for the XPS 14 / 16 ships the production tuning of the same module, under the same file name:
ov08x40.infbinds toACPI\VEN_OVTI&DEV_08F4&SUBSYS_0DB91028/0DBA1028, the XPS 14 and XPS 16.[PTL][POR][OV08x40][1C/DOL] 25ww45_3_new_FF_CR_DR.update LSC,mode 0 TNR update,less_noise gain 8 - 62,Re-caluculate CMC,Adjust AWB banana,update ISPandNew ISP.Change (intel-ipu7-camera 1.0.6-4)
dl.dell.com, pinned to the SHA-256 Dell publishes (510eb985…99d8), listed innoextract.prepare()unpacks onlyOV08X40_KAFE799_PTL.aiqbfrom 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/.makedependsgains7zip. The approach followsacer-aspire-14-ai-firmware, which already unpacks OEM Windows driver downloads the same way.gcss/OV08X40_KAFE799.IPU75XA.bin), sensor JSON and relay config are unchanged. Lunar Lake (ipu7x,OV08X40_BBG802N3_LNL.aiqb) is unchanged.Testing
/etc/camera/ipu75xa/OV08X40_KAFE799_PTL.aiqband restartedv4l2-relayd@ipu7./dev/video50.bin/build --package intel-ipu7-camera --arch x86_64builtintel-ipu7-camera-1.0.6-4.dl.dell.comanswers curl's default user agent with 403. The second commit adds theDLAGENTSline the Dell firmware packages use, and the source then validated against its pinned SHA-256.etc/camera/ipu75xa/OV08X40_KAFE799_PTL.aiqbandusr/share/defaults/etc/camera/OV08X40_KAFE799_PTL.aiqbhash to228db510…6e38, owned by root:root.build-approvedlabel, 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
acer-aspire-14-ai-firmware, but please confirm that is acceptable for this file.ov08x40-uf, not only Dell's. Those boards all load the sameKAFE799tuning 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 (SUBSYS0DBA). Gating it per board would need a mechanism likecamera-videosrc-init.analogGainCodeShift = 1assumes the tuning's gain table emits raw0x3508codes. 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.DFLTplusLMOD 1in its ISP section. The bring-up file carriedLMOD 1andLMOD 2. Modes the graph asks for that are missing still fall back toDFLTthrough 0011.