-
Notifications
You must be signed in to change notification settings - Fork 161
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
Unable to launch program - "Invalid argument" error #170
Comments
I'm getting the exact same issue on Ubuntu 20.04, git ref 80f04cf. Previous revisions give an issue with some missing python modules because I did not run the install script I guess.
|
Did you guys install the v4l2loopback DKMS module correctly? |
@fangfufu the v4l2loopback is from the ubuntu repo for me,
Looks correctly loaded to me. I stumbled upon this issue though that makes me think it might be a version that does not work with pyfakewebcam : jremmons/pyfakewebcam#7 I'll try to update the module today to see if this fixes the issue |
same here, I'm on the latest version of the module and the repo also using arch linux. |
I don't have Arch Linux installed to test this. Sorry. Can you guys try and use other software, like https://webcamoid.github.io/, to verify if your v4l2loopback actually works? |
I updated v4l2loopback to a manually-installed one (version 0.12.5) and now everything works fine. Looks like there is a compatibility issue with some versions of v4l2loopback |
The current version of v4l2-loopback-dkms in [community] is 0.12.5 though. And it works fine for rendering OBS' video (I also have a modded v4l2loopback-dc for droidcam, maybe that could cause problems?) |
@ngoonee I only have the v4l2loopback-dkms in version 0.12.5-2 from the community repository and it's not working for me either. I don't think your extra package is the cause. @fangfufu I was unable to install webcamoid but my webcam works just fine in obs. I'm not entirely sure if it's using v4l2loopback-dkms there though. |
So here's the interesting thing, with more random attempts I got it working. I had to modify my modprobe.d/v4l2loopback.conf to remove my fixed numbers. So I guess Linux-Fake-Background-Webcam had issue finding the 'right' device to output to because I wasn't using consecutive numbers. Would probably be good to have both 'webcam-path' (as we have now) and 'output-path' or something like that so we can define both. Still having issues though, since I can now apply this tool on my droidcam, but not on my integrated webcam due to it complaining about height and width not matching.... while it doesn't match for my droidcam device but it runs. More debugging required I guess. |
@ngoonee , you need to specify the correct webcam. I guess you can specify the correct opening mode for your real webcam. Maybe your integrated webcam does not support the default resolution specified by the script. |
I had this same problem. I ran |
Nevermind, I misconfigured the config file after moving the hard drive to a new machine... That was silly. |
I have the exact same problem:
I have tried everything. Here are my devices:
|
allo-'s virtual_webcam_background works with v4l2loopback. So I thinks it's a problem of this software. |
The default values where all wrong for me. It could not work not now not ever. It worked after I called it like that:
|
I have the same issue. Webcamoid works but no fake.py |
I'm unable to run this program, compiled directly from the latest git clone without any errors.
OS: Arch Linux x64
python3 version: 3.9.7
pip3 version: pip 21.3
The text was updated successfully, but these errors were encountered: