feat: disable v4l2loopback kmod for Fedo...

Per earlier discussions about PipeWire obsoleting v4l2loopback, I've done a draft PR of this: https://github.com/ublue-os/akmods/pull/325
GitHub
feat: disable v4l2loopback kmod for Fedora 42+ by bsherman · Pull ...
PipeWire should now provide the features which previously made v4l2loopback necessary. Skip the build for F42+. Downstreams will need to adopt a similar conditional before we merge this to ensure n...
31 Replies
j0rge
j0rge•2w ago
I can help test this tomorrow
bsherman
bshermanOP•2w ago
I can PR this for bluefin and bazzite testing also might help in testing if you have an F42 without it I dunno?
j0rge
j0rge•2w ago
my plan was to start figuring out the pipewire parts first
bsherman
bshermanOP•2w ago
GitHub
feat: remove v4l2loopback and rpmfusion for Fedora 42+ by bsherman ...
PipeWire should now provide the features which previously made v4l2loopback necessary. This removes the v4l2loopback install. Additionally, this removes rpmfusion as it was only still required to p...
j0rge
j0rge•2w ago
like if I try it and it doesn't work then we know we gotta keep it
bsherman
bshermanOP•2w ago
yeah, i can draft this heh, i mean, right now beta probably doesn't have v4l2loopback anyway, due to rpmfusion failures
j0rge
j0rge•2w ago
nod
M2
M2•2w ago
I think the main thing people use v4l2loopback for is duplicating their screen as a webcam. Obs has button for it
j0rge
j0rge•2w ago
yeah
dreamyuki
dreamyuki•2w ago
v4l2loopback is also being used in droidcam software that can use your phone as a webcam
dreamyuki
dreamyuki•2w ago
GitHub
PipeWire Virtual Camera by columbarius · Pull Request #5377 · obs...
Description This MR creates a new plugin exposing the obs video feed as a virtual camera via PipeWire. Additionally it should create a framework to share code between different plugins connecting...
dreamyuki
dreamyuki•2w ago
pipewire virtualcam is still a draft since 2021
j0rge
j0rge•2w ago
I can't get the virtualcam to show up in the flatpak at all the button in the screenshots is missing
M2
M2•2w ago
Is v4l2loopback loaded?
dreamyuki
dreamyuki•2w ago
GitHub
linux-v4l2: Fix virtual camera start failure by stephematician · P...
Skip the 'non-compliant' usage of STREAMON ioctl for V4L2 compliant v4l2loopback module Description When starting the virtual camera: Check the OUTPUT capability is reported for th...
dreamyuki
dreamyuki•2w ago
there is a bug with v4l2loopback vcam on obs recently
j0rge
j0rge•2w ago
no I'm on LTS, I'm testing the pipewire thing to see if we need v4l2
v4l2loopback has become more compliant, and therefore broke workarounds in obs-studio.
M2
M2•2w ago
You maybe able make a scene that is like that button using a pipe wire source. The open up pwgraph or whatever it's called to route your video feed
j0rge
j0rge•2w ago
the camera itself works via the pipewire beta stuff, all that works fine
bsherman
bshermanOP•2w ago
beta... is this a beta feature but we get it for free in F42?
j0rge
j0rge•2w ago
it's part of obs, the pipewire support firefox moved to pipewire for cameras too
bsherman
bshermanOP•2w ago
awesome
j0rge
j0rge•2w ago
this issue appears to be upstream though, not an rpmfusion one it only needs to work for gts this week. so we have time for f42
bsherman
bshermanOP•2w ago
ok, well, the akmods and bluefin PRs are there, so do whatever need be done 🙂
j0rge
j0rge•2w ago
yeah I bet we end up with gts only while this gets sorted upstream I'll add it to the release notes if it comes to that
bsherman
bshermanOP•2w ago
@j0rge I see you approved this but it’s still a draft. I can make ready since it was just waiting on you to test
j0rge
j0rge•2w ago
yeah I can't get it to work at all on LTS so the pure flatpak pipewire thing isn't an option
dreamyuki
dreamyuki•2w ago
So v4l2loopback will stay in Fedora 42?
j0rge
j0rge•2w ago
we're going to build it in packages, we need to get rid of the rpmfusion dep, that cost us like 2 days not going to block 42 on it though
dreamyuki
dreamyuki•2w ago
dreamyuki
dreamyuki•2w ago
Terra repo already have v4l2loopback package

Did you find this page helpful?