Video Camera Not Working

Hi,

I am on a Lenovo Thinkpad P14, AMD Gen 2.

I have Garuda installed in X11 env. Everything is fine except my camera will not work.

I tried websites like Jitsi, Zoom and local apps OBS & Cheese and none can display video.

I am not sure what I can do to get it working.

I have installed the following:

xf86-video-amdgpu
libva-mesa-driver

Also output of garuda-inix...

System:
  Kernel: 5.19.4-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=5975aa68-76c5-4cd2-9dd6-c52d3b36cfcc rw [email protected]
    quiet
    cryptdevice=UUID=1821d2be-6c0b-48d9-b513-f97100cef96b:luks-1821d2be-6c0b-48d9-b513-f97100cef96b
    root=/dev/mapper/luks-1821d2be-6c0b-48d9-b513-f97100cef96b quiet splash
    rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=/dev/mapper/luks-582c2573-a523-4fd9-b720-0558d5315181 loglevel=3
  Desktop: Qtile v: 0.21.0 wm: LG3D vt: 1 dm: SDDM Distro: Garuda Linux
    base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 21A0CTO1WW v: ThinkPad P14s Gen 2a
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 21A0CTO1WW serial: <superuser required> UEFI: LENOVO
    v: R1MET43W (1.13 ) date: 11/05/2021
Battery:
  ID-1: BAT0 charge: 50.1 Wh (97.3%) condition: 51.5/50.5 Wh (101.9%)
    volts: 12.9 min: 11.6 model: LGC 5B10W51826 type: Li-poly serial: <filter>
    status: not charging cycles: 121
CPU:
  Info: model: AMD Ryzen 7 PRO 5850U with Radeon Graphics bits: 64
    type: MT MCP arch: Zen 3 gen: 4 built: 2021-22 process: TSMC n7 (7nm)
    family: 0x19 (25) model-id: 0x50 (80) stepping: 0 microcode: 0xA50000C
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
    L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 1868 high: 2768 min/max: 1600/4505 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1900 2: 2768
    3: 1600 4: 1486 5: 1858 6: 1600 7: 1858 8: 1900 9: 1915 10: 1900 11: 1600
    12: 1600 13: 1800 14: 1915 15: 2599 16: 1600 bogomips: 60682
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Cezanne vendor: Lenovo driver: amdgpu v: kernel arch: GCN-5.1
    code: Vega-2 process: TSMC n7 (7nm) built: 2018-21 pcie: gen: 3
    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s ports:
    active: HDMI-A-1,eDP-1 empty: DP-1,DP-2 bus-ID: 07:00.0
    chip-ID: 1002:1638 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.4 compositor: Picom v: git-c4107
    driver: X: loaded: amdgpu unloaded: modesetting alternate: fbdev,vesa
    gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 5760x1080 s-dpi: 96 s-size: 1524x285mm (60.00x11.22")
    s-diag: 1550mm (61.04")
  Monitor-1: HDMI-A-1 mapped: HDMI-A-0 pos: right model: ASUS XG49V
    serial: <filter> built: 2021 res: 3840x1080 hz: 120 dpi: 81 gamma: 1.2
    size: 1200x340mm (47.24x13.39") diag: 1242mm (48.9") modes:
    max: 3840x1080 min: 720x400
  Monitor-2: eDP-1 mapped: eDP pos: primary,left model: ChiMei InnoLux
    0x1409 built: 2019 res: 1920x1080 hz: 60 dpi: 158 gamma: 1.2
    size: 309x173mm (12.17x6.81") diag: 354mm (13.9") ratio: 16:9 modes:
    max: 1920x1080 min: 640x480
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 07:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo
    driver: snd_rn_pci_acp3x v: kernel
    alternate: snd_pci_acp3x,snd_pci_acp5x,snd_pci_acp6x,snd_acp_pci,snd_sof_amd_renoir
    pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s
    bus-ID: 07:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 07:00.6 chip-ID: 1022:15e3
    class-ID: 0403
  Sound Server-1: ALSA v: k5.19.4-zen1-1-zen running: yes
  Sound Server-2: PulseAudio v: 16.1 running: no
  Sound Server-3: PipeWire v: 0.3.56 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 3000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0f0 state: down mac: <filter>
  Device-2: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
    vendor: Lenovo driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s
    lanes: 1 bus-ID: 03:00.0 chip-ID: 14c3:7961 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  Device-3: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 2000 bus-ID: 05:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp5s0 state: down mac: <filter>
Bluetooth:
  Device-1: Foxconn / Hon Hai Wireless_Device type: USB driver: btusb v: 0.8
    bus-ID: 3-4:2 chip-ID: 0489:e0cd class-ID: e001 serial: <filter>
  Report: bt-adapter ID: hci0 rfk-id: 1 state: up address: <filter>
Drives:
  Local Storage: total: 1.86 TiB used: 19.37 GiB (1.0%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: MZVL22T0HBLB-00BL7 size: 1.86 TiB block-size: physical: 512 B
    logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 6L2QGXB7 temp: 52.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 19.37 GiB (1.0%)
    fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-1821d2be-6c0b-48d9-b513-f97100cef96b
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 752 KiB
    (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 19.37 GiB
    (1.0%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-1821d2be-6c0b-48d9-b513-f97100cef96b
  ID-4: /var/log raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 19.37
    GiB (1.0%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-1821d2be-6c0b-48d9-b513-f97100cef96b
  ID-5: /var/tmp raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 19.37
    GiB (1.0%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-1821d2be-6c0b-48d9-b513-f97100cef96b
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 42.94 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
  ID-2: swap-2 type: partition size: 47.23 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/dm-1 maj-min: 254:1
    mapped: luks-582c2573-a523-4fd9-b720-0558d5315181
Sensors:
  System Temperatures: cpu: 55.0 C mobo: N/A gpu: amdgpu temp: 52.0 C
  Fan Speeds (RPM): fan-1: 3600 fan-2: 3600
Info:
  Processes: 350 Uptime: 3h 55m wakeups: 21046 Memory: 42.94 GiB used: 4.24
  GiB (9.9%) Init: systemd v: 251 default: graphical tool: systemctl
  Compilers: gcc: 12.2.0 Packages: pacman: 1324 lib: 358 Shell: Bash
  v: 5.1.16 running-in: wezterm-gui inxi: 3.3.20
Garuda (2.6.6-1):
  System install date:     2022-08-28
  Last full system update: 2022-08-28 ↻
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       No/Undetected
  Snapshots:               Snapper
  Failed units:

Welcome :slight_smile:

Check in arch wiki your model. Also for BIOS updates by Lenovo.

For webcam this

https://wiki.archlinux.org/title/webcam_setup

lsusb
2 Likes