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

usage of mainline driver? #84

Closed
thepiwo opened this issue May 28, 2024 · 11 comments
Closed

usage of mainline driver? #84

thepiwo opened this issue May 28, 2024 · 11 comments

Comments

@thepiwo
Copy link

thepiwo commented May 28, 2024

Hello, I was wondering if there is any plan (if even possible?) to adapt this to work with the mainline driver available from 6.10? intel/ipu6-drivers#22 (comment)

@stefanpartheym
Copy link
Owner

Hi @thepiwo, not sure if I fully understood your question.
From what I read, if you're running kernel v6.10.x you won't need this repository anyways, as the driver is already mainlined. If you're running a LTS kernel however, you can use this repo. The mainline driver won't be compatible with the LTS kernel as far is I know.

@stefanpartheym
Copy link
Owner

I just updated the README and added information about the mainline IPU6 drivers

@thepiwo
Copy link
Author

thepiwo commented May 28, 2024

Thank you for the feedback, I'm sorry I'm not to much into the details and inner working of everything thats needed to get it to work end-to-end.

As far as I understood this repo does both, provide the driver and necessary patches, plus also the integration to expose the feed to be used in applications like browsers.

Whereas the kernel only provides the drivers and distributions will have to provide the integrations to expose it.

So I was wondering if this repository could also provide guidance to whoever intends to use the mainline drivers before this integration has happened.

If I'm wrong with my understanding of this I'm sorry. Anyways I appreciate the time and effort that has been put into this.

1 similar comment
@thepiwo
Copy link
Author

thepiwo commented May 28, 2024

Thank you for the feedback, I'm sorry I'm not to much into the details and inner working of everything thats needed to get it to work end-to-end.

As far as I understood this repo does both, provide the driver and necessary patches, plus also the integration to expose the feed to be used in applications like browsers.

Whereas the kernel only provides the drivers and distributions will have to provide the integrations to expose it.

So I was wondering if this repository could also provide guidance to whoever intends to use the mainline drivers before this integration has happened.

If I'm wrong with my understanding of this I'm sorry. Anyways I appreciate the time and effort that has been put into this.

@stefanpartheym
Copy link
Owner

Hi @thepiwo,

I think you know more than I do, tbh. I have no idea about the inner working of everything too.
I'm sure however, that the patches in this repo won't be relevant to the 6.10.x kernels.
In my understanding, the integration part primarily lies in the v4l2 service. I assumed this would then work out of the box on a 6.10.x kernel. I could be completely wrong though, as I didn't have the chance yet to try it on a new kernel.

@danielksato
Copy link
Contributor

@stefanpartheym I'm not sure this repo won't still be relevant, as icamerasrc doesn't seem to play nicely with the latest versions that supposedly add support for 6.7+. I hope I'm wrong.

@stefanpartheym
Copy link
Owner

@danielksato You could be right. I actually don't know. I think it is best to wait for a 6.10.x kernel release to test against.

@danielksato
Copy link
Contributor

Absolutely. I've tested the latest versions against 6.9.x and I haven't been able to get them to work at all, but I'm also very much not a kernel developer. I thought the problem was icamerasrc though.

@wille
Copy link

wille commented Jun 2, 2024

@stefanpartheym You can install the linux-mainline AUR package to run 6.10-rc1, I have but with no positive results, just acts like on any 6.x kernel without this repo installed.

@catwell
Copy link

catwell commented Jun 21, 2024

Same here, I tried with 6.10.0-rc4-1-mainline from miffe's repository and I could not make the webcam work. It is not detected by v4l2.

$ sudo v4l2-ctl --list-devices
Cannot open device /dev/video0, exiting.

@marmistrz
Copy link

linux-mainline doesn't include CONFIG_VIDEO_INTEL_IPU6 by default yet. I enabled it manually by patching the config file from linux-mainline, but - unfortunately - the ipu6 devices remain unusable.

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

6 participants