HP Spectre360x IPU6 Camera Linux Mint 22: Invalid media configuration
- Dominant language
- C
- Stars
- 251
- Forks
- 75
- PR merge metrics
- No merged PRs in 30d
Description
as a new linux user and first time mint installer (cinnamon 22), i ran into some problems trying to get the cursed webcamera of my HP Spectre 360x to work. While trying to install the intel-ipu6 drivers to get the HP Truevision Camera (Sensor HI556) to work, I get an error which I could not find any information about anywhere.
I installed the [complete IPU6 driver setup from github](https://github.com/intel/ipu6-drivers), including the camera bins, camera hal, icamerasrc.
First of all: for `sudo dmesg | grep -i ipu6`, i get:
> [ 2.649513] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x2)
> [ 2.649537] intel-ipu6 0000:00:05.0: physical base address 0x601e000000
> [ 2.649539] intel-ipu6 0000:00:05.0: mapped as: 0x000000004483b1ee
> [ 2.649658] intel-ipu6 0000:00:05.0: IPU in secure mode
> [ 2.649660] intel-ipu6 0000:00:05.0: IPU secure touch = 0x80000000
> [ 2.649662] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
> [ 2.660888] intel-ipu6 0000:00:05.0: IPC reset done
> [ 2.662501] intel-ipu6 0000:00:05.0: FW version: 20230925
> [ 2.664496] intel-ipu6 0000:00:05.0: Found supported sensor INT3537:00
> [ 2.664680] intel-ipu6 0000:00:05.0: Connected 1 cameras
> [ 2.667190] intel-ipu6 0000:00:05.0: Sending BOOT_LOAD to CSE
> [ 2.676127] intel-ipu6 0000:00:05.0: Sending AUTHENTICATE_RUN to CSE
> [ 2.745475] intel-ipu6 0000:00:05.0: CSE authenticate_run done
> [ 2.745498] intel-ipu6 0000:00:05.0: IPU6-v0 driver version 1.0
> [ 2.995548] intel-ipu6-psys intel-ipu6-psys0: pkg_dir entry count:8
> [ 2.995654] intel-ipu6-psys intel-ipu6-psys0: psys probe minor: 0
> [ 3.024045] intel-ipu6-isys intel-ipu6-isys0: bind hi556 4-0028 nlanes is 2 port is 2
> [ 3.024274] intel-ipu6-isys intel-ipu6-isys0: All sensor registration completed.
> [30953.497371] intel-ipu6 0000:00:05.0: IPU in secure mode
> [61513.919732] intel-ipu6 0000:00:05.0: IPU in secure mode
The sensor seems to be found by the intel driver. I have already implemented the config file tweak proposed in [this commit which seemed to have helped a lot of people](https://github.com/intel/ipu6-drivers/commit/3f813580116cc66099fb26e9a7ccf7e8f72424ec#commitcomment-131060757). So far, it does not seem to make a difference due to the following issues:
When i try to start icamerasrc by writing:
`sudo -E gst-launch-1.0 icamerasrc buffer-count=7 ! video/x-raw,format=NV12,width=1280,height=720 ! videoconvert ! ximagesink`
as proposed for the hi556 sensor in the [icamerasrc repo](https://github.com/intel/icamerasrc/tree/icamerasrc_slim_api), I only get to:
> [12-07 22:33:56.890] CamHAL[ERR] Invalid media configuration id 0 for ipu6
> [12-07 22:33:56.890] CamHAL[ERR] Unable to enumerate entities for device /dev/media0
> [12-07 22:33:56.890] CamHAL[ERR] Enum Info failed.
Additionally, upon restart, i also get the following error when starting icamerasrc:
> ** (gst-plugin-scanner:3903): CRITICAL **: 22:36:58.046: _dma_fmt_to_dma_drm_fmts: assertion 'fmt != GST_VIDEO_FORMAT_UNKNOWN' failed
As i cant find these errors anywhere on the internet and also dont find any documentation on this, I would appreciate some help. Thanks alot!
Contributor guide
Assessment
This issue has not been assessed yet.