USB Webcam in browser doesn’t work anymore - Part 2

Fortsetzung der Diskussion von USB Webcam in browser doesn't work anymore:

Thanks for your answers @Aragorn,
It’s brave (a chromium-based one) but I do have the same issues on FireFox and Chrome.
The permissions are set to allow but as I noticed regarding to the webcam-checker-page: https://webcamtests.com/ , it found the cam, but it’s not accessible

And after clicking on the button, test my webcam:

Well, have you tried that? Only one application can access your webcam at the time, so if you’re trying to use it with another application, then your test will fail.

As far as I know, I don’t have any other application started, that is connected with the webcam.
But if I would start zoom now, it would immediately found the cam and it would work.
Only in Browsers the cam didn’t work

  • Are you using firejail or anything of that sort?

  • Are your browsers from the repository or are they FlatPaks/Snaps/AppImages?

firejail, no

Browsers are from the Officially Repositories:
image

Then the only thing I can still think of would be a browser add-on that prevents your browser from making contact with your camera. :thinking:

That is impossible, as I don’t generally use firefox, and don’t have any plugins there installed.
And it happend on both browsers

Are you sure nothing is accessing your webcam when you are trying this? Something like kamoso for instance?

The error message is clearly saying that your camera is already in use by something. :man_shrugging:

I don’t think there isn’t any other process on that cam. kamoso is not installed.
I mean… would it work otherwise to start zoom and have the webcam working right after start of zoom?

But is there a way to test it the video-device is used anywhere (e.g. with a cli-command) ?

Wait, I’ve tested the cam now on discord, and there I also don’t have a screen (it shows the webcam device, but got no screen if used)

Please post the output of:

lsof | grep --ignore-case /dev/vid

…and:

v4l2-ctl --list-devices

Please.

1 Like

lsof | grep --ignore-case /dev/vid

Discord    2414                 suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2427 ThreadPoo suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2429 Chrome_Ch suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2431 GpuMemory suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2434 Composito suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2435 ThreadPoo suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2436 Composito suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2437 Composito suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2438 Composito suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2439 Composito suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2440 Composito suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2442 Discord   suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2478 Discord   suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2479 Discord   suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2480 Discord   suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2481 Discord   suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2504 Voice     suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2505 VideoDevi suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2506 SaveClip  suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2507 Voice     suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2508 Voice     suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2509 aecdump   suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2510 AudioDevi suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2511 AudioDevi suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2513 threaded- suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2514 webrtc_au suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2515 webrtc_au suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2516 threaded- suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2517 webrtc_au suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2518 webrtc_au suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2560 Utils     suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2655 GameUtils suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2699 Dedicated suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2717 ThreadPoo suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2725 AudioOutp suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2766 Media     suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  2902 Dedicated suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  5025 Dedicated suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  8204 Dedicated suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  8205 Dedicated suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  8206 Dedicated suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414  8207 Dedicated suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414 32225 ThreadPoo suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414 32508 ThreadPoo suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414 32509 ThreadPoo suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414 32784 ThreadPoo suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414 32785 ThreadPoo suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414 32786 ThreadPoo suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414 32787 ThreadPoo suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414 32810 TaskQueue suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414 32811 rtp_send_ suther  144u      CHR               81,0       0t0       1602 /dev/video0
Discord    2414 32918 AudioEnco suther  144u      CHR               81,0       0t0       1602 /dev/video0

v4l2-ctl --list-devices

Logitech BRIO (usb-0000:00:14.0-4):
        /dev/video0
        /dev/video1
        /dev/video2
        /dev/video3
        /dev/media0

Completely closed discord now and tried again… so lsof | grep --ignore-case /dev/vid return nothing, but same as before… means the webcam didn’t work at the webpage.

This quite clearly shows that discord has control of what I presume to be your webcam. I’m guessing you’re not trying to use it in the browser? And now I’m wondering if discord is closed when you’re trying to use it in the browser?

1 Like

OK, and what happens when you run it while you have Discord closed and the browser open?

1 Like

Ok, to be sure, I’ve did following:

  1. Removed discord from autostart
  2. fully reboot pc

Same behavior. Cam didn’t work.

lsof | grep --ignore-case /dev/vid returns nothing

v4l2-ctl --list-devices returns:

Logitech BRIO (usb-0000:00:14.0-1):
        /dev/video0
        /dev/video1
        /dev/video2
        /dev/video3
        /dev/media0

It was… After reboot discord wasn’t started and I’d tried in the browser with the above described results.

But… I’d rememberd that I have a micro-cam here, so I’veplugged it in via USB. This cam work on the webpage.
So I’m afraid it’s some kind of setup issue … as the Logitech BRIO cam work only with zoom?

Sounds like some kind of permission issue…perhaps clear (reset) the browsers permissions?

1 Like

Unfortunately it doesn’t work. I’ll reboot now with the windows partition and will see if the cam is recognized there. And maybe I will have a look if there is a firmware upgrade. Then I come back.

-------- .

@Mirdarthos @Aragorn
Ok, I’d tested the webcam at my windows partition. Is work as expected. There isn’t any new firmware at the logitech webpage.

But…

Finnaly I’ve solved it…

I’d installed the newest Kernel and reboot my pc.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.