[Solved] Chromium webcam problems

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
mdspencer_uk
Level 1
Level 1
Posts: 35
Joined: Wed Aug 07, 2013 6:15 am

[Solved] Chromium webcam problems

Post by mdspencer_uk »

Today I installed an update to Chromium. Before this, my two webcams worked fine. I was also experimenting with v4l2loopback and virtual cameras created using this and OBS studio were working well.

Following today's update to version "116.0.5845.96 (Official Build) for Linux Mint (64-bit)", Chromium finds the webcams but just shows black screens. Firefox identifies and can use both webcams.

A friend who I speak with daily has exactly the same issue. I imagine it is the Chromium update and would be quite happy reverting to the previous version, if needs be. If, however, I can provide more info and help resolve the issue for both of us (and potentially others), I'd be happy to carry out any necessary diagnostic steps.

System info below:

Code: Select all

System:
  Kernel: 6.2.0-26-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 5.8.4 tk: GTK 3.24.33
    wm: muffin dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME X570-PRO v: Rev X.0x serial: <superuser required>
    UEFI: American Megatrends v: 4002 date: 06/15/2021
CPU:
  Info: 12-core model: AMD Ryzen 9 5900X bits: 64 type: MT MCP arch: Zen 3 rev: 0 cache:
    L1: 768 KiB L2: 6 MiB L3: 64 MiB
  Speed (MHz): avg: 3594 high: 4507 min/max: 2200/4950 boost: enabled cores: 1: 3599 2: 4507
    3: 3602 4: 3600 5: 3649 6: 3619 7: 2200 8: 3598 9: 4496 10: 3600 11: 3600 12: 3599 13: 3607
    14: 4505 15: 3617 16: 2200 17: 3908 18: 3607 19: 2200 20: 3609 21: 4505 22: 3612 23: 3600
    24: 3618 bogomips: 177598
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA GA104 [GeForce RTX 3070 Ti] vendor: Micro-Star MSI driver: nvidia v: 525.125.06
    pcie: speed: 16 GT/s lanes: 16 ports: active: none off: DP-1 empty: DP-2,DP-3,HDMI-A-1
    bus-ID: 08:00.0 chip-ID: 10de:2482
  Device-2: Razer USA Kiyo Pro type: USB driver: snd-usb-audio,uvcvideo bus-ID: 2-3:6
    chip-ID: 1532:0e05
  Device-3: Logitech Logi 4K Stream Edition type: USB
    driver: hid-generic,snd-usb-audio,usbhid,uvcvideo bus-ID: 6-2:2 chip-ID: 046d:086b
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia display-ID: :0 screens: 1
  Screen-1: 0 s-res: 5120x1440 s-dpi: 96
  Monitor-1: DP-0 res: 5120x1440 dpi: 130048 diag: 1mm (0.1")
  OpenGL: renderer: NVIDIA GeForce RTX 3070 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 525.125.06
    direct render: Yes
Audio:
  Device-1: NVIDIA GA104 High Definition Audio vendor: Micro-Star MSI driver: snd_hda_intel
    v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 08:00.1 chip-ID: 10de:228b
  Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
    speed: 16 GT/s lanes: 16 bus-ID: 0a:00.4 chip-ID: 1022:1487
  Device-3: GN Netcom Jabra Engage 75 type: USB driver: jabra,snd-usb-audio,usbhid bus-ID: 1-2:3
    chip-ID: 0b0e:1113
  Device-4: Razer USA Kiyo Pro type: USB driver: snd-usb-audio,uvcvideo bus-ID: 2-3:6
    chip-ID: 1532:0e05
  Device-5: Elgato Systems GmbH Wave:3 type: USB driver: snd-usb-audio bus-ID: 5-4:3
    chip-ID: 0fd9:0070
  Device-6: Logitech Logi 4K Stream Edition type: USB
    driver: hid-generic,snd-usb-audio,usbhid,uvcvideo bus-ID: 6-2:2 chip-ID: 046d:086b
  Sound Server-1: ALSA v: k6.2.0-26-generic running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.99.1 running: yes
  Sound Server-4: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel pcie: speed: 2.5 GT/s
    lanes: 1 port: f000 bus-ID: 04:00.0 chip-ID: 8086:1539
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: lxcbr0 state: down mac: <filter>
  IF-ID-2: virbr0 state: down mac: <filter>
  IF-ID-3: vmnet1 state: unknown speed: N/A duplex: N/A mac: <filter>
  IF-ID-4: vmnet8 state: unknown speed: N/A duplex: N/A mac: <filter>
Bluetooth:
  Device-1: TP-Link UB5A Adapter type: USB driver: btusb v: 0.8 bus-ID: 1-5:4 chip-ID: 2357:0604
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 3.0 lmp-v: 5.1
    sub-v: d922
Drives:
  Local Storage: total: 5.09 TiB used: 2.34 TiB (46.0%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 2TB size: 1.82 TiB speed: 31.6 Gb/s
    lanes: 4 serial: <filter> temp: 63.9 C
  ID-2: /dev/sda vendor: Crucial model: CT4000MX500SSD1 size: 3.27 TiB speed: 6.0 Gb/s
    serial: <filter>
Partition:
  ID-1: / size: 960.19 GiB used: 675.41 GiB (70.3%) fs: ext4 dev: /dev/nvme0n1p5
  ID-2: /boot/efi size: 96 MiB used: 31.1 MiB (32.4%) fs: vfat dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 6 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Device-1: 1-1:2 info: Corsair M55 RGB PRO Gaming Mouse type: Mouse,HID,Keyboard
    driver: hid-generic,usbhid rev: 2.0 speed: 12 Mb/s chip-ID: 1b1c:1b70
  Device-2: 1-2:3 info: GN Netcom Jabra Engage 75 type: Audio,HID
    driver: jabra,snd-usb-audio,usbhid rev: 2.0 speed: 12 Mb/s chip-ID: 0b0e:1113
  Device-3: 1-5:4 info: TP-Link UB5A Adapter type: Bluetooth driver: btusb rev: 1.1
    speed: 12 Mb/s chip-ID: 2357:0604
  Device-4: 1-6:5 info: Logitech Unifying Receiver type: Keyboard,Mouse,HID
    driver: logitech-djreceiver,usbhid rev: 2.0 speed: 12 Mb/s chip-ID: 046d:c52b
  Hub-2: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
  Device-1: 2-3:6 info: Razer USA Kiyo Pro type: Video,Audio driver: snd-usb-audio,uvcvideo
    rev: 3.2 speed: 5 Gb/s chip-ID: 1532:0e05
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 6 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Device-1: 3-4:2 info: ASUSTek AURA LED Controller type: HID driver: hid-generic,usbhid
    rev: 2.0 speed: 12 Mb/s chip-ID: 0b05:18f3
  Hub-4: 4-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
  Hub-5: 5-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Device-1: 5-3:2 info: Corsair K70 RGB PRO Optical-Mechanical Gaming Keyboard
    type: Keyboard,HID driver: hid-generic,usbhid rev: 2.0 speed: 480 Mb/s chip-ID: 1b1c:1bc6
  Device-2: 5-4:3 info: Elgato Systems GmbH Wave:3 type: Audio driver: snd-usb-audio rev: 2.0
    speed: 12 Mb/s chip-ID: 0fd9:0070
  Hub-6: 6-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
  Device-1: 6-2:2 info: Logitech Logi 4K Stream Edition type: Video,Audio,HID
    driver: hid-generic,snd-usb-audio,usbhid,uvcvideo rev: 3.1 speed: 5 Gb/s chip-ID: 046d:086b
Sensors:
  System Temperatures: cpu: 54.0 C mobo: 56.0 C gpu: nvidia temp: 58 C
  Fan Speeds (RPM): fan-1: 0 fan-2: 1139 fan-3: 0 fan-4: 0 fan-5: 0 fan-6: 0 fan-7: 0
    gpu: nvidia fan: 0%
Repos:
  Packages: 4530 apt: 4494 flatpak: 36
  Active apt repos in: /etc/apt/sources.list
    1: deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https: //download.virtualbox.org/virtualbox/debian focal contrib
  Active apt repos in: /etc/apt/sources.list.d/cudatext.list
    1: deb [trusted=yes] https: //apt.fury.io/cudatext/ /
  Active apt repos in: /etc/apt/sources.list.d/lens.list
    1: deb [arch=amd64 signed-by=/usr/share/keyrings/lens-archive-keyring.gpg] https: //downloads.k8slens.dev/apt/debian stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https: //www.mirrorservice.org/sites/packages.linuxmint.com/packages victoria main upstream import backport
    2: deb http: //www.mirrorservice.org/sites/archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http: //www.mirrorservice.org/sites/archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //www.mirrorservice.org/sites/archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/signal-xenial.list
    1: deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https: //updates.signal.org/desktop/apt xenial main
  No active apt repos in: /etc/apt/sources.list.d/steam-beta.list
  Active apt repos in: /etc/apt/sources.list.d/steam-stable.list
    1: deb [arch=amd64,i386 signed-by=/usr/share/keyrings/steam.gpg] https: //repo.steampowered.com/steam/ stable steam
    2: deb-src [arch=amd64,i386 signed-by=/usr/share/keyrings/steam.gpg] https: //repo.steampowered.com/steam/ stable steam
  Active apt repos in: /etc/apt/sources.list.d/tatokis-alarm-clock-applet-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/tatokis-alarm-clock-applet-jammy.gpg] https: //ppa.launchpadcontent.net/tatokis/alarm-clock-applet/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/tatokis-ckb-next-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/tatokis-ckb-next-jammy.gpg] https: //ppa.launchpadcontent.net/tatokis/ckb-next/ubuntu jammy main
Info:
  Processes: 486 Uptime: 28m Memory: 62.7 GiB used: 5.88 GiB (9.4%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12/9 Client: Unknown python3.10 client inxi: 3.3.13
Last edited by LockBot on Wed Feb 21, 2024 11:00 pm, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Hoser Rob
Level 20
Level 20
Posts: 11776
Joined: Sat Dec 15, 2012 8:57 am

Re: Chromium webcam problems

Post by Hoser Rob »

I would never ever revert to a deprecated browser release, it's very insecure. I don't care in general if my software is the newest except for browsers. Have you tried Chrome or Firefox (I prefer firefox-esr actually)?
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
songhanjei
Level 1
Level 1
Posts: 1
Joined: Mon Aug 21, 2023 2:29 pm

Re: Chromium webcam problems

Post by songhanjei »

I also get the same problem with the same version of chromium, just recently updated. The webcam works on firefox, but doesn't work on chromium. It gets a black screen.

Code: Select all

System:
  Kernel: 5.15.0-79-generic x86_64 bits: 64 compiler: gcc v: 11.3.0 Desktop: Cinnamon 5.8.4
    tk: GTK 3.24.33 wm: muffin dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: LENOVO product: 21E60064AU v: ThinkPad E15 Gen 4
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 21E60064AU v: SDK0T76463 WIN serial: <superuser required> UEFI: LENOVO
    v: R1SET47W(1.18) date: 02/25/2023
Battery:
  ID-1: BAT0 charge: 45.4 Wh (99.8%) condition: 45.5/45.0 Wh (101.0%) volts: 12.2 min: 11.3
    model: Celxpert LNV-5B10X02600 serial: <filter> status: Full
CPU:
  Info: 10-core (2-mt/8-st) model: 12th Gen Intel Core i5-1235U bits: 64 type: MST AMCP
    arch: Alder Lake rev: 4 cache: L1: 928 KiB L2: 6.5 MiB L3: 12 MiB
  Speed (MHz): avg: 2582 high: 4066 min/max: 400/4400:3300 cores: 1: 2882 2: 1103 3: 4057
    4: 4066 5: 795 6: 1804 7: 3098 8: 1833 9: 2553 10: 3100 11: 2600 12: 3100 bogomips: 59904
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel vendor: Lenovo driver: i915 v: kernel ports: active: HDMI-A-1 off: eDP-1
    empty: DP-1,DP-2 bus-ID: 00:02.0 chip-ID: 8086:46a8
  Device-2: Luxvisions Innotech Integrated RGB Camera type: USB driver: uvcvideo bus-ID: 3-7:4
    chip-ID: 30c9:0057
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting unloaded: fbdev,vesa
    gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96
  Monitor-1: HDMI-1 mapped: HDMI-A-1 model: HP M22f FHD res: 1920x1080 dpi: 102
    diag: 561mm (22.1")
  OpenGL: renderer: Mesa Intel Graphics (ADL GT2) v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1
    direct render: Yes
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: Lenovo
    driver: sof-audio-pci-intel-tgl bus-ID: 00:1f.3 chip-ID: 8086:51c8
  Sound Server-1: ALSA v: k5.15.0-79-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel bus-ID: 00:14.3
    chip-ID: 8086:51f0
  IF: wlp0s20f3 state: up mac: <filter>
  Device-2: Intel Ethernet I219-V vendor: Lenovo driver: e1000e v: kernel port: N/A
    bus-ID: 00:1f.6 chip-ID: 8086:1a1f
  IF: enp0s31f6 state: down mac: <filter>
  IF-ID-1: docker0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 3-10:6 chip-ID: 8087:0033
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
  Local Storage: total: 476.94 GiB used: 335.74 GiB (70.4%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WD PC SN740 SDDQMQD-512G-1001
    size: 476.94 GiB speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 43.9 C
Partition:
  ID-1: / size: 465.29 GiB used: 335.59 GiB (72.1%) fs: ext4 dev: /dev/dm-1 mapped: vgmint-root
  ID-2: /boot size: 1.61 GiB used: 147.3 MiB (9.0%) fs: ext4 dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 511 MiB used: 6.1 MiB (1.2%) fs: vfat dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: partition size: 980 MiB used: 0 KiB (0.0%) priority: -2 dev: /dev/dm-2
    mapped: vgmint-swap_1
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 1 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Hub-2: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 20 Gb/s chip-ID: 1d6b:0003
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Device-1: 3-3:2 info: Logitech G203 LIGHTSYNC Gaming Mouse type: Mouse,HID
    driver: hid-generic,usbhid rev: 2.0 speed: 12 Mb/s chip-ID: 046d:c092
  Device-2: 3-6:3 info: Shenzhen Goodix FingerPrint type: <vendor specific> driver: N/A rev: 2.0
    speed: 12 Mb/s chip-ID: 27c6:550a
  Device-3: 3-7:4 info: Luxvisions Innotech Integrated RGB Camera type: Video driver: uvcvideo
    rev: 2.0 speed: 480 Mb/s chip-ID: 30c9:0057
  Hub-4: 3-9:5 info: Genesys Logic Hub ports: 4 rev: 2.1 speed: 480 Mb/s chip-ID: 05e3:0610
  Device-1: 3-9.4:7 info: Razer USA BlackWidow (2019) type: Keyboard,Mouse
    driver: hid-generic,usbhid rev: 2.0 speed: 12 Mb/s chip-ID: 1532:0241
  Device-2: 3-10:6 info: Intel type: Bluetooth driver: btusb rev: 2.0 speed: 12 Mb/s
    chip-ID: 8087:0033
  Hub-5: 4-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
  Hub-6: 4-1:2 info: Genesys Logic USB3.0 Hub ports: 4 rev: 3.0 speed: 5 Gb/s chip-ID: 05e3:0617
Sensors:
  System Temperatures: cpu: 49.0 C mobo: N/A
  Fan Speeds (RPM): fan-1: 0
Repos:
  Packages: apt: 2864
  No active apt repos in: /etc/apt/sources.list
  No active apt repos in: /etc/apt/sources.list.d/jami.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https: //mirror.aarnet.edu.au/pub/linuxmint-packages victoria main upstream import backport
    2: deb http: //mirror.aarnet.edu.au/pub/ubuntu/archive jammy main restricted universe multiverse
    3: deb http: //mirror.aarnet.edu.au/pub/ubuntu/archive jammy-updates main restricted universe multiverse
    4: deb http: //mirror.aarnet.edu.au/pub/ubuntu/archive jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/slack.list
    1: deb https: //packagecloud.io/slacktechnologies/slack/debian/ jessie main
Info:
  Processes: 383 Uptime: 21m Memory: 15.3 GiB used: 2.21 GiB (14.5%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 clang: 14.0.0-1ubuntu1.1
  Client: Unknown python3.10 client inxi: 3.3.13
drWatsnLosn
Level 1
Level 1
Posts: 3
Joined: Tue Jun 29, 2021 4:45 am

Re: Chromium webcam problems

Post by drWatsnLosn »

Same problem here. Cheese and Firefox recognize the Camera. Chromium (Version 116.0.5845.96) does not anymore.

Code: Select all

System:
  Kernel: 6.2.0-26-generic x86_64 bits: 64 compiler: N/A
    Desktop: Cinnamon 5.8.4 tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0
    Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: SchenkerGmbH product: SCHENKER VIA 14 SVI14L20 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: NB01 model: L14xMU serial: <superuser required> UEFI: INSYDE
    v: 1.07.04RTR1 date: 08/18/2020
Battery:
  ID-1: BAT0 charge: 55.9 Wh (86.4%) condition: 64.7/73.9 Wh (87.6%)
    volts: 8.0 min: 7.7 model: Notebook BAT type: Li-ion serial: <filter>
    status: Discharging
CPU:
  Info: quad core model: 11th Gen Intel Core i7-1165G7 bits: 64 type: MT MCP
    smt: enabled arch: Tiger Lake rev: 1 cache: L1: 320 KiB L2: 5 MiB
    L3: 12 MiB
  Speed (MHz): avg: 2237 high: 2800 min/max: 400/4700 cores: 1: 2800
    2: 2800 3: 1300 4: 2800 5: 1300 6: 2800 7: 1300 8: 2800 bogomips: 44851
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: CLEVO/KAPOK
    driver: i915 v: kernel ports: active: HDMI-A-1,eDP-1
    empty: DP-1, DP-2, DP-3, DP-4 bus-ID: 00:02.0 chip-ID: 8086:9a49
    class-ID: 0300
  Device-2: Chicony USB2.0 Camera type: USB driver: uvcvideo bus-ID: 3-7:11
    chip-ID: 04f2:b684 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting
    unloaded: fbdev,vesa gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 5760x2160 s-dpi: 96 s-size: 1524x571mm (60.0x22.5")
    s-diag: 1627mm (64.1")
  Monitor-1: HDMI-1 mapped: HDMI-A-1 pos: primary,top-left
    model: LG (GoldStar) HDR 4K serial: <filter> res: 3840x2160 hz: 60 dpi: 163
    size: 600x340mm (23.6x13.4") diag: 690mm (27.2") modes: max: 3840x2160
    min: 640x480
  Monitor-2: eDP-1 pos: bottom-r model: AU Optronics res: 1920x1080 hz: 60
    dpi: 158 size: 309x174mm (12.2x6.9") diag: 355mm (14") modes: 1920x1080
  OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2)
    v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1 direct render: Yes
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: CLEVO/KAPOK
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a0c8
    class-ID: 0403
  Device-2: GN Netcom Jabra Link 370 type: USB
    driver: jabra,snd-usb-audio,usbhid bus-ID: 3-2:3 chip-ID: 0b0e:245d
    class-ID: 0300 serial: <filter>
  Sound Server-1: ALSA v: k6.2.0-26-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel bus-ID: 00:14.3
    chip-ID: 8086:a0f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  IF-ID-1: br-91b496613d22 state: down mac: <filter>
  IF-ID-2: br-9d0788c8e79d state: down mac: <filter>
  IF-ID-3: docker0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 3-10:7 chip-ID: 8087:0026 class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 0 state: down
    bt-service: enabled,running rfk-block: hardware: no software: yes
    address: <filter>
Drives:
  Local Storage: total: 931.51 GiB used: 1.41 TiB (155.1%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 1TB size: 931.51 GiB
    speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 1B4QFXO7
    temp: 36.9 C scheme: GPT
Partition:
  ID-1: / size: 915.32 GiB used: 722.56 GiB (78.9%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 511 MiB used: 6.1 MiB (1.2%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 56.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: 2796 apt: 2758 flatpak: 29 snap: 9
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list
    1: deb [arch=amd64] https://download.docker.com/linux/ubuntu jammy stable
  Active apt repos in: /etc/apt/sources.list.d/cwchien-gradle-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/cwchien-gradle-jammy.gpg] https://ppa.launchpadcontent.net/cwchien/gradle/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/docker.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu vera stable
  Active apt repos in: /etc/apt/sources.list.d/megasync.list
    1: deb [signed-by=/usr/share/keyrings/meganz-archive-keyring.gpg] https://mega.nz/linux/repo/xUbuntu_22.04/ ./
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http://linux-mint.froonix.org victoria main upstream import backport
    2: deb http://ftp.halifax.rwth-aachen.de/ubuntu jammy main restricted universe multiverse
    3: deb http://ftp.halifax.rwth-aachen.de/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://ftp.halifax.rwth-aachen.de/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/spotify.list
    1: deb http://repository.spotify.com stable non-free
  Active apt repos in: /etc/apt/sources.list.d/teams.list
    1: deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main
  Active apt repos in: /etc/apt/sources.list.d/teamviewer.list
    1: deb [signed-by=/usr/share/keyrings/teamviewer-keyring.gpg] https://linux.teamviewer.com/deb stable main
  Active apt repos in: /etc/apt/sources.list.d/ultradvorka-ppa-focal.list
    1: deb http://ppa.launchpad.net/ultradvorka/ppa/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/vscode.list
    1: deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main
  Active apt repos in: /etc/apt/sources.list.d/yarn.list
    1: deb https://dl.yarnpkg.com/debian/ stable main
Info:
  Processes: 282 Uptime: 22m wakeups: 49 Memory: 23.26 GiB
  used: 5.01 GiB (21.5%) Init: systemd v: 249 runlevel: 5 Compilers:
  gcc: 11.4.0 alt: 11/12/9 Shell: Zsh v: 5.8.1 running-in: terminator
  inxi: 3.3.13

mdspencer_uk
Level 1
Level 1
Posts: 35
Joined: Wed Aug 07, 2013 6:15 am

Re: Chromium webcam problems

Post by mdspencer_uk »

I get the suggestion about not using an older browser. This, however, is only for accessing specific software on a server that I run, so the risk is limited. I use Firefox for everything apart from Chromium when I use OBS studio whilst working on a project with someone. So, dropping back a version for a few days is a limited risk I am prepared to take.

I would use Firefox if I could, but it does not correctly recognise loopback video devices, so it will not (apparently) work with OBS Studio's virtual camera. If I could get that working, it would be my preference.

I updated an old machine and it is definitely the Chromium update that is "broken" as from my limited three out of three machines' experience, they all do not work with this release. Ungoogled Chromium does, but that does not support the WebRTC software I use, it would seem.
mdspencer_uk
Level 1
Level 1
Posts: 35
Joined: Wed Aug 07, 2013 6:15 am

Re: Chromium webcam problems

Post by mdspencer_uk »

I have filed a bug: https://bugs.chromium.org/p/chromium/is ... id=1474960

If anyone else has issues, it may be worthwhile commenting.
mdspencer_uk
Level 1
Level 1
Posts: 35
Joined: Wed Aug 07, 2013 6:15 am

Re: Chromium webcam problems

Post by mdspencer_uk »

As part of the diagnostics, I was asked to add

Code: Select all

--disable-video-capture-use-gpu-memory-buffer
as a flag when starting Chromium. With this flag, the cameras work fine. A further ticket update may explain why this works and whether it is a regression. For the time being if you have the same problem, this may work for you.
User avatar
Reorx
Level 12
Level 12
Posts: 4042
Joined: Tue Jul 07, 2009 7:14 pm
Location: SE Florida, USA

Re: Chromium webcam problems

Post by Reorx »

mdspencer_uk wrote: Wed Aug 23, 2023 6:36 am As part of the diagnostics, I was asked to add

Code: Select all

--disable-video-capture-use-gpu-memory-buffer
as a flag when starting Chromium. With this flag, the cameras work fine. A further ticket update may explain why this works and whether it is a regression. For the time being if you have the same problem, this may work for you.
mds;

I too ran into the same exact problem earlier this morning. I was able to roll back to a previous version of Chromium to do the work I needed to do using my webcam but would like to get back to the latest version as soon as reasonably possible...

Regarding your "bandaid fix", where does one add "--disable-video-capture-use-gpu-memory-buffer" in order to accomplish the temporary fix??? Is it - edit home/user/.config/chromium-flags.conf to add >>>

Code: Select all

# Bandaid to fix webcam borkage
--disable-video-capture-use-gpu-memory-buffer

Thanx!

- Reo -
Full time Linux Mint user since 2011 - Currently running LM21C on multiple Dell laptops - mostly Vostro models.

Image Image Image
jtoberling
Level 1
Level 1
Posts: 1
Joined: Tue Oct 05, 2021 7:26 am

Re: Chromium webcam problems

Post by jtoberling »

Thanks! :)

Adding option to ./config/chromium-flags.conf was also working for me. Saved my day!

BTW: A Flatpak version of chromium was also working however I prefer updated/packaged one too.
mdspencer_uk
Level 1
Level 1
Posts: 35
Joined: Wed Aug 07, 2013 6:15 am

Re: Chromium webcam problems

Post by mdspencer_uk »

Apparently the cause of the issue is related to these flags: --video-capture-use-gpu-memory-buffer --enable-native-gpu-memory-buffers

They are added in the script in /usr/bin/chromium.

I think the Mint packagers may need to be made aware of the issue. I am still corresponding on the above ticket.

I just removed the reference to CHROMIUM_ONECOPY_FLAGS on line 17 and it works just fine now.

As the above ticket is updated with anything relevant, I'll post here. I think I will also raise a bug report for the LM team.
User avatar
Reorx
Level 12
Level 12
Posts: 4042
Joined: Tue Jul 07, 2009 7:14 pm
Location: SE Florida, USA

Re: Chromium webcam problems

Post by Reorx »

Excellent, thanx for the info. and the effort
mdspencer_uk wrote: Fri Aug 25, 2023 6:00 am Apparently the cause of the issue is related to these flags: --video-capture-use-gpu-memory-buffer --enable-native-gpu-memory-buffers They are added in the script in /usr/bin/chromium.

I think the Mint packagers may need to be made aware of the issue... (I agree) I just removed the reference to CHROMIUM_ONECOPY_FLAGS on line 17 and it works just fine now.

As the above ticket is updated with anything relevant, I'll post here. I think I will also raise a bug report for the LM team. (Good idea, send a link to this thread)
Thanx again!

- Reo -

P.S.: This is the second example of a time when Timeshift has saved my bacon. It made rolling back my Chromium version simple. Thanx again, Mint Team for Timeshift! :mrgreen:

P.P.S.:
mdspencer_uk wrote: Fri Aug 25, 2023 6:00 am Apparently the cause of the issue is related to these flags: --video-capture-use-gpu-memory-buffer --enable-native-gpu-memory-buffers

They are added in the script in /usr/bin/chromium.

I just removed the reference to CHROMIUM_ONECOPY_FLAGS on line 17 and it works just fine now...
I just tried this on a machine that was running LM 21.0 Cin & Chromium 116 and it worked perfectly. For those trying to duplicate this repair, I used >>>

Code: Select all

sudo nano /usr/bin/chromium
then moved the cursor down to the line in question and added a # and a space at the beginning of the line thus "commenting out" the line...
then ctrl+o <enter> to save and ctrl+x to exit

Cheers!

- Reo -
Full time Linux Mint user since 2011 - Currently running LM21C on multiple Dell laptops - mostly Vostro models.

Image Image Image
mdspencer_uk
Level 1
Level 1
Posts: 35
Joined: Wed Aug 07, 2013 6:15 am

[Solved] Re: Chromium webcam problems

Post by mdspencer_uk »

Apparently release 117 of Chromium has a fix so in the meantime avoiding the flags as explained above should be a suitable temporary fix. If it continues in 117, I'll file a bug report.
User avatar
Reorx
Level 12
Level 12
Posts: 4042
Joined: Tue Jul 07, 2009 7:14 pm
Location: SE Florida, USA

Re: [Solved] Re: Chromium webcam problems

Post by Reorx »

mdspencer_uk wrote: Tue Aug 29, 2023 8:33 am Apparently release 117 of Chromium has a fix so in the meantime avoiding the flags as explained above should be a suitable temporary fix. If it continues in 117, I'll file a bug report.
I just updated Chromium to 117 and the webcam video works perfectly for me "out of the box".

Mdspencer_uk - thanks for the thread and your efforts to help fix this problem...

Cheers! :mrgreen:

- Reo -
Full time Linux Mint user since 2011 - Currently running LM21C on multiple Dell laptops - mostly Vostro models.

Image Image Image
mdspencer_uk
Level 1
Level 1
Posts: 35
Joined: Wed Aug 07, 2013 6:15 am

Re: [Solved] Chromium webcam problems

Post by mdspencer_uk »

Yup. The 117 release was apparently going to include the necessary changes, so it's good to know that it works "out of the box" :)
Locked

Return to “Other topics”