-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Webcam from qubes-video-companion is not seen by firefox in fedora 41 #9639
Comments
I have the same problem on Fedora 41. |
Follow up on this: The fedora packaged firefox sets the |
Theoretically it should work just fine with pipewire too, I guess the issue is somewhere there. |
I've just found that recent blog post (https://jgrulich.cz/2024/12/13/when-your-webcam-doesnt-work-solving-firefox-and-pipewire-issues/) and will try to dig the issue with it in mind soon. |
Update: If I run |
This suggests camera hotplug support in pipewire broken. Do you see anything interesting in |
Only restarting wireplumber after starting qubes-video-companion works for me.
wireplumber status before restart:
wireplumber status after restart:
|
But it sees it in "Devices" before restart already. Interesting |
Related issue maybe? Main answer to this is to use pipewire directly instead of v4l2loopback or to patch v4l2loopback. |
This looks plausible. Video companion outputing via pipewire definitely is an option, but since many apps (like Firefox in its default configuration) won't see it then, so I don't think it's something we can switch to by default just yet. I see there is a v4l2loopback workaround patch, I guess we can try this way for now. |
I built v4l2loopback with the specified patch and tried it on a fedora in-qube kernel and the source node is created correctly, but for some reason I still have to restart wireplumber for firefox to detect the virtual camera. |
What about using both PipeWire and v4l2loopback? That will result in two video sources being shown in some applications, but it shouldn’t matter which one the user picks. Native PipeWire support is definitely the best option. |
I wonder if this is more widespread. I'm able to replicate the problem with Debian 12. Unfortunately, the above solution does not resolve the problem in Debian 12.
Status of the
|
I had some other errors with the The errors were "libcamera not found" and "WARN IPAManager ipa_manager.cpp:154 No IPA found in...". |
I fixed this by moving the v4l2loopback modprobe command into the |
How to file a helpful issue
Qubes OS release
Qubes release 4.2.3 (R4.2)
Brief summary
The webcam provided by qubes-video-companion is correctly seen with chromium-browser and cheese in an AppVM with fedora 41 as template. The webcam is not seen by firefox 133.0 in that AppVM, not present in the devices list (it was with firefox 132.0.1 and template fedora 39).
Steps to reproduce
In AppVM based on template fedora 41, install qubes-video-companion, start it, and try to use the webcam with cheese (it works), and firefox (it does not work).
Expected behavior
The camera is recognized and usable.
Actual behavior
The camera is absent from the available devices.
The text was updated successfully, but these errors were encountered: