This guide provides steps to set up the OBS Virtual Camera on Fedora 41.
RPM Fusion is required for additional software packages. Verify your repository list to ensure RPM Fusion is enabled:
dnf repolist
Example output:
repo id repo name
fedora Fedora 41 - x86_64
updates Fedora 41 - x86_64 - Updates
rpmfusion-free RPM Fusion for Fedora 41 - Free
rpmfusion-nonfree RPM Fusion for Fedora 41 - Nonfree
...
If RPM Fusion is not present in the list, follow the next section to enable it.
You can browse the RPM Fusion repository at the following links:
For Fedora 41, download and install the required RPM Fusion packages using these commands:
wget https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-41.noarch.rpm
wget https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-41.noarch.rpm
sudo dnf install ./rpmfusion-free-release-41.noarch.rpm
sudo dnf install ./rpmfusion-nonfree-release-41.noarch.rpm
If OBS Studio is not installed, install it with the following command:
sudo dnf install obs
Install the necessary kernel module and utilities for the virtual camera:
sudo dnf install lsb_release v4l2loopback kmod-v4l2loopback
After installing the dependencies, load the v4l2loopback
kernel module with the following commands:
sudo depmod
sudo modprobe v4l2loopback devices=1 max_buffers=2 exclusive_caps=1 card_label="VirtualCam"
Use v4l2loopback-ctl
to further configure the virtual camera:
v4l2loopback-ctl
- If you encounter issues during installation or configuration, ensure your system is fully updated:
sudo dnf update
- You may need to reboot your system for changes to take effect.
- Check the status of the
v4l2loopback
module to confirm it is loaded:
lsmod | grep v4l2loopback
- RPM Fusion Free Repository
- RPM Fusion Nonfree Repository
- Original guide credit: Wains' Blog