ungoogled-chromium fails to use webcam

  • Done
  • quality assurance status badge
Details
5 participants
  • Efraim Flashner
  • Leo Famulari
  • Ludovic Courtès
  • Ludovic Courtès
  • Remco
Owner
unassigned
Submitted by
Ludovic Courtès
Severity
normal
L
L
Ludovic Courtès wrote on 24 Sep 2021 10:53
(address . bug-guix@gnu.org)
87mto2pd5n.fsf@inria.fr
Hello!

As of commit c582be4c38596a6a31a39c6799723dcd8b6eb909 (Sept. 23),
ungoogled-chromium fails to grab images from my webcam (for instance in
BigBlueButton instances), printing this message repeatedly:

[4685:3:0924/102919.814053:ERROR:video_stream_encoder.cc(1762)] Failed to encode frame. Error code: -7

I found that an older generation (Aug. 30) works for me:

guix time-machine --commit=f91ae9425bb385b60396a544afe27933896b8fa3 -- \
environment --ad-hoc ungoogled-chromium -- chromium

The regression must have been in between these two commits.

Thoughts?

Ludo’.
E
E
Efraim Flashner wrote on 24 Sep 2021 10:58
(name . Ludovic Courtès)(address . ludovic.courtes@inria.fr)(address . 50773@debbugs.gnu.org)
YU2TMBssX4M/RZne@3900XT
On Fri, Sep 24, 2021 at 10:53:56AM +0200, Ludovic Courtès wrote:
Toggle quote (20 lines)
> Hello!
>
> As of commit c582be4c38596a6a31a39c6799723dcd8b6eb909 (Sept. 23),
> ungoogled-chromium fails to grab images from my webcam (for instance in
> BigBlueButton instances), printing this message repeatedly:
>
> [4685:3:0924/102919.814053:ERROR:video_stream_encoder.cc(1762)] Failed to encode frame. Error code: -7
>
> I found that an older generation (Aug. 30) works for me:
>
> guix time-machine --commit=f91ae9425bb385b60396a544afe27933896b8fa3 -- \
> environment --ad-hoc ungoogled-chromium -- chromium
>
> The regression must have been in between these two commits.
>
> Thoughts?
>
> Ludo’.
>

I'm fighting ungoogled chromium for something unrelated, but I noticed I
needed to add thirdparty/libusb to %preserved-third-party-files to get
it to build headless for me. Perhaps it tries to reach out directly to
the webcam through usb itself?

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmFNkygACgkQQarn3Mo9
g1HYuw//TDeEpWDFoVOr9vZ90Zys2XxHQoa6eBES+6AFqgpagSsO3PIVmXJ+/85d
PO2KOgqa6gG6qKOBVmjUXNw3ZcZFmmSR6l9egZxqjQWlURIm49ne6QmMydxedLgJ
K3Dl96jbpEsArosvroViWm0Xn4E6hPkq1B/KniRsI1NMjX6H6Hvu7U9QGWowKw+4
XY4RhYohyTki5rrk3/QAmeEMPG4ojJQCHjd/TgIk8cWeyAsF+bLS34o7Fl1toA8z
giJUXk9ZpQ26hxPPjbKTBX5eyXg0BttH5Runka0SF/aJKy4FaBiOPTbWQTahMbvk
0FxOrR5CMVcr35c+a/XMszX3eAFBE1aNqyWtcKIkJB00jVZofq1aqCmhbPXlSuKq
FSklaI3/Q7W273MjSwEbN2eeszGn4kcSbDfo+CQr9hKzHeNQQGED+Ck8b4T2Tym3
tNrCniY7BERs9la0VbDHQ395colSwB3/7uEi2B+lsO3xnRpTJqZyCtHfkI0xWuB3
Xl0Nd2U6KEIJg07OXIs4beEw39DLLOsSlXb7fOCWWGe9i4NkFvVwsJOvV9CpxlFd
76D95++B973R5TB2xQ1xzZQ/O3J8zmR5O6fdUQz8HfmxO6Bcu3dBh+QbR9ipYuxb
GhhZzrVn53HgjN0FeYqohKqUAj3MLxRflVQ2716YXdJixIU/PUM=
=5YAJ
-----END PGP SIGNATURE-----


L
L
Ludovic Courtès wrote on 8 Nov 2021 09:46
(address . 50773@debbugs.gnu.org)(name . Marius Bakke)(address . marius@gnu.org)
874k8nrq53.fsf@gnu.org
Hello!

Ludovic Courtès <ludovic.courtes@inria.fr> skribis:

Toggle quote (6 lines)
> As of commit c582be4c38596a6a31a39c6799723dcd8b6eb909 (Sept. 23),
> ungoogled-chromium fails to grab images from my webcam (for instance in
> BigBlueButton instances), printing this message repeatedly:
>
> [4685:3:0924/102919.814053:ERROR:video_stream_encoder.cc(1762)] Failed to encode frame. Error code: -7

For the record, this is still the case with:

Toggle snippet (11 lines)
$ guix describe
Generacio 194 Nov 07 2021 23:40:30 (nuna)
guix bd41e59
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: bd41e590dd24e54797fb8b6854c244efd4d12df5
$ guix package -A ungoogled
ungoogled-chromium 95.0.4638.69-1 out gnu/packages/chromium.scm:489:2
ungoogled-chromium-wayland 95.0.4638.69-1 out gnu/packages/chromium.scm:957:2

Toggle quote (5 lines)
> I found that an older generation (Aug. 30) works for me:
>
> guix time-machine --commit=f91ae9425bb385b60396a544afe27933896b8fa3 -- \
> environment --ad-hoc ungoogled-chromium -- chromium

Still my preferred workaround. :-)

Efraim Flashner <efraim@flashner.co.il> skribis:

Toggle quote (5 lines)
> I'm fighting ungoogled chromium for something unrelated, but I noticed I
> needed to add thirdparty/libusb to %preserved-third-party-files to get
> it to build headless for me. Perhaps it tries to reach out directly to
> the webcam through usb itself?

I don’t know, not sure how to debug this.

Marius, do you have ideas of things to look at?

Thanks,
Ludo’.
R
issue appears to be fixed
(address . 50773@debbugs.gnu.org)
87h79y2vi6.fsf@rwv.io
I can not reproduce this problem (using jitsi meet with a webcam) since
commit:

f3b73e46df82297ffabaa3b32fc765fa3065cad0


I think this issue can be closed.
L
L
Leo Famulari wrote on 21 Jan 2022 19:27
(name . Remco)(address . me@rwv.io)(address . 50773-done@debbugs.gnu.org)
Yer6/vQX/rTmit+n@jasmine.lan
On Thu, Jan 20, 2022 at 05:59:45PM +0100, Remco wrote:
Toggle quote (9 lines)
> I can not reproduce this problem (using jitsi meet with a webcam) since
> commit:
>
> f3b73e46df82297ffabaa3b32fc765fa3065cad0
>
> See also: https://issues.guix.gnu.org/53301
>
> I think this issue can be closed.

Great! I am closing it now.
Closed
?