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

Sensor never starts streaming data 70% of the time on X1 Carbon Gen 11 #187

Open
lukemarsden opened this issue Oct 4, 2023 · 127 comments
Open

Comments

@lukemarsden
Copy link

lukemarsden commented Oct 4, 2023

I have an X1 Carbon Gen 11 21HMCTO1WW with an ov2740 sensor.

I am running the latest 6.5.5 kernel with the Fedora driver stack from https://hansdegoede.livejournal.com/27276.html

Linux fedora 6.5.5-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Sep 24 15:52:44 UTC 2023 x86_64 GNU/Linux

Very often the stream just fails to start streaming. I can run sudo gst-launch-1.0 icamerasrc ! autovideosink 10 times in a row and on average, I will only get a video stream 3/10 times. The webcam works reliably in Windows so I doubt it's a hardware problem. The exact same software stack works more reliably on an X1 Yoga Gen 8 with the same sensor (different hardware configuration though, the Yoga has a i7-1370P CPU and the Carbon has a i7-1365U).

dmesg -w while doing this shows the following pattern:

image

Here you can see when it worked (on, off with no red errors), and when it didn't (timeouts), from dmesg -w.

Here's the output from running sudo gst-launch-1.0 icamerasrc ! autovideosink > gst-1.txt 2>&1 one time that it didn't work:
https://gist.github.com/lukemarsden/d51e5f438d72f3211c402ea4e9af7cf6

And the journal from that time: sudo journalctl -f > journal-1.txt 2>&1:
https://gist.github.com/lukemarsden/a5022bebdadaa5ae34aab822aff636b9

The only log lines that seem interesting are the timeouts from gstreamer and the:

Oct 04 17:46:12 fedora kernel: intel-ipu6-isys intel-ipu6-isys0: stream stop time out

line from the ipu6 driver. That "stream stop time out" only happens after I hit ctrl+c (twice) on the gstreamer stream because I'm seeing a black video feed.

dmesg |grep ipu6:
https://gist.github.com/lukemarsden/01beb5c00d37e57f71706922aa713832

I followed the instructions at https://hansdegoede.livejournal.com/27276.html

Versions:

akmod-intel-ipu6.x86_64                                                                  0.0-7.20230622git8e41080.fc38                                    @rpmfusion-nonfree-updates                    
ipu6-camera-bins.x86_64                                                                  0.0-7.20230208git276859f.fc38                                    @rpmfusion-nonfree-updates                    
ipu6-camera-bins-firmware.x86_64                                                         0.0-7.20230208git276859f.fc38                                    @rpmfusion-nonfree-updates                    
ipu6-camera-hal.x86_64                                                                   0.0-14.20230208git884b81a.fc38                                   @rpmfusion-nonfree-updates                    
kmod-intel-ipu6-6.4.15-200.fc38.x86_64.x86_64                                            0.0-7.20230622git8e41080.fc38                                    @@commandline                                 
kmod-intel-ipu6-6.5.5-200.fc38.x86_64.x86_64                                             0.0-7.20230622git8e41080.fc38                                    @@commandline                                 
kmod-intel-ipu6-6.5.5-200.fc38.x86_64+debug.x86_64                                       0.0-7.20230622git8e41080.fc38                                    @@commandline                                 
ipu6-camera-bins-devel.x86_64                                                            0.0-7.20230208git276859f.fc38                                    rpmfusion-nonfree-updates                     
ipu6-camera-hal-devel.x86_64                                                             0.0-14.20230208git884b81a.fc38                                   rpmfusion-nonfree-updates                     
kmod-intel-ipu6.x86_64                                                                   0.0-7.20230622git8e41080.fc38                                    rpmfusion-nonfree-updates                     

Please let me know if you need any more details or logs from my system.

@omriasta
Copy link

+1 on this, same symptoms x1 carbon Gen 10 i7-1270P Let me know if you need me to add any other info about my hardware.

@jwrdegoede
Copy link
Contributor

@lukemarsden so I was doing some IPU6 work today and this made me think back to this bug. The ov2740 driver has 2 sets of register settings one for Lenovo devices and one for other devices.

Which set of register settings to use is decided by making a special ACPI call which gets a camera-sensor-module id string. I wonder if the X1 Gen 10 / Gen 11 maybe has a different sensor-module (different sensor module ID) causing the ov2740 to use the non Lenovo register settings which in turn then causes this problem.

Here is an updated akmod with a patch to try this:
akmod-intel-ipu6-0.0-11.20230622git8e41080.fc38.x86_64.rpm.gz

After downloading run the following commands to install it:

gzip -d akmod-intel-ipu6-0.0-11.20230622git8e41080.fc38.x86_64.rpm.gz
sudo rpm -Uvh akmod-intel-ipu6-0.0-11.20230622git8e41080.fc38.x86_64.rpm

After this wait for the new kmod to be build and then run, e.g.:

rpm -qa | grep kmod-intel-ipu6

This should show the kmod-intel-ipu6 release field for your currently running kernel is now 11.20230622git8e41080 this will be part of the full string for the package.

After this reboot and do:

dmesg | grep "Sensor module id"

This should now show your sensor module id. If your sensor-module id is CJFLE23 then this patched akmod pkg will not make a difference. But if it is a different id, then this patch will hopefully help to make the camera work better.

@lukemarsden
Copy link
Author

lukemarsden commented Nov 7, 2023 via email

@jwrdegoede
Copy link
Contributor

Any other thoughts about what might be causing this?

Sorry, but I don't have any other ideas how to fix this.

@hao-yao
Copy link
Contributor

hao-yao commented Nov 15, 2023

@lukemarsden Could you try adding "options intel-ipu6-isys dyndbg=+p" to /etc/modprobe.d/intel-ipu6.conf then restart to check dmesg log again? We can check if IPU received any frames.\

By the way, the settings used for module CJFLE23 should be 180M link frequency and I fixed that on master branch. It might helps but need a try.

@lukemarsden
Copy link
Author

Thank you @hao-yao

Here's a video of what happens when I set that option, reboot, then run dmesg -w in one terminal and sudo gst-launch-1.0 icamerasrc ! autovideosink in another

2023-11-18_12-11-57.mp4

I've also uploaded it to YouTube here: https://www.youtube.com/watch?v=OQpBTUpM4sk

@lukemarsden
Copy link
Author

By the way, the settings used for module CJFLE23 should be 180M link frequency and I fixed that on master branch. It might helps but need a try.

@jwrdegoede is this change something you might be able to conveniently package for me to try please? 😄

@hao-yao
Copy link
Contributor

hao-yao commented Nov 20, 2023

I've also uploaded it to YouTube here: https://www.youtube.com/watch?v=OQpBTUpM4sk

@lukemarsden This shows that IPU didn't receive CSI-2 packages. My experience is that the issue should between camera sensor module and IPU CSI-2 port, either register settings or link frequency wrong, or they don't match.

@jwrdegoede
Copy link
Contributor

@lukemarsden

By the way, the settings used for module CJFLE23 should be 180M link frequency and I fixed that on master branch. It might helps but need a try.

@jwrdegoede is this change something you might be able to conveniently package for me to try please? 😄

Here is an updated akmod:

https://fedorapeople.org/~jwrdegoede/akmod-intel-ipu6-0.0-11.20231115git067270f.fc39.x86_64.rpm

Download it and then run sudo rpm -Uvh akmod-intel-ipu6-....rpm after this wait for the akmod to be build for your currently running kernel (e.g. check top) and then reboot.

Hopefully this will resolve the X1 Carbon gen 10 / gen 11 issues.

@lukemarsden
Copy link
Author

Thanks! Unfortunately I'm now getting this:

luke@fixed:~$ sudo gst-launch-1.0 icamerasrc ! autovideosink
Setting pipeline to PAUSED ...
[11-23 17:02:46.291] CamHAL[INF] aiqb file name ov13b10.aiqb
[11-23 17:02:46.291] CamHAL[ERR] there is no aiqb file:ov13b10
[11-23 17:02:46.291] CamHAL[INF] aiqb file name ov13b10.aiqb
[11-23 17:02:46.291] CamHAL[ERR] there is no aiqb file:ov13b10
[11-23 17:02:46.291] CamHAL[INF] aiqb file name ov8856.aiqb
[11-23 17:02:46.291] CamHAL[ERR] there is no aiqb file:ov8856
[11-23 17:02:46.291] CamHAL[INF] aiqb file name ov8856.aiqb
[11-23 17:02:46.291] CamHAL[ERR] there is no aiqb file:ov8856
[11-23 17:02:46.291] CamHAL[INF] aiqb file name ov01a10.aiqb
[11-23 17:02:46.291] CamHAL[INF] aiqb file name ov01a10.aiqb
[11-23 17:02:46.291] CamHAL[INF] aiqb file name ov01a10.aiqb
[11-23 17:02:46.291] CamHAL[INF] aiqb file name ov01a10.aiqb
[11-23 17:02:46.291] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[11-23 17:02:46.291] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[11-23 17:02:46.291] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[11-23 17:02:46.292] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[11-23 17:02:46.292] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[11-23 17:02:46.292] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[11-23 17:02:46.292] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[11-23 17:02:46.292] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[11-23 17:02:46.292] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[11-23 17:02:46.292] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[11-23 17:02:46.292] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[11-23 17:02:46.292] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[11-23 17:02:46.292] CamHAL[INF] aiqb file name OV2740_CJFLE23_ADL.aiqb
[11-23 17:02:46.292] CamHAL[INF] aiqb file name OV2740_CJFLE23_ADL.aiqb
[11-23 17:02:46.292] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
[11-23 17:02:46.292] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
[11-23 17:02:46.292] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
[11-23 17:02:46.292] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
[11-23 17:02:46.292] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
[11-23 17:02:46.293] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
[11-23 17:02:46.293] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
[11-23 17:02:46.293] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
[11-23 17:02:46.293] CamHAL[INF] aiqb file name ov01a1s.aiqb
[11-23 17:02:46.293] CamHAL[INF] aiqb file name ov01a1s.aiqb
[11-23 17:02:46.293] CamHAL[ERR] Failed to find DevName for cameraId: 0, get video node: ov13b10 , devname: /dev/v4l-subdev1
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[11-23 17:02:46.299] CamHAL[ERR] Get entity fail for calling getEntityById
[11-23 17:02:46.299] CamHAL[ERR] Get entity fail for calling getEntityById
[11-23 17:02:46.299] CamHAL[ERR] setup Link ov13b10  [-1:0] ==> Intel IPU6 CSI-2  [-1x0] enable 1 failed.
[11-23 17:02:46.299] CamHAL[ERR] set MediaCtlConf McLink failed: ret = -1
[11-23 17:02:46.299] CamHAL[ERR] set up mediaCtl failed
[11-23 17:02:46.299] CamHAL[ERR] @configure Device Configure failed
[11-23 17:02:46.299] CamHAL[ERR] failed to config streams.
ERROR: from element /GstPipeline:pipeline0/Gstcamerasrc:camerasrc0: src pad: Internal data flow error.
Additional debug info:
gstcambasesrc.cpp(3143): gst_cam_base_src_loop (): /GstPipeline:pipeline0/Gstcamerasrc:camerasrc0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 0:00:00.004130346
Setting pipeline to NULL ...
Freeing pipeline ...

Is it because I'm still on Fedora 38? I noticed the rpm was fc39.

dmesg: https://gist.github.com/lukemarsden/7fa4f4e720c01a1452a604fc0a00b08c

Linux fixed 6.5.10-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 2 19:59:55 UTC 2023 x86_64 GNU/Linux

@lukemarsden
Copy link
Author

Oh, after rebooting twice, it's now working!

At least, it's working MORE reliably than it was before, I think, but still not 100%...

@lukemarsden
Copy link
Author

Running sudo gst-launch-1.0 icamerasrc ! autovideosink 11 times:

1 - worked straight away
2 - black screen, LED goes on, [11-23 17:10:23.715] CamHAL[ERR] Poll: Device node fd 14 poll timeout.
3 - black screen, LED goes on, [11-23 17:10:23.715] CamHAL[ERR] Poll: Device node fd 14 poll timeout.
4 - black screen, LED goes on, [11-23 17:10:23.715] CamHAL[ERR] Poll: Device node fd 14 poll timeout.
5 - black screen, LED goes on, [11-23 17:10:23.715] CamHAL[ERR] Poll: Device node fd 14 poll timeout.
6 - black screen, LED goes on, [11-23 17:10:23.715] CamHAL[ERR] Poll: Device node fd 14 poll timeout.
7 - worked straight away
8 - black screen, LED goes on, [11-23 17:10:23.715] CamHAL[ERR] Poll: Device node fd 14 poll timeout.
9 - black screen, LED goes on, [11-23 17:10:23.715] CamHAL[ERR] Poll: Device node fd 14 poll timeout.
10 - black screen, LED goes on, [11-23 17:10:23.715] CamHAL[ERR] Poll: Device node fd 14 poll timeout.
11 - worked straight away

So yeah we're still at about 30% - I'd say this change unfortunately hasn't made a difference.

Any other logs etc I can share?

@lukemarsden
Copy link
Author

Some more dmesg after all those tries:

https://gist.github.com/lukemarsden/f8c21affa6f0a0ffd5e3d6550208583f

@jwrdegoede
Copy link
Contributor

That is unfortunate, can you run:

rpm -qf "/lib/modules/$(uname -r)/extra/intel-ipu6/drivers/media/i2c/ov2740.ko.xz"

And check the printed kmod version ends with "0.0-11.20231115git067270f.fc39" ?

This checks that you are indeed running the new module.

@lukemarsden
Copy link
Author

Yup,

kmod-intel-ipu6-6.5.10-200.fc38.x86_64-0.0-11.20231115git067270f.fc38.x86_64

@lukemarsden
Copy link
Author

I tested upgrading my X1 Carbon Gen 11 to Fedora 39 and even upgraded to 6.6.2-201.fc39.x86_64 kernel and still getting the same symptoms.

Strangely enough, my X1 Yoga Gen 8 running Fedora 38 seems to have regressed to the same behavior described in this issue - I had the kernel pinned to 6.5.5 but the userland was upgrading. I wonder if something in the userland has changed?

@jwrdegoede
Copy link
Contributor

Strangely enough, my X1 Yoga Gen 8 running Fedora 38 seems to have regressed to the same behavior described in this issue - I had the kernel pinned to 6.5.5 but the userland was upgrading. I wonder if something in the userland has changed?

Hmm, I have a X1 Yoga Gen 8 myself and I just fully updated the F39 on it and then did:

gst-launch-1.0 v4l2src ! xvimagesink

10 times and the stream started correctly 10 / 10 times.

So I wonder is anything special on your setup(s) ?

Are you testing with a charger or thunderbolt dock connected maybe?

@lukemarsden
Copy link
Author

lukemarsden commented Nov 27, 2023 via email

@jwrdegoede
Copy link
Contributor

kernel: 6.5.8-300.fc39.x86_64
dmidecode: 21HQSIT025

@jwrdegoede
Copy link
Contributor

I'm using the new akmod which I linked to above:

kmod-intel-ipu6-6.5.8-300.fc39.x86_64-0.0-11.20231115git067270f.fc39.x86_64

@jwrdegoede
Copy link
Contributor

Are you perhaps using the laptop(s) near some electrical appliance which may be giving of electro-magnetic interference? Have you tried using the laptop in some other place, e.g. another room ?

@lukemarsden
Copy link
Author

lukemarsden commented Nov 27, 2023 via email

@lukemarsden
Copy link
Author

lukemarsden commented Nov 27, 2023 via email

@lukemarsden
Copy link
Author

lukemarsden commented Nov 27, 2023 via email

@lukemarsden
Copy link
Author

Just for the record, back on the X1 Yoga Gen 8 (ov2740), running:

kmod-intel-ipu6-6.5.5-200.fc38.x86_64-0.0-10.20230622git8e41080.fc38.x86_64

I am getting <30% success rate on launching the camera again today, even after rebooting.

@lukemarsden
Copy link
Author

Same issue with kernel 6.6.2-101.fc38.x86_64 and 0.0-10.20230622git8e41080.fc38.x86_64
Trying 0.0-11.20231115git067270f.fc38.x86_64 now...

@lukemarsden
Copy link
Author

On 6.6.2, the newer rpm you shared above fails every time now (after three reboots) the same way:

luke@dynamic:~$ sudo gst-launch-1.0 icamerasrc ! autovideosink
Setting pipeline to PAUSED ...
[11-29 12:32:00.447] CamHAL[INF] aiqb file name ov13b10.aiqb
[11-29 12:32:00.447] CamHAL[ERR] there is no aiqb file:ov13b10
[11-29 12:32:00.447] CamHAL[INF] aiqb file name ov13b10.aiqb
[11-29 12:32:00.447] CamHAL[ERR] there is no aiqb file:ov13b10
[11-29 12:32:00.447] CamHAL[INF] aiqb file name ov8856.aiqb
[11-29 12:32:00.447] CamHAL[ERR] there is no aiqb file:ov8856
[11-29 12:32:00.447] CamHAL[INF] aiqb file name ov8856.aiqb
[11-29 12:32:00.447] CamHAL[ERR] there is no aiqb file:ov8856
[11-29 12:32:00.447] CamHAL[INF] aiqb file name ov01a10.aiqb
[11-29 12:32:00.447] CamHAL[INF] aiqb file name ov01a10.aiqb
[11-29 12:32:00.447] CamHAL[INF] aiqb file name ov01a10.aiqb
[11-29 12:32:00.447] CamHAL[INF] aiqb file name ov01a10.aiqb
[11-29 12:32:00.447] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[11-29 12:32:00.447] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[11-29 12:32:00.447] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[11-29 12:32:00.447] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[11-29 12:32:00.447] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[11-29 12:32:00.448] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[11-29 12:32:00.448] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[11-29 12:32:00.448] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[11-29 12:32:00.448] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[11-29 12:32:00.448] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[11-29 12:32:00.448] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[11-29 12:32:00.448] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[11-29 12:32:00.448] CamHAL[INF] aiqb file name OV2740_CJFLE23_ADL.aiqb
[11-29 12:32:00.448] CamHAL[INF] aiqb file name OV2740_CJFLE23_ADL.aiqb
[11-29 12:32:00.448] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
[11-29 12:32:00.448] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
[11-29 12:32:00.448] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
[11-29 12:32:00.448] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
[11-29 12:32:00.448] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
[11-29 12:32:00.449] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
[11-29 12:32:00.449] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
[11-29 12:32:00.449] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
[11-29 12:32:00.449] CamHAL[INF] aiqb file name ov01a1s.aiqb
[11-29 12:32:00.449] CamHAL[INF] aiqb file name ov01a1s.aiqb
[11-29 12:32:00.449] CamHAL[ERR] Failed to find DevName for cameraId: 0, get video node: ov13b10 , devname: /dev/v4l-subdev1
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[11-29 12:32:00.458] CamHAL[ERR] Get entity fail for calling getEntityById
[11-29 12:32:00.458] CamHAL[ERR] Get entity fail for calling getEntityById
[11-29 12:32:00.458] CamHAL[ERR] setup Link ov13b10  [-1:0] ==> Intel IPU6 CSI-2  [-1x0] enable 1 failed.
[11-29 12:32:00.458] CamHAL[ERR] set MediaCtlConf McLink failed: ret = -1
[11-29 12:32:00.458] CamHAL[ERR] set up mediaCtl failed
[11-29 12:32:00.458] CamHAL[ERR] @configure Device Configure failed
[11-29 12:32:00.458] CamHAL[ERR] failed to config streams.
ERROR: from element /GstPipeline:pipeline0/Gstcamerasrc:camerasrc0: src pad: Internal data flow error.
Additional debug info:
gstcambasesrc.cpp(3143): gst_cam_base_src_loop (): /GstPipeline:pipeline0/Gstcamerasrc:camerasrc0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 0:00:00.006819703
Setting pipeline to NULL ...
Freeing pipeline ...

@wille
Copy link

wille commented Dec 20, 2023

Seeing same problems but I'm running arch on 6.6.7

@SmokinCaterpillar
Copy link

I think I have a similar issue: #204

@lukemarsden
Copy link
Author

lukemarsden commented May 12, 2024

Latest status report on freshly installed Fedora 40 6.8.9-300.fc40.x86_64. Currently blocked on:

[   24.938184] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring

code

I'm using this ipu6-drivers code: https://github.com/lukemarsden/ipu6-drivers/commits/attempt-3-to-fix-stream-on-issues/

Based on latest master of https://github.com/intel/ipu6-drivers - I noticed #213 landed

Includes:

steps

Steps to reproduce / what I did (@jwrdegoede @kupietz please check carefully if this looks correct to you):

  1. Install Fedora 40 fresh from ISO
  2. dnf update, reboot
  3. Get confused by fact that kernel headers are no longer packages in kernel-headers package. Oh well, they seem to be on the system
  4. Install v4l2-relayd.x86_64 from rpmfusion-free
  5. checkout https://github.com/lukemarsden/ipu6-drivers/commits/attempt-3-to-fix-stream-on-issues/
  6. sudo dkms add .; sudo dkms autoinstall ipu6-drivers/0.0.0 --force - this definitely seems to build the modules, /usr/lib/modules/6.8.9-300.fc40.x86_64/extra/ov2740.ko.xz now exists for example. (I did not cp -r ivsc-driver etc from https://github.com/intel/ipu6-drivers#3-build-with-dkms since we're not on <= 6.6)
  7. for m in /usr/lib/modules/$(uname -r)/extra/*.ko.xz; do find /usr/lib/modules/$(uname -r) -name $(basename $m) -not -path $m -delete; done; find /usr/lib/modules/$(uname -r) -name usb-ljca.ko.xz -delete, reboot
  8. dmesg now complains it can't find firmware. so clone https://github.com/intel/ipu6-camera-bins and run cp -r ipu6-camera-bins/include/* /usr/include/, cp -r ipu6-camera-bins/lib/* /usr/lib/, reboot

Webcam now fails to load with:

[   24.938184] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring

I've also tried powering off for 10 seconds.

Detailed relevant dmesg output
luke@fedora:~/ipu6-drivers$ sudo dmesg |grep 'ipu6\|ov2740\|GPIO'
[    6.955001] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    6.960578] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    6.961305] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    6.965562] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    6.970979] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    6.976965] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    6.987938] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    6.994108] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    7.004692] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    7.015471] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    7.040282] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    7.041409] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    7.046794] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    7.053207] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    7.055028] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    7.059297] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    7.069082] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    7.071694] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    7.072597] intel-ipu6 0000:00:05.0: enabling device (0000 -> 0002)
[    7.072738] intel-ipu6 0000:00:05.0: Device 0xa75d (rev: 0x1)
[    7.072753] intel-ipu6 0000:00:05.0: physical base address 0x603c000000
[    7.072755] intel-ipu6 0000:00:05.0: mapped as: 0x00000000ca5cdf5d
[    7.072812] intel-ipu6 0000:00:05.0: IPU in secure mode
[    7.072814] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    7.072816] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    7.074068] intel-ipu6 0000:00:05.0: IPC reset done
[    7.075606] intel-ipu6 0000:00:05.0: FW version: 20230925
[    7.077987] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    7.080684] intel-ipu6 0000:00:05.0: Found supported sensor INT3474:01
[    7.080784] intel-ipu6 0000:00:05.0: Connected 1 cameras
[    7.082201] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    7.084161] intel-ipu6 0000:00:05.0: Sending BOOT_LOAD to CSE
[    7.086632] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    7.092855] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    7.097676] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    7.103885] intel-ipu6 0000:00:05.0: Sending AUTHENTICATE_RUN to CSE
[    7.136770] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    7.144760] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    7.174035] intel-ipu6 0000:00:05.0: CSE authenticate_run done
[    7.174091] intel-ipu6 0000:00:05.0: IPU6-v3 driver version 1.0
[    7.178669] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    7.191973] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    7.199115] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    7.206614] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    7.210166] intel-ipu6-psys intel-ipu6-psys0: pkg_dir entry count:8
[    7.213695] intel-ipu6-psys intel-ipu6-psys0: psys probe minor: 0
[    7.217934] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    7.228296] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    7.235333] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    7.248348] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    7.261944] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    7.266933] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    7.356604] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    7.368275] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    7.397793] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    7.410607] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    7.428513] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    7.437517] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    7.452591] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    7.463366] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    7.476049] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    7.558077] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    7.561806] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    7.566781] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    7.570479] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    7.584425] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    7.588018] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    7.591478] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    7.593826] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    7.781005] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    7.785465] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    7.860123] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    7.864547] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[    8.549908] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[    8.551433] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[   15.832329] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[   15.833066] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[   18.624681] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[   18.626839] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
[   18.627104] platform INT3472:05: deferred probe pending: int3472-discrete: Failed to get GPIO
[   18.627112] platform INT3472:06: deferred probe pending: int3472-discrete: Failed to get GPIO
[   24.937038] int3472-discrete INT3472:05: cannot find GPIO chip INTC1096:00, deferring
[   24.938184] int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring

I also copied /etc/default/v4l2-relayd from my Manjaro install, not sure if this is necessary:

# GStreamer source element name:
VIDEOSRC="icamerasrc"
#SPLASHSRC="filesrc location=/.../splash.png ! pngdec ! imagefreeze num-buffers=4 ! videoscale ! videoconvert"

# Output format, width, height, and frame rate:
FORMAT=NV12
WIDTH=1280
HEIGHT=720
FRAMERATE=30/1

# Virtual video device name:
CARD_LABEL="Virtual Camera"

# Extra options to pass to v4l2-relayd:
#EXTRA_OPTS=-d

But we don't seem to be getting that far (no kernel logs from ov2740 module, getting stuck on int3472-discrete error which seems to be earlier in the process).

What am I doing wrong? I'd like to get to the point that we can document, from a fresh install, exactly what to do. That would really help other users.

@lukemarsden
Copy link
Author

lukemarsden commented May 12, 2024

related? https://bugs.launchpad.net/ubuntu/+source/ivsc-driver/+bug/2061747

although aren't we are using in-tree ivsc above? (it's just this bug reports the same int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring error)

@kupietz
Copy link

kupietz commented May 12, 2024

Steps to reproduce / what I did (@jwrdegoede @kupietz please check carefully if this looks correct to you):

Looks all correct to me. Here my dmesg with working camera for comparison:
dmesg_working.txt

And here with int3472-discrete debugging on (dmesg | '3472\|ipu6\|ov2740\|GPIO') as suggested by @jwrdegoede here:
dmesg_working_3472.txt

@andaag
Copy link

andaag commented May 13, 2024

What am I doing wrong? I'd like to get to the point that we can document, from a fresh install, exactly what to do. That would really help other users.

I just copied your instructions (I skipped v4l2-relayd config, but I likely had that from before) and this made my camera work, and it hasn't for a long time! (Dell XPS 9320)

So thanks to everyone involved, and a confirm that this setup now works for me!

//Edit, spoke too soon, camera still hangs sometimes, a lot better than nothing though! Also haven't debugged this so it might also be a chrome video call+wayland hickup

@The9Cat
Copy link

The9Cat commented May 13, 2024

#187 (comment) is the same. But I haven't been able to successfully port these Fedora recipes to Ubuntu to try the patches suggested here.

@The9Cat
Copy link

The9Cat commented May 16, 2024

When the camera hangs, is there a way to reset it without a reboot? I tried systemctl restart v4l2-relayd but that didn't help in my case. I wonder if there's a v4l2-ctl option that might work?

At this point, I just need a solution that works in the interim. Trying to avoid buying and carrying a camera, but that might be a more reliable strategy.

EDIT: for the record, I have found that systemctl restart v4l2-relayd does clear the camera timeout. Sometimes it needs a second try...so that's helpful!

@The9Cat
Copy link

The9Cat commented May 18, 2024

Another problem seems to be: the driver inhibits the kernel from suspending after resets. E.g.

2024-05-17T23:16:53.621836-04:00 raven kernel: Freezing remaining freezable tasks completed (elapsed 0.002 seconds)
2024-05-17T23:16:53.621838-04:00 raven kernel: printk: Suspending console(s) (use no_console_suspend to debug)
2024-05-17T23:16:53.621839-04:00 raven kernel: intel-ipu6-isys intel-ipu6-isys0: PM: dpm_run_callback(): isys_suspend+0x0/0x30 [intel_ipu6_isys] returns -16
2024-05-17T23:16:53.621842-04:00 raven kernel: intel-ipu6-isys intel-ipu6-isys0: PM: failed to suspend: error -16
2024-05-17T23:16:53.621843-04:00 raven kernel: PM: Some devices failed to suspend, or early wake event detected
2024-05-17T23:16:53.621844-04:00 raven kernel: OOM killer enabled.
2024-05-17T23:16:53.625345-04:00 raven kernel: Restarting tasks ... done.

So it ends up needing a reboot.

@lukemarsden
Copy link
Author

Any update on this from the Intel folks, Lenovo, or anyone? My X1C Gen 11 (21HMCTO1WW) with sensor ov2740 is still unreliable even on latest Ubuntu 24.04 with https://launchpad.net/~oem-solutions-group/+archive/ubuntu/intel-ipu6 (which is now working flawlessly on my Yoga Gen 8) but we know disabling runtime PM on the sensor fixes it (#187 (comment))

Please can we figure out how to fix this? I tried but failed to patch the kernel here.

@The9Cat
Copy link

The9Cat commented Aug 26, 2024

It can be made to work on a 21HMCTO1WW, which I have. I've done a fair bit of testing and it is not 100% flawless, although it is mostly usable. I still need to restart the relay daemon and occasionally reinstall the module. See the recipes toward the end of the thread in #228 for Ubuntu 24.04.

@lukemarsden
Copy link
Author

lukemarsden commented Aug 27, 2024

Thanks for replying @The9Cat! Which recipes in particular, sorry? I believe I am already running the confguration here. I am on 6.8.0-1011-oem. Looks like you additionally added the devices=1 video_nr=0 options like this? Was there anything else?

To clarify, I do occasionally get a video signal, but 70% of the time it just hangs, and once it's hung, sometimes the light stays on until after I reboot.

@The9Cat
Copy link

The9Cat commented Aug 27, 2024

Got it! Sounds like you are doing everything that needs to be done. A few comments:

  • Adding devices=1 video_nr=0 seemed to ensure that the loopback module detected the device on load. Yes, weird.
    Otherwise, the detection was random and only worked on 30% to 50% of boots.
  • I often have to restart the user-side relayd, e.g. using sudo systemctl restart v4l2-relayd.service, on the first use. Sometimes, I need to repeat this restart a few times.
  • Occasionally, the relay will hang on exit from an application (like vlc or Zoom) which requires another sudo systemcl restart ....
  • Also occasionally, the timeout will keep the system from suspending. In that case, a sudo modprobe -r intel_ipu6_isys and a sudo modprobe intel_ipu6_isys fixes that.

This is far from an ideal situation, I'm sure that we both agree. More than a bit frustrating. It should just work. But it can be made to work without rebooting.

If you can find a better solution, please LMK!!

@sgruszka
Copy link

sgruszka commented Nov 4, 2024

Hi, I posted 2 patches that should prevent "stream fails to start" issue:
https://lore.kernel.org/linux-usb/20241104085056.652294-1-stanislaw.gruszka@linux.intel.com/T/#t

At least those make ov2740 sensor issues I have on my Lenovo laptops gone.

Third patch (reading FW version) is for diagnostic: would be useful to know what LJCA firmware is in use.

@The9Cat
Copy link

The9Cat commented Nov 4, 2024

Thanks @sgruszka ! That is good news and I appreciate the effort. The most recent 6.11 oem kernel image for Ubuntu 24.04 seems to be more stable and less glitchy than previous releases as well.

@trygvis
Copy link

trygvis commented Nov 5, 2024

Hi, I posted 2 patches that should prevent "stream fails to start" issue: https://lore.kernel.org/linux-usb/20241104085056.652294-1-stanislaw.gruszka@linux.intel.com/T/#t

At least those make ov2740 sensor issues I have on my Lenovo laptops gone.

Third patch (reading FW version) is for diagnostic: would be useful to know what LJCA firmware is in use.

I just tested the two patches and they result in the ov2740 being properly initialized on my X1 G11 (21HMCTO1WW).

@The9Cat
Copy link

The9Cat commented Nov 7, 2024

How did you test this? I'm assuming that this was this a full kernel compile? While I've done this before, I'm not feeling up to task at this point.

Any idea how long until these patches are approved, etc. and make it into Ubuntu Mainline?

@The9Cat
Copy link

The9Cat commented Nov 7, 2024

Also, I have tried @sgruszka's script that features the problem. And I tend to get 28/50 tries consistent with my previous findings in #187 (comment)

This is also Lenovo X1 C11 (21HMCTO1WW).

I am happy to know that this will be fixed for me at some point. Thanks!

@sgruszka
Copy link

sgruszka commented Nov 7, 2024

How did you test this? I'm assuming that this was this a full kernel compile? While I've done this before, I'm not feeling up to task at this point.

Actually only ljca module need to be rebuild - if you use kernel compiled from source. But yes, if you use distribution kernel build, then it will be require to build and install kernel from source with the fixes applied.

Any idea how long until these patches are approved, etc. and make it into Ubuntu Mainline?

Once get applied to the upstream, what I hope will happen soon, it should take something between one to four weeks to propagate to stable distribution releases. Distribution also carry some external patches, so you can ask kernel maintainers of your distribution to apply it, before it will propage via upstream.

@sgruszka
Copy link

sgruszka commented Nov 8, 2024

FYI: I posted never version which include small fix for handling error case, bug I made in the first submission:
https://lore.kernel.org/linux-usb/20241107073718.405208-1-stanislaw.gruszka@linux.intel.com/

@The9Cat
Copy link

The9Cat commented Nov 17, 2024

@sgruszka Where do I find the latest version of your patches? I'll try applying them to a recent Ubuntu mainstream source...

Your v4 from Nov 12 seems to be the lastest, is that right?

@The9Cat
Copy link

The9Cat commented Nov 18, 2024

I had a small block of time for this, so I build the Ubuntu 6.11.0-oem-1007 source using the V4 patches from @sgruszka. It did not work perfectly, alas. After boot up, the driver spat out many of these messages:

[   51.583899] intel-ipu6-isys intel-ipu6-isys0: isys port open ready failed -16
[   51.583924] intel-ipu6-isys intel-ipu6-isys0: Device close failure: -16
[   52.609526] intel-ipu6-isys intel-ipu6-isys0: isys port open ready failed -16
[   52.609560] intel-ipu6-isys intel-ipu6-isys0: Device close failure: -16
[   53.632801] intel-ipu6-isys intel-ipu6-isys0: isys port open ready failed -16
[   53.632833] intel-ipu6-isys intel-ipu6-isys0: Device close failure: -16
[   54.655119] intel-ipu6-isys intel-ipu6-isys0: isys port open ready failed -16
[   54.655140] intel-ipu6-isys intel-ipu6-isys0: Device close failure: -16

I was able to recover by modprobe -r intel-ipu6-isys followed by modprobe intel-ipu6-isys and sudo systemctl restart v4l2-relayd.service. After that, the camera worked correctly. It does correctly persist through suspend.

@sgruszka
Copy link

[   51.583899] intel-ipu6-isys intel-ipu6-isys0: isys port open ready failed -16
[   51.583924] intel-ipu6-isys intel-ipu6-isys0: Device close failure: -16
[   52.609526] intel-ipu6-isys intel-ipu6-isys0: isys port open ready failed -16
[   52.609560] intel-ipu6-isys intel-ipu6-isys0: Device close failure: -16
[   53.632801] intel-ipu6-isys intel-ipu6-isys0: isys port open ready failed -16
[   53.632833] intel-ipu6-isys intel-ipu6-isys0: Device close failure: -16
[   54.655119] intel-ipu6-isys intel-ipu6-isys0: isys port open ready failed -16
[   54.655140] intel-ipu6-isys intel-ipu6-isys0: Device close failure: -16

This indicate ipu6 isys firmware intialization issue. Not sure how this is related with to ov2740 sensor problems.
@The9Cat could you provide full dmesg output ?

@sgruszka
Copy link

@The9Cat you can also try this patch,
https://git.linuxtv.org/media.git/commit/?id=1429826883bb18847092b2e04c6598ef34bae1d4
I can imagine that wrong interrupt handing can cause some glich in firmware intialization , but TBH most likely the cause of 'open ready failed -16' is diffrent.

@bingbucao
Copy link

I had a small block of time for this, so I build the Ubuntu 6.11.0-oem-1007 source using the V4 patches from @sgruszka. It did not work perfectly, alas. After boot up, the driver spat out many of these messages:

[   51.583899] intel-ipu6-isys intel-ipu6-isys0: isys port open ready failed -16
[   51.583924] intel-ipu6-isys intel-ipu6-isys0: Device close failure: -16
[   52.609526] intel-ipu6-isys intel-ipu6-isys0: isys port open ready failed -16
[   52.609560] intel-ipu6-isys intel-ipu6-isys0: Device close failure: -16
[   53.632801] intel-ipu6-isys intel-ipu6-isys0: isys port open ready failed -16
[   53.632833] intel-ipu6-isys intel-ipu6-isys0: Device close failure: -16
[   54.655119] intel-ipu6-isys intel-ipu6-isys0: isys port open ready failed -16
[   54.655140] intel-ipu6-isys intel-ipu6-isys0: Device close failure: -16

I was able to recover by modprobe -r intel-ipu6-isys followed by modprobe intel-ipu6-isys and sudo systemctl restart v4l2-relayd.service. After that, the camera worked correctly. It does correctly persist through suspend.

If you are working with security-signed firmware but the IPU device is running in non-secure mode, you may see the firmware open failed.

@twouters
Copy link

I had a small block of time for this, so I build the Ubuntu 6.11.0-oem-1007 source using the V4 patches from @sgruszka. It did not work perfectly, alas. After boot up, the driver spat out many of these messages:

[   51.583899] intel-ipu6-isys intel-ipu6-isys0: isys port open ready failed -16
[   51.583924] intel-ipu6-isys intel-ipu6-isys0: Device close failure: -16
[   52.609526] intel-ipu6-isys intel-ipu6-isys0: isys port open ready failed -16
[   52.609560] intel-ipu6-isys intel-ipu6-isys0: Device close failure: -16
[   53.632801] intel-ipu6-isys intel-ipu6-isys0: isys port open ready failed -16
[   53.632833] intel-ipu6-isys intel-ipu6-isys0: Device close failure: -16
[   54.655119] intel-ipu6-isys intel-ipu6-isys0: isys port open ready failed -16
[   54.655140] intel-ipu6-isys intel-ipu6-isys0: Device close failure: -16

I was able to recover by modprobe -r intel-ipu6-isys followed by modprobe intel-ipu6-isys and sudo systemctl restart v4l2-relayd.service. After that, the camera worked correctly. It does correctly persist through suspend.

If you are working with security-signed firmware but the IPU device is running in non-secure mode, you may see the firmware open failed.

And how does a user run the IPU device in secure mode, or alternatively switch to a non-security-signed firmware?

@The9Cat
Copy link

The9Cat commented Nov 18, 2024

@sgruszka I'm attaching the dmesg file. At the 100s mark, I removed and readded the isys module.
Yes, I don't see why the ov2740 issue triggers the isys problem. This only happens with the patch set applied, though.

I turned off secure boot to use the unsigned kernel, but @bingbucao makes a good point. I'll need to remind myself how (or if?) I can make a signed kernel. Or do you have another suggestion on this? Curiously, after removing and reinstalling the isys module it starts to work. Would that happen if the secure firmware is the issue?

dmesg file

@bingbucao
Copy link

Another possibility is that something is wrong with the IVSC.

@The9Cat
Copy link

The9Cat commented Nov 19, 2024

I applied the patch that @sgruzka mentioned in #187 (comment) and that eliminated the intel-ipu6-isys messages. But the expected virtual video devices were missing and the v4l2 service could not start as a result.

@sgruszka
Copy link

@sgruszka I'm attaching the dmesg file. At the 100s mark, I removed and readded the isys module. Yes, I don't see why the ov2740 issue triggers the isys problem. This only happens with the patch set applied, though.

@The9Cat please open separate ticket for the issue you have and provide exact steps to reproduce there (including steps of downloading proper source packages, applying patches and compilation) . I'll try to reproduce problem on my laptop.

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