Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1858433 - USB Webcams not detected on firefox only for aarch64
Summary: USB Webcams not detected on firefox only for aarch64
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 32
Hardware: aarch64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARMTracker
TreeView+ depends on / blocked
 
Reported: 2020-07-17 23:28 UTC by Sahaj Sarup
Modified: 2020-08-04 16:33 UTC (History)
13 users (show)

Fixed In Version: firefox-79.0-3.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-04 16:33:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
screenshot (41.07 KB, image/png)
2020-07-17 23:28 UTC, Sahaj Sarup
no flags Details

Description Sahaj Sarup 2020-07-17 23:28:23 UTC
Created attachment 1701599 [details]
screenshot

Description of problem:

I have two identical systems, running the exact same fedora builds. The only difference being one is amd64 and the other is aarch64. All package versions being exactly the same.

On the Aarch64, firefox does not detect USB webcam (including mic) and only provides an option for "Default Device" which produces a test audio tone and a test video.

The same setup works fine on Chromium and any other application that uses UVC.

The same webcam works fine on firefox on my amd64 system.

Webcams Tested: Logitech C920 and C270.


Version-Release number of selected component (if applicable): firefox-78.0.2-1.fc32.aarch64

How reproducible: Consistent


Steps to Reproduce:
1. Open Firefox
2. Goto https://webcamtests.com/
3. Click "Test My Webcam"

Actual results:
Firefox only presents with "Default Device"


Expected results:
Firefox should provide with options for "Logitech C920" or any other webcam attached.


Additional info: Check attachment for screenshots.

Comment 1 Martin Stransky 2020-07-21 09:16:05 UTC
Is the webcam detected by any other application? Like Gnome Camera or so.
If so, can you try upstream binary? How-to is here:
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems?rd=Bug_info_Firefox#Testing_Mozilla_binaries
Thanks.

Comment 2 Peter Robinson 2020-07-21 12:37:21 UTC
(In reply to Martin Stransky from comment #1)
> Is the webcam detected by any other application? Like Gnome Camera or so.

Mentioned it works in Chrome

Comment 3 Sahaj Sarup 2020-07-21 18:28:03 UTC
(In reply to Martin Stransky from comment #1)
> Is the webcam detected by any other application? Like Gnome Camera or so.

Yes as mentioned chromium, vlc, cheese etc work fine.

> If so, can you try upstream binary? How-to is here:
> https://fedoraproject.org/wiki/
> How_to_debug_Firefox_problems?rd=Bug_info_Firefox#Testing_Mozilla_binaries

The first part of that instruction is "Download Firefox [4]/Thunderbird[5] from Mozilla site directly ."
Mozilla doesn't provide GNU/Linux aarch64 builds.

> Thanks.

Comment 4 Martin Stransky 2020-07-24 07:20:37 UTC
Well, I don't have such hardware available. Which HW do you use? Is that some *PI with webcam or so?

Comment 5 Sahaj Sarup 2020-07-24 17:27:28 UTC
(In reply to Martin Stransky from comment #4)
> Well, I don't have such hardware available. Which HW do you use? Is that
> some *PI with webcam or so?

I have tested on two boards so far:
1. AMD Seattle based SoftIron 3000
2. Rockchip RK3399 based Rock960

both with identical results.

Comment 6 Peter Robinson 2020-07-28 17:44:40 UTC
So this was because we disable webrtc on arm platforms, did a scratch build for aarch64 and had it verified.

Comment 7 Peter Robinson 2020-07-28 17:50:15 UTC
I pushed the change to rawhide git for the next firefox build

Comment 8 Peter Robinson 2020-07-30 18:49:42 UTC
Should be fixed in firefox-79.0-3.fc32

Comment 9 Sahaj Sarup 2020-08-04 16:33:50 UTC
fixed in firefox-79.0-3.fc32


Note You need to log in before you can comment on or make changes to this bug.