intel / ipu6-camera-hal

Apache License 2.0
39 stars 32 forks source link

which IPU_VERSION should I use if building for Intel Gen 13(RPL)? #86

Open wenchiching opened 11 months ago

wenchiching commented 11 months ago

I am using Dell Precision 5680 https://ubuntu.com/certified/202306-31665

CPU info: model name : 13th Gen Intel(R) Core(TM) i9-13900H

I install and boot with kernel 6.1.0-1016-oem based on info from https://ubuntu.com/certified/202306-31665

$ uname -a
Linux owenwen-Precision-5680 6.1.0-1016-oem #16-Ubuntu SMP PREEMPT_DYNAMIC Wed Jun 21 08:45:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

My chrome still cannot use camera, I test camera on https://webcamtests.com/

So I am trying to install ipu6-camera-bins and ipu6-camera-hal, hope it could fix my camera

but I don't see bins and hal for ipu_rpl

In build.sh, which IPU_VERSION should I use? Do you have bins and hal for ipu_rpl?

function build_target() {
    rm -fr build && mkdir -p build && cd build

    local target=$1
    export IPU_VERSION=
    if [ "$target" = "ipu_tgl" ]; then
        IPU_VERSION=ipu6
    elif [ "$target" = "ipu_adl" ]; then
        IPU_VERSION=ipu6ep
    elif [ "$target" = "ipu_mtl" ]; then
        IPU_VERSION=ipu6epmtl
    else
        echo "Error: unsupport the target name : $target"
        exit -1
    fi
...

attach error log of command sudo -E gst-launch-1.0 icamerasrc buffer-count=7 ! video/x-raw,format=NV12,width=1280,height=720 ! videoconvert ! ximagesink

error.log

alvinpeters commented 11 months ago

try using ipu_adl