Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera IPU6 (OVTI01AF) Not Working: Black Screen and Errors in Logs (intel nuc m15 lapbc710) #323

Open
deznod opened this issue Jan 31, 2025 · 0 comments

Comments

@deznod
Copy link

deznod commented Jan 31, 2025

Description:

After installing and configuring all necessary drivers and libraries for the IPU6 camera, the camera does not work. When attempting to use the camera via GStreamer (gst-launch-1.0) or other applications, a black screen is displayed. Logs indicate several errors, particularly related to aiqb files and media format issues. My sensor INT3480 (OVTI01AF).


Steps to Reproduce:

  1. Installed akmod-intel-ipu6 from RPM Fusion.
  2. Install intel/ipu6-camera-bins
  3. Installed required dependencies for ipu6-camera-hal:
    sudo dnf install expat-devel automake libtool libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libdrm-dev
  1. Cloned the ipu6-camera-hal repository and built the project:

    git clone https://github.com/intel/ipu6-camera-hal.git
    cd ipu6-camera-hal
    mkdir build && cd build
    cmake -DCMAKE_BUILD_TYPE=Release \
          -DCMAKE_INSTALL_PREFIX=/usr \
          -DCMAKE_INSTALL_LIBDIR=lib \
          -DBUILD_CAMHAL_ADAPTOR=ON \
          -DBUILD_CAMHAL_PLUGIN=ON \
          -DIPU_VERSIONS="ipu6;ipu6ep;ipu6epmtl" \
          -DUSE_PG_LITE_PIPE=ON \
          ..
    make -j$(nproc)
    sudo make install
  2. Attempted to run the camera using GStreamer:

    sudo -E gst-launch-1.0 icamerasrc buffer-count=7 ! video/x-raw,format=YUY2,width=1280,height=720 ! videoconvert ! ximagesink
  3. Observed a black screen in applications like guvcview.


Relevant Logs:

1. Journalctl Logs:

The journalctl logs contain several errors related to aiqb files and media format issues:

[01-31 00:17:00.257] CamHAL[INF] aiqb file name hm11b1.aiqb
[01-31 00:17:00.261] CamHAL[ERR] invalid media format, default value used.
[01-31 00:17:00.261] CamHAL[INF] aiqb file name ov01a1s.aiqb
[01-31 00:17:00.262] CamHAL[ERR] invalid media format, default value used.
[01-31 00:17:00.263] CamHAL[INF] aiqb file name hm11b1.aiqb
[01-31 00:17:00.263] CamHAL[ERR] invalid media format, default value used.
[01-31 00:17:00.263] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-31 00:17:00.264] CamHAL[ERR] invalid media format, default value used.
[01-31 00:17:00.264] CamHAL[INF] aiqb file name IMX390_HDR_TGL_2.aiqb
[01-31 00:17:00.265] CamHAL[ERR] invalid media format, default value used.
[01-31 00:17:00.265] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-31 00:17:00.266] CamHAL[INF] updateMediaFormat, media format in tuning: 0, media format for aic 0.

2. GStreamer Logs:

When running the GStreamer pipeline, the following errors occur:

[01-31 01:51:16.171] CamHAL[ERR] Get entity fail for calling getEntityById
[01-31 01:51:16.171] CamHAL[ERR] setup Link hm11b1  [-1:0] ==> Intel IPU6 CSI-2  [-1x0] enable 1 failed.
[01-31 01:51:16.171] CamHAL[ERR] set MediaCtlConf McLink failed: ret = -1
[01-31 01:51:16.171] CamHAL[ERR] set up mediaCtl failed
[01-31 01:51:16.171] CamHAL[ERR] @configure Device Configure failed
[01-31 01:51:16.171] CamHAL[ERR] failed to config streams.
ERROR: from element /GstPipeline:pipeline0/Gstcamerasrc:camerasrc0: src pad: Internal data flow error.

3. Kernel Configuration:

The kernel configuration file shows that all necessary options for IPU6 are enabled:

CONFIG_VIDEO_INTEL_IPU6=m
CONFIG_IPU_ISYS_BRIDGE=y
CONFIG_IPU_BRIDGE=m
CONFIG_VIDEO_OV01A1S=m
CONFIG_VIDEO_OV01A10=m
CONFIG_VIDEO_HM11B1=m
CONFIG_VIDEO_OV02C10=m
CONFIG_VIDEO_OV02E10=m
CONFIG_VIDEO_HM2170=m
CONFIG_VIDEO_HM2172=m
CONFIG_VIDEO_HI556=m

Expected Behavior:

The camera should be operational and display video feed in applications like guvcview or gst-launch-1.0. There should be no errors in the logs, and the camera should be properly configured with the correct media format.


Actual Behavior:

  • The camera displays a black screen in applications.
  • Multiple errors related to aiqb files and media format issues are present in the logs.

Environment:

  • Operating System: Fedora 41
  • Kernel Version: 6.12.10-200.fc41.x86_64
  • GStreamer Version: 1.22.11
  • IPU6 Driver Version: master branch
  • IPU6 Camera Binaries Version: master branch

Journalctl Logs
Kernel Configuration
GStreamer Error

journalctl.txt
config-6.12.10-200.fc41.x86_64.txt
error_icamera.txt


Image

@deznod deznod changed the title Camera IPU6 Not Working: Black Screen and Errors in Logs (intel nuc m15 lapbc710) Camera IPU6 (OVTI01AF) Not Working: Black Screen and Errors in Logs (intel nuc m15 lapbc710) Feb 9, 2025
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

No branches or pull requests

1 participant