I used this on Ubuntu and I didn’t have to do either of the two. I do have Secure Boot enabled and I chose Fedora because it is one of the very few distros that work with it enabled.
I remember having to install a package named v4l2loopback-dkms on Ubuntu. Is there an equivalent on Fedora? I search for a package with the same name but to no avail.
Here’s two screenshots showing the screens that will present themselves the next time you reboot to enroll the public key in MOK (Machine Owner Key key management system) :
Excerpt from journal shows that the v4l2loopback module was successfully built and installed:
Sep 06 09:20:48 hx90 systemd: Starting email@example.com_64.service - Builds and install new kmods from akmod for a given kernel...
Sep 06 09:20:48 hx90 systemd-inhibit: Checking kmods exist for 5.19.7-200.fc36.x86_64[ OK ]
Sep 06 09:20:59 hx90 systemd-inhibit: Building and installing v4l2loopback-kmod[ OK ]
Sep 06 09:20:59 hx90 systemd: Finished firstname.lastname@example.org_64.service - Builds and install new kmods from akmod for a given kernel.
I followed this procedure but now I’m getting this error in the logs: Failed to insert module 'v4l2loopback': Key was rejected by service
What am I doing wrong?
I had manually installed and self-signed v4l2loopback which worked until the kernel was updated.
I didn’t uninstall this manual version and don’t know how to.
Disabling Secure Boot solved the problem for me. There probably is a way to do it with secure boot too but I am lacking the energy to do this.
I’d really rather have a userspace method to pipe video around applications.
A third party app that the user compiles which uses kernel modules would need recompiled (in a way that signs the module) with every kernel update while using secure boot. The alternative is to disable secure boot or uninstall the app.