Open scaronni opened 2 months ago
Side question, how does one know the PCI ids of the IPU6 "Multimedia Controller" devices without having the devices at hand? I see for example that we don't know the PCI ID for Meteor Lake. Is there a list somewhere?
Thx for the work. I am facing a similar issue with my DELL Precision 5490.
The exact module is
lspci | grep "Multimedia controller"
0000:00:05.0 Multimedia controller: Intel Corporation Device 7d19 (rev 04)
It should be the relevant portion of lsmod:
lsmod | grep ov01a10
ov01a10 28672 1
intel_vsc 16384 3 mei_ace,mei_csi,ov01a10
v4l2_fwnode 36864 2 ov01a10,intel_ipu6_isys
v4l2_async 32768 3 v4l2_fwnode,ov01a10,intel_ipu6_isys
videodev 417792 6 v4l2_async,v4l2_fwnode,videobuf2_v4l2,ov01a10,v4l2loopback,intel_ipu6_isys
mc 94208 7 v4l2_async,videodev,snd_usb_audio,videobuf2_v4l2,ov01a10,intel_ipu6_isys,videobuf2_common
Let me know if I can help you with testing something.
Well, if you can tell me what's the magic sauce to make it work :)
You have the v4l2
modules already installed on your system, so I guess you are using the RPMFusion packages. I'm not there yet, as I can't even make the camera work in the previous step (i.e. before v4l2loopback
).
Oh, that's a misunderstanding. I got these devices from following the instructions there: https://hansdegoede.livejournal.com/27276.html (I had overlooked it was for fedora 37). So yes, RPMFusion.
Didn't help me anything, though. Only the status light of the cam was enabled randomly during startup. Cam was still not working.
I just removed the following packages:
akmod-v4l2loopback-0.13.1-1.fc40.x86_64 gstreamer1-plugins-icamerasrc-0.0-9.20231023git528a6f1.fc40.x86_64
ipu6-camera-bins-0.0-10.20231027gitaf5ba0c.fc40.x86_64 ipu6-camera-bins-devel-0.0-10.20231027gitaf5ba0c.fc40.x86_64
ipu6-camera-hal-0.0-17.20240226gitda2e282.fc40.x86_64 ipu6-camera-hal-devel-0.0-17.20240226gitda2e282.fc40.x86_64
ivsc-firmware-0.0-7.20230811git10c214f.fc40.x86_64 kmod-intel-ipu6-6.8.10-300.fc40.x86_64-0.0-13.20240226gitfb4c170.fc40.x86_64
kmod-v4l2loopback-0.13.1-1.fc40.x86_64 kmod-v4l2loopback-6.8.10-300.fc40.x86_64-0.13.1-1.fc40.x86_64
v4l2-relayd-0.1.2-12.20220126git2e4d5c9.fc40.x86_64 v4l2loopback-0.13.1-1.fc40.x86_64
Now, its gone from lsmod:
lsmod | grep ov01a10
Before, cheese found a couple of icu6 devices that did not work. Now it finds none.
Dell Inspiron 5680 with Alder/Raptor Lake PCI devices and
ov02c10
sensor:I'm at the point where I reach this state, but can't figure out what is missing to get the camera working:
I've run out of ideas to make this work, so if anyone has any idea I would be grateful to hear something.
After trying with the RPMFusion packages, the repackage of those from Mathias Sou and nothing was working, I've decided to try the master branch of all components, which meant repackaging everything due to differences. I took it as an exercise to get a deep understanding of this pile of... "work".
I've created a test repository for Fedora 40 x86_64 that containes
ipu6-drivers
,ipu6-camera-bins
,ipu6-camera-hal
andicamerasrc
all built from the master branches plus the various patches from @jwrdegoede. I've been following his awesome work withlibcamera
, upstream kernel patches and integrations and all the stuff that is going here, and without him we would not be where we stand now. These packages contain only the packages mentioned above, not thev4l2loopback/v4lrelayd
stuff as I'm still stuck to get the basic GStreamer stuff to work for the moment.To install and test:
If you prefer DKMS:
Then just reboot, everything module and binary wise should be properly installed.
Main differences from @jwrdegoede / RPMFusion packages:
libcamhal
is now per-architecture (i.e. different betweenipu_adl
,ipu_mtl
, etc.) and some more small building difference.ldconfig
configuration file to find the libraries in theudev
rule, I found theudev
rule + RPATH too complicated for my taste.Source code is here: