Webcam stopped working after nvidia-inst

Hi,
The other day I installed nvidia drivers with nvidia-inst on my Laptop. Then later I noticed my built in Webcam stopped working and I don’t know what could be the problem.

Here’s the lsusb output

[pepe@pepeCompu ~]$ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver Bus 001 Device 003: ID 13d3:54b6 IMC Networks Integrated Camera Bus 001 Device 004: ID 048d:c996 Integrated Technology Express, Inc. ITE Device(8176) Bus 001 Device 005: ID 056a:0374 Wacom Co., Ltd CTL-4100 [Intuos (S)] Bus 001 Device 006: ID 0bda:4853 Realtek Semiconductor Corp. Bluetooth Radio Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

The two incidents may be unrelated.

Have you tried plugging the webcam into a different USB port, ideally one of a different type?

If that webcam has a removable cable, you might separately test a different (high standard) cable too, or test the webcam on another system.

The webcam is a built in webcam, I don’t know what happened because befor the nvidia-inst webcam was working as usual but afterwards stopped working. My laptop is a Lenovo LOQ 15IRX9.

My apologies, I missed that, you had mentioned it :sweat:

I will assume you’ve restarted the system since installing the Nvidia drivers and the webcam continues to not work. With a fresh restart, can you run this to output your boot log, and share the link it produces:

journalctl -k -b -0 | eos-sendlog

Here is the link
https://0x0.st/XI9i.txt

nvidia-inst also updates all packages, so something else may have updated and caused this issue.
You can see the pacman log in file /var/log/pacman.log.

Edit: based on the pacman log you could temporarily downgrade packages that might have caused the issue.

kernel: usb 1-6: new high-speed USB device number 3 using xhci_hcd
kernel: usb 1-6: New USB device found, idVendor=13d3, idProduct=54b6, bcdDevice=23.20
kernel: usb 1-6: New USB device strings: Mfr=2, Product=1, SerialNumber=3
kernel: usb 1-6: Product: Integrated Camera
kernel: usb 1-6: Manufacturer: Azurewave
kernel: usb 1-6: SerialNumber: SN0001
kernel: usb 1-6: Found UVC 1.00 device Integrated Camera (13d3:54b6)
kernel: usbcore: registered new interface driver uvcvideo
kernel: usbcore: registered new interface driver btusb

This all looks good, and matches what lsusb output earlier:

Bus 001 Device 003: ID 13d3:54b6 IMC Networks Integrated Camera

Can you run this and share the output:

v4l2-ctl --list-devices

If that doesn’t run, you might need to install v4l-utils :

sudo pacman -S v4l-utils
[pepe@pepeCompu ~]$ v4l2-ctl --list-devices
Integrated Camera: Integrated C (usb-0000:00:14.0-6):
    /dev/video0
    /dev/video1
    /dev/media0

Do you have VLC installed?

You might try opening VLC, going to it’s “Media” menu, and opening the “Capture Device…”.

Hopefully you can select the webcam from the Video device name list. Hopefully we can test the webcam here.

Tried that but is not working. I’m starting to think that maybe my webcam broke somehow.

Is your system up-to-date? This is EndeavourOS’s helper script to run a full update:

eos-update --yay --nvidia

Perhaps also share some system details:

inxi -Fxxc0z | eos-sendlog