You are not logged in.
I also (possibly similar recent threads) have had strange laptop webcam issues starting within the past month. I can't pinpoint exactly when they started because I don't often use my webcam; however, it was some time between early December and the 9th of January.
Unfortunately I cannot provide a more cohesive narrative. The "symptoms" are strange and inconsistent. Sometimes the webcam will crash immediately (as is currently the case). In the past it's often worked for a few seconds before crashing, and once it had graphical artifacts in the feed.
I use my webcam through mpv when taking photos (which I believe itself relies on ffmpeg), but it doesn't work through other methods either.
Using a patched kernel provided by loqs in one of the linked threads seemed to fix the issue, until it stopped working again when I switched to an earlier kernel to test it, and then it wouldn't work on the patched kernel either. Then I somehow got it to work on 6.12.9 (using a kernel option for the uvcvideo module)... until updating today to 6.13.1.
My webcam is listed as "ID 04f2:b7b9 Chicony Electronics Co., Ltd Integrated Camera". I can provide plenty of further information, but for now, this is what currently happens when running "ffplay /dev/video0" (or video1; after the webcam crashes out, it re-does the numbering).
[video4linux2,v4l2 @ 0x7340c8000c80] Dequeued v4l2 buffer contains 3890412 bytes, but 4147200 were expected. Flags: 0x00012001.
Input #0, video4linux2,v4l2, from '/dev/video0':
Duration: N/A, start: 57.455736, bitrate: 165888 kb/s
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 1920x1080, 165888 kb/s, 5 fps, 5 tbr, 1000k tbn
[video4linux2,v4l2 @ 0x7340c8000c80] Dequeued v4l2 buffer contains 3917208 bytes, but 4147200 were expected. Flags: 0x00012001.
[video4linux2,v4l2 @ 0x7340c8000c80] Dequeued v4l2 buffer contains 3943512 bytes, but 4147200 were expected. Flags: 0x00012001.
[video4linux2,v4l2 @ 0x7340c8000c80] Dequeued v4l2 buffer contains 3959412 bytes, but 4147200 were expected. Flags: 0x00012001.
[video4linux2,v4l2 @ 0x7340c8000c80] Dequeued v4l2 buffer contains 3903960 bytes, but 4147200 were expected. Flags: 0x00012001.
[video4linux2,v4l2 @ 0x7340c8000c80] Dequeued v4l2 buffer contains 3949284 bytes, but 4147200 were expected. Flags: 0x00012001.
[video4linux2,v4l2 @ 0x7340c8000c80] Dequeued v4l2 buffer contains 3945216 bytes, but 4147200 were expected. Flags: 0x00012001.
[video4linux2,v4l2 @ 0x7340c8000c80] Dequeued v4l2 buffer contains 3716316 bytes, but 4147200 were expected. Flags: 0x00012001.
[video4linux2,v4l2 @ 0x7340c8000c80] Dequeued v4l2 buffer contains 3730704 bytes, but 4147200 were expected. Flags: 0x00012001.
[video4linux2,v4l2 @ 0x7340c8000c80] Dequeued v4l2 buffer contains 3700104 bytes, but 4147200 were expected. Flags: 0x00012001.
[video4linux2,v4l2 @ 0x7340c8000c80] Dequeued v4l2 buffer contains 3719172 bytes, but 4147200 were expected. Flags: 0x00012001.
[video4linux2,v4l2 @ 0x7340c8000c80] Dequeued v4l2 buffer contains 3587904 bytes, but 4147200 were expected. Flags: 0x00012001.
[video4linux2,v4l2 @ 0x7340c8000c80] Dequeued v4l2 buffer contains 3556224 bytes, but 4147200 were expected. Flags: 0x00012001.
[video4linux2,v4l2 @ 0x7340c8000c80] Dequeued v4l2 buffer contains 3528840 bytes, but 4147200 were expected. Flags: 0x00012001.
[video4linux2,v4l2 @ 0x7340c8000c80] Dequeued v4l2 buffer contains 3513552 bytes, but 4147200 were expected. Flags: 0x00012001.
[video4linux2,v4l2 @ 0x7340c8000c80] Dequeued v4l2 buffer contains 3458124 bytes, but 4147200 were expected. Flags: 0x00012001.
[video4linux2,v4l2 @ 0x7340c8000c80] ioctl(VIDIOC_DQBUF): Invalid argument
[video4linux2,v4l2 @ 0x7340c8000c80] ioctl(VIDIOC_DQBUF): No such device
[video4linux2,v4l2 @ 0x7340c8000c80] ioctl(VIDIOC_DQBUF): No such device
... and so on with the No such device errors until I interrupt the command.
Last edited by mesaprotector (2025-02-04 09:49:58)
Offline
Yeah, I had the bright idea of trying it out on Windows to find that... the graphical artifacts, freezing, and so on, are present there too. So it's almost certainly that my webcam's just broken, some loose cable or whatever. Pressing hard on it got it to temporarily work again. Sorry for making a thread about this silly issue, after this month's backup and update it felt like everything broke at the same time and I was panicking a bit. Was interesting learning about how Linux handles these devices I guess.
Offline