Package: obs-studio Version: 26.1.0+dfsg1-1 Severity: normal Tags: upstream patch Forwarded: https://github.com/obsproject/obs-studio/issues/3845
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Thansk for uploading the new obs version with virtual camera support. Unfortunately it's not working in Debian: warning: v4l2loopback not installed, virtual camera disabled The reason is that the code tries to use modinfo which is not in $PATH in Debian. Upstream issue: https://github.com/obsproject/obs-studio/issues/3845 Trivial patch attached. Note that this also affects modinfo, which is used in the other file relevant for virtual camera support; this doesn't affect me as I have v4l2loopback already loaded. The whole virtualcam support currently is a bit fragile (trying to load kernel modules, always using the first of potentially several /dev/video* devices … I wonder if a README would make sense, and I'd be happy to provide a draft. Cheers, gregor - -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'unstable-debug'), (500, 'oldoldstable'), (500, 'experimental'), (500, 'testing'), (500, 'stable'), (500, 'oldstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.9.0-5-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=C, LC_CTYPE=de_AT.utf8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/bash Init: sysvinit (via /sbin/init) LSM: AppArmor: enabled Versions of packages obs-studio depends on: ii libavcodec58 7:4.3.1-5 ii libavdevice58 7:4.3.1-5 ii libavformat58 7:4.3.1-5 ii libavutil56 7:4.3.1-5 ii libc6 2.31-6 ii libcurl3-gnutls 7.72.0-1 ii libfontconfig1 2.13.1-4.2 ii libfreetype6 2.10.4+dfsg-1 ii libgcc-s1 10.2.1-1 ii libjansson4 2.13.1-1 ii libluajit-5.1-2 2.1.0~beta3+dfsg-5.3 ii libmbedcrypto3 2.16.5-1 ii libmbedtls12 2.16.5-1 ii libmbedx509-0 2.16.5-1 ii libobs0 26.1.0+dfsg1-1 ii libpulse0 13.0-5 ii libpython3.9 3.9.1-1 ii libqt5core5a 5.15.2+dfsg-2 ii libqt5gui5 5.15.2+dfsg-2 ii libqt5svg5 5.15.2-2 ii libqt5widgets5 5.15.2+dfsg-2 ii libqt5x11extras5 5.15.2-2 ii libqt5xml5 5.15.2+dfsg-2 ii libspeexdsp1 1.2~rc1.2-1.1 ii libstdc++6 10.2.1-1 ii libswscale5 7:4.3.1-5 ii libudev1 247.2-2 ii libv4l-0 1.20.0-2 ii libx11-6 2:1.6.12-1 ii libx264-160 2:0.160.3011+gitcde9a93-2+b2 ii libxcb-randr0 1.14-2 ii libxcb-shm0 1.14-2 ii libxcb-xfixes0 1.14-2 ii libxcb-xinerama0 1.14-2 ii libxcb1 1.14-2 ii libxcomposite1 1:0.4.5-1 ii libxfixes3 1:5.0.3-2 ii python3 3.9.0-4 ii python3.9 3.9.1-1 Versions of packages obs-studio recommends: ii obs-plugins 26.1.0+dfsg1-1 Versions of packages obs-studio suggests: ii v4l2loopback-dkms 0.12.5-1 - -- no debconf information -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAl/ijeBfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ qgYfeBAAmVLXw2dbkbl7WzKVUCKXXJqh+Wgcy8KZLlt5uHw+o9kB6Hw1KeluCRQH JJEWn6Sp1ttP32LToBPIFTvnvKamg/eZl+hrTaxTT3Xt+QgTBCQiDtxe9773/XeY RLo/MIqk9EifBmCa45GeMBRJKpzJvdDKX++ftx3EK5ZZzd6snRIlVEkRPaFCUpkc l4BBGZ8QYYvK2V2yLtcrMY2E+Q+NYS0is2ArB984WjtPZxwbNHUk1NN1jMtiGS08 BOBudnivKWKQggU5PK6QQAwr2lItuLOq2blPdTh/INv8b39NHQAULU6t1mktjVfv 3aDRZJxzNNhHOIwdXyvqImUByp19puVPAXmvylYC/BuuFVKCh3SsWk54GzdHm3IJ geA2qrlkqxqGiLHTYqjva+OBGqMzzAmzHJRY09G8Xly1hrWO8wUTLMhNCAxs3f2g TTrx1pQPr3KQUo1hr7cIIJ2LMolD+jSIa5ZFNEdDoJenJuEn69vZeREz9hTFyU8J ZtmN7OO3bpWbO5JylB3Nv74QgjksewfRFWblH0TSWtVRYUJaI/eWi1s36xuy6NZd u2hnLVvX868t1VizQGMA7OJJ2emq3piXInnQHspS60B8UR0JM9KarTaGkrUh0MTK dFBVq09ulflZiDFAtvaxU7mEf6GwfIildq/t+SagCHUM23HPQpY= =VoDT -----END PGP SIGNATURE-----
--- a/plugins/linux-v4l2/linux-v4l2.c +++ b/plugins/linux-v4l2/linux-v4l2.c @@ -31,7 +31,7 @@ { bool loaded = false; - int ret = system("modinfo v4l2loopback >/dev/null 2>&1"); + int ret = system("PATH=$PATH:/sbin modinfo v4l2loopback >/dev/null 2>&1"); if (ret == 0) loaded = true;