stefanpartheym / archlinux-ipu6-webcam

Easy installation for patched Intel IPU6 camera drivers
133 stars 14 forks source link

Camera gives black image #5

Closed elhossary closed 1 year ago

elhossary commented 1 year ago

I have Thinkpad X1 carbon Gen10 (Alder lake) laptop with arch kernel >= 6.0 The camera doesn't work. After successful installation I find the "Virtual camera" entry (in Zoom for example). But it shows black image, and the camera led does not turn on. Any idea how can I fix that? journalctl output:

Jan 17 12:32:07 MuHoss-PC kdeconnectd[1554]: org.kde.pulseaudio: context kaput
Jan 17 12:31:59 MuHoss-PC kernel: intel-ipu6-isys intel-ipu6-isys0: isys fw com open failed -5
Jan 17 12:31:59 MuHoss-PC kernel: intel-ipu6-isys intel-ipu6-isys0: Clearing old context
Jan 17 12:31:51 MuHoss-PC plasmashell[1327]: org.kde.plasma.pulseaudio: context kaput
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:40.167] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:40.167] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:40.167] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:40.167] CamHAL[INF] aiqb file name ov01a10.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:40.167] CamHAL[INF] aiqb file name ov01a10.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:40.167] CamHAL[INF] aiqb file name ov01a10.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:40.167] CamHAL[INF] aiqb file name ov01a10.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:40.167] CamHAL[ERR] there is no aiqb file:ov8856
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:40.167] CamHAL[INF] aiqb file name ov8856.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:40.167] CamHAL[ERR] there is no aiqb file:ov8856
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:40.167] CamHAL[INF] aiqb file name ov8856.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:40.167] CamHAL[ERR] there is no aiqb file:ov13b10
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:40.167] CamHAL[INF] aiqb file name ov13b10.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:40.167] CamHAL[ERR] there is no aiqb file:ov13b10
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:40.167] CamHAL[INF] aiqb file name ov13b10.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.224] CamHAL[ERR] failed to config streams.
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.224] CamHAL[ERR] @configure Device Configure failed
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.224] CamHAL[ERR] set up mediaCtl failed
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.224] CamHAL[ERR] set MediaCtlConf McLink failed: ret = -1
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.224] CamHAL[ERR] setup Link ov13b10  [-1:0] ==> Intel IPU6 CSI-2  [-1x0] enable 1 failed.
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.224] CamHAL[ERR] Get entity fail for calling getEntityById
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.224] CamHAL[ERR] Get entity fail for calling getEntityById
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.214] CamHAL[ERR] Failed to find DevName for cameraId: 0, get video node: ov13b10 , devname: /d>
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.214] CamHAL[INF] aiqb file name ov01a1s.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.213] CamHAL[INF] aiqb file name ov01a1s.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.213] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.213] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.213] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.212] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.212] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.212] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.212] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.211] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.211] CamHAL[INF] aiqb file name OV2740_CJFLE23_ADL.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.211] CamHAL[INF] aiqb file name OV2740_CJFLE23_ADL.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.211] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.211] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.211] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.211] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.211] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.210] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.210] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.210] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.210] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.210] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.210] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.209] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.209] CamHAL[INF] aiqb file name ov01a10.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.209] CamHAL[INF] aiqb file name ov01a10.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.209] CamHAL[INF] aiqb file name ov01a10.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.208] CamHAL[INF] aiqb file name ov01a10.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.208] CamHAL[ERR] there is no aiqb file:ov8856
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.208] CamHAL[INF] aiqb file name ov8856.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.208] CamHAL[ERR] there is no aiqb file:ov8856
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.208] CamHAL[INF] aiqb file name ov8856.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.208] CamHAL[ERR] there is no aiqb file:ov13b10
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.208] CamHAL[INF] aiqb file name ov13b10.aiqb
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.208] CamHAL[ERR] there is no aiqb file:ov13b10
Jan 17 12:31:40 MuHoss-PC sh[488]: [01-17 12:31:38.208] CamHAL[INF] aiqb file name ov13b10.aiqb
Jan 17 12:31:36 MuHoss-PC kdeconnectd[1554]: org.kde.pulseaudio: context kaput
Jan 17 12:31:26 MuHoss-PC wpa_supplicant[1093]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-72 noise=9999 txrate=175600
Jan 17 12:31:20 MuHoss-PC plasmashell[1327]: org.kde.plasma.pulseaudio: context kaput
Jan 17 12:31:05 MuHoss-PC kdeconnectd[1554]: org.kde.pulseaudio: context kaput
Jan 17 12:30:49 MuHoss-PC plasmashell[1327]: org.kde.plasma.pulseaudio: context kaput
Jan 17 12:30:45 MuHoss-PC rtkit-daemon[1227]: Supervising 7 threads of 4 processes of 1 users.
Jan 17 12:30:45 MuHoss-PC rtkit-daemon[1227]: Successfully made thread 4377 of process 3796 owned by '1000' RT at priority 20.
Jan 17 12:30:45 MuHoss-PC plasmashell[1327]: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
Jan 17 12:30:45 MuHoss-PC kernel: intel-ipu6-isys intel-ipu6-isys0: isys fw com open failed -5
Jan 17 12:30:45 MuHoss-PC kernel: intel-ipu6-isys intel-ipu6-isys0: Clearing old context
alba4k commented 1 year ago

what programs are you testing in, and how did you install? the driver?

elhossary commented 1 year ago

I am testing with Zoom, Chrome, and OBS studio. I used this repo for installation only, once with ./install and once with ./install --workaround flag both don't work

alba4k commented 1 year ago

does systemctl status v4l2-relayd report anything?

elhossary commented 1 year ago
$ systemctl status v4l2-relayd
● v4l2-relayd.service - v4l2-relay daemon service
     Loaded: loaded (/usr/lib/systemd/system/v4l2-relayd.service; enabled; preset: disabled)
    Drop-In: /etc/systemd/system/v4l2-relayd.service.d
             └─override.conf
     Active: active (running) since Sun 2023-01-29 13:25:01 CET; 3min 11s ago
    Process: 470 ExecCondition=/usr/bin/test -n ${VIDEOSRC} (code=exited, status=0/SUCCESS)
    Process: 471 ExecCondition=/usr/bin/test -n $FORMAT (code=exited, status=0/SUCCESS)
    Process: 472 ExecCondition=/usr/bin/test -n $WIDTH (code=exited, status=0/SUCCESS)
    Process: 473 ExecCondition=/usr/bin/test -n $HEIGHT (code=exited, status=0/SUCCESS)
    Process: 475 ExecCondition=/usr/bin/test -n $FRAMERATE (code=exited, status=0/SUCCESS)
    Process: 479 ExecCondition=/usr/bin/test -n ${CARD_LABEL} (code=exited, status=0/SUCCESS)
   Main PID: 485 (v4l2-relayd)
      Tasks: 2 (limit: 38136)
     Memory: 191.9M
        CPU: 1.656s
     CGroup: /system.slice/v4l2-relayd.service
             └─485 /usr/bin/v4l2-relayd -i icamerasrc -o "appsrc name=appsrc caps=video/x-raw,format=NV12,width=1280,height=720,framerate=30/1 ! >

Jan 29 13:27:49 MuHoss-PC sh[485]: [01-29 13:27:49.837] CamHAL[ERR] there is no aiqb file:ov8856
Jan 29 13:27:49 MuHoss-PC sh[485]: [01-29 13:27:49.837] CamHAL[INF] aiqb file name ov8856.aiqb
Jan 29 13:27:49 MuHoss-PC sh[485]: [01-29 13:27:49.837] CamHAL[ERR] there is no aiqb file:ov8856
Jan 29 13:27:49 MuHoss-PC sh[485]: [01-29 13:27:49.837] CamHAL[INF] aiqb file name ov01a10.aiqb
Jan 29 13:27:49 MuHoss-PC sh[485]: [01-29 13:27:49.837] CamHAL[INF] aiqb file name ov01a10.aiqb
Jan 29 13:27:49 MuHoss-PC sh[485]: [01-29 13:27:49.837] CamHAL[INF] aiqb file name ov01a10.aiqb
Jan 29 13:27:49 MuHoss-PC sh[485]: [01-29 13:27:49.837] CamHAL[INF] aiqb file name ov01a10.aiqb
Jan 29 13:27:49 MuHoss-PC sh[485]: [01-29 13:27:49.837] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
Jan 29 13:27:49 MuHoss-PC sh[485]: [01-29 13:27:49.838] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
Jan 29 13:27:49 MuHoss-PC sh[485]: [01-29 13:27:49.838] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
lines 1-28/28 (END)

There is another symtopm I noticed, after reboot the WiFi takes very long and sound devices are gone to connect. The symtopm goes away only when I uninstall it

elhossary commented 1 year ago

Now it works after the recent PR merge