Closed alba4k closed 1 year ago
ops forgot to ping @stefanpartheym
Hi @sigboe,
Currently, I use the suffix -archfix. Not sure, if it really fits, but probably not too important sweat_smile
Well my only opinion is that it's implicit this is a fix for arch, and many AUR packages have -fix suffix while no AUR package has -archfix suffix. So if you are interested in pushing this to AUR, then maybe the -fix suffix would suffice.
You're right. However, I didn't plan to push those packages to AUR. With the archfix suffix I wanted to avoid any possible conflicts with packages from AUR. Hope you guys agree, otherwise I'm gonna change the suffix.
@stefanpartheym I don't think it matters if you have zero intentions to put the packages on the AUR.
Just as an FYI here are the packaging guidelines, I guess you know about them already https://wiki.archlinux.org/title/Arch_package_guidelines
Currently, I use the suffix -archfix. Not sure, if it really fits, but probably not too important 😅
I guess using -fix
would be enough, but yeah that sounds good.
Also, @stefanpartheym @sigboe , can you confirm that my fork works, so I know whether to open a pr or not.
Yes, same for me when using yay. I modified all PKGBUILDs in the repo to use a suffix in order for the AUR package managers to be able to distinguish between those packages (also specifying provides and conflicts). This will be part of the v1.0.0 "release". Currently, I use the suffix -archfix. Not sure, if it really fits, but probably not too important sweat_smile @alba4k @Tropicao @sigboe : Do you have any suggestions/wishes regarding the suffix? Otherwise I'll commit and push my changes to the repo.
You're right. However, I didn't plan to push those packages to AUR. With the archfix suffix I wanted to avoid any possible conflicts with packages from AUR. Hope you guys agree, otherwise I'm gonna change the suffix.
Hi @stefanpartheym. Before seeing your last answer, I was about to preach for a push to AUR : not only for a "fix" package, but to improve existing AUR packages by providing your modifications to those. IMHO, while this whole repository is currently the best way to make the webcam work on alder lake hardware, this package conflict issues (and your suggestion to add a suffix to fix this) highlights a more general issue, which is that we are kind of "forking" what already exists in AUR. While it seems valid as a short term solution (since the webcam support mess is here to stay for a while), any newcomer wanting to make the camera work will be confronted to multiple packages sources : the AUR packages, and your repository. In the mean time, I totally understand if you do not want to undertake this. In this case, I do not have any strong suggestion about the best prefix :)
Thanks @sigboe @alba4k @Tropicao for all the suggestions. I your answers give a clear direction as to what the suffix should be. Not that I would want to make a huge deal out of this, but you convinced me to use a simple fix
suffix instead a weird unconventional archfix
.
I'll change the suffix in the repo and release a v1.0.1
for this.
However, I think right now, I'm not going to release those packages to AUR any time soon. Also, not sure if I would need to ask the authors of the patches and PKGBUILD
s before doing so.
Again thanks to all of you for your input and contributions :)
Hi @alba4k,
Ok so, it's not working for me, which I expected, but if any of you can confirm that it works with
gst-plugin-pipewire
installed, then using my branch should be working too. I can open a pull request if someone is able to confirm that it is indeed working.
sorry, I didn't check your fork before committing my changes. But yes, go ahead and create a PR, so I can merge your commit :)
I also agree on not pushing to the aur, to be honest, as it would only add complexity to the already existing mess. I could though add a note on the Arch Wiki mentioning this, as it already mentions the arch support thread from which this was created.
I'm currently merging everything with your branch so I can open a pr.
Also, @stefanpartheym , if you get the same errors while building the modules, I believe that the only reason the camera works for you is that you already have the modules installed and never uninstalled them (I'm just assuming). Does dkms status
complain about anything? Have you ever uninstalled the drivers completely and then reinstalled them? I think that we might overcome this issue by calling dkms with --force
. This would either break everything or fix the issue.
Also, I do see the webcam led turn on for a split second when running test.sh
, which prints the following:
Setting pipeline to PAUSED ...
[02-05 01:41:05.210] CamHAL[INF] aiqb file name ov01a10.aiqb
[02-05 01:41:05.210] CamHAL[INF] aiqb file name ov01a10.aiqb
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
(gst-launch-1.0:26124): GStreamer-CRITICAL **: 01:41:05.294: Registering meta implementation 'GstCamerasrcMeta' without init function
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.829491013
Setting pipeline to NULL ...
Enter ia_aiq_get_aiqd_data()
Out-aiqd data size: 41480
[02-05 01:41:06.225] CamHAL[WAR] Failed to open file /run/camera/ov01a10-uf_VIDEO.aiqd, error No such file or directory
Freeing pipeline ...
Edit: Here it is.
I think this issue could be closed now. Camera still not working in all programs probably. However, with the --workaround
flag at least fixes it in some other programs, as far as I can tell.
Anyone seeing still a need for this issue, please open a new one – thanks :)
Fully agree. I think that now that the bulk of thee problem is gone (due to the "implicit" format conversion) new issues should be waaay more specific ahah
First of all, I know this isn't your work, as you mention in the readme, but maybe you'll be able to help anyway, as you probably have a better understanding than me.
Basically, my webcam still doesn't seem to work.
What I find curious and that might be related is a series of errors that pop up while installing the
v4l2loopback
,ipu6-drivers
andivsc-driver
modules packages:(same errors, all that changes is the module name and version)
As you probably noticed, the list of elements is simply a list of the files and directories in my root. My competence in kernel module building is close to none.
Also, if I try to load any of those modules, I get nothing (e.g.
modprobe v4l2loopbaclk
:modprobe: FATAL: Module v4l2loopback not found in directory /lib/modules/6.0.9-arch1-1
;modprobe -r v4l2loopback
:modprobe: FATAL: Module v4l2loopback not found.
)I don't have any /dev/video* virtual devices
Tested on both linux and linux-zen, XPS 13 Plus (i7-1260P)