Virtual Camera in OBS

HI.
I dont think this is specific to Garuda - maybe Arch?
I have zoom and OBS installed.
I am unable to get OBS to work as virtual camera in Zoom.
It has something to do with v4l2loopback and v4l2sink and is supposed to be on the TOOLS menu.
After trying different plugin installs from git, AUR, and searching youtube and other sites on this, I still cannot get the virtual camera to work in zoom.
I can share the OBS screen in Zoom but that defeats the purpose.
If anybody can give a pointer getting it to work, it would be much appreciated.
Thanks

System:    Kernel: 5.13.13-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0  
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=09115a0d-5f2f-4a83-883f-5328873ed184  
rw [email protected] quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3
Desktop: KDE Plasma 5.22.5 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 dm: SDDM  
Distro: Garuda Linux base: Arch Linux  
Machine:   Type: Desktop Mobo: N/A model: N/A serial: <filter> UEFI: American Megatrends v: 5.12  
date: 11/10/2018  
CPU:       Info: Quad Core model: Intel Core i5-8350U bits: 64 type: MT MCP arch: Kaby Lake note: check  
family: 6 model-id: 8E (142) stepping: A (10) microcode: EA cache: L2: 6 MiB  
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 30399  
Speed: 3258 MHz min/max: 400/3600 MHz Core speeds (MHz): 1: 3258 2: 3601 3: 3601 4: 3601  
5: 3600 6: 3600 7: 3600 8: 3601  
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled  
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable  
Type: mds mitigation: Clear CPU buffers; SMT vulnerable  
Type: meltdown mitigation: PTI  
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp  
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization  
Type: spectre_v2  
mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling  
Type: srbds mitigation: Microcode  
Type: tsx_async_abort mitigation: Clear CPU buffers; SMT vulnerable  
Graphics:  Device-1: Intel UHD Graphics 620 driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:5917  
class-ID: 0300  
Device-2: Logitech Webcam C310 type: USB driver: snd-usb-audio,uvcvideo bus-ID: 1-6:5  
chip-ID: 046d:081b class-ID: 0102 serial: <filter>  
Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: loaded: intel  
unloaded: modesetting alternate: fbdev,vesa display-ID: :0 screens: 1  
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9")  
Monitor-1: HDMI1 res: 1920x1080 hz: 60 dpi: 70 size: 700x390mm (27.6x15.4") diag: 801mm (31.5")  
OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 21.2.1 direct render: Yes  
Audio:     Device-1: Intel Sunrise Point-LP HD Audio driver: snd_hda_intel v: kernel  
alternate: snd_soc_skl bus-ID: 00:1f.3 chip-ID: 8086:9d71 class-ID: 0403  
Device-2: Intel USB PnP Sound Device type: USB driver: hid-generic,snd-usb-audio,usbhid  
bus-ID: 1-1.2:4 chip-ID: 8086:0808 class-ID: 0300  
Device-3: Logitech Webcam C310 type: USB driver: snd-usb-audio,uvcvideo bus-ID: 1-6:5  
chip-ID: 046d:081b class-ID: 0102 serial: <filter>  
Sound Server-1: ALSA v: k5.13.13-zen1-1-zen running: yes  
Sound Server-2: JACK v: 1.9.19 running: no  
Sound Server-3: PulseAudio v: 15.0 running: yes  
Sound Server-4: PipeWire v: 0.3.34 running: yes  
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 v: kernel  
port: e000 bus-ID: 01:00.0 chip-ID: 10ec:8168 class-ID: 0200  
IF: enp1s0 state: up speed: 1000 Mbps duplex: full mac: <filter>  
Device-2: Qualcomm Atheros AR9462 Wireless Network Adapter vendor: Lite-On driver: ath9k  
v: kernel port: e000 bus-ID: 02:00.0 chip-ID: 168c:0034 class-ID: 0280  
IF: wlp2s0 state: down mac: <filter>  
Device-3: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152 bus-ID: 2-1.1:4  
chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>  
IF: enp0s20f0u1u1 state: down mac: <filter>  
Bluetooth: Device-1: Toshiba Atheros AR3012 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-9:9  
chip-ID: 0930:021c class-ID: e001  
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>  
Drives:    Local Storage: total: 2.97 TiB used: 46.83 GiB (1.5%)  
SMART Message: Unable to run smartctl. Root privileges required.  
ID-1: /dev/sda maj-min: 8:0 vendor: Indilinx model: IND-S3MP 256G size: 238.47 GiB block-size:  
physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: B1T2 scheme: GPT  
ID-2: /dev/sdb maj-min: 8:16 type: USB vendor: Seagate model: Backup+ SL size: 931.51 GiB
block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> rev: 0143 scheme: MBR
ID-3: /dev/sdc maj-min: 8:32 type: USB vendor: Western Digital model: WD Elements 10B8
size: 1.82 TiB block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> rev: 1012
scheme: MBR
ID-4: /dev/sdd maj-min: 8:48 type: USB vendor: SanDisk model: Cruzer Blade size: 7.36 GiB
block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> rev: 1.27 scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition: ID-1: / raw-size: 188.95 GiB size: 188.95 GiB (100.00%) used: 46.82 GiB (24.8%) fs: btrfs
dev: /dev/sda3 maj-min: 8:3
ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%) used: 7.1 MiB (1.4%) fs: vfat
dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 188.95 GiB size: 188.95 GiB (100.00%) used: 46.82 GiB (24.8%) fs: btrfs
dev: /dev/sda3 maj-min: 8:3
ID-4: /var/log raw-size: 188.95 GiB size: 188.95 GiB (100.00%) used: 46.82 GiB (24.8%)
fs: btrfs dev: /dev/sda3 maj-min: 8:3
ID-5: /var/tmp raw-size: 188.95 GiB size: 188.95 GiB (100.00%) used: 46.82 GiB (24.8%)
fs: btrfs dev: /dev/sda3 maj-min: 8:3
Swap:      Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 7.56 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
Sensors:   System Temperatures: cpu: 41.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:      Processes: 272 Uptime: 42m wakeups: 0 Memory: 7.56 GiB used: 3.6 GiB (47.6%) Init: systemd
v: 249 tool: systemctl Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: 1523 pacman: 1514
lib: 379 snap: 9 Shell: fish v: 3.3.1 default: Bash v: 5.1.8 running-in: konsole inxi: 3.3.06

In basketball this is called the "Hail Mary shot" :slight_smile:
I don't know anything about this, but I quickly found this one on the forum:

If you want to give it a try...
Edit: Disregard, of course, I misread the post and thought OBS worked badly, not that it didn't.
Regarding v4l2sink, I see in the pinned comments on the AUR that it is not required anymore, for v4l2loopback-dkms I guess you already tried both the arch and AUR git versions...
No idea, sorry...

3 Likes

I, too, first thought to use OBS as a virtual webcam, but then refused it. I use Webcamoid from AUR, and he copes with it perfectly. Also, for his work, you need to install the AKVCAM kernel module, it also has in AUR. And it is much easier than to make crutches with OBS.

1 Like

Thanks Pheidologeton, Ill give that a run.
I did have success with the following commands found here:
https://news.ycombinator.com/item?id=23409454
But I did find that I had to run the point number 3 after a reboot.
So it is working fine now. Will still give webcamoid a try.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.