Hello (:
I recently got a Thinkpad p14s gen 6 (AMD) for work, but I’m having problems with the webcam. The camera shows up as 5986:11af Bison Electronics Inc. Integrated Camera.
With v4l2-ctl -d /dev/video0 --get-fmt-video I can see the webcam supports MJPG at the full resolution, and YUYV at 640x480. It seems like some programs (Firefox, Chromium) use YUYV by default and are thus limited to 640x480.
I can confirm that YUYV is being selected with v4l2-ctl -d /dev/video0 --get-fmt-video. Some programs, like cheese, correctly use MJPG and therefore get the full resolution. I have found that even if I try to force MJPG with sudo v4l2-ctl -d /dev/video0 --set-fmt-video=width=2560,height=1440,pixelformat=MJPG, Firefox and Chromium will ignore this default and still use YUYV.
I imagine this laptop is semi-popular so I am a bit at a loss as to why I can’t find anyone reporting on this problem or remedies. I’m on NixOS unstable on Wayland/sway. I’ve tried the latest kernel as well but it hasn’t made a difference.
Thanks in advance!