Comments (14)
@sigboe sorry for the typo in my previous message, I checked my history and I ran the proper command (without the typo), so it's not coming from here.
EDIT : There's no subject actually, my Firefox was just messed up. It works perfectly in a new window.
from archlinux-ipu6-webcam.
I know this issue isn't strictly related to this repository, but it affects it.
test.sh
seems to fail after WARNING: erroneous pipeline: no element "icamerasrc"
from archlinux-ipu6-webcam.
Same issue here, compilation of icamerasrc-git fails !
from archlinux-ipu6-webcam.
Issue is with the package on AUR https://aur.archlinux.org/packages/icamerasrc-git. Workaround is to manually edit gstcamerasrc.cpp with
diff --git a/src/gstcamerasrc.cpp b/src/gstcamerasrc.cpp
--- a/src/gstcamerasrc.cpp
+++ b/src/gstcamerasrc.cpp
@@ -2839 +2839 @@
- ret = camera_device_open(camerasrc->device_id, camerasrc->num_vc);
+ ret = camera_device_open(camerasrc->device_id);
from archlinux-ipu6-webcam.
Still getting errors tho..
gstcamerasrc.cpp: In function 'void gst_camerasrc_class_init(GstcamerasrcClass*)':
gstcamerasrc.cpp:980:67: error: expected primary-expression before ',' token
980 | gst_camerasrc_device_id_get_type(), DEFAULT_PROP_DEVICE_ID, (GParamFlags)(G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
| ^
gstcamerasrc.cpp: In function 'void gst_camerasrc_init(Gstcamerasrc*)':
gstcamerasrc.cpp:1258:30: error: expected primary-expression before '<' token
1258 | if (DEFAULT_PROP_DEVICE_ID < camerasrc->number_of_cameras) {
| ^
gstcamerasrc.cpp:1259:50: error: expected primary-expression before ';' token
1259 | camerasrc->device_id = DEFAULT_PROP_DEVICE_ID;
| ^
make[3]: *** [Makefile:624: libgsticamerasrc_la-gstcamerasrc.lo] Error 1
make[2]: *** [Makefile:685: all-recursive] Error 1
make[1]: *** [Makefile:520: all-recursive] Error 1
make: *** [Makefile:429: all] Error 2
from archlinux-ipu6-webcam.
Strange. No idea why it worked for me. Errors look like missing ;
somewhere. Alternatively change the PKGBUILD to point to this commit 2d36adecf1af9b44df591482aec27a32d8627999 instead of the icamerasrc_slim_api branch.
from archlinux-ipu6-webcam.
Hello, I also noticed this issue, since the ipu6 driver was updated to compile on Linux 6.3 and I made a merge request to update the driver I came across this issue. An older commit works to compile. I wrote my workaround in the merge request #19
from archlinux-ipu6-webcam.
Hello as I have said before there are 3 main issues getting this to compile and run today.
- Linux 6.3 support (PR to fix this is here #19 )
- Error handling in the install script. If you already have icamerasrc-git or any other dependency, don't fail if a newer commit can't compile. (PR to fix this is here #20 )
- Compiling icamerasrc-git for new users, they should not have to do manual work to get icamerasrc-git working.
@stefanpartheym I am open to discussion how we proceed with icamerasrc-git intel has introduced a bug at this line in this file that breaks compiling. The compiler says the function is passing too many arguments, removing the second (newly added argument) fixes compiling. I have not tested if any functionality is lost by doing this. This bug was introduced in commit fe733e7 at April 3. And has issue intel/icamerasrc#32 opened at April 6. Our issue #18 was opened at April 18. Do you want us to roll our own PKGBUILD file or something? 17841ab compiles successfully and can be compiled by replacing the source array in the PKGBUILD to fetch "git+${url}.git#commit=17841ab6249aaa69bd9b3959262bf182dee74111"
instead.
If someone is reading this and just want it to work right now. the steps are
cd ~ #or wherever you want to clone a repo
git clone [email protected]:stefanpartheym/archlinux-ipu6-webcam.git #need to do this on a clean repo
cd archlinux-ipu6-webcam
git fetch origin pull/19/head:refs/heads/pr19
git merge pr19
git fetch origin pull/20/head:refs/heads/pr20
git merge pr20
#save and exit the file because a text editor will open, in vim this is done by hittin `:wq<enter>` if vim is what opened up
./install.sh
This will fail but some of the steps in install.sh is needed to have dependencies to compile icamerasrc-git. So lets do that now
cd ~ #or wherever you want to clone a repo
git clone https://aur.archlinux.org/icamerasrc-git.git
cd icamerasrc-git
sed -i 's/branch=icamerasrc_slim_api/commit=17841ab6249aaa69bd9b3959262bf182dee74111/' PKGBUILD
makepkg -sic
Now this will compile and install the correct older icamerasrc-git, then go back to the folder where you checked out the repo in the previous step. And run ./install.sh
again
And then either Stefan has accepted my two pull requests, in case just install like normal on the newest git pull. And I am sorry I spread that out over two pull requests makes it harder for people to follow at home
When these are merge, just delete the repo you cloned and clone it again to "clean up" your local changes (you merged the two PRs locally including making a commit to merge the second PR)
EDIT: order of the steps changed
from archlinux-ipu6-webcam.
Thanks for your work @sigboe !
Following your steps, I still encounter issues.
First, icamerasrc-git complains about missing ipu6-camera-hal dependencies.
makepkg -sic
==> Création du paquet icamerasrc-git r59.17841ab-1 (mar. 23 mai 2023 09:52:38)
==> Vérification des dépendances pour l’exécution…
==> Installation des dépendances manquantes…
erreur : impossible de trouver la cible : ipu6-camera-hal
==> ERREUR : « pacman » n’a pas pu installer les dépendances manquantes.
==> Dépendances manquantes :
-> ipu6-camera-hal
==> Vérification des dépendances pour la compilation…
==> ERREUR : Échec de résolution des dépendances.
After installing intel-ipu6ep-camera-hal-git with yay -S intel-ipu6ep-camera-hal-git
(I'm on Alder Lake) it compiles and installs properly. I'm not sure this is really an issue, but it would be great to integrate it to your steps.
Following your steps, I clone the archlinux-ipu6-webcam repo and locally merge your two PRs, and then the problems begins. Pacman starts complaining about packages conflicts.
recherche des conflits entre paquets…
:: intel-ipu6-dkms-git-fix et intel-ipu6-dkms-git sont en conflit. Supprimer intel-ipu6-dkms-git ? [o/N]
erreur : un conflit de paquets impossible à résoudre a été détecté
erreur : la préparation de la transaction a échoué (conflit de dépendances )
:: intel-ipu6-dkms-git-fix et intel-ipu6-dkms-git sont en conflit
==> ATTENTION : Échec à l’installation des paquets.
~/Documents/VisualStudioCodeProjects/archlinux-ipu6-webcam
ERROR: Failed to install: intel-ipu6-dkms-git
I can't remove intel-ipu6-dkms-git cause it's needed by intel-ipu6ep-camera-bin and intel-ipu6ep-camera-hal-git.
sudo pacman -Rs intel-ipu6-dkms-git
vérification des dépendances…
erreur : la préparation de la transaction a échoué (la satisfaction des dépendances a échoué)
:: la suppression de intel-ipu6-dkms-git casse la dépendance « intel-ipu6-dkms-git » requise par intel-ipu6ep-camera-bin
:: la suppression de intel-ipu6-dkms-git casse la dépendance « intel-ipu6-dkms-git » requise par intel-ipu6ep-camera-hal-git
Do you have any clue for solving this ?
PS : sorry for the French outputs, can't motivate myself to translate it all !
from archlinux-ipu6-webcam.
@GorgetGuilhem Okay, try to remove all the related packages,
Then run the install.sh script, it will fail, but it will set up the correct dependencies first
then install the icamerasrc-git with the modified PKGBUILD,
then run the install.sh again
if this works I'll update the steps!
from archlinux-ipu6-webcam.
@sigboe thanks, it worked ! However the --workarround
flag does not seem to work anymore, camera doesn't start on Firefox. But that's a start ! I'll try investigate this point when I have time.
from archlinux-ipu6-webcam.
@GorgetGuilhem Maybe because it is spelled --workaround?
archlinux-ipu6-webcam/install.sh
Line 89 in 4d33274
Anyway, I will try to remember to make a PR to handle command line options in a different way.
from archlinux-ipu6-webcam.
@GorgetGuilhem I updated the previous commit with the fixes we discussed when I noticed more people saying it works for them
from archlinux-ipu6-webcam.
@sigboe perfect, thanks for your work :)
from archlinux-ipu6-webcam.
Related Issues (20)
- Pipeline could not be constructed: syntax error HOT 9
- Dell Precision 5470 - camera led is always on when the laptop is plugged HOT 2
- Camera does not work after upgrading to Kernel 6.7.1 HOT 49
- no output on dell xps (kernel v6.7.1) HOT 2
- CapabilityBoundingSet should not be empty
- Ubuntu v4l2loopback dkms will not build on kernel 6.8 HOT 1
- Would this work on fedora? HOT 1
- WARNING: erroneous pipeline: no element "icamerasrc" HOT 4
- Is it possible to modify the resolution HOT 4
- IDEA: Add pamac to default AUR package managers to make script work out-of-the-box on Manjaro HOT 1
- Error while building intel-ipu6ep-camera-hal-git (Dell XPS 13 9315) HOT 16
- Dell XPS 13 plus (9320) on Manjaro 6.6.25-1: Success HOT 1
- New versions of upstream dependencies break the driver. HOT 8
- Reporting success on X1 Carbon Gen 11, 6.6.27-1-MANJARO HOT 1
- driver upstreamed HOT 1
- usage of mainline driver? HOT 11
- Uninstall script not working and installation is broken after manual cleanup HOT 2
- Dell XPS 13 plus 9340 on Manjaro 6.6.32-1 HOT 2
- Canonical team estimates 6.8-compatible fix by July 1? HOT 3
- v4l2-relayd crashes (segfault) on 6.6.39-1-lts HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from archlinux-ipu6-webcam.