Ubuntu Webcam Troubleshooting Guide
January 31 2023 1:46amIf you're having trouble with your webcam, here are some things you can do.
Is your webcam in use already? This is a useful test if you're finding out even if you don't believe it is:
sudo fuser -v /dev/video*
If it's not showing as being used, are we sure it's accurately being detected?
sudo lsmod | grep uvcvideo
If it's showing as loaded (it'll appear multiple times), fantastic.
Now let's check to make sure the hardware switch isn't toggled off.
Webcam is toggled off:
Webcam is toggled on:
Working now? Let's make sure the webcam is setup for optimal settings.
sudo apt install v4l-utils
then
v4l2-ctl --list-devices
You should see "Laptop Camera" at the top.
If you do, now let's make sure the webcam defaults area set up for the best possible picture.
sudo apt install guvcview
Then run guvcview, set the hardware defaults: