Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Webcam not working properly

Need help with peripherals or devices?
Post Reply
Message
Author
CGH
Posts: 9
Joined: 2010-08-14 19:13

Webcam not working properly

#1 Post by CGH »

Hi everyone,

After installing testing on my Thinkpad T495 I've been having issues with my webcam. The cycle goes like this: first it doesn't work at all (lsusb will not even list it), then it will work but at a very low resolution (160x120) and finally it works perfectly. After every apt upgrade I cross my fingers waiting for it to not go back to issue 1 or 2.

After several days without the camera working I am back at phase two: the camera is recognized but the resolution is too low. I'm using the latest kernel

Code: Select all

~$ uname -r
5.10.0-7-amd64
This is the webcam information

Code: Select all

~$ inxi -Gxx
Graphics:
  Device-1: AMD Picasso vendor: Lenovo driver: amdgpu v: kernel 
  bus ID: 06:00.0 chip ID: 1002:15d8 
  Device-2: IMC Networks Integrated Camera type: USB driver: uvcvideo 
  bus ID: 4-2.1:4 chip ID: 13d3:56a6 
  Display: x11 server: X.Org 1.20.11 driver: loaded: amdgpu,ati 
  unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz s-dpi: 96 
  OpenGL: renderer: AMD Radeon Vega 10 Graphics (RAVEN DRM 3.40.0 
  5.10.0-7-amd64 LLVM 11.0.1) 
  v: 4.6 Mesa 20.3.4 direct render: Yes
But instead of capturing at 1920x1080, I only have 160x120

Code: Select all

~$ v4l2-ctl --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
	Type: Video Capture

	[0]: 'YUYV' (YUYV 4:2:2)
		Size: Discrete 160x120
			Interval: Discrete 0.100s (10.000 fps)
I tried installing/re-installing/removing and installing again firmware-amd-graphics , libv4l-0, cheese, guvcview and rebooting, but nothing works. The camera wasn't even being recognized until the last update (the packages being updated were redshift ,libcurl3-gnutls ,vlc-l10n ,grub-common ,python3-pil ,libfuse3-3 ,libvlccore9 ,vlc-plugin-qt ,libcurl4 ,redshift-gtk ,grub-efi-amd64-bin ,vlc-data ,vlc-plugin-notify ,vlc-plugin-video-output ,vlc-plugin-samba ,vlc-plugin-fluidsynth ,grub-efi-amd64-signed ,vlc-plugin-skins2 ,grub2-common ,vlc-plugin-video-splitter ,libvlc5 ,apache2-bin and fuse3.)

Any suggestion on what I could try now?

Saludos!

CGH
Posts: 9
Joined: 2010-08-14 19:13

Re: Webcam not working properly

#2 Post by CGH »

an update:

the camera is no linger being recognized:

Code: Select all

~$ inxi -Gxx
Graphics:
  Device-1: AMD Picasso vendor: Lenovo driver: amdgpu v: kernel 
  bus ID: 06:00.0 chip ID: 1002:15d8 
  Display: x11 server: X.Org 1.20.11 driver: loaded: amdgpu,ati 
  unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz s-dpi: 96 
  OpenGL: renderer: AMD Radeon Vega 10 Graphics (RAVEN DRM 3.40.0 
  5.10.0-7-amd64 LLVM 11.0.1) 
  v: 4.6 Mesa 20.3.4 direct render: Yes
I haven't updated/installed anything since my last post.

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: Webcam not working properly

#3 Post by arochester »

Which Kernel are you using?

Arch Linux reports
Warning: Currently this device does not work well under Linux. Please see known issues for unresolved AMDGPU drm bugs in the LTS 5.4.x kernel and more recent kernels such as 5.12.x.
Source - https://wiki.archlinux.org/title/Lenovo_ThinkPad_T495

CGH
Posts: 9
Joined: 2010-08-14 19:13

Re: Webcam not working properly

#4 Post by CGH »

Hi, as pointed at the beginning:

Code: Select all

~$ uname -r
5.10.0-7-amd64

Post Reply