You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu 16.04 LTS 64位系统下Logitech C170摄像头启动Cheese报错求助

Fixing "There was an error playing video from webcam" in Cheese on Ubuntu 16.04 64-bit

Hey there, let's work through this webcam issue since your Logitech C170 works fine on the 32-bit version of Ubuntu 16.04 but throws an error in Cheese on the 64-bit install. This points to 64-bit-specific driver or library issues—here are actionable steps to fix it:

1. Verify the webcam is detected by the system

First, confirm your Logitech C170 shows up in the lsusb output. Look for a line like this:

Bus 001 Device 002: ID 046d:082b Logitech, Inc. C170

If you see this, the system recognizes the hardware, so we can move on to software fixes.

2. Install/verify video capture utilities

Cheese relies on the V4L2 framework. Install the 64-bit tools to diagnose and configure your webcam:

sudo apt-get update
sudo apt-get install v4l-utils

Check if the webcam is listed as a video device:

v4l2-ctl --list-devices

You should see an entry for your Logitech C170 pointing to /dev/video0 (or similar). To confirm the camera is functional, run:

v4l2-ctl -d /dev/video0 --all

This will show camera parameters—if it runs without errors, the hardware is accessible at the system level.

3. Reinstall Cheese and its 64-bit dependencies

Corrupted or missing 64-bit libraries often cause this error. Reinstall Cheese and its core dependencies:

sudo apt-get install --reinstall cheese libcheese-gtk23 libcheese7

This ensures you have the correct 64-bit versions of all required files.

4. Test with an alternative webcam app

To rule out a Cheese-specific bug, install and run guvcview:

sudo apt-get install guvcview
guvcview

If guvcview can access the webcam, the problem is with Cheese's configuration. Reset Cheese's settings to default:

rm -rf ~/.config/cheese/

Then launch Cheese again to see if it works.

5. Check and configure the UVC video module

Logitech C170 uses the uvcvideo kernel module. First, confirm it's loaded:

lsmod | grep uvcvideo

If it's not listed, load it manually:

sudo modprobe uvcvideo

Some webcams need a quirk parameter to work correctly on 64-bit systems. Add this configuration:

sudo echo "options uvcvideo quirks=128" >> /etc/modprobe.d/uvcvideo.conf

Reboot your system for the changes to take effect.

6. Update your kernel

Outdated 64-bit kernels can have compatibility issues with webcams. Update to the latest available kernel for Ubuntu 16.04:

sudo apt-get update
sudo apt-get upgrade linux-image-generic

Reboot your system after the update and test Cheese again.


内容的提问来源于stack exchange,提问作者Lumaja

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 09:46:23