πŸ‡ΊπŸ‡¦ We stand with Ukraine! πŸ‡ΊπŸ‡¦

Webcam issues with "Aw Snap" errors in browser

What is the problem?

I have been having issues with a couple of different cheap webcams I got from Amazon. When the browser control tab is left open for a period of time (time varies - for one cam it can be hours or minutes but for the newer cam I just got, it can be hours/days) the camera feed will go black, and if I switch tabs or switch to a different tab entirely I will get an "Aw Snap" error in Chrome. There was a similar thread posted a few years ago, but I thought it might be better to start a new one. I have NOT seen this issue using an older Logitech C920 camera, but I prefer to use that one for my PC for web conferencing because the quality is better and it isn't a super-wide angle view like the Aukey cam I have tried.

These are the cams I have tried:
Aukey PC-LM1E:
https://www.amazon.com/gp/product/B072MMH33F/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&th=1

Brand unknown (Greatlizard?):
https://www.amazon.com/gp/product/B08HH7LVB5/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

The second camera above is my most recent order and is the one that seems to last longer before the error occurrs. It is identified as product-vendor 23c5:1478. I don't know the ID of the Aukey cam as it isn't plugged in right now.

What did you already try to solve it?

I have tried using the broken fps fix for the newer "greatlizard" camera without success.

Have you tried running in safe mode?

NO

Complete Logs

octoprint.log, serial.log or output on terminal tab at a minimum, browser error console if UI issue ... no logs, no support! Not log excerpts, complete logs.)

I am waiting for one of the errors to occur again and will post logs, but for now, here is the webcamd.log content with the greatlizard cam:

Starting up webcamDaemon...

--- Configuration: ----------------------------
cfg_file:      /boot/octopi.txt
camera:        auto
usb options:   -r 1920x1080 -f 10
raspi options: -fps 10
http options:  -w ./www-octopi -n --listen 127.0.0.1

Explicitly USB device:
-----------------------------------------------

Found video devices:
/dev/video0
/dev/video1
/dev/video10
/dev/video11
/dev/video12
/dev/video13
/dev/video14
/dev/video15
/dev/video16
config file='/boot/octopi.txt':USB device was not set in options, start MJPG-st$
<13>Feb 24 13:21:13 root: Starting USB webcam
Checking for VL805 (Raspberry Pi 4)...
  - It seems that you don't have VL805 (Raspberry Pi 4).
    There should be no problems with USB (a.k.a. select() timeout)
Running ./mjpg_streamer -o output_http.so -w ./www-octopi -n --listen 127.0.0.1$
MJPG Streamer Version: git rev: 5554f42c352ecfa7edaec6fc51e507afce605a34
 i: Using V4L2 device.: /dev/video0
 i: Desired Resolution: 1920 x 1080
 i: Frames Per Second.: 10
 i: Format............: JPEG
 i: TV-Norm...........: DEFAULT
 i: FPS coerced ......: from 10 to 30
UVCIOC_CTRL_ADD - Error at Pan (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Tilt (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Pan Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Focus (absolute): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Tilt (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Focus (absolute): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at LED1 Mode: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at LED1 Frequency: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Disable video processing: Inappropriate ioctl for de$
UVCIOC_CTRL_MAP - Error at Raw bits per pixel: Inappropriate ioctl for device ($
 o: www-folder-path......: ./www-octopi/
 o: HTTP TCP port........: 8080
 o: HTTP Listen Address..: 127.0.0.1
 o: username:password....: disabled
 o: commands.............: disabled
Done bring up all configured video device

Goodbye...

Starting up webcamDaemon...

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

WRITE HERE