понедельник

[Bug 2165854] Re: IPU6 ISYS never probes on Samsung Galaxy Book NP960QFG (RPL, OV02C1)

** Changed in: linux (Ubuntu) Assignee: (unassigned) => John Cabaj (john-cabaj) -- You received this bug notification because you are subscribed to linux in Ubuntu. Matching subscriptions: Bgg, Bmail, Nb https://bugs.launchpad.net/bugs/2165854 Title: IPU6 ISYS never probes on Samsung Galaxy Book NP960QFG (RPL, OV02C1) Status in linux package in Ubuntu: New Bug description: [IMPACT] Webcam integrated on Samsung Galaxy Book NP960QFG-KA1AR is non-functional on Zorin OS 18.1 / Ubuntu 24.04 with kernel 7.0.0-30-generic. Driver loads PCI device, detects sensor, registers PSYS, but ISYS never completes probe and no firmware is loaded. Every V4L2 STREAMON returns ENOLINK ("Link has been severed"). [HARDWARE] Vendor: Samsung Electronics Co Ltd Model: Galaxy Book NP960QFG-KA1AR (RPL, 12th/13th gen) Subsystem: c1ca CPU: Intel Raptor Lake-P (Host bridge 0xa707) PCI device: 0000:00:05.0 Multimedia controller [0480] Intel Corporation Device a75d (IPU6-v3, hardware version 5) Sensor: OVTI02C1:00 (Omnivision OV02C1) on i2c-0 address 0x36 Lens cover: samsung-galaxybook SAM0429:00, currently open (not blocking) BIOS: P07ALN.260.240415.SH (Samsung) Secure Boot: disabled [SOFTWARE] Distro: Zorin OS 18.1 (based on Ubuntu 24.04 noble) Kernel: 7.0.0-30-generic (HWE) Kernel alt: 6.17.0-35-generic also installed in /boot Init system: systemd [PACKAGES] intel-ipu6-dkms 0~git202603270946.51fe7248-0ubuntu1+zorin1 libcamhal-common 0~git202601200757.9899efa~ubuntu24.04.3 libcamhal-ipu6ep 0~git202601200757.9899efa~ubuntu24.04.3 libcamhal-ipu6ep-common 0~git202601200757.9899efa~ubuntu24.04.3 libcamhal0 0~git202601200757.9899efa~ubuntu24.04.3 gstreamer1.0-icamera 0~git202509260937.4fb31db~ubuntu24.04.9 linux-modules-ipu6-7.0.0-30-generic 7.0.0-30.30~24.04.1 linux-modules-ipu6-generic-7.0 7.0.0-30.30~24.04.1 v4l2loopback-dkms 0.15.3-1ubuntu2+zorin1 v4l2-relayd 0.1.2-0ubuntu3.1 [FIRMWARE] /lib/firmware/intel/ipu/ipu6ep_fw.bin (467 KB, decompressed from .zst) /lib/firmware/intel/ipu/shisp_2401a0_v21.bin (12 MB, decompressed from .zst) /lib/firmware/intel/ipu/ipu6ep_fw.bin.zst (original) /lib/firmware/intel/ipu/shisp_2401a0_v21.bin.zst (original) Other ipu6 firmwares: ipu6epadln, ipu6epmtl, ipu6, ipu6se, ipu7, ipu7ptl, irci [DMESG OUTPUT (filtered to intel-ipu* and related)] [ 2.633510] intel-ipu6 0000:00:05.0: enabling device (0000 -> 0002) [ 2.642939] intel-ipu6 0000:00:05.0: Found supported sensor OVTI02C1:00 [ 2.643149] intel-ipu6 0000:00:05.0: Connected 1 cameras [ 2.644075] intel-ipu6 0000:00:05.0: IPU6-v3[a75d] hardware version 5 [ 2.672743] intel_ipu6_isys: loading out-of-tree module taints kernel. [ 2.672778] intel_ipu6_isys: module verification failed: signature and/or required key missing - tainting kernel [ 2.711217] intel_ipu6_psys.psys intel_ipu6.psys.40: pkg_dir entry count:8 [ 2.713832] intel_ipu6_psys.psys intel_ipu6.psys.40: psys probe minor: 0 NOTE: there is NO "isys probe minor" line. The ISYS subdriver binds to the intel_ipu6.isys.40 auxiliary device but the probe never logs completion and no ISYS firmware (ipu6ep_fw.bin, shisp_2401a0_v21.bin) is ever requested or loaded. Compare with healthy systems where dmesg shows: intel_ipu6_isys.isys intel_ipu6.isys.40: isys probe minor: 0 intel-ipu6 0000:00:05.0: Loading IPU6 ISYS firmware: ipu6ep_fw.bin intel-ipu6 0000:00:05.0: Loading IPU6 ISP firmware: shisp_2401a0_v21.bin None of those lines appear. [LSPCI -vvv -s 00:05.0] 00:05.0 Multimedia controller: Intel Corporation Device a75d DeviceName: Onboard - Sound Subsystem: Samsung Electronics Co Ltd Device c1ca Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort+ <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 16 IOMMU group: 0 Region 0: Memory at 603c000000 (64-bit, non-prefetchable) [size=16M] Capabilities: [70] Express (v2) Root Complex Integrated Endpoint, MSI 00 DevCap: MaxPayload 128 bytes, PhantFunc 0 ExtTag+ RBE+ FLReset+ DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq- RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- FLReset- MaxPayload 128 bytes, MaxReadReq 128 bytes DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend- DevCap2: Completion Timeout: Not Supported, TimeoutDis- NROPrPrP- LTR- 10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt- EETLPPrefix- EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS- AtomicOpsCap: 32bit- 64bit- 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- 10BitTagReq- OBFF Disabled, AtomicOpsCtl: ReqEn- Capabilities: [d0] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Kernel driver in use: intel-ipu6 Kernel modules: intel_ipu6 [MEDIA TOPOLOGY] media controller API version 7.0.12 driver: intel-ipu6 model: ipu6 bus info: PCI:0000:00:05.0 hw revision: 0x144dc1ca 32 ISYS Capture nodes (/dev/video5..7, 9..13, 17, 23, 27, 28 exposed by driver; /dev/video0 is v4l2loopback; /dev/video1, 2, 3, 4, 8, 14..16, 18..22, 24..26, 29..32 exist but Driver not in use). 4 CSI-2 receiver subdevs (/dev/v4l-subdev0..3). 1 sensor subdev: /dev/v4l-subdev4 = ov02c10 0-0036, pad0 Source -> "Intel IPU6 CSI2 0":0 [ENABLED, IMMUTABLE] pad fmt: SGRBG10_1X10/1928x1092 field:none, link_freq=400 MHz, pixel_rate=80 MHz The CSI-2 receivers report fmt SGRBG10_1X10/4096x3072 (default, unconfigured). [REPRODUCTION] 1. Boot kernel 7.0.0-30-generic (Zorin OS 18.1 / Ubuntu 24.04 HWE). 2. sudo modprobe intel-ipu6 intel-ipu6-isys intel-ipu6-psys ov02c10 3. ls /dev/video* -> 33 nodes appear 4. v4l2-ctl -d /dev/video10 --stream-mmap=4 --stream-count=5 --stream-to=/tmp/test.raw -> "VIDIOC_STREAMON returned -1 (Link has been severed)" 5. File is empty (size 0). No frames captured. 6. Same result with gst-launch-1.0 v4l2src ! fakesink, with icamerasrc, with any other ISYS Capture node. [WHAT WAS TRIED] - linux-modules-ipu6-generic-7.0 (Ubuntu in-kernel): same failure - intel-ipu6-dkms 51fe7248 (PPA Zorin, upstream Intel): same failure - Upstream intel/ipu6-drivers @ main with manual DWC PHY HSFREQRANGE patch (commit 1f025c6, "Improve DWC PHY HSFREQRANGE band selection"): same failure - Firmware formats: .zst vs decompressed .bin, no change - HAL libcamhal-ipu6ep + gstreamer1.0-icamera: fails with "CamHAL[ERR] Stream config is not supported. format:V4L2_PIX_FMT_NV12 (1920x1080)" because HAL loads AIQB AR0234_TGL_10bits.aiqb which is for a different sensor - v4l2-ctl --set-fmt on ISYS Capture nodes: works for format negotiation but STREAMON still fails with ENOLINK - media-ctl -V: subdevs reject VIDIOC_SUBDEV_S_FMT ("Inappropriate ioctl") - modprobe bind/unbind, soft reset: no change - Power management: D3 NoSoftRst+ in lspci (PME disabled), no S0ix issues seen [EXPECTED] The ISYS subdriver should boot, load ipu6ep_fw.bin and shisp_2401a0_v21.bin, negotiate the CSI-2 link with the OV02C1 sensor, and STREAMON on a Capture node should return success, producing NV12 1920x1080 frames at 30 fps via the HAL or raw Bayer via V4L2. [WORKAROUNDS] None known for this hardware on kernel 7.0. External USB webcam is the only functional option today. [ADDITIONAL INFO] - Related issues: intel/ipu6-drivers#329 (Galaxy Book4 Pro 360, similar), #369 - The ISYS auxiliary device (intel_ipu6.isys.40) is created and bound to intel_ipu6_isys.isys driver, but the probe function either returns silently or fails before logging. - The PSYS auxiliary device (intel_ipu6.psys.40) probes and registers /dev/ipu-psys0 correctly. - Both the in-kernel driver and the DKMS share the same code path and fail at the same point, suggesting the issue is not in the driver glue but in the ISYS firmware boot sequence or in the hardware interaction. - The DWC PHY HSFREQRANGE patch (upstream commit 1f025c6) targets Arrow Lake / OV08X40, not RPL / OV02C1; the symptom (DDL lock instability) may not apply to this configuration. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2165854/+subscriptions

Комментариев нет:

Отправить комментарий