OBS Studio Virtual Camera: Failed to start streaming on '/dev/video2'

unaware431

New Member
Distribution: Arch Linux
OBS Version: 31.0.3
Kernel Version: 6.14.2-arch1-1
v4l2loopback-utils Version: 0.14.0-1
vulkan-radeon Version: 25.0.3-1
Code:
> v4l2-ctl --list-devices
OBS Virtual Camera (platform:v4l2loopback-000):
    /dev/video2

Laptop Camera: Laptop Camera (usb-0000:c4:00.4-1):
    /dev/video0
    /dev/video1
    /dev/media0

When I click "Start Virtual Camera" on OBS Studio I get the "Failed to start virtual camera" error. Checking the logs, I see "Failed to start streaming on '/dev/video2' (Invalid argument)." I tried downgrading to 0.13.2-1.

Code:
> sudo downgrade v4l2loopback-dkms
> sudo downgrade v4l2loopback-utils
> sudo rmmod -f v4l2loopback
> sudo modprobe v4l2loopback

I could start the Virtual Camera, but Google Meet and other conferencing software could not detect my virtual camera anymore. also some other programs need v4l2 so I can no longer keep it in the downgraded state. Are there any fixes other than waiting for OBS to correct their code?
 
Top