Whoot! OBS Studio & Nextcloud Talk

88 views
Skip to first unread message

Roger M. Jenson

unread,
Jul 20, 2022, 5:04:34 PM7/20/22
to Milwaukee Linux Users Group
Nextcloud Talk can use the OBS Studio (version 27.2.4 64 bit) Virtual
Camera. With that said I ran into a known problem where I can only start
the OBS Studio Virtual Camera one time. If I stop the OBS Studio Virtual
Camera nothing happens when I click on the Start Virtual Camera button.
Closing and restarting OBS Studio did not solve the problem. Rebooting
the computer resolved the problem but that is a clunky solution. A bit
more research brought me to a bug report that helped me understand the
problem a find a more palatable work around. Exit OBS Studio, run the
following command line, and starting OBS Studio Virtual Cameraworks for now.

 sudo modprobe -r v4l2loopback

I am monitoring the bug report for updates.

Having Fun,
Roger M. Jenson

Gary Kramlich

unread,
Jul 21, 2022, 12:07:46 AM7/21/22
to Milwau...@googlegroups.com
OBS presents a policy kit prompt on the controlling terminal if there
is one, but it doesn't appear to like my root password. I ran into
this myself and I was trying to force it to use a GTK based prompt,
but ran out of time and had to move on to something else.
> --
> Homepage: http://www.milwaukeelug.org/home
> This forum online: https://groups.google.com/forum/#!forum/MilwaukeeLUG
> ---
> You received this message because you are subscribed to the Google Groups "Milwaukee Linux User's Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to MilwaukeeLUG...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/MilwaukeeLUG/bd4e2fe2-fd17-0a13-9250-008350c303cc%40eyedigix.com.



--
Thanks,

--
Gary Kramlich <gr...@reaperworld.com>

Roger M. Jenson

unread,
Jul 23, 2022, 9:28:09 AM7/23/22
to Milwau...@googlegroups.com
The workaround quit working for me last night. I found a trail of crumbs
in syslog.log and the journalctl log that indicated v4l2loopback was not
installed. I confirmed that v4l2loopback was installed so it is time to
search online for more information.

Using the following search turned up some interesting information.

pop!_os 22.04 modprobe: fatal: module v4l2loopback not found.

The search took me to the popos/pop github issue v4l2loopback dkms
module broken after 5.18.10 kernel release #2536. It is nice to know I
am not the only one seeing the problem. To confirm the issue I cloned a
Pop!_OS 22.04 virtual instance that was not updated to the kernel
5.18.10 and installed OBS Studio. The virtual camera was available using
the sudo modprobe -r v4l2loopback workaround.

One step forward and two steps back.

Having Fun,
Roger M. Jenson


Roger M. Jenson

unread,
Jul 27, 2022, 9:12:00 PM7/27/22
to Milwau...@googlegroups.com
Researching my issue with OBS Studio led me to many complaints and one
that matched my problem. OBS Studio does not work with the Linux kernel
5.18 but it works with kernel 5.17.

Learning how to boot the last kernel took a bit of research since I use
LUKS on my computer I was not able to break out of the boot process to
select the previous Linux kernel. I learned several commands to
determine what kernels are on my computer to build the following
workaround to change to the previous kernel shown below.

Linux frodo 5.17.15-76051715-generic
#202206141358~1655919116~22.04~1db9e34 SMP PREEMPT
Wed Jun 22 19 x86_64 x86_64 x86_64 GNU/Linux

Workaround:

sudo bootctl set-oneshot Pop_OS-oldkern.conf

Reboot the computer and provide passwords for LUKS and user login.

Run OBS Studio and start the virtual camera.

If I need to start the virtual camera again I close OBS Studio and run
the following command.

sudo modprobe -r v4l2loopback

After I am done using OBS Studio I reboot the computer to return to the
current kernel.

This workaround allows me to use the 5.18.10-76051810 kernel for
everyday work and drop down to kernel  5.17.15-76051715 when I need to
use the virtual camera in OBS Studio.

Having Fun,
Roger M. Jenson


Reply all
Reply to author
Forward
0 new messages