Cannot start virtual camera in OBS in Ubuntu 24.04.2 LTS on Acer Swift

alanvoore

New Member
When I press "Start Virtual Camera" a popup shows up saying:

> Starting the output failed. Please check the log for details.
Note: If you are using the NVENC or AMD encoders, make sure your video drivers are up to date.

I have attached the log file for reference. I am using Ubuntu 24.04.2 LTS on Acer Swift. I also tried installing
Code:
ffmpeg
using
Code:
sudo apt install ffmpeg
but that didn't solve the error. I have also tried changing output setting but that ddin't solve the issue either. So how can I solve this problem. For reference, I installed OBS using the following commands:
Code:
sudo apt install v4l2loopback-dkms
sudo add-apt-repository ppa:obsproject/obs-studio
sudo apt update
sudo apt install obs-studio
 

Attachments

  • LogFileOBS.txt
    6 KB · Views: 8

alanvoore

New Member
@Tuna

When I try the command sudo apt install v4l2loopback-dkms , I get the following output:
Code:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
v4l2loopback-dkms is already the newest version (0.12.7-2ubuntu5).
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.

As you can see the v4l2loopback-dkms is already installed with version 0.12.7. Should I downgrad or upgrade that version. How should I proceed? Secure boot is enabled.
 

Tuna

Member
Secure boot is probably your issue then. v4l2loopback module is not signed as you build is locally and therefore is rejected when trying to be loaded. Try loading the module manually and I expect it to throw an error.
 
Top