--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: obs-studio: virtual camera not working, modinfo not in path
- From: gregor herrmann <gregoa@debian.org>
- Date: Wed, 23 Dec 2020 01:22:56 +0100
- Message-id: <160868297638.22573.16993214254799977996.reportbug@jadzia.comodo.priv.at>
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;
--- End Message ---
--- Begin Message ---
Source: obs-studio
Source-Version: 26.1.2+dfsg1-1
Done: Sebastian Ramacher <sramacher@debian.org>
We believe that the bug you reported is fixed in the latest version of
obs-studio, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 977928@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sebastian Ramacher <sramacher@debian.org> (supplier of updated obs-studio package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 10 Jan 2021 20:13:04 +0100
Source: obs-studio
Architecture: source
Version: 26.1.2+dfsg1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Sebastian Ramacher <sramacher@debian.org>
Closes: 977928
Changes:
obs-studio (26.1.2+dfsg1-1) unstable; urgency=medium
.
[ gregor herrmann ]
* debian/patches: Help finding modinfo, Closes: #977928
* debian/README.Debian: Describe options to configure Virtual Camera output.
.
[ Sebastian Ramacher ]
* New upstream version releases
* debian/patches: Refresh patches
* debian/control: Add policykit-1 to Suggests
Checksums-Sha1:
e343dbe26b9e2b8b283ff22e9d9e69772f818dd7 2949 obs-studio_26.1.2+dfsg1-1.dsc
c6050cdfd7d766330be188550bff37052b59623a 5180548 obs-studio_26.1.2+dfsg1.orig.tar.xz
7da847d2f82651eb31b7ab96840ce333f973fe59 32216 obs-studio_26.1.2+dfsg1-1.debian.tar.xz
Checksums-Sha256:
4db117b80a25fcd949666dac5d2e78d9a6d4043f40317b997929bac31e5fa648 2949 obs-studio_26.1.2+dfsg1-1.dsc
961427ba58eb87c944d7e06f5a9f79c4f13e9b195244e3c2c15300dfb3532cc8 5180548 obs-studio_26.1.2+dfsg1.orig.tar.xz
c58ca8f98f2e1ca3b3e4ffa2b147670131c4acc8ba78c108d2c2669c119d05cd 32216 obs-studio_26.1.2+dfsg1-1.debian.tar.xz
Files:
3ec88aa5ff7e2fe43d9f1a381d5c18ea 2949 video optional obs-studio_26.1.2+dfsg1-1.dsc
e3a5b95e5596ee6d5adf973b65d6365a 5180548 video optional obs-studio_26.1.2+dfsg1.orig.tar.xz
cc15da7e083235eec03adb79494203bf 32216 video optional obs-studio_26.1.2+dfsg1-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE94y6B4F7sUmhHTOQafL8UW6nGZMFAl/7U5oACgkQafL8UW6n
GZNV3BAArtzCJRYLRWM7D/x3y9PNUR/grKOFJGLSO7GdUK89K45UBtyAVtGaX7fI
6vn3qx0+OaJPwl4g44GDSnt76zBcFaNtRju1vMnVdxg3WFCZMPZPHrYMEN4vdfRK
jYlDE+TdCmciPkgWmsHV8udT+iMjNNr98Ksh2rid380RckG+qs16LJSI4gRyIC1l
Fz6O162f8BxhZ5LHjq6iSttrWZ3EZF+wUXg2GfIuovckM+MHCEpPPdreyBXhUeYR
/LqgFI393AwkrPs0S8f/DYO9PSx1XTdGZl5BCcpusp3SWZ0UvqVtZAuNNIuxuWdF
T0WXgXjmgLpkfCONo9Hwjebptltn3laTf5rY+KyDH4v3OtB3s5G7rQt2UXEIupj+
Q16xwnqx860RiXa6FPAc7a7V0i7yGj4HArPButMNoJVGi40VdeS2OeqN8+Db/fAn
H/19pFdbk05sbCJc0EcT5SYny3icsg0v8cqtOHVGfOMHrtWB14cFyLXocAOCG2J2
kn8RiUbPhfl2QdFh3rUXCaw0QKii6c0jVXZXa7337qtrDm9FvHHat0QnEGyBpZg5
ScgUxrdIDkh9ZvVu059GUaqc5mmf4+QwwpsXBMX7Srz+nR0PbHivjXq/5T0LALyW
OEdmzTqsKkRzJPMvqDvGuVIlYfCg8ChwzZAVQf62i54xwhnE3jM=
=bzIB
-----END PGP SIGNATURE-----
--- End Message ---