Bug Report OBS-STUDIO 23.1.0 breaks V4L ?

darksurf

New Member
I just noticed If I install 23.0.1 , I can add a Source and Select V4L and add my webcam, but upgrading to 23.1.0 breaks that and I just get a black screen. After looking at my options to add a source, the V4L option is missing. Downgrading back to 23.0.1 fixes the issue. Anyone else experiencing this?
 

Attachments

  • 2019-04-07 13-50-01.txt
    4.2 KB · Views: 29

Tuna

Member
Code:
01:50:01 PM.981: os_dlopen(/usr//lib64/obs-plugins/linux-v4l2.so->/usr//lib64/obs-plugins/linux-v4l2.so): /usr//lib64/obs-plugins/linux-v4l2.so: undefined symbol: udev_new
01:50:01 PM.981: 
01:50:01 PM.981: Module '/usr//lib64/obs-plugins/linux-v4l2.so' not loaded

Perhaps you need to install some udev library to make it work. I haven't followed the changes that may have happened to the plugin.
 

darksurf

New Member
Code:
01:50:01 PM.981: os_dlopen(/usr//lib64/obs-plugins/linux-v4l2.so->/usr//lib64/obs-plugins/linux-v4l2.so): /usr//lib64/obs-plugins/linux-v4l2.so: undefined symbol: udev_new
01:50:01 PM.981:
01:50:01 PM.981: Module '/usr//lib64/obs-plugins/linux-v4l2.so' not loaded

Perhaps you need to install some udev library to make it work. I haven't followed the changes that may have happened to the plugin.
You would think that, but reinstalling 23.0.1 , everything works fine.
 

Tuna

Member
It depends on how both versions were build. The udev support is a compile time feature. Sits either missing or present. If present it requires libudev.
 

darksurf

New Member
Libudev is indeed installed. I'm running Sabayon Linux (Gentoo Based) and we use systemd and udev by default.
 

Tuna

Member
So where do these OBS versions come from? Compiled yourself? From the Linux distro? Maybe it is a bug at their end?

Verify that these work:
Code:
$ ldd linux-v4l2.so | grep udev
    libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007fd2a8cff000)
$ nm -D /lib/x86_64-linux-gnu/libudev.so | grep udev_new
000000000001a780 T udev_new
 
Top